JP5630208B2 - Shape measuring device, robot system, and shape measuring method - Google Patents

Shape measuring device, robot system, and shape measuring method Download PDF

Info

Publication number
JP5630208B2
JP5630208B2 JP2010238308A JP2010238308A JP5630208B2 JP 5630208 B2 JP5630208 B2 JP 5630208B2 JP 2010238308 A JP2010238308 A JP 2010238308A JP 2010238308 A JP2010238308 A JP 2010238308A JP 5630208 B2 JP5630208 B2 JP 5630208B2
Authority
JP
Japan
Prior art keywords
workpiece
scanning
distance
unit
camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010238308A
Other languages
Japanese (ja)
Other versions
JP2012093104A (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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Corp
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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2010238308A priority Critical patent/JP5630208B2/en
Priority to EP11180428A priority patent/EP2444210A1/en
Priority to US13/238,482 priority patent/US20120098961A1/en
Priority to CN201110320596.XA priority patent/CN102528810B/en
Publication of JP2012093104A publication Critical patent/JP2012093104A/en
Application granted granted Critical
Publication of JP5630208B2 publication Critical patent/JP5630208B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • G01B11/25Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures by projecting a pattern, e.g. one or more lines, moiré fringes on the object
    • G01B11/2518Projection by scanning of the object

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Manipulator (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)
  • Measurement Of Optical Distance (AREA)

Description

この発明は、形状計測装置、ロボットシステムおよび形状計測方法に関し、特に、レーザ光を照射するレーザ照射部を備える形状計測装置、ロボットシステムおよび形状計測方法に関する。   The present invention relates to a shape measuring device, a robot system, and a shape measuring method, and more particularly, to a shape measuring device, a robot system, and a shape measuring method including a laser irradiation unit that emits laser light.

従来、レーザ光を照射するレーザ照射部を備える形状計測装置(3次元姿勢認識手法)が知られている(たとえば、特許文献1参照)。   2. Description of the Related Art Conventionally, a shape measuring device (three-dimensional posture recognition method) including a laser irradiation unit that emits laser light is known (see, for example, Patent Document 1).

上記特許文献1の形状計測装置(3次元姿勢認識手法)には、ラインレーザ(レーザ光)を照射するレーザ装置(レーザ照射部)と、レーザ装置から照射され、部品群(計測対象物)により反射された反射光を受光するCCDカメラとが設けられている。この3次元姿勢認識手法では、レーザ装置が部品群上を所定の開始位置から終了位置まで移動しながらラインレーザを照射するように構成されており、CCDカメラにより受光された部品群からの反射光に基づいて、部品群の最高点が算出される。そして、部品群のうちの最高点に対応する部品が、ロボットハンドによって取り出される。また、最高点に対応する部品が取り出された後、再びレーザ装置が部品群上を所定の開始位置から終了位置まで移動しながらラインレーザを照射することにより、残った部品群のうちから部品群の最高点が算出され、最高点に対応する部品が、ロボットハンドによって取り出される。   The shape measuring device (three-dimensional posture recognition method) of Patent Document 1 described above includes a laser device (laser irradiation unit) that irradiates a line laser (laser light), and a laser beam that is irradiated from the laser device, and a component group (measurement object). A CCD camera that receives the reflected light is provided. In this three-dimensional posture recognition method, the laser device is configured to irradiate the line laser while moving on a part group from a predetermined start position to an end position, and reflected light from the part group received by the CCD camera. Based on the above, the highest score of the component group is calculated. Then, the part corresponding to the highest point in the part group is taken out by the robot hand. In addition, after the part corresponding to the highest point is taken out, the laser device irradiates the line laser again while moving on the part group from the predetermined start position to the end position, so that the part group out of the remaining part group The highest point is calculated, and the part corresponding to the highest point is taken out by the robot hand.

特開2001−277167号公報JP 2001-277167 A

しかしながら、上記特許文献1に記載の形状計測装置(3次元姿勢認識手法)では、部品群のうちからロボットハンドによって部品が取り出される毎に、レーザ装置が部品群(計測対象物)上を所定の開始位置から終了位置まで移動しながらラインレーザを照射するように構成されているため、ラインレーザによる部品群の走査を繰り返し行う場合には、部品群の走査に要する合計の時間が比較的長くなるという問題点がある。   However, in the shape measuring apparatus (three-dimensional posture recognition method) described in Patent Document 1, each time a part is taken out from the part group by the robot hand, the laser device moves on the part group (measurement target) on the predetermined group. Since it is configured to irradiate the line laser while moving from the start position to the end position, the total time required for scanning the parts group becomes relatively long when the parts group is repeatedly scanned by the line laser. There is a problem.

この発明は、上記のような課題を解決するためになされたものであり、この発明の1つの目的は、計測対象物の走査に要する合計の時間を短くすることが可能な形状計測装置、ロボットシステムおよび形状計測方法を提供することである。   The present invention has been made to solve the above-described problems, and one object of the present invention is to provide a shape measuring device and a robot that can shorten the total time required for scanning the measurement object. A system and a shape measurement method are provided.

課題を解決するための手段および発明の効果Means for Solving the Problems and Effects of the Invention

上記目的を達成するために、この発明の第1の局面による形状計測装置は、レーザ光を照射するレーザ照射部と、レーザ照射部から照射されたレーザ光をワークの載置されている領域に走査する走査部と、走査部から照射され、ワークにより反射されたレーザ光の反射光を検出することにより、ワークの載置されている領域を検出するとともに、ワークの3次元計測を行うカメラと、カメラによって検出されたワークの載置されている領域に応じて、かつ、ワークを載置する面の近傍に設けられるとともにワークを載置する面から所定の高さを有しワークの載置されている領域を間違って認識するのを抑制する不感帯領域を考慮して、走査部による走査範囲を変更するように制御する制御部とを備える。 In order to achieve the above object, a shape measuring apparatus according to a first aspect of the present invention includes a laser irradiation unit that irradiates a laser beam, and a laser beam irradiated from the laser irradiation unit in a region where a workpiece is placed. a scanning unit for scanning, emitted from the scanning unit, by detecting the reflected light of the reflected laser beam by the workpiece, detects the region that is placed in the work, and a camera that performs three-dimensional measurement of the workpiece , depending on the area being placed in the detected workpiece by the camera, and has a Rutotomoni predetermined from the surface for placing a workpiece height provided in the vicinity of the surface for placing the workpiece, the workpiece A control unit that controls to change the scanning range of the scanning unit in consideration of a dead zone region that suppresses erroneous recognition of the placed region.

この第1の局面による形状計測装置では、上記のように、カメラによって検出された計測対象物の載置されている領域に応じて走査部による走査範囲を変更するように制御する制御部を備えることによって、たとえば計測対象物が広い範囲に複数載置されている初期状態では、走査範囲を大きくする一方、計測対象物が徐々に取り除かれて、計測対象物が小さい範囲に載置されている場合に、計測対象物が載置されている範囲に応じて走査範囲を小さくすることができる。これにより、走査部による走査範囲が小さくなる分、計測対象物の走査に要する合計の時間を短くすることができる。   As described above, the shape measuring apparatus according to the first aspect includes a control unit that performs control so as to change the scanning range of the scanning unit in accordance with the region where the measurement object detected by the camera is placed. Thus, for example, in the initial state where a plurality of measurement objects are placed in a wide range, the scanning range is enlarged, while the measurement objects are gradually removed and the measurement object is placed in a small range. In this case, the scanning range can be reduced according to the range where the measurement object is placed. As a result, the total time required to scan the measurement object can be shortened as the scanning range of the scanning unit becomes smaller.

この発明の第2の局面によるロボットシステムは、ワークを把持する把持部を有するロボットと、レーザ光を照射するレーザ照射部と、レーザ照射部から照射されたレーザ光をワークの載置されている領域に走査する走査部と、走査部から照射され、ワークにより反射されたレーザ光の反射光を検出することにより、ワークの載置されている領域を検出するとともに、ワークの3次元計測を行うカメラと、カメラによって検出されたワークの載置されている領域に応じて、かつ、ワークを載置する面の近傍に設けられるとともにワークを載置する面から所定の高さを有しワークの載置されている領域を間違って認識するのを抑制する不感帯領域を考慮して、走査部による走査範囲を変更するように制御する制御部とを含む形状計測装置とを備える。 In a robot system according to a second aspect of the present invention, a robot having a gripping unit for gripping a workpiece , a laser irradiation unit for irradiating a laser beam, and a laser beam irradiated from the laser irradiation unit are placed on the workpiece . a scanning unit for scanning the area, is irradiated from the scanning unit, by detecting the reflected light of the reflected laser beam by the workpiece, it detects the region that is placed in the work, the three-dimensional measurement of the workpiece a camera, in accordance with the area being placed in the detected workpiece by the camera, and has a predetermined from the surface for placing the provided Rutotomoni workpiece in the vicinity of the surface for placing a workpiece height, in view of suppressing the dead zone from being recognized incorrectly region it is placed in the work, and a shape measuring apparatus and a control unit for controlling to change the scan range by the scanning unit Obtain.

この第2の局面によるロボットシステムでは、上記のように、カメラによって検出された計測対象物の載置されている領域に応じて走査部による走査範囲を変更するように制御する制御部を備えることによって、たとえば計測対象物が広い範囲に複数載置されている初期状態では、走査範囲を大きくする一方、計測対象物が徐々に取り除かれて、計測対象物が小さい範囲に載置されている場合に、計測対象物が載置されている範囲に応じて走査範囲を小さくすることができる。これにより、走査部による走査範囲が小さくなる分、計測対象物の走査に要する合計の時間を短くすることができるので、ロボットが計測対象物を把持して移動させる動作に要する合計の時間を短くすることができる。   As described above, the robot system according to the second aspect includes a control unit that controls the scanning range of the scanning unit to be changed according to the area where the measurement target detected by the camera is placed. For example, in the initial state where a plurality of measurement objects are placed in a wide range, the scanning range is enlarged while the measurement object is gradually removed and the measurement object is placed in a small range. In addition, the scanning range can be reduced according to the range in which the measurement object is placed. As a result, the total time required for scanning the measurement object can be shortened as the scanning range by the scanning unit is reduced, so that the total time required for the robot to grip and move the measurement object is shortened. can do.

この発明の第3の局面による形状計測方法は、レーザ光をワークの載置されている領域に走査するステップと、ワークにより反射されたレーザ光の反射光を検出することにより、ワークの載置されている領域を検出するとともに、ワークの3次元計測を行うステップと、検出されたワークの載置されている領域に応じて、かつ、ワークを載置する面の近傍に設けられるとともにワークを載置する面から所定の高さを有しワークの載置されている領域を間違って認識するのを抑制する不感帯領域を考慮して、レーザ光の走査範囲を変更するステップとを備える。




Shape measuring method according to a third aspect of the invention includes the steps of scanning the laser beam in the region that is placed in the work by detecting the laser beam of the reflected light reflected by the workpiece, placed in the workpiece It detects the area being, and performing three-dimensional measurement of the workpiece, depending on the area being placed in the detected workpiece and Rutotomoni workpiece disposed in the vicinity of the surface for placing a workpiece And changing the scanning range of the laser light in consideration of a dead zone region that has a predetermined height from the surface on which the workpiece is placed and suppresses erroneous recognition of the region on which the workpiece is placed. .




この第3の局面による形状計測方法では、上記のように、検出された計測対象物の載置されている領域に応じてレーザ光の走査範囲を変更するステップを備えることによって、たとえば計測対象物が広い範囲に複数載置されている初期状態では、走査範囲を大きくする一方、計測対象物が徐々に取り除かれて、計測対象物が小さい範囲に載置されている場合に、計測対象物が載置されている範囲に応じて走査範囲を小さくすることができる。これにより、走査部による走査範囲が小さくなる分、計測対象物の走査に要する合計の時間を短くすることができる形状計測方法を提供することができる。   In the shape measuring method according to the third aspect, as described above, by including the step of changing the scanning range of the laser light in accordance with the area where the detected measurement object is placed, for example, the measurement object In the initial state where a plurality of objects are placed in a wide range, the scanning object is enlarged while the object to be measured is gradually removed and the object to be measured is placed in a small area. The scanning range can be reduced according to the mounted range. As a result, it is possible to provide a shape measurement method that can shorten the total time required for scanning the measurement target object as the scanning range of the scanning unit becomes smaller.

本発明の第1実施形態によるロボットシステムの全体構成を示す図である。1 is a diagram illustrating an overall configuration of a robot system according to a first embodiment of the present invention. 本発明の第1実施形態によるロボットシステムのセンサユニットを示す図である。It is a figure which shows the sensor unit of the robot system by 1st Embodiment of this invention. 図2に示すロボットシステムのセンサユニットの側面図である。It is a side view of the sensor unit of the robot system shown in FIG. 図2に示すロボットシステムのセンサユニットの上面図である。It is a top view of the sensor unit of the robot system shown in FIG. 本発明の第1実施形態によるロボットシステムのワークを走査する状態を示す図である。It is a figure which shows the state which scans the workpiece | work of the robot system by 1st Embodiment of this invention. 本発明の第1実施形態によるロボットシステムのブロック図である。1 is a block diagram of a robot system according to a first embodiment of the present invention. 本発明の第1実施形態によるロボットシステムの3次元計測の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the three-dimensional measurement of the robot system by 1st Embodiment of this invention. 本発明の第1実施形態によるロボットシステムの3次元計測の開始時の動作を示す図である。It is a figure which shows the operation | movement at the time of the start of the three-dimensional measurement of the robot system by 1st Embodiment of this invention. 図8に示すロボットシステムの3次元計測において走査を開始してから最初にワークを検出した状態を示す図である。It is a figure which shows the state which detected the workpiece | work first after starting a scan in the three-dimensional measurement of the robot system shown in FIG. 図9に示す検出されたワークに基づいて走査の走査開始角度が修正された状態を示す図である。It is a figure which shows the state by which the scanning start angle of scanning was corrected based on the detected workpiece | work shown in FIG. 本発明の第1実施形態によるロボットシステムの3次元計測において走査を開始してから最後にワークを検出した状態を示す図である。It is a figure which shows the state which detected the workpiece | work last after starting scanning in the three-dimensional measurement of the robot system by 1st Embodiment of this invention. 図11に示す検出されたワークに基づいて走査の走査終了角度が修正された状態を示す図である。It is a figure which shows the state by which the scanning end angle of scanning was corrected based on the detected workpiece | work shown in FIG. 本発明の第1実施形態によるロボットシステムの3次元計測においてワークがなくなった状態を示す図である。It is a figure which shows the state from which the workpiece | work was lost in the three-dimensional measurement of the robot system by 1st Embodiment of this invention. 本発明の第2実施形態によるロボットシステムのワークを走査する状態を示す側面図である。It is a side view which shows the state which scans the workpiece | work of the robot system by 2nd Embodiment of this invention. 本発明の第2実施形態によるロボットシステムのワークを走査する状態を示す斜視図である。It is a perspective view which shows the state which scans the workpiece | work of the robot system by 2nd Embodiment of this invention. 本発明の第2実施形態によるロボットシステムのパレットを3次元計測する状態を示す側面図である。It is a side view which shows the state which measures three-dimensionally the pallet of the robot system by 2nd Embodiment of this invention. 本発明の第2実施形態によるロボットシステムのパレットを3次元計測する状態を示す斜視図である。It is a perspective view which shows the state which measures three-dimensionally the pallet of the robot system by 2nd Embodiment of this invention. 本発明の第2実施形態によるロボットシステムのパレットを3次元計測した結果の画像を示す図である。It is a figure which shows the image of the result of having measured three-dimensionally the pallet of the robot system by 2nd Embodiment of this invention. 本発明の第2実施形態によるロボットシステムのパレットおよびワークを3次元計測した結果の画像を示す図である。It is a figure which shows the image of the result of having measured three-dimensionally the pallet and workpiece | work of the robot system by 2nd Embodiment of this invention. 図19に示すパレットおよびワークを3次元計測した結果から図18に示すパレットを3次元計測した結果を差分した状態の画像を示す図である。It is a figure which shows the image of the state which carried out the difference of the result of three-dimensional measurement of the pallet shown in FIG. 18 from the result of three-dimensional measurement of the pallet and workpiece shown in FIG.

以下、本発明の実施形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

(第1実施形態)
まず、図1を参照して、本発明の第1実施形態によるロボットシステム100の全体構成について説明する。
(First embodiment)
First, the overall configuration of the robot system 100 according to the first embodiment of the present invention will be described with reference to FIG.

図1に示すように、ロボットシステム100には、ロボット1と、ストッカ2と、ロボットコントローラ3と、センサユニット(距離画像センサユニット)4と、ユーザコントローラ5と、搬送用パレット6とが設けられている。なお、センサユニット4は、本発明の「形状計測装置」の一例である。   As shown in FIG. 1, the robot system 100 includes a robot 1, a stocker 2, a robot controller 3, a sensor unit (distance image sensor unit) 4, a user controller 5, and a transfer pallet 6. ing. The sensor unit 4 is an example of the “shape measuring device” in the present invention.

ストッカ2は、樹脂などにより形成された箱(パレット)からなり、ストッカ2の内部には、たとえばボルトなどの複数のワーク200が載置されている。ロボット1は、垂直多関節型のロボットであり、ロボット1の先端には、ストッカ2内に載置されたワーク200を1つずつ把持するためのハンド装置7が設けられている。なお、ハンド装置7は、本発明の「把持部」の一例である。また、ハンド装置7に把持されたワーク200は、次の工程にワーク200を搬送するための搬送用パレット6に移動されるように構成されている。ロボット1の各関節部には、図示しないサーボモータが内蔵されており、サーボモータは、予めロボットコントローラ3により教示されている動作命令に従って制御されるように構成されている。   The stocker 2 is a box (pallet) formed of resin or the like, and a plurality of workpieces 200 such as bolts are placed inside the stocker 2. The robot 1 is a vertical articulated robot, and a hand device 7 for holding the workpieces 200 placed in the stocker 2 one by one is provided at the tip of the robot 1. The hand device 7 is an example of the “gripping part” in the present invention. In addition, the workpiece 200 held by the hand device 7 is configured to be moved to the transfer pallet 6 for transferring the workpiece 200 to the next process. Each joint of the robot 1 includes a servo motor (not shown), and the servo motor is configured to be controlled in accordance with an operation command taught in advance by the robot controller 3.

次に、図2〜図5を参照して、本発明の第1実施形態によるロボットシステム100のセンサユニット4の構成について説明する。   Next, the configuration of the sensor unit 4 of the robot system 100 according to the first embodiment of the present invention will be described with reference to FIGS.

図2に示すように、センサユニット4には、高速カメラ11と、レーザスキャナ12とが設けられている。なお、高速カメラ11は、本発明の「カメラ」の一例である。また、図3に示すように、センサユニット4の内部には、センサコントローラ13が設けられている。なお、センサコントローラ13は、本発明の「制御部」の一例である。また、高速カメラ11には、CMOSセンサなどからなる撮像素子14が設けられている。なお、CMOSセンサからなる撮像素子14では、CMOSセンサに含まれる全ての画素から画素データを抽出して、画像を形成するように構成されている。また、高速カメラ11には、所定の範囲の波長だけを通過させるバンドパスフィルタ11aが設けられている。   As shown in FIG. 2, the sensor unit 4 is provided with a high-speed camera 11 and a laser scanner 12. The high-speed camera 11 is an example of the “camera” in the present invention. As shown in FIG. 3, a sensor controller 13 is provided inside the sensor unit 4. The sensor controller 13 is an example of the “control unit” in the present invention. Further, the high-speed camera 11 is provided with an image sensor 14 made of a CMOS sensor or the like. Note that the image sensor 14 formed of a CMOS sensor is configured to form an image by extracting pixel data from all the pixels included in the CMOS sensor. The high-speed camera 11 is provided with a band pass filter 11a that allows only a predetermined range of wavelengths to pass.

図3および図4に示すように、レーザスキャナ12は、レーザスリット光を発生するレーザ発生器15と、レーザスリット光を反射するミラー部16と、ミラー部16を回転駆動させるモータ17と、ミラー部16の回転角度を検出する角度検出器18と、ミラー部16を固定する治具19とを備えている。なお、レーザ発生器15は、本発明の「レーザ照射部」の一例である。また、ミラー部16は、本発明の「走査部」の一例である。   As shown in FIGS. 3 and 4, the laser scanner 12 includes a laser generator 15 that generates laser slit light, a mirror unit 16 that reflects the laser slit light, a motor 17 that rotationally drives the mirror unit 16, and a mirror. An angle detector 18 for detecting the rotation angle of the part 16 and a jig 19 for fixing the mirror part 16 are provided. The laser generator 15 is an example of the “laser irradiation unit” in the present invention. The mirror unit 16 is an example of the “scanning unit” in the present invention.

図5に示すように、レーザ発生器15から発生されたレーザスリット光は、ミラー部16によって反射されて、ワーク200に照射されるように構成されている。なお、レーザ発生器15から発生されたレーザスリット光は、ミラー部16の回転中心に照射されるように構成されている。また、ミラー部16が回転駆動することにより、ワーク200が載置される領域全体が、レーザスリット光により走査されるように構成されている。また、ミラー部16によって照射され、ワーク200によって反射されたレーザスリット光の反射光は、高速カメラ11によって撮影されるように構成されている。   As shown in FIG. 5, the laser slit light generated from the laser generator 15 is reflected by the mirror unit 16 and irradiated onto the workpiece 200. The laser slit light generated from the laser generator 15 is configured to irradiate the rotation center of the mirror unit 16. Further, when the mirror unit 16 is driven to rotate, the entire region on which the workpiece 200 is placed is scanned with the laser slit light. Further, the reflected light of the laser slit light irradiated by the mirror unit 16 and reflected by the work 200 is configured to be photographed by the high speed camera 11.

また、モータ17(ミラー部16)の回転角度と、受光した光の撮像素子14の位置と、レーザ発生器15、ミラー部16および高速カメラ11の幾何学的関係とに基づいて、三角測量の原理を用いることによって、高速カメラ11とワーク200(ワーク200が載置される面20)との間の距離を3次元計測するように構成されている。   Further, based on the rotation angle of the motor 17 (mirror part 16), the position of the image sensor 14 of the received light, and the geometric relationship of the laser generator 15, the mirror part 16 and the high-speed camera 11, triangulation By using the principle, the distance between the high-speed camera 11 and the workpiece 200 (the surface 20 on which the workpiece 200 is placed) is three-dimensionally measured.

次に、図6を参照して、本発明の第1実施形態によるロボットシステム100のセンサコントローラ13の構成について説明する。   Next, the configuration of the sensor controller 13 of the robot system 100 according to the first embodiment of the present invention will be described with reference to FIG.

図6に示すように、センサコントローラ13には、レーザスキャナ12のモータ17を制御するモータ制御部31が設けられている。また、センサコントローラ13には、ロボットコントローラ3とユーザコントローラ5とに接続される通信部32が設けられている。   As shown in FIG. 6, the sensor controller 13 is provided with a motor control unit 31 that controls the motor 17 of the laser scanner 12. The sensor controller 13 is provided with a communication unit 32 connected to the robot controller 3 and the user controller 5.

また、通信部32には、第1距離設定部33が接続されるとともに、第1距離設定部33には、第1距離記憶部34が接続されている。第1距離設定部33は、高速カメラ11とワーク200が載置される面20との間の距離L1(図5参照)を設定する機能を有する。また、第1距離記憶部34は、第1距離設定部33により設定される距離L1を記憶する機能を有する。また、通信部32には、第2距離設定部35が接続されるとともに、第2距離設定部35には、第2距離記憶部36が接続されている。第2距離設定部35は、ワーク200が載置される面20近傍の不感帯領域の高さd(距離d)(図5参照)を設定する機能を有する。また、第2距離記憶部36は、第2距離設定部35により設定されるワーク200が載置される面20近傍の不感帯領域の高さd(距離d)を記憶する機能を有する。なお、ワーク200が載置される面20近傍の不感帯領域の高さd(距離d)は、たとえばワーク200のZ方向の高さh(図5参照)の1/2に設定される。   A first distance setting unit 33 is connected to the communication unit 32, and a first distance storage unit 34 is connected to the first distance setting unit 33. The first distance setting unit 33 has a function of setting a distance L1 (see FIG. 5) between the high-speed camera 11 and the surface 20 on which the workpiece 200 is placed. The first distance storage unit 34 has a function of storing the distance L1 set by the first distance setting unit 33. A second distance setting unit 35 is connected to the communication unit 32, and a second distance storage unit 36 is connected to the second distance setting unit 35. The second distance setting unit 35 has a function of setting the height d (distance d) (see FIG. 5) of the dead zone near the surface 20 on which the workpiece 200 is placed. The second distance storage unit 36 has a function of storing the height d (distance d) of the dead zone near the surface 20 on which the workpiece 200 set by the second distance setting unit 35 is placed. Note that the height d (distance d) of the dead zone near the surface 20 on which the workpiece 200 is placed is set to ½ of the height h (see FIG. 5) of the workpiece 200 in the Z direction, for example.

また、第1距離記憶部34には、走査角度設定部37が接続されている。走査角度設定部37は、ミラー部16が、レーザスリット光の走査を開始する走査開始角度θLS1(図5参照)と走査終了角度θLE1とを設定する機能を有する。なお、レーザスリット光の走査角度は、Z方向に沿った直線を基準(0度)とする。また、ミラー部16の回転角度θと、ミラー部16に反射したレーザスリット光の走査角度θとの関係は、ミラー部16の法線に対するレーザスリット光の入射角と反射角とが等しいので、下記の式(1)によって表わされる。 In addition, a scanning angle setting unit 37 is connected to the first distance storage unit 34. The scanning angle setting unit 37 has a function in which the mirror unit 16 sets a scanning start angle θ LS1 (see FIG. 5) at which scanning of the laser slit light starts and a scanning end angle θ LE1 . The scanning angle of the laser slit light is based on a straight line along the Z direction (0 degrees). Further, the relationship between the rotation angle θ M of the mirror unit 16 and the scanning angle θ L of the laser slit light reflected on the mirror unit 16 is equal to the incident angle and the reflection angle of the laser slit light with respect to the normal of the mirror unit 16. Therefore, it is represented by the following formula (1).

θ=2×θ ・・・(1)
また、走査開始角度θLS1および走査終了角度θLE1は、高速カメラ11とワーク200を載置する面20との間の距離L1(図5参照)と、高速カメラ11の中心からミラー部16の回転中心までの距離と、高速カメラ11の視野角度θとから幾何学的に求められる。
θ L = 2 × θ M (1)
Further, the scan start angle θ LS1 and the scan end angle θ LE1 are set such that the distance L1 (see FIG. 5) between the high-speed camera 11 and the surface 20 on which the workpiece 200 is placed and the center of the high-speed camera 11 Geometrically determined from the distance to the center of rotation and the viewing angle θ C of the high-speed camera 11.

また、走査角度設定部37には、走査角度修正部38が接続されている。また、走査角度修正部38には、第1角度記憶部39と、第2角度記憶部40とが接続されている。ここで、第1実施形態では、第1角度記憶部39は、ミラー部16が走査を開始して、高速カメラ11からワーク200までの距離(たとえばLa、図9参照)が、最初に、高速カメラ11とワーク200が載置される面20との間の距離L1からワーク200が載置される面20近傍の不感帯領域の高さd(距離d)を差分した距離L2(L1−d)以下になった際(La≦L2)のレーザスリット光の走査角度(たとえばθLP1、図9参照)が記憶されるように構成されている。なお、高速カメラ11からワーク200までの距離Laは、本発明の「第1の距離」の一例である。また、高速カメラ11とワーク200が載置される面20との間の距離L1からワーク200が載置される面20近傍の不感帯領域の高さd(距離d)を差分した距離L2は、本発明の「第2の距離」の一例である。 In addition, a scanning angle correction unit 38 is connected to the scanning angle setting unit 37. A first angle storage unit 39 and a second angle storage unit 40 are connected to the scanning angle correction unit 38. Here, in the first embodiment, the first angle storage unit 39 is configured such that the distance from the high-speed camera 11 to the workpiece 200 (for example, La, see FIG. 9) A distance L2 (L1-d) obtained by subtracting the height d (distance d) of the dead zone near the surface 20 on which the workpiece 200 is placed from the distance L1 between the camera 11 and the surface 20 on which the workpiece 200 is placed. The scanning angle (for example, θ LP1 , see FIG. 9) of the laser slit light at the time of the following (La ≦ L2) is stored. The distance La from the high-speed camera 11 to the workpiece 200 is an example of the “first distance” in the present invention. A distance L2 obtained by subtracting the height d (distance d) of the dead zone near the surface 20 on which the workpiece 200 is placed from the distance L1 between the high-speed camera 11 and the surface 20 on which the workpiece 200 is placed is: It is an example of the “second distance” in the present invention.

また、第1実施形態では、第2角度記憶部40は、ミラー部16が走査を終了するまでにおいて、高速カメラ11からワーク200までの距離(たとえばLn、図11参照)が、最後に、高速カメラ11とワーク200が載置される面20との間の距離L1からワーク200が載置される面20近傍の不感帯領域の高さd(距離d)を差分した距離L2(L1−d)以下になった際(Ln≦L2)のレーザスリット光の走査角度(たとえばθLPn、図11参照)が記憶されるように構成されている。また、走査角度修正部38は、第1角度記憶部39および第2角度記憶部40に記憶された角度に基づいて、走査角度設定部37に設定されるレーザスリット光の走査を開始する走査開始角度θLS1および走査終了角度θLE1を修正する機能を有する。すなわち、第1実施形態では、ワーク200が載置される領域に応じて、走査開始角度θLS1および走査終了角度θLE1を変更するように構成されている。 In the first embodiment, the second angle storage unit 40 determines that the distance from the high speed camera 11 to the workpiece 200 (for example, Ln, see FIG. 11) is the high speed until the mirror unit 16 finishes scanning. A distance L2 (L1-d) obtained by subtracting the height d (distance d) of the dead zone near the surface 20 on which the workpiece 200 is placed from the distance L1 between the camera 11 and the surface 20 on which the workpiece 200 is placed. The scanning angle of the laser slit light (for example, θ LPn , see FIG. 11) when the following is satisfied (Ln ≦ L2) is stored. Further, the scanning angle correction unit 38 starts scanning to start scanning with the laser slit light set in the scanning angle setting unit 37 based on the angles stored in the first angle storage unit 39 and the second angle storage unit 40. It has a function of correcting the angle θ LS1 and the scanning end angle θ LE1 . That is, in the first embodiment, the scanning start angle θ LS1 and the scanning end angle θ LE1 are changed in accordance with the area where the workpiece 200 is placed.

また、センサコントローラ13には、高速カメラ11に接続される画像取得部41と、画像取得部41に接続される認識部42とが設けられている。画像取得部41は、高速カメラ11に設けられる撮像素子14によって撮像された画像を取得する機能を有する。認識部42は、画像取得部41によって取得された高速カメラ11の画像から、複数のワーク200を個別に認識する機能を有する。   The sensor controller 13 is provided with an image acquisition unit 41 connected to the high-speed camera 11 and a recognition unit 42 connected to the image acquisition unit 41. The image acquisition unit 41 has a function of acquiring an image captured by the image sensor 14 provided in the high-speed camera 11. The recognition unit 42 has a function of individually recognizing a plurality of workpieces 200 from the image of the high-speed camera 11 acquired by the image acquisition unit 41.

次に、図5〜図13を参照して、第1実施形態のロボットシステム100によるワーク200の3次元計測の動作について説明する。なお、第1実施形態では、説明を簡略化するために、ワーク200はストッカ2の内部ではなく、図5に示す面20上に直接載置されている場合の動作について説明する。   Next, with reference to FIGS. 5 to 13, the three-dimensional measurement operation of the workpiece 200 by the robot system 100 according to the first embodiment will be described. In the first embodiment, in order to simplify the description, the operation when the workpiece 200 is placed directly on the surface 20 shown in FIG. 5 instead of the inside of the stocker 2 will be described.

図7に示すステップS1において、図5に示すように、ミラー部16から照射され、ワーク200(ワーク200を載置する面20)によって反射された反射光を高速カメラ11が受光することにより、高速カメラ11からワーク200(ワーク200を載置する面20)までの距離が計測される。具体的には、モータ17(ミラー部16)の回転角度と、受光した光の撮像素子14の位置と、レーザ発生器15、ミラー部16および高速カメラ11の幾何学的関係とに基づいて、三角測量の原理を用いることによって、高速カメラ11とワーク200(ワーク200が載置される面20)との間の距離が3次元計測される。その後、ステップS2において、計測された高速カメラ11とワーク200(ワーク200が載置される面20)との間の距離が、センサコントローラ13の第1距離設定部33を介して第1距離記憶部34に記憶される。   In step S1 shown in FIG. 7, as shown in FIG. 5, the high-speed camera 11 receives reflected light that is irradiated from the mirror unit 16 and reflected by the workpiece 200 (the surface 20 on which the workpiece 200 is placed). The distance from the high-speed camera 11 to the workpiece 200 (the surface 20 on which the workpiece 200 is placed) is measured. Specifically, based on the rotation angle of the motor 17 (mirror part 16), the position of the image sensor 14 of the received light, and the geometric relationship of the laser generator 15, the mirror part 16 and the high-speed camera 11, By using the principle of triangulation, the distance between the high-speed camera 11 and the workpiece 200 (the surface 20 on which the workpiece 200 is placed) is three-dimensionally measured. Thereafter, in step S <b> 2, the measured distance between the high-speed camera 11 and the workpiece 200 (surface 20 on which the workpiece 200 is placed) is stored in the first distance via the first distance setting unit 33 of the sensor controller 13. Stored in the unit 34.

次に、ステップS3において、ワーク200が載置される面20近傍の不感帯領域の高さd(距離d)がユーザによりユーザコントローラ5を用いて手動で入力されたか否かが判断される。そして、ステップS3において、不感帯領域の高さd(距離d)が入力されと判断された場合には、ステップS4に進む。なお、ステップS3の判断は、不感帯領域の高さd(距離d)が入力されるまで、繰り返し行われている。そして、ステップS4において、ユーザにより設定された距離dが、第2距離設定部35を介して第2距離記憶部36に記憶される。なお、ワーク200が載置される面20近傍の不感帯領域の高さd(距離d)は、たとえばワーク200のZ方向の高さh(図5参照)の1/2に設定される。   Next, in step S <b> 3, it is determined whether or not the height d (distance d) of the dead zone near the surface 20 on which the workpiece 200 is placed is manually input by the user using the user controller 5. If it is determined in step S3 that the height d (distance d) of the dead zone is input, the process proceeds to step S4. Note that the determination in step S3 is repeated until the height d (distance d) of the dead zone is input. In step S <b> 4, the distance d set by the user is stored in the second distance storage unit 36 via the second distance setting unit 35. Note that the height d (distance d) of the dead zone near the surface 20 on which the workpiece 200 is placed is set to ½ of the height h (see FIG. 5) of the workpiece 200 in the Z direction, for example.

次に、ステップS5において、上記ステップS2において記憶された高速カメラ11とワーク200(ワーク200を載置する面20)との間の距離のうち、高速カメラ11の光軸方向(Z方向)の最大値が算出されて、高速カメラ11とワーク200を載置する面20との間の距離L1として設定される。なお、高速カメラ11とワーク200を載置する面20との間の距離L1は、上記ステップS1およびステップS2を行わずに、ユーザによりユーザコントローラ5を用いて手動で設定されるようにしてもよい。   Next, in step S5, the optical axis direction (Z direction) of the high-speed camera 11 out of the distance between the high-speed camera 11 and the workpiece 200 (the surface 20 on which the workpiece 200 is placed) stored in step S2 is stored. The maximum value is calculated and set as the distance L1 between the high-speed camera 11 and the surface 20 on which the workpiece 200 is placed. Note that the distance L1 between the high-speed camera 11 and the surface 20 on which the workpiece 200 is placed may be manually set by the user using the user controller 5 without performing steps S1 and S2. Good.

そして、ステップS6において、距離L1と、高速カメラ11の中心からミラー部16の回転中心までの距離と、高速カメラ11の視野角度θとの幾何学的関係から、レーザスリット光の走査開始角度θLS1と走査終了角度θLE1とが算出されて、センサコントローラ13の走査角度設定部37に設定される。なお、図5に示すように、Z方向に積み上げられたワーク200の全てを走査可能なように、走査開始角度θLS1は、照射されるレーザスリット光が、高速カメラ11が撮像可能な面20上の領域Cを矢印X1方向に超えるように設定される。一方、走査終了角度θLE1は、照射されるレーザスリット光と、高速カメラ11が撮像可能な面20上の領域Cの矢印X2方向の境界とが一致するように設定される。 In step S6, the scanning start angle of the laser slit light is calculated from the geometric relationship between the distance L1, the distance from the center of the high speed camera 11 to the rotation center of the mirror unit 16, and the viewing angle θ C of the high speed camera 11. θ LS1 and scanning end angle θ LE1 are calculated and set in the scanning angle setting unit 37 of the sensor controller 13. As shown in FIG. 5, the scanning start angle θ LS1 has a surface 20 on which the high-speed camera 11 can image the irradiated laser slit light so that all the workpieces 200 stacked in the Z direction can be scanned. It is set so as to exceed the upper region C in the direction of the arrow X1. On the other hand, the scanning end angle θ LE1 is set so that the irradiated laser slit light coincides with the boundary in the arrow X2 direction of the region C on the surface 20 that can be imaged by the high-speed camera 11.

次に、ステップS7において、ワーク200の3次元計測が開始される。具体的には、図8に示すように、上記ステップS6において設定された走査開始角度θLS1と走査終了角度θLE1とに基づいて、レーザスリット光が照射(ミラー部16が回転駆動)される。すなわち、レーザスリット光は、走査角度θL1の範囲で走査される。これにより、レーザ発生器15から発生され、ミラー部16によって反射されたレーザスリット光がワーク200(ワーク200を載置する面20)に照射された後、ワーク200(ワーク200を載置する面20)により反射される。この反射光が高速カメラ11に入射されることにより、ワーク200(ワーク200を載置する面20)が撮影される。そして、モータ17(ミラー部16)の回転角度と、受光した光の撮像素子14の位置と、レーザ発生器15、ミラー部16および高速カメラ11の幾何学的関係とに基づいて、三角測量の原理を用いることによって、高速カメラ11とワーク200との間の距離Lが3次元計測される。 Next, in step S7, three-dimensional measurement of the workpiece 200 is started. Specifically, as shown in FIG. 8, laser slit light is irradiated (mirror unit 16 is rotationally driven) based on the scan start angle θ LS1 and the scan end angle θ LE1 set in step S6. . In other words, the laser slit light is scanned in the range of the scanning angle θ L1 . Thereby, after the laser slit light generated from the laser generator 15 and reflected by the mirror unit 16 is applied to the workpiece 200 (the surface 20 on which the workpiece 200 is placed), the workpiece 200 (the surface on which the workpiece 200 is placed). 20). When the reflected light is incident on the high-speed camera 11, the workpiece 200 (the surface 20 on which the workpiece 200 is placed) is photographed. Then, based on the rotation angle of the motor 17 (mirror part 16), the position of the image sensor 14 of the received light, and the geometric relationship of the laser generator 15, the mirror part 16 and the high-speed camera 11, triangulation By using the principle, the distance L between the high-speed camera 11 and the workpiece 200 is three-dimensionally measured.

なお、ミラー部16が回転駆動されることにより、高速カメラ11とワーク200との間の距離Lの3次元計測も連続して行われる。そして、連続して行われる3次元計測の間において、ステップS8において、高速カメラ11からワーク200までの距離Lが、高速カメラ11とワーク200が載置される面20との間の距離L1からワーク200が載置される面20近傍の不感帯領域の高さd(距離d)を差分した距離L2(L1−d)以下(L≦L1−d)になったか否かが判断される。   Note that the three-dimensional measurement of the distance L between the high-speed camera 11 and the workpiece 200 is continuously performed by rotating the mirror unit 16. Then, during the three-dimensional measurement performed continuously, in step S8, the distance L from the high speed camera 11 to the workpiece 200 is changed from the distance L1 between the high speed camera 11 and the surface 20 on which the workpiece 200 is placed. It is determined whether or not a distance L2 (L1-d) or less (L ≦ L1-d) obtained by subtracting the height d (distance d) of the dead zone near the surface 20 on which the workpiece 200 is placed is obtained.

そして、たとえば図9に示すように、ミラー部16が走査を開始した後、ワーク200aの表面上の点Paにおいて反射された反射光に基づいて、高速カメラ11とワーク200aの点Paとの間の距離Laが計測され、ステップS8において、距離Laが、高速カメラ11とワーク200が載置される面20との間の距離L1からワーク200が載置される面20近傍の不感帯領域の高さd(距離d)を差分した距離L2(L1−d)以下(La≦L1−d)になった場合に、ステップS9に進む。そして、ステップS9において、ワーク200aの表面上の点Paにおいて反射された際のレーザスリット光の走査角度θLP1が、センサコントローラ13の第1角度記憶部39(図6参照)に記憶される。 Then, for example, as shown in FIG. 9, after the mirror unit 16 starts scanning, between the high-speed camera 11 and the point Pa of the workpiece 200a based on the reflected light reflected at the point Pa on the surface of the workpiece 200a. The distance La is measured, and in step S8, the distance La is the height of the dead zone region in the vicinity of the surface 20 on which the workpiece 200 is placed from the distance L1 between the high-speed camera 11 and the surface 20 on which the workpiece 200 is placed. When the distance d2 (distance d) is equal to or smaller than the distance L2 (L1-d) (La ≦ L1-d), the process proceeds to step S9. In step S9, the scanning angle θ LP1 of the laser slit light when reflected at the point Pa on the surface of the workpiece 200a is stored in the first angle storage unit 39 (see FIG. 6) of the sensor controller 13.

また、ミラー部16による走査が引き続き行われ、ステップS10において、高速カメラ11からワーク200までの距離Lが、高速カメラ11とワーク200が載置される面20との間の距離L1からワーク200が載置される面20近傍の不感帯領域の高さd(距離d)を差分した距離L2(L1−d)以下か否か(L≦L1−d)が判断される。そして、ステップS10において、高速カメラ11からワーク200までの距離Lが、高速カメラ11とワーク200が載置される面20との間の距離L1から不感帯領域の高さd(距離d)を差分した距離L2(L1−d)以下と判断されている間は、ステップS10の動作が繰り返して行われる。   Further, the scanning by the mirror unit 16 is continued, and in step S10, the distance L from the high speed camera 11 to the workpiece 200 is changed from the distance L1 between the high speed camera 11 and the surface 20 on which the workpiece 200 is placed to the workpiece 200. It is determined whether or not a distance L2 (L1-d) or less (L ≦ L1-d) obtained by subtracting the height d (distance d) of the dead zone area in the vicinity of the surface 20 on which L is placed. In step S10, the distance L from the high-speed camera 11 to the workpiece 200 differs from the distance L1 between the high-speed camera 11 and the surface 20 on which the workpiece 200 is placed by the height d (distance d) of the dead zone. While it is determined that the distance is less than or equal to the distance L2 (L1-d), the operation of step S10 is repeated.

そして、たとえば、後述する図11に示すように、ワーク200nの表面上の点Pnにおいて反射された反射光に基づいて、高速カメラ11とワーク200nの点Pnとの間の距離Lnが計測された後、ステップS10において、高速カメラ11からワーク200nまでの距離Lが、高速カメラ11とワーク200が載置される面20との間の距離L1からワーク200が載置される面20近傍の不感帯領域の高さd(距離d)を差分した距離L2(L1−d)より大きくなった(L>L1−d)と判断された場合には、ステップS11に進む。なお、図9に示すように、ワーク200の載置される位置、姿勢によっては、ステップS10において、高速カメラ11からワーク200までの距離Lが、高速カメラ11とワーク200が載置される面20との間の距離L1からワーク200が載置される面20近傍の不感帯領域の高さd(距離d)を差分した距離L2(L1−d)以上になると判断されることなく、ミラー部16の走査が終了する場合もある。   Then, for example, as shown in FIG. 11 described later, a distance Ln between the high-speed camera 11 and the point Pn of the workpiece 200n is measured based on the reflected light reflected at the point Pn on the surface of the workpiece 200n. Thereafter, in step S10, the distance L from the high-speed camera 11 to the workpiece 200n is the dead zone in the vicinity of the surface 20 on which the workpiece 200 is placed from the distance L1 between the high-speed camera 11 and the surface 20 on which the workpiece 200 is placed. If it is determined that the area height d (distance d) is greater than the difference L2 (L1-d) (L> L1-d), the process proceeds to step S11. As shown in FIG. 9, depending on the position and orientation on which the workpiece 200 is placed, in step S <b> 10, the distance L from the high speed camera 11 to the workpiece 200 is the surface on which the high speed camera 11 and the workpiece 200 are placed. The mirror portion is not determined to be equal to or greater than the distance L2 (L1-d) obtained by subtracting the height d (distance d) of the dead zone near the surface 20 on which the workpiece 200 is placed from the distance L1 between In some cases, 16 scans may be completed.

そして、ステップS12において、レーザスリット光の走査角度が走査終了角度θLE1以上になったか否か(レーザスリット光の走査角度が走査終了角度θLE1に達したか否か)が判断される。ステップS12において、レーザスリット光の走査角度が走査終了角度θLE1に達していないと判断された場合には、ステップS8に戻る。ステップS12において、レーザスリット光の走査角度が走査終了角度θLE1より大きくなったと判断された場合には、ステップS13に進む。 In step S12, it is determined whether or not the scanning angle of the laser slit light is equal to or greater than the scanning end angle θ LE1 (whether the scanning angle of the laser slit light has reached the scanning end angle θ LE1 ). If it is determined in step S12 that the scanning angle of the laser slit light has not reached the scanning end angle θLE1 , the process returns to step S8. In step S12, when it is determined that the scanning angle of the laser slit light has become larger than the scanning end angle θLE1 , the process proceeds to step S13.

ステップS13では、3次元計測された計測データが、センサコントローラ13の認識部42によって画像認識処理される。そして、予め記憶されているワーク200のテンプレートと、画像認識処理された計測データとを比較することにより、複数のワーク200が個々に認識される。なお、個々のワーク200が認識される際、個々のワーク200の位置および姿勢(傾き、上下など)も同時に認識される。そして、認識された複数のワーク200の中から、最もロボット1のハンド装置7(図1参照)が把持しやすいワーク200(たとえばワーク200a)が、ワーク200の位置および姿勢に基づいて、判断される。そして、最も把持しやすいワーク200aの位置および姿勢が、センサコントローラ13からロボットコントローラ3に伝達される。これにより、ロボット1のハンド装置7により、ワーク200aが把持されるとともに、ワーク200aは、次の工程にワーク200aを搬送するための搬送用パレット6に移動される。   In step S <b> 13, the three-dimensionally measured measurement data is subjected to image recognition processing by the recognition unit 42 of the sensor controller 13. A plurality of workpieces 200 are individually recognized by comparing the template of the workpiece 200 stored in advance with the measurement data subjected to the image recognition process. Note that when the individual workpieces 200 are recognized, the position and posture (inclination, up and down, etc.) of the individual workpieces 200 are also recognized at the same time. Based on the position and posture of the workpiece 200, the workpiece 200 (for example, the workpiece 200a) that is most easily gripped by the hand device 7 (see FIG. 1) of the robot 1 is determined from the plurality of recognized workpieces 200. The Then, the position and posture of the workpiece 200 a that is most easily gripped are transmitted from the sensor controller 13 to the robot controller 3. Thereby, the workpiece 200a is gripped by the hand device 7 of the robot 1, and the workpiece 200a is moved to the transfer pallet 6 for transferring the workpiece 200a to the next step.

次に、ステップS14に進んで、次回の走査の際の走査開始角度がセンサコントローラ13の走査角度修正部38および走査角度設定部37(図6参照)により修正、設定される。具体的には、上記ステップS9において、第1角度記憶部39に記憶されたレーザスリット光の走査角度θLP1から所定の角度(たとえば2度)を加算した角度(θLP1+2)が、次回の走査の際の走査開始角度θLS2として、センサコントローラ13の走査角度修正部38および走査角度設定部37(図6参照)により修正、設定される。なお、図9に示す状態では、上記ステップS10において、高速カメラ11からワーク200までの距離Lが、高速カメラ11とワーク200が載置される面20との間の距離L1から不感帯領域の高さd(距離d)を差分した距離L2(L1−d)以上になると判断されることなく、ミラー部16の走査が終了しているので、走査終了角度θLE1は、修正されない。 Next, proceeding to step S14, the scan start angle at the next scan is corrected and set by the scan angle correcting unit 38 and the scan angle setting unit 37 (see FIG. 6) of the sensor controller 13. Specifically, in step S9, an angle (θ LP1 +2) obtained by adding a predetermined angle (for example, 2 degrees) to the scanning angle θ LP1 of the laser slit light stored in the first angle storage unit 39 is the next time. The scanning start angle θ LS2 at the time of scanning is corrected and set by the scanning angle correction unit 38 and the scanning angle setting unit 37 (see FIG. 6) of the sensor controller 13. In the state shown in FIG. 9, in step S10, the distance L from the high-speed camera 11 to the workpiece 200 is higher than the distance L1 between the high-speed camera 11 and the surface 20 on which the workpiece 200 is placed. Since it is determined that the distance d2 (distance d) is equal to or longer than the distance L2 (L1-d), the scanning of the mirror unit 16 has been completed, and thus the scanning end angle θ LE1 is not corrected.

その後、ステップS7に戻って、3次元計測が再び開始される。具体的には、図10に示すように、上記ステップS14において設定された走査開始角度θLS2と走査終了角度θLE1とに基づいて、ミラー部16が回転駆動される。すなわち、レーザスリット光は、走査角度θL2(<θL1)の範囲で走査される。その後、ステップS8〜ステップS14の動作が繰り返し行われる。そして、図10に示す状態では、ステップS8において、高速カメラ11とワーク200bの点Pbとの間の距離Lbが、高速カメラ11とワーク200が載置される面20との間の距離L1から不感帯領域の高さd(距離d)を差分した距離L2(L1−d)以下(Lb≦L1−d)になったと判断されて、ワーク200bの表面上の点Pbにおいて反射された際のレーザスリット光の走査角度θLP2が、センサコントローラ13の第1角度記憶部39(図6参照)に記憶される。そして、ステップS14に進んで、レーザスリット光の走査角度θLP2から所定の角度(たとえば2度)を加算した角度(θLP2+2)が、次回の走査の際の走査開始角度θLS3として設定される。 Then, it returns to step S7 and 3D measurement is started again. Specifically, as shown in FIG. 10, the mirror unit 16 is rotationally driven based on the scanning start angle θ LS2 and the scanning end angle θ LE1 set in step S14. That is, the laser slit light is scanned in a range of a scanning angle θ L2 (<θ L1 ). Thereafter, the operations in steps S8 to S14 are repeated. In the state shown in FIG. 10, in step S8, the distance Lb between the high speed camera 11 and the point Pb of the workpiece 200b is determined from the distance L1 between the high speed camera 11 and the surface 20 on which the workpiece 200 is placed. Laser when it is determined that the height d (distance d) of the dead zone is equal to or less than a distance L2 (L1-d) that is a difference (Lb ≦ L1-d) and is reflected at a point Pb on the surface of the workpiece 200b The scanning angle θ LP2 of the slit light is stored in the first angle storage unit 39 (see FIG. 6) of the sensor controller 13. In step S14, an angle (θ LP2 +2) obtained by adding a predetermined angle (for example, 2 degrees) to the scanning angle θ LP2 of the laser slit light is set as the scanning start angle θ LS3 in the next scanning. The

そして、再び、ステップS8〜ステップS14の動作が繰り返し行われることにより、ワーク200の3次元計測と、ロボット1のハンド装置7によるワーク200の搬送用パレット6への移動とが繰り返し行われ、たとえば図11に示すように、ワーク200の数が減少した状態となる。この場合、レーザスリット光は、走査角度θL3(<θL2)の範囲で操作されている。そして、ワーク200nの表面上の点Pnにおいて反射されて、高速カメラ11からワーク200nまでの距離Lnが計測された後、ステップS10において、高速カメラ11とワーク200が載置される面20との間の距離L1から不感帯領域の高さd(距離d)を差分した距離L2(L1−d)より大きくなった(L>L1−d)と判断される。その後、ステップS11において、高速カメラ11からワーク200nまでの距離L(Ln)が、最後に、高速カメラ11とワーク200が載置される面20との間の距離L1から不感帯領域の高さd(距離d)を差分した距離L2(L1−d)以下になった(L≦L1−d)際(ワーク200nの表面上の点Pnにおいて反射された際)のレーザスリット光の走査角度θLPnが、センサコントローラ13の第2角度記憶部40(図6参照)に記憶される。そして、ステップS13に進んで、ロボット1のハンド装置7により、ワーク200nが把持されるとともに、ワーク200nは、次の工程にワーク200nを搬送するための搬送用パレット6に移動される。その後、ステップS14に進んで、レーザスリット光の走査角度θLPnから所定の角度(たとえば2度)を差分した角度(θLPn―2)が、次回の走査の際の走査終了角度θLE2として、センサコントローラ13の走査角度修正部38および走査角度設定部37(図6参照)により修正、設定される。 Then, the operations in steps S8 to S14 are repeated, whereby the three-dimensional measurement of the workpiece 200 and the movement of the workpiece 200 to the transfer pallet 6 by the hand device 7 of the robot 1 are repeated. As shown in FIG. 11, the number of workpieces 200 is reduced. In this case, the laser slit light is operated in the range of the scanning angle θ L3 (<θ L2 ). Then, after being reflected at a point Pn on the surface of the workpiece 200n and measuring the distance Ln from the high-speed camera 11 to the workpiece 200n, in step S10, the high-speed camera 11 and the surface 20 on which the workpiece 200 is placed are placed. It is determined that the distance L2 (L1-d), which is obtained by subtracting the height d (distance d) of the dead zone from the distance L1 between them, is larger (L> L1-d). Thereafter, in step S11, the distance L (Ln) from the high-speed camera 11 to the workpiece 200n is finally the height d of the dead zone from the distance L1 between the high-speed camera 11 and the surface 20 on which the workpiece 200 is placed. Scanning angle θ LPn of the laser slit light when (distance d) is less than or equal to distance L2 (L1-d) (when reflected at point Pn on the surface of workpiece 200n) (L ≦ L1-d) Is stored in the second angle storage unit 40 of the sensor controller 13 (see FIG. 6). In step S13, the workpiece 200n is gripped by the hand device 7 of the robot 1, and the workpiece 200n is moved to the transfer pallet 6 for transferring the workpiece 200n to the next step. Thereafter, the process proceeds to step S14, and an angle (θ LPn −2) obtained by subtracting a predetermined angle (for example, 2 degrees) from the scanning angle θ LPn of the laser slit light is set as a scanning end angle θ LE2 at the next scanning, It is corrected and set by the scanning angle correction unit 38 and the scanning angle setting unit 37 (see FIG. 6) of the sensor controller 13.

その後、上記設定された走査終了角度θLE2に基づいて、図12に示すように、レーザスリット光は、走査角度θL4(<θL3)の範囲で照射される。そして、ワーク200oが認識される。その後、ロボット1のハンド装置7により、ワーク200oが把持されるとともに、ワーク200oは、次の工程にワーク200oを搬送するための搬送用パレット6に移動される。そして、図13に示すように、全てのワーク200が移動された状態となる。その後、改めて、レーザスリット光が、走査角度θL4(図12参照)の範囲で照射されて、ワーク200が認識されないことが確認された後、最初に設定された走査開始角度θLS1および走査終了角度θLE1に基づいて、レーザスリット光による走査が行われる。これにより、レーザスリット光の走査範囲を徐々に小さくしながら、ワーク200の搬送用パレット6への移動が繰り返し行われている最中に、ロボット1のハンド装置7がワーク200に接触することに起因して、ワーク200がレーザスリット光の走査範囲から外れた位置に移動した場合でも、走査範囲外のワーク200を認識することが可能となる。 Thereafter, based on the set scanning end angle θ LE2 , as shown in FIG. 12, the laser slit light is irradiated in the range of the scanning angle θ L4 (<θ L3 ). Then, the workpiece 200o is recognized. Thereafter, the workpiece 200o is gripped by the hand device 7 of the robot 1, and the workpiece 200o is moved to the transfer pallet 6 for transferring the workpiece 200o to the next step. Then, as shown in FIG. 13, all the workpieces 200 are moved. Thereafter, the laser slit light is irradiated again within the range of the scanning angle θ L4 (see FIG. 12), and after confirming that the workpiece 200 is not recognized, the scanning start angle θ LS1 and the scanning end that are set first are confirmed. Based on the angle θ LE1 , scanning with laser slit light is performed. As a result, the hand device 7 of the robot 1 comes into contact with the workpiece 200 while the workpiece 200 is repeatedly moved to the transfer pallet 6 while gradually reducing the scanning range of the laser slit light. As a result, even when the workpiece 200 moves to a position outside the scanning range of the laser slit light, the workpiece 200 outside the scanning range can be recognized.

第1実施形態では、上記のように、高速カメラ11によって検出されたワーク200の載置されている領域に応じてミラー部16による走査範囲を変更するように制御するセンサコントローラ13を備えることによって、たとえばワーク200が広い範囲に複数載置されている初期状態では、走査範囲を大きくする一方、ワーク200が徐々に取り除かれて、ワーク200が小さい範囲に載置されている場合に、ワーク200が載置されている範囲に応じて走査範囲を小さくすることができる。これにより、ミラー部16によるレーザスリット光の走査範囲が小さくなる分、ワーク200の走査に要する合計の時間を短くすることができる。その結果、ロボット1がワーク200を把持して搬送用パレット6に移動させる動作に要する合計の時間を短くすることができる。   In the first embodiment, as described above, by including the sensor controller 13 that performs control so as to change the scanning range by the mirror unit 16 according to the area where the workpiece 200 detected by the high-speed camera 11 is placed. For example, in the initial state where a plurality of workpieces 200 are placed in a wide range, the scanning range is enlarged, while the workpiece 200 is gradually removed and the workpiece 200 is placed in a small range. The scanning range can be reduced according to the range in which is placed. As a result, the total time required for scanning the workpiece 200 can be shortened as the scanning range of the laser slit light by the mirror unit 16 is reduced. As a result, the total time required for the robot 1 to grip the workpiece 200 and move it to the transfer pallet 6 can be shortened.

また、第1実施形態では、上記のように、高速カメラ11によって検出されたワーク200の載置されている領域に応じて走査開始角度および走査終了角度のうちの少なくとも一方を変更することによって、ミラー部16による走査範囲を変更する制御を行うようにセンサコントローラ13を構成する。これにより、走査開始角度および走査終了角度のうちの少なくとも一方を小さくすることにより、ミラー部16による走査範囲が小さくなるので、ワーク200の走査に要する合計の時間を短くすることができる。   Further, in the first embodiment, as described above, by changing at least one of the scan start angle and the scan end angle according to the area where the workpiece 200 detected by the high speed camera 11 is placed, The sensor controller 13 is configured to perform control to change the scanning range by the mirror unit 16. Thereby, by reducing at least one of the scanning start angle and the scanning end angle, the scanning range by the mirror unit 16 is reduced, so that the total time required for scanning the workpiece 200 can be shortened.

また、第1実施形態では、上記のように、検出されたワーク200からの反射光に基づいて、高速カメラ11とワーク200との間の距離Lを算出するとともに、高速カメラ11とワーク200との間の距離Lに基づいて、ミラー部16による走査範囲を変更するようにセンサコントローラ13を構成する。これにより、ワーク200が載置されている状態(数)に応じて、容易に、ミラー部16による走査範囲を変更することができる。   In the first embodiment, as described above, the distance L between the high-speed camera 11 and the workpiece 200 is calculated based on the detected reflected light from the workpiece 200, and the high-speed camera 11 and the workpiece 200 are The sensor controller 13 is configured to change the scanning range by the mirror unit 16 based on the distance L between the two. Thereby, according to the state (number) in which the workpiece | work 200 is mounted, the scanning range by the mirror part 16 can be changed easily.

また、第1実施形態では、上記のように、高速カメラ11とワーク200との間の距離Lが、高速カメラ11とワーク200を載置する面20との間の距離L1からワーク200を載置する面の近傍の不感帯領域の高さ(距離d)を差分した距離L2以下に最初になった際のレーザスリット光の走査角度に基づいて、走査開始角度を変更するようにセンサコントローラ13を構成する。これにより、不感帯領域の高さd(距離d)未満のたとえばワーク200が載置される面20上に存在するゴミからの反射光を検出することに起因して、ワーク200が載置されている領域を間違って認識するのを抑制することができる。   In the first embodiment, as described above, the distance L between the high-speed camera 11 and the workpiece 200 is set from the distance L1 between the high-speed camera 11 and the surface 20 on which the workpiece 200 is placed. The sensor controller 13 is configured to change the scanning start angle based on the scanning angle of the laser slit light when it first falls below the distance L2 obtained by subtracting the height (distance d) of the dead zone near the surface to be placed. Configure. Thereby, the workpiece 200 is placed due to detection of reflected light from dust that is less than the height d (distance d) of the dead zone area, for example, on the surface 20 on which the workpiece 200 is placed. It is possible to suppress erroneous recognition of a region that is present.

また、第1実施形態では、上記のように、高速カメラ11とワーク200との間の距離Lが、高速カメラ11とワーク200を載置する面20との間の距離L1からワーク200を載置する面20の近傍の不感帯領域の高さ(距離d)を差分した距離L2以下に最後になった際のミラー部16の回転角度に基づいて、走査終了角度を変更するようにセンサコントローラ13を構成する。これにより、不感帯領域の高さd(距離d)未満のたとえばワーク200が載置される面20上に存在するゴミからの反射光を検出することに起因して、ワーク200が載置されている領域を間違って認識するのを抑制することができる。   In the first embodiment, as described above, the distance L between the high-speed camera 11 and the workpiece 200 is set from the distance L1 between the high-speed camera 11 and the surface 20 on which the workpiece 200 is placed. The sensor controller 13 changes the scanning end angle based on the rotation angle of the mirror unit 16 when it finally becomes less than the distance L2 obtained by subtracting the height (distance d) of the dead zone near the surface 20 to be placed. Configure. Thereby, the workpiece 200 is placed due to detection of reflected light from dust that is less than the height d (distance d) of the dead zone area, for example, on the surface 20 on which the workpiece 200 is placed. It is possible to suppress erroneous recognition of a region that is present.

また、第1実施形態では、上記のように、不感帯領域の高さd(距離d)を、ワーク200の高さhの1/2になるように構成する。これにより、ワーク200の高さhの1/2未満のゴミなどからの反射光を検出することに起因して、ワーク200が載置されている領域を間違って認識するのを抑制することができる。   Further, in the first embodiment, as described above, the height d (distance d) of the dead zone is configured to be ½ of the height h of the workpiece 200. Accordingly, it is possible to suppress erroneous recognition of an area where the workpiece 200 is placed due to detection of reflected light from dust or the like less than half the height h of the workpiece 200. it can.

(第2実施形態)
次に、図14および図15を参照して、第2実施形態のロボットシステム101について説明する。この第2実施形態では、ワーク200が面20上に直接載置されている第1実施形態と異なり、ワーク200が箱状のパレット102の中に載置されている。
(Second Embodiment)
Next, a robot system 101 according to the second embodiment will be described with reference to FIGS. 14 and 15. In the second embodiment, unlike the first embodiment in which the workpiece 200 is placed directly on the surface 20, the workpiece 200 is placed in a box-shaped pallet 102.

図14および図15に示すように、第2実施形態のロボットシステム101では、複数のワーク200が箱状のパレット102の中に載置されている。なお、第2実施形態のその他の構成は、上記第1実施形態と同様である。   As shown in FIGS. 14 and 15, in the robot system 101 of the second embodiment, a plurality of workpieces 200 are placed on a box-shaped pallet 102. In addition, the other structure of 2nd Embodiment is the same as that of the said 1st Embodiment.

次に、図14〜図20を参照して、第2実施形態によるセンサコントローラ13の3次元計測の動作について説明する。   Next, with reference to FIGS. 14 to 20, the three-dimensional measurement operation of the sensor controller 13 according to the second embodiment will be described.

まず、ワーク200の3次元計測に先立って、図16および図17に示すように、ワーク200がパレット102に載置されていない状態で、パレット102と、パレット102が載置されている面103などの3次元計測が行われる。具体的には、高速カメラ11からパレット102の枠102aまでの距離、高速カメラ11からパレット102の内低面102bまでの距離、パレット102からパレット102が載置されている面103までの距離などが計測される。これにより、図18に示すように、パレット102を矢印Z1方向(図16および図17参照)から見た画像がセンサコントローラ13の認識部42により認識される。   First, prior to the three-dimensional measurement of the workpiece 200, as shown in FIGS. 16 and 17, the pallet 102 and the surface 103 on which the pallet 102 is placed without the workpiece 200 being placed on the pallet 102. 3D measurement is performed. Specifically, the distance from the high-speed camera 11 to the frame 102a of the pallet 102, the distance from the high-speed camera 11 to the inner low surface 102b of the pallet 102, the distance from the pallet 102 to the surface 103 on which the pallet 102 is placed, etc. Is measured. As a result, as shown in FIG. 18, an image obtained by viewing the pallet 102 from the direction of the arrow Z1 (see FIGS. 16 and 17) is recognized by the recognition unit 42 of the sensor controller 13.

次に、図14および図15に示すように、パレット102にワーク200が載置された状態で、センサユニット4によるパレット102とワーク200との3次元計測が行われる。なお、3次元計測の具体的な動作は、上記第1実施形態と同様である。そして、センサユニット4によるパレット102とワーク200との3次元計測が行われることにより、図19に示すように、パレット102とワーク200とを矢印Z1方向(図14および図15参照)から見た画像がセンサコントローラ13の認識部42により認識される。なお、この状態では、高速カメラ11とワーク200との間の距離とともに、高速カメラ11とパレット102との間の距離も得られるため、上記した第1実施形態のように、高速カメラ11とワーク200との間の距離Lに基づいて、レーザスリット光の走査範囲の修正を行うことができない。   Next, as shown in FIGS. 14 and 15, three-dimensional measurement of the pallet 102 and the workpiece 200 is performed by the sensor unit 4 in a state where the workpiece 200 is placed on the pallet 102. The specific operation of the three-dimensional measurement is the same as that in the first embodiment. Then, by performing three-dimensional measurement of the pallet 102 and the workpiece 200 by the sensor unit 4, as shown in FIG. 19, the pallet 102 and the workpiece 200 are viewed from the arrow Z1 direction (see FIGS. 14 and 15). The image is recognized by the recognition unit 42 of the sensor controller 13. In this state, since the distance between the high-speed camera 11 and the pallet 102 as well as the distance between the high-speed camera 11 and the workpiece 200 can be obtained, the high-speed camera 11 and the workpiece as in the first embodiment described above. Based on the distance L to 200, the scanning range of the laser slit light cannot be corrected.

そこで、パレット102とワーク200との3次元計測の結果(距離情報、図19参照)から、予め計測されたパレット102の3次元計測の結果(距離情報、図18参照)を差分する。これにより、図20に示すように、ワーク200の3次元計測の結果(画像)がセンサコントローラ13の認識部42により認識される。その結果、上記第1実施形態と同様に、高速カメラ11とワーク200との間の距離Lに基づいて、レーザスリット光の走査範囲の修正を行うことが可能となる。なお、第2実施形態によるワーク200の3次元計測のその他の動作は、上記第1実施形態と同様である。   Therefore, the result of the three-dimensional measurement of the pallet 102 (distance information, see FIG. 18) that is measured in advance is subtracted from the result of the three-dimensional measurement of the pallet 102 and the workpiece 200 (distance information, see FIG. 19). As a result, the result (image) of the three-dimensional measurement of the workpiece 200 is recognized by the recognition unit 42 of the sensor controller 13 as shown in FIG. As a result, as in the first embodiment, the scanning range of the laser slit light can be corrected based on the distance L between the high speed camera 11 and the workpiece 200. The other operations of the three-dimensional measurement of the workpiece 200 according to the second embodiment are the same as those in the first embodiment.

第2実施形態では、上記のように、ワーク200は、パレット102の内部に載置されており、高速カメラ11によって検出されたパレット102の内部におけるワーク200の載置されている領域に応じてミラー部16による走査範囲を変更するようにセンサコントローラ13を構成する。これにより、パレット102からの反射光を検出することに起因して、ワーク200が載置されている領域を間違って認識するのを抑制することができる。   In the second embodiment, as described above, the workpiece 200 is placed inside the pallet 102, and the workpiece 200 is placed in the pallet 102 detected by the high-speed camera 11. The sensor controller 13 is configured to change the scanning range by the mirror unit 16. Thereby, it can suppress that the area | region where the workpiece | work 200 is mounted is recognized accidentally by detecting the reflected light from the pallet 102. FIG.

また、第2実施形態では、上記のように、パレット102の内部にワーク200が載置されている状態の高速カメラ11による3次元計測の結果から、パレット102の内部にワーク200が載置されていない状態の高速カメラ11による3次元計測の結果を差分することによって、高速カメラ11によって検出されたパレット102の内部におけるワーク200の載置されている領域に応じてミラー部16による走査範囲を変更するようにセンサコントローラ13を構成する。これにより、パレット102からの反射光を検出することに起因して、ワーク200が載置されている領域を間違って認識するのを容易に抑制することができる。   In the second embodiment, as described above, the workpiece 200 is placed inside the pallet 102 based on the result of three-dimensional measurement by the high-speed camera 11 in a state where the workpiece 200 is placed inside the pallet 102. By subtracting the result of the three-dimensional measurement by the high-speed camera 11 that is not in the state, the scanning range by the mirror unit 16 is set according to the area where the workpiece 200 is placed inside the pallet 102 detected by the high-speed camera 11. The sensor controller 13 is configured to be changed. Accordingly, it is possible to easily suppress erroneous recognition of the region where the workpiece 200 is placed due to detection of the reflected light from the pallet 102.

なお、今回開示された実施形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した実施形態の説明ではなく特許請求の範囲によって示され、さらに特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれる。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is shown not by the above description of the embodiments but by the scope of claims for patent, and further includes all modifications within the meaning and scope equivalent to the scope of claims for patent.

たとえば、上記第1および第2実施形態では、高速カメラからワークまでの距離Lが、高速カメラとワークが載置される面との間の距離L1からワークが載置される面近傍の不感帯領域の高さd(距離d)を差分した距離L2(L1−d)以下(L≦L1−d)になった際のレーザスリット光の走査角度に基づいて、走査開始角度および走査終了角度を修正する例を示したが、本発明はこれに限られない。たとえば、高速カメラからワークまでの距離Lが、高速カメラとワークが載置される面との間の距離L1未満(L<L1)になった際のレーザスリット光の走査角度に基づいて、走査開始角度および走査終了角度を修正してもよい。   For example, in the first and second embodiments described above, the distance L from the high-speed camera to the workpiece is a dead zone near the surface on which the workpiece is placed from the distance L1 between the high-speed camera and the surface on which the workpiece is placed. The scanning start angle and the scanning end angle are corrected based on the scanning angle of the laser slit light when the distance d is equal to or less than the distance L2 (L1-d) obtained by subtracting the height d (distance d). However, the present invention is not limited to this. For example, scanning is performed based on the scanning angle of the laser slit light when the distance L from the high-speed camera to the workpiece is less than the distance L1 between the high-speed camera and the surface on which the workpiece is placed (L <L1). The start angle and the scan end angle may be modified.

また、上記第1および第2実施形態では、不感帯領域の高さd(距離d)を、ワークの高さhの1/2に設定する例を示したが、本発明はこれに限られない。本発明では、距離dは、ワークの高さh以下であればよい。   In the first and second embodiments, the example in which the height d (distance d) of the dead zone is set to ½ of the workpiece height h is shown, but the present invention is not limited to this. . In the present invention, the distance d may be equal to or less than the workpiece height h.

また、上記第1および第2実施形態では、高速カメラとワークとの間の距離Lに基づいて、レーザスリット光の走査開始角度および走査終了角度の両方を修正する例を示したが、本発明はこれに限られない。たとえば、レーザスリット光の走査開始角度または走査終了角度の一方のみを修正するようにしてもよい。   In the first and second embodiments, the example in which both the scanning start angle and the scanning end angle of the laser slit light are corrected based on the distance L between the high-speed camera and the workpiece has been described. Is not limited to this. For example, only one of the scan start angle and the scan end angle of the laser slit light may be corrected.

また、上記第1および第2実施形態では、撮像素子のCMOSセンサに含まれる全ての画素から画素データを抽出して、画像が形成される例を示したが、本発明はこれに限られない。たとえば、レーザスリット光の走査範囲が小さくなるのに対応させて、画素データが抽出されるCMOSセンサの画素数を少なくするようにしてもよい。これにより、画素データが抽出される画素数が少なくなる分、画素データの抽出を高速に行うことができる。   In the first and second embodiments, the example in which the pixel data is extracted from all the pixels included in the CMOS sensor of the image sensor and the image is formed is shown. However, the present invention is not limited to this. . For example, the number of pixels of a CMOS sensor from which pixel data is extracted may be reduced in correspondence with the reduction of the scanning range of the laser slit light. Thereby, pixel data can be extracted at a high speed because the number of pixels from which pixel data is extracted is reduced.

1 ロボット
4 センサユニット(形状計測装置)
7 ハンド装置(把持部)
11 高速カメラ(カメラ)
13 センサコントローラ(制御部)
15 レーザ発生器(レーザ照射部)
16 ミラー部(走査部)
100、101 ロボットシステム
1 Robot 4 Sensor unit (Shape measuring device)
7 Hand device (gripping part)
11 High-speed camera (camera)
13 Sensor controller (control unit)
15 Laser generator (laser irradiation part)
16 Mirror part (scanning part)
100, 101 Robot system

Claims (10)

レーザ光を照射するレーザ照射部と、
前記レーザ照射部から照射された前記レーザ光をワークの載置されている領域に走査する走査部と、
前記走査部から照射され、前記ワークにより反射された前記レーザ光の反射光を検出することにより、前記ワークの載置されている領域を検出するとともに、前記ワークの3次元計測を行うカメラと、
前記カメラによって検出された前記ワークの載置されている領域に応じて、かつ、前記ワークを載置する面の近傍に設けられるとともに前記ワークを載置する面から所定の高さを有し、前記ワークの載置されている領域を間違って認識するのを抑制する不感帯領域を考慮して、前記走査部による走査範囲を変更するように制御する制御部とを備える、形状計測装置。
A laser irradiation unit for irradiating a laser beam;
A scanning unit that scans the laser beam irradiated from the laser irradiation unit to a region where a workpiece is placed;
Emitted from the scanning unit, the by detecting the reflected light of the laser light reflected by the workpiece, detects a region that is placed in the work, a camera for 3-dimensional measurement of the workpiece,
Depending on the area being placed in said detected workpiece by the camera, and has a Rutotomoni the workpiece from the surface for placing a predetermined height is provided in the vicinity of the surface for placing the workpiece A shape measuring apparatus comprising: a control unit that controls to change a scanning range by the scanning unit in consideration of a dead zone region that suppresses erroneous recognition of the region where the workpiece is placed.
前記制御部は、前記カメラによって検出された前記ワークの載置されている領域に応じて走査開始角度および走査終了角度のうちの少なくとも一方を変更することによって、前記走査部による走査範囲を変更する制御を行うように構成されている、請求項1に記載の形状計測装置。 The control unit changes a scanning range by the scanning unit by changing at least one of a scanning start angle and a scanning end angle according to a region where the workpiece is detected detected by the camera. The shape measuring apparatus according to claim 1, wherein the shape measuring apparatus is configured to perform control. 前記制御部は、検出された前記ワークからの反射光に基づいて、前記カメラと前記ワークとの間の第1の距離を算出するとともに、前記カメラと前記ワークとの間の前記第1の距離に基づいて、前記走査部による走査範囲を変更するように構成されている、請求項1または2に記載の形状計測装置。 Wherein, based on the reflected light from said detected workpiece, it calculates the first distance between said camera work, the first distance between said camera work The shape measuring device according to claim 1, wherein the shape measuring device is configured to change a scanning range by the scanning unit based on the above. 前記制御部は、前記カメラと前記ワークとの間の前記第1の距離が、前記カメラと前記ワークを載置する面との間の距離から前記ワークを載置する面の近傍の前記不感帯領域の高さを差分した第2の距離以下に最初になった際のレーザ光の走査角度に基づいて、前記走査開始角度を変更するように構成されている、請求項3に記載の形状計測装置。 Wherein, said first distance is, the dead zone distance from the vicinity of the surface for placing the workpiece between the surface for placing the said camera work between said camerawork The shape measuring apparatus according to claim 3, wherein the scanning start angle is changed based on a scanning angle of the laser beam when the first distance is equal to or less than a second distance obtained by subtracting the height of the scanning light. . 前記制御部は、前記カメラと前記ワークとの間の前記第1の距離が、前記カメラと前記ワークを載置する面との間の距離から前記ワークを載置する面の近傍の前記不感帯領域の高さを差分した第2の距離以下に最後になった際のレーザ光の走査角度に基づいて、前記走査終了角度を変更するように構成されている、請求項3または4に記載の形状計測装置。 Wherein, said first distance is, the dead zone distance from the vicinity of the surface for placing the workpiece between the surface for placing the said camera work between said camerawork 5. The shape according to claim 3, wherein the scanning end angle is changed based on a scanning angle of the laser beam when it becomes the last less than a second distance obtained by subtracting the height of the scanning light. Measuring device. 前記第2の距離は、前記カメラと前記ワークを載置する面との間の距離から前記ワークの高さを差分した距離以上で、かつ、前記カメラと前記ワークを載置する面との間の距離未満である、請求項4または5に記載の形状計測装置。 It said second distance is in the camera a distance greater than or equal to the difference of the height of the workpiece from the distance between the workpiece placing surface, and, between the surface for placing the said camerawork The shape measuring device according to claim 4 or 5, wherein the shape measuring device is less than a distance of. 前記ワークは、箱状の容器の内部に載置されており、
前記制御部は、前記カメラによって検出された前記箱状の容器の内部における前記ワークの載置されている領域に応じて前記走査部による走査範囲を変更するように構成されている、請求項1〜6のいずれか1項に記載の形状計測装置。
The workpiece is placed inside a box-shaped container,
The control unit is configured to change a scanning range of the scanning unit according to a region where the workpiece is placed inside the box-shaped container detected by the camera. The shape measuring device according to any one of -6.
前記制御部は、前記箱状の容器の内部に前記ワークが載置されている状態の前記カメラによる3次元計測の結果から、前記箱状の容器の内部に前記ワークが載置されていない状態の前記カメラによる3次元計測の結果を差分することによって、前記カメラによって検出された前記箱状の容器の内部における前記ワークの載置されている領域に応じて前記走査部による走査範囲を変更するように構成されている、請求項7に記載の形状計測装置。 State the control unit, from the results of three-dimensional measurement by the camera in a state where the work inside the box-like container is placed, that the work in the interior of the box-like container is not placed By changing the result of the three-dimensional measurement by the camera, the scanning range by the scanning unit is changed according to the area where the work is placed inside the box-shaped container detected by the camera. The shape measuring apparatus according to claim 7, configured as described above. ワークを把持する把持部を有するロボットと、
レーザ光を照射するレーザ照射部と、前記レーザ照射部から照射された前記レーザ光を前記ワークの載置されている領域に走査する走査部と、前記走査部から照射され、前記ワークにより反射された前記レーザ光の反射光を検出することにより、前記ワークの載置されている領域を検出するとともに、前記ワークの3次元計測を行うカメラと、前記カメラによって検出された前記ワークの載置されている領域に応じて、かつ、前記ワークを載置する面の近傍に設けられるとともに前記ワークを載置する面から所定の高さを有し、前記ワークの載置されている領域を間違って認識するのを抑制する不感帯領域を考慮して、前記走査部による走査範囲を変更するように制御する制御部とを含む形状計測装置とを備える、ロボットシステム。
A robot having a gripping part for gripping a workpiece ;
A laser irradiation unit that irradiates a laser beam; a scanning unit that scans the laser beam irradiated from the laser irradiation unit to a region where the workpiece is placed; and the irradiation unit that is irradiated from the scanning unit and reflected by the workpiece. In addition, by detecting the reflected light of the laser beam, a region where the workpiece is placed is detected, and a camera that performs three-dimensional measurement of the workpiece , and the workpiece placed by the camera is placed. depending on in which area, and has a Rutotomoni the workpiece from the surface for placing a predetermined height is provided in the vicinity of the surface for placing the work, wrong region is placed in the work And a shape measuring device including a control unit that controls to change a scanning range by the scanning unit in consideration of a dead zone region that suppresses recognition.
レーザ光をワークの載置されている領域に走査するステップと、
前記ワークにより反射された前記レーザ光の反射光を検出することにより、前記ワークの載置されている領域を検出するとともに、前記ワークの3次元計測を行うステップと、
検出された前記ワークの載置されている領域に応じて、かつ、前記ワークを載置する面の近傍に設けられるとともに前記ワークを載置する面から所定の高さを有し、前記ワークの載置されている領域を間違って認識するのを抑制する不感帯領域を考慮して、前記レーザ光の走査範囲を変更するステップとを備える、形状計測方法。
Scanning the laser beam into the area where the workpiece is placed;
Wherein by detecting the reflected light of the laser light reflected by the workpiece, detects a region that is placed in the work, and performing three-dimensional measurement of the workpiece,
In accordance with the detected area it is placed in the work was, and has a Rutotomoni the workpiece from the surface for placing a predetermined height is provided in the vicinity of the surface for placing the workpiece, the workpiece And a step of changing the scanning range of the laser light in consideration of a dead zone region that suppresses erroneous recognition of the region where the laser beam is placed.
JP2010238308A 2010-10-25 2010-10-25 Shape measuring device, robot system, and shape measuring method Expired - Fee Related JP5630208B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2010238308A JP5630208B2 (en) 2010-10-25 2010-10-25 Shape measuring device, robot system, and shape measuring method
EP11180428A EP2444210A1 (en) 2010-10-25 2011-09-07 Shape measuring system and shape measuring method
US13/238,482 US20120098961A1 (en) 2010-10-25 2011-09-21 Shape measuring apparatus, robot system, and shape measuring method
CN201110320596.XA CN102528810B (en) 2010-10-25 2011-10-20 Shape measuring apparatus, robot system, and shape measuring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010238308A JP5630208B2 (en) 2010-10-25 2010-10-25 Shape measuring device, robot system, and shape measuring method

Publications (2)

Publication Number Publication Date
JP2012093104A JP2012093104A (en) 2012-05-17
JP5630208B2 true JP5630208B2 (en) 2014-11-26

Family

ID=44674459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010238308A Expired - Fee Related JP5630208B2 (en) 2010-10-25 2010-10-25 Shape measuring device, robot system, and shape measuring method

Country Status (4)

Country Link
US (1) US20120098961A1 (en)
EP (1) EP2444210A1 (en)
JP (1) JP5630208B2 (en)
CN (1) CN102528810B (en)

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170028557A1 (en) * 2015-07-28 2017-02-02 Comprehensive Engineering Solutions, Inc. Robotic navigation system and method
JP5716826B2 (en) * 2011-06-20 2015-05-13 株式会社安川電機 Three-dimensional shape measuring apparatus and robot system
US9255830B2 (en) * 2012-05-21 2016-02-09 Common Sensing Inc. Dose measurement system and method
JP6092530B2 (en) 2012-06-18 2017-03-08 キヤノン株式会社 Image processing apparatus and image processing method
JP5642738B2 (en) * 2012-07-26 2014-12-17 ファナック株式会社 Apparatus and method for picking up loosely stacked articles by robot
ES2696198T3 (en) 2012-07-30 2019-01-14 Aist Image processing system and image processing method
WO2014102856A1 (en) * 2012-12-25 2014-07-03 平田機工株式会社 Transfer system
JP2014159988A (en) * 2013-02-19 2014-09-04 Yaskawa Electric Corp Object detector, robot system, and object detection method
JP2014159989A (en) * 2013-02-19 2014-09-04 Yaskawa Electric Corp Object detector and robot system
WO2014132349A1 (en) * 2013-02-27 2014-09-04 株式会社日立製作所 Image analysis device, image analysis system, and image analysis method
KR101374802B1 (en) * 2013-03-29 2014-03-13 이철희 Agricultural robot system
FR3007126B1 (en) * 2013-06-14 2018-04-20 European Aeronautic Defence And Space Company Eads France ROBOTIC CONTROL DEVICE FOR ULTRASOUND-LASER STRUCTURE
JP6415026B2 (en) * 2013-06-28 2018-10-31 キヤノン株式会社 Interference determination apparatus, interference determination method, and computer program
JP5778311B1 (en) * 2014-05-08 2015-09-16 東芝機械株式会社 Picking apparatus and picking method
JP2015230229A (en) * 2014-06-04 2015-12-21 株式会社リコー Noncontact laser scanning spectral image acquisition device and spectral image acquisition method
CN105486251B (en) * 2014-10-02 2019-12-10 株式会社三丰 Shape measuring device, shape measuring method, and positioning unit of point sensor
JP6431333B2 (en) * 2014-10-15 2018-11-28 キヤノン株式会社 Processing equipment
US9855661B2 (en) * 2016-03-29 2018-01-02 The Boeing Company Collision prevention in robotic manufacturing environments
MX2017009060A (en) * 2017-06-23 2019-02-08 Magna Exteriors Inc 3d inspection system.
JP6622772B2 (en) * 2017-09-26 2019-12-18 ファナック株式会社 Measuring system
JP7172305B2 (en) * 2018-09-03 2022-11-16 セイコーエプソン株式会社 Three-dimensional measuring device and robot system
JP7308689B2 (en) * 2019-08-06 2023-07-14 株式会社キーエンス 3D shape measuring device
JP7434686B2 (en) * 2019-12-27 2024-02-21 川崎重工業株式会社 Sheet layer inspection device and method
US12030243B2 (en) * 2020-03-19 2024-07-09 Ricoh Company, Ltd. Measuring apparatus, movable apparatus, robot, electronic device, fabricating apparatus, and measuring method
JP7674124B2 (en) 2021-03-23 2025-05-09 日本電気株式会社 Robot Hand System
JP2022189080A (en) * 2021-06-10 2022-12-22 ソニーセミコンダクタソリューションズ株式会社 Distance measuring device and distance measuring method
CN116110039A (en) * 2021-08-09 2023-05-12 牧今科技 System and method for object detection

Family Cites Families (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4300836A (en) * 1979-10-22 1981-11-17 Oregon Graduate Center For Study And Research Electro-optical scanning system with self-adaptive scanning capability
JPS60200385A (en) * 1984-03-26 1985-10-09 Hitachi Ltd Posture decision system
JPH01134573A (en) * 1987-11-19 1989-05-26 Kawasaki Heavy Ind Ltd Image processing method
JPH0821081B2 (en) * 1987-12-03 1996-03-04 ファナック株式会社 Window control method
JP2809348B2 (en) * 1989-10-18 1998-10-08 三菱重工業株式会社 3D position measuring device
JPH03202290A (en) * 1989-12-27 1991-09-04 Toyota Motor Corp Take-up device for articles loaded in bulk
JPH04244391A (en) * 1991-01-30 1992-09-01 Toyota Motor Corp Step disordering device using robot
JPH05288516A (en) * 1992-04-07 1993-11-02 Honda Motor Co Ltd Noncontact type position detecting device
JPH06229732A (en) * 1993-01-29 1994-08-19 Fanuc Ltd Spot light beam scanning three-dimensional visual sensor
US6044170A (en) * 1996-03-21 2000-03-28 Real-Time Geometry Corporation System and method for rapid shape digitizing and adaptive mesh generation
JP3873401B2 (en) * 1996-11-19 2007-01-24 コニカミノルタセンシング株式会社 3D measurement system
JPH11291187A (en) * 1998-04-14 1999-10-26 Kobe Steel Ltd Load position attitude recognizing device
JP3300682B2 (en) * 1999-04-08 2002-07-08 ファナック株式会社 Robot device with image processing function
JP2001051058A (en) * 1999-08-11 2001-02-23 Minolta Co Ltd Apparatus for measuring distance
JP2001277167A (en) * 2000-03-31 2001-10-09 Okayama Pref Gov Shin Gijutsu Shinko Zaidan Three-dimensional attitude recognizing method
JP2001319225A (en) * 2000-05-12 2001-11-16 Minolta Co Ltd Three-dimensional input device
US7164810B2 (en) * 2001-11-21 2007-01-16 Metrologic Instruments, Inc. Planar light illumination and linear imaging (PLILIM) device with image-based velocity detection and aspect ratio compensation
WO2003002935A1 (en) * 2001-06-29 2003-01-09 Square D Company Overhead dimensioning system and method
JP2004012143A (en) * 2002-06-03 2004-01-15 Techno Soft Systemnics:Kk Three-dimensional measuring apparatus
JP2004160567A (en) * 2002-11-11 2004-06-10 Fanuc Ltd Article taking-out device
JP3805302B2 (en) * 2002-12-13 2006-08-02 ファナック株式会社 Work take-out device
JP4548595B2 (en) * 2004-03-15 2010-09-22 オムロン株式会社 Sensor device
JP4911341B2 (en) * 2006-03-24 2012-04-04 株式会社ダイフク Article transfer device
JP4226623B2 (en) * 2006-09-29 2009-02-18 ファナック株式会社 Work picking device
JP5360369B2 (en) * 2008-09-11 2013-12-04 株式会社Ihi Picking apparatus and method
JP5201411B2 (en) * 2008-11-21 2013-06-05 株式会社Ihi Bulk picking device and control method thereof
JP4650565B2 (en) * 2008-12-15 2011-03-16 パナソニック電工株式会社 Human body detection sensor

Also Published As

Publication number Publication date
EP2444210A1 (en) 2012-04-25
CN102528810B (en) 2015-05-27
JP2012093104A (en) 2012-05-17
CN102528810A (en) 2012-07-04
US20120098961A1 (en) 2012-04-26

Similar Documents

Publication Publication Date Title
JP5630208B2 (en) Shape measuring device, robot system, and shape measuring method
JP5201411B2 (en) Bulk picking device and control method thereof
US7966094B2 (en) Workpiece picking apparatus
JP4821934B1 (en) Three-dimensional shape measuring apparatus and robot system
JP5382621B2 (en) Transfer equipment
JP5716826B2 (en) Three-dimensional shape measuring apparatus and robot system
JP5561260B2 (en) Robot system and imaging method
JP3930490B2 (en) Article take-out device
JP4837116B2 (en) Robot system with visual sensor
US20130094932A1 (en) Workpiece takeout system, robot apparatus, and method for producing a to-be-processed material
CN107735646B (en) Shape measuring device and shape measuring method
JP2000288974A (en) Robot device having image processing function
JP2013078825A (en) Robot apparatus, robot system, and method for manufacturing workpiece
CN1733579A (en) Transfer robot system comprising a manipulator and a temporary container depository moving synchronously with the manipulator
CN107803589B (en) Laser welding system
JP6801566B2 (en) Mobile robot
JP2018176164A (en) Laser welding device
JP7481867B2 (en) Control device and program
JP3082829B2 (en) Automatic welding line recognition method and device
JP2008260043A (en) Welding method and step detection device
JP2000326082A (en) Laser beam machine
WO2023032400A1 (en) Automatic transport device, and system
JP6907678B2 (en) Mobile robot
JP2005177777A (en) Parameter setting method and apparatus
JP2021133458A (en) Three-dimensional measurement apparatus and three-dimensional measurement system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121019

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130226

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130401

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140128

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140317

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140922

R150 Certificate of patent or registration of utility model

Ref document number: 5630208

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees
OSZAR »