JP2016055345A - Camera position adjusting device, welding robot system, and camera position adjusting method - Google Patents

Camera position adjusting device, welding robot system, and camera position adjusting method Download PDF

Info

Publication number
JP2016055345A
JP2016055345A JP2014186578A JP2014186578A JP2016055345A JP 2016055345 A JP2016055345 A JP 2016055345A JP 2014186578 A JP2014186578 A JP 2014186578A JP 2014186578 A JP2014186578 A JP 2014186578A JP 2016055345 A JP2016055345 A JP 2016055345A
Authority
JP
Japan
Prior art keywords
image
welding
camera
camera position
imaging
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.)
Granted
Application number
JP2014186578A
Other languages
Japanese (ja)
Other versions
JP6411828B2 (en
Inventor
英知 阪下
Hidetomo Sakashita
英知 阪下
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.)
Daihen Corp
Original Assignee
Daihen 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 Daihen Corp filed Critical Daihen Corp
Priority to JP2014186578A priority Critical patent/JP6411828B2/en
Publication of JP2016055345A publication Critical patent/JP2016055345A/en
Application granted granted Critical
Publication of JP6411828B2 publication Critical patent/JP6411828B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem in which: a camera position, a diaphragm and exposure time or the like are needed to be readjusted when a single focus camera is reattached when the single focus camera is once removed for maintenance or the like; and the setting are largely deviated according to adjusting persons when manual adjustment is performed.SOLUTION: A camera position adjusting device includes: a determination section; and a signal generation section. The determination section compares a first image accurately focused on a welding region with a plurality of second images which are imaged from the same view point direction as the view point direction of the first image and have mutually different imaging distances so as to determine a focusing camera position accurately focused on the welding region of a single focus camera directed to the welding region. The signal generation section generates a control signal to set the imaging position of the single focus camera to the focusing camera position. Accordingly, when the imaging position of the single focus camera is set, human determination is not needed to be interposed, thereby enabling reduction of setting deviations of the single focus camera.SELECTED DRAWING: Figure 1

Description

本発明は、カメラ位置調整装置、溶接ロボットシステムおよびカメラ位置調整方法に関する。   The present invention relates to a camera position adjustment device, a welding robot system, and a camera position adjustment method.

ワークが溶接過程で歪んだり、ワークの精度があまり良くない場合、溶接トーチと開先中心との距離が、当初想定していた値からずれることがある。この場合、安定した溶接を行うことが難しく、溶接不良を生じる恐れがある。この対策として、例えば、溶接領域をカメラで撮像し、撮像により得られた画像から開先位置のずれ量を検出することにより、溶接トーチ位置を補正することが行われる(特許文献1参照)。   If the workpiece is distorted during the welding process or the accuracy of the workpiece is not very good, the distance between the welding torch and the groove center may deviate from the initially assumed value. In this case, it is difficult to perform stable welding, which may cause poor welding. As a countermeasure, for example, the welding torch position is corrected by capturing an image of the welding region with a camera and detecting the amount of deviation of the groove position from the image obtained by the imaging (see Patent Document 1).

特開2000−301340JP2000-301340

カメラを溶接ロボットシステムに組み込む際には、カメラ位置や、絞り、露光時間などを設定することが必要となる。しかし、撮像対象の溶接領域は、アーク光が発せられる領域を含むことから、コントラストが大き過ぎて、カメラが露光過多になってしまう場合がある。そのため、カメラには、通常、アーク光を減衰させるフィルタが取り付けられる。アーク光には可視光が多く含まれているので、可視光を選択的に減衰させるフィルタがカメラに取り付けられる。このようなフィルタが取り付けられるカメラの設定は、例えば、以下のようにして行われる。   When incorporating the camera into the welding robot system, it is necessary to set the camera position, aperture, exposure time, and the like. However, since the welding region to be imaged includes a region where arc light is emitted, the contrast may be too large and the camera may be overexposed. Therefore, a filter that attenuates arc light is usually attached to the camera. Since the arc light contains a large amount of visible light, a filter that selectively attenuates visible light is attached to the camera. Setting of a camera to which such a filter is attached is performed as follows, for example.

まず、フィルタを取り外した状態で、ワークの溶接ビードにピントが合うように、カメラ位置を調整する。その後、フィルタを取り付け、アーク溶接を行いながら、絞りや露光時間を調整する。必要に応じて、この一連の作業を何度か、繰り返し行う。   First, with the filter removed, the camera position is adjusted so that the weld bead of the workpiece is in focus. Thereafter, a filter is attached, and the aperture and exposure time are adjusted while performing arc welding. This series of operations is repeated several times as necessary.

保守などにより、カメラが一旦、取り外されることがある。この場合、カメラを取り付け直す際には、上述の一連の作業が行われる。しかし、この一連の作業には、人の判断が介在する。そのため、調整した人に依って、カメラの設定がばらついてしまう。   The camera may be temporarily removed due to maintenance or the like. In this case, when the camera is reinstalled, the above-described series of operations are performed. However, human judgment is involved in this series of operations. Therefore, the camera settings vary depending on the person who made the adjustment.

本発明はかかる問題点に鑑みてなされたものであり、その目的は、カメラの設定ばらつきを低減することの可能なカメラ位置調整装置、溶接ロボットシステムおよびカメラ位置調整方法を提供することにある。   The present invention has been made in view of such problems, and an object of the present invention is to provide a camera position adjusting device, a welding robot system, and a camera position adjusting method capable of reducing variation in setting of cameras.

本発明のカメラ位置調整装置は、判定部と、信号生成部とを備えている。判定部は、溶接領域にピントの合った第1画像と、第1画像の視点方向と同じ視点方向から撮像された、撮像距離の互いに異なる複数の第2画像とを対比することにより、溶接領域に向けられた単焦点カメラの、溶接領域にピントの合った合焦カメラ位置を判定するようになっている。信号生成部は、単焦点カメラの撮像位置を合焦カメラ位置に設定させる制御信号を生成するようになっている。   The camera position adjustment apparatus of the present invention includes a determination unit and a signal generation unit. The determination unit compares the first image focused on the welding region with a plurality of second images captured from the same viewpoint direction as the first image and having different imaging distances. The position of the in-focus camera focused on the welding area of the single-focus camera directed to is determined. The signal generation unit generates a control signal for setting the imaging position of the single focus camera to the in-focus camera position.

本発明の溶接ロボットシステムは、移動部と、判定部と、信号生成部と、調整部とを備えている。移動部は、溶接電極を含む溶接トーチを有しており、溶接トーチを移動させることによりアーク溶接を行うようになっている。判定部は、溶接電極の先端を含む溶接領域にピントの合った第1画像と、第1画像の視点方向と同じ視点方向から撮像された、撮像距離の互いに異なる複数の第2画像とを対比することにより、溶接領域に向けられた単焦点カメラの、溶接領域にピントの合った合焦カメラ位置を判定するようになっている。信号生成部は、単焦点カメラの撮像位置を合焦カメラ位置に設定させる制御信号を生成するようになっている。調整部は、信号生成部からの制御信号に基づいて、単焦点カメラの撮像位置を設定するようになっている。   The welding robot system of the present invention includes a moving unit, a determining unit, a signal generating unit, and an adjusting unit. The moving part has a welding torch including a welding electrode, and arc welding is performed by moving the welding torch. The determination unit compares the first image focused on the welding region including the tip of the welding electrode and a plurality of second images captured from the same viewpoint direction as the viewpoint direction of the first image and having different imaging distances. Thus, the position of the in-focus camera focused on the welding area of the single focus camera directed to the welding area is determined. The signal generation unit generates a control signal for setting the imaging position of the single focus camera to the in-focus camera position. The adjustment unit is configured to set the imaging position of the single focus camera based on a control signal from the signal generation unit.

本発明のカメラ位置調整方法は、以下の2つのステップを含んでいる。
(1)溶接領域にピントの合った第1画像と、第1画像の視点方向と同じ視点方向から撮像された、撮像距離の互いに異なる複数の第2画像とを対比することにより、溶接領域に向けられた単焦点カメラの、溶接領域にピントの合った合焦カメラ位置を判定する判定ステップ
(2)単焦点カメラの撮像位置を合焦カメラ位置に設定させる制御信号を生成する信号生成ステップ
The camera position adjustment method of the present invention includes the following two steps.
(1) By comparing the first image focused on the welding region with a plurality of second images captured from the same viewpoint direction as the first image and having different imaging distances, the welding region Determination step of determining a focused camera position focused on the welding area of the directed single-focus camera (2) Signal generation step of generating a control signal for setting the imaging position of the single-focus camera to the focused camera position

本発明のカメラ位置調整装置、溶接ロボットシステムおよびカメラ位置調整方法では、溶接領域にピントの合った第1画像と、撮像距離の互いに異なる複数の第2画像とが対比される。これにより、複数の第2画像の中から、溶接領域にピントの合った画像を選択することができる。単焦点カメラの撮像位置を、選択した第2画像が撮像されたときのカメラ位置に設定することにより、単焦点カメラのピントを溶接領域に合わせることができる。本発明では、単焦点カメラの撮像位置を合焦カメラ位置に設定させる制御信号が生成される。これにより、単焦点カメラの撮像位置の設定を、制御信号に基づいて単焦点カメラの撮像位置を設定する調整部に担わせることができる。   In the camera position adjustment device, the welding robot system, and the camera position adjustment method of the present invention, the first image focused on the welding area is compared with a plurality of second images having different imaging distances. Thereby, an image focused on the welding area can be selected from the plurality of second images. By setting the imaging position of the single focus camera to the camera position when the selected second image is captured, the focus of the single focus camera can be adjusted to the welding area. In the present invention, a control signal for generating the imaging position of the single focus camera as the in-focus camera position is generated. Thereby, the setting of the imaging position of the single focus camera can be performed by the adjustment unit that sets the imaging position of the single focus camera based on the control signal.

本発明のカメラ位置調整装置、溶接ロボットシステムおよびカメラ位置調整方法によれば、複数の第2画像の中から、溶接領域にピントの合った画像を選択し、単焦点カメラの撮像位置を、選択した第2画像が撮像されたときのカメラ位置に設定させる制御信号を生成するようにしたので、単焦点カメラの撮像位置の設定に際して、人の判断を介在させなくて済む。その結果、単焦点カメラの設定ばらつきを低減することができる。   According to the camera position adjustment device, the welding robot system, and the camera position adjustment method of the present invention, an image focused on the welding area is selected from the plurality of second images, and the imaging position of the single focus camera is selected. Since the control signal to be set at the camera position when the second image is captured is generated, it is not necessary to involve human judgment when setting the imaging position of the single focus camera. As a result, it is possible to reduce the setting variation of the single focus camera.

本発明の一実施の形態の溶接ロボットシステムの概略構成の一例を表す図である。It is a figure showing an example of schematic structure of the welding robot system of one embodiment of the present invention. 基準ワークおよび対象ワークの断面構成の一例を表す図である。It is a figure showing an example of the section composition of a standard work and an object work. 対象ワークの位置ずれについて説明するための図である。It is a figure for demonstrating the position shift of a target workpiece | work. アーク溶接の様子の一例を斜視的に表す図である。It is a figure showing an example of a situation of arc welding in perspective. 撮像装置により得られる画像の一例を表す図である。It is a figure showing an example of the image obtained by an imaging device. 図1のロボット制御装置の概略構成の一例を表す図である。It is a figure showing an example of schematic structure of the robot control apparatus of FIG. 図1のティーチペンダントの概略構成の一例を表す図である。It is a figure showing an example of schematic structure of the teach pendant of FIG. 図1の画像処理装置の概略構成の一例を表す図である。It is a figure showing an example of schematic structure of the image processing apparatus of FIG. 初期のカメラ位置調整手順の一例を表す図である。It is a figure showing an example of an initial camera position adjustment procedure. 再度のカメラ位置調整手順の一例を表す図である。It is a figure showing an example of the camera position adjustment procedure again. 再度のカメラ位置調整手順の他の例を表す図である。It is a figure showing the other example of the camera position adjustment procedure again.

以下、本発明の一実施の形態について、図面を参照して詳細に説明する。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

<1.実施の形態>
最初に、本発明の一実施の形態に係る溶接ロボットシステム1の概要について説明する。図1は、溶接ロボットシステム1の概略構成の一例を表したものである。溶接ロボットシステム1は、プログラム制御された多関節ロボットによってワークWにアーク溶接を行うものである。溶接ロボットシステム1が本発明の「溶接ロボットシステム」の一具体例に相当する。
<1. Embodiment>
Initially, the outline | summary of the welding robot system 1 which concerns on one embodiment of this invention is demonstrated. FIG. 1 shows an example of a schematic configuration of a welding robot system 1. The welding robot system 1 performs arc welding on a workpiece W by a program-controlled articulated robot. The welding robot system 1 corresponds to a specific example of the “welding robot system” of the present invention.

ワークWは、例えば、図2に示したように、同一面内に配置された2つの母材B1,B2からなる。母材B1の側面S1と母材B2の側面S2とが互いに近接して配置されている。側面S1および側面S2によって、V字型の開先形状が形成されている。なお、ワークWは、V字型の開先形状を有するものに限定されるものではない。   For example, as illustrated in FIG. 2, the workpiece W includes two base materials B1 and B2 arranged in the same plane. The side surface S1 of the base material B1 and the side surface S2 of the base material B2 are arranged close to each other. A V-shaped groove shape is formed by the side surface S1 and the side surface S2. Note that the workpiece W is not limited to one having a V-shaped groove shape.

溶接ロボットシステム1は、いわゆるティーチング&プレイバック方式を採用している。ティーチング&プレイバック方式とは、教示データとして予め作業員等によって設定された、ワークWの溶接位置(開先位置)に沿った溶接トーチの座標情報等を利用して、溶接トーチによる溶接作業を行う方式を指している。溶接ロボットシステム1は、さらに、倣い制御を採用している。倣い制御とは、ワークWが位置ずれを起こしたときに、予め設定された教示データに対して、ワークWの位置ずれに応じた補正を行うことにより、溶接トーチをより正確にワークWの開先位置に沿わせる制御を指している。溶接ロボットシステム1は、倣い制御に用いる補正データを、後述の撮像装置20によって得られた画像データから得るようになっている。   The welding robot system 1 employs a so-called teaching & playback system. The teaching and playback method is a method that uses welding torch coordinate information along the welding position (groove position) of the workpiece W, which is set in advance as teaching data by an operator, etc. Refers to the method to be performed. The welding robot system 1 further employs copying control. In the copying control, when the workpiece W is displaced, correction is performed on the preset teaching data according to the displacement of the workpiece W, so that the welding torch can be opened more accurately. This refers to the control along the tip position. The welding robot system 1 obtains correction data used for copying control from image data obtained by an imaging device 20 described later.

(ワークWの位置ずれ)
なお、上述の「ワークWの位置ずれ」とは、例えば、図3に示したように、教示点に基づいて溶接トーチ13(後述)が配置されたときに、ワークWの開先位置(溶接線WL)が、溶接トーチ13に固定された溶接電極14(後述)の先端位置からずれていることを指している。「ワークWの位置ずれ」は、例えば、ワークWの溶接線WLが、溶接電極14の先端位置との関係で、左右方向(図3のD1方向)および上下方向(図3のD2方向)の少なくとも一方の方向へ変位していることを指している。
(Position shift of work W)
Note that the above-mentioned “positional displacement of the workpiece W” means, for example, as shown in FIG. 3, when a welding torch 13 (described later) is arranged based on the teaching point, the groove position of the workpiece W (welding) The line WL) indicates that the welding electrode 14 (described later) fixed to the welding torch 13 is displaced from the tip position. The “positional displacement of the workpiece W” refers to, for example, the relationship between the welding line WL of the workpiece W and the tip position of the welding electrode 14 in the left-right direction (D1 direction in FIG. 3) and the vertical direction (D2 direction in FIG. 3). It means that it is displaced in at least one direction.

[構成]
次に、溶接ロボットシステム1の構成について説明する。溶接ロボットシステム1は、図1に示したように、マニピュレータ10と、撮像装置20と、調整装置30と、ロボット制御装置40と、ティーチペンダント50と、溶接機60と、画像処理装置70とを備えている。マニピュレータ10が本発明の「移動部」の一具体例に相当する。撮像装置20が本発明の「単焦点カメラ」の一具体例に相当する。調整装置30は本発明の「調整部」の一具体例に相当する。ロボット制御装置40と画像処理装置70とを含む装置が本発明の「カメラ位置調整装置」の一具体例に相当する。ロボット制御装置40が本発明の「信号生成部」の一具体例に相当する。画像処理装置70が本発明の「判定部」の一具体例に相当する。ロボット制御装置40および画像処理装置70は、図1に示したように互いに別体で構成されていてもよいし、互いに一体に構成されていてもよい。また、ロボット制御装置40およびティーチペンダント50は、図1に示したように互いに別体で構成されていてもよいし、互いに一体に構成されていてもよい。
[Constitution]
Next, the configuration of the welding robot system 1 will be described. As shown in FIG. 1, the welding robot system 1 includes a manipulator 10, an imaging device 20, an adjustment device 30, a robot control device 40, a teach pendant 50, a welder 60, and an image processing device 70. I have. The manipulator 10 corresponds to a specific example of the “moving unit” of the present invention. The imaging device 20 corresponds to a specific example of a “single focus camera” of the present invention. The adjusting device 30 corresponds to a specific example of the “adjusting unit” of the present invention. A device including the robot control device 40 and the image processing device 70 corresponds to a specific example of “camera position adjusting device” of the present invention. The robot control device 40 corresponds to a specific example of a “signal generation unit” of the present invention. The image processing apparatus 70 corresponds to a specific example of the “determination unit” of the present invention. The robot control device 40 and the image processing device 70 may be configured separately from each other as illustrated in FIG. 1 or may be configured integrally with each other. Further, the robot control device 40 and the teach pendant 50 may be configured separately from each other as illustrated in FIG. 1 or may be configured integrally with each other.

溶接ロボットシステム1は、例えば、各種装置同士を互いに接続するケーブルL1〜L8を備えている。ケーブルL1は、ロボット制御装置40とマニピュレータ10との間で通信するための通信ケーブルであり、ロボット制御装置40およびマニピュレータ10に接続されている。ケーブルL2は、ロボット制御装置40とティーチペンダント50との間で通信するための通信ケーブルであり、ロボット制御装置40およびティーチペンダント50に接続されている。ケーブルL3は、ロボット制御装置40と溶接機60との間で通信するための通信ケーブルであり、ロボット制御装置40および溶接機60に接続されている。ケーブルL4は、ロボット制御装置40と画像処理装置70との間で通信するための通信ケーブルであり、ロボット制御装置40および画像処理装置70に接続されている。ケーブルL5は、ロボット制御装置40と調整装置30との間で通信するための通信ケーブルであり、ロボット制御装置40および調整装置30に接続されている。ケーブルL6,L7は、後述の溶接電極14とワークWとの間に高電圧の溶接電圧Vsを供給するための電源ケーブルである。ケーブルL6は、溶接機60および後述の作業台15に接続されており、ケーブルL7は、溶接機60および後述の溶接トーチ13に接続されている。ケーブルL8は、画像処理装置70と撮像装置20との間で通信するための通信ケーブルであり、画像処理装置70および撮像装置20に接続されている。   The welding robot system 1 includes, for example, cables L1 to L8 that connect various devices to each other. The cable L <b> 1 is a communication cable for communicating between the robot control device 40 and the manipulator 10, and is connected to the robot control device 40 and the manipulator 10. The cable L2 is a communication cable for communicating between the robot control device 40 and the teach pendant 50, and is connected to the robot control device 40 and the teach pendant 50. The cable L3 is a communication cable for communicating between the robot control device 40 and the welding machine 60, and is connected to the robot control device 40 and the welding machine 60. The cable L4 is a communication cable for communicating between the robot control device 40 and the image processing device 70, and is connected to the robot control device 40 and the image processing device 70. The cable L5 is a communication cable for communicating between the robot control device 40 and the adjustment device 30, and is connected to the robot control device 40 and the adjustment device 30. The cables L6 and L7 are power cables for supplying a high welding voltage Vs between a welding electrode 14 (to be described later) and the workpiece W. The cable L6 is connected to the welding machine 60 and a worktable 15 described later, and the cable L7 is connected to the welding machine 60 and a welding torch 13 described later. The cable L8 is a communication cable for communicating between the image processing device 70 and the imaging device 20, and is connected to the image processing device 70 and the imaging device 20.

(マニピュレータ10)
マニピュレータ10は、ロボット制御装置40からの制御信号に基づいて溶接トーチ13を移動させることによって、ワークWに対してアーク溶接を行うようになっている。マニピュレータ10は、フロア等に固定されるベース部材11と、ベース部材11上に設けられた多関節アーム部12と、多関節アーム部12の先端に連結された溶接トーチ13と、作業台15とを有している。溶接トーチ13は、溶接電極14を含んで構成されている。溶接電極14は、溶接トーチ13の先端部分に固定されている。溶接トーチ13が本発明の「溶接トーチ」の一具体例に相当する。溶接電極14が本発明の「溶接電極」の一具体例に相当する。
(Manipulator 10)
The manipulator 10 performs arc welding on the workpiece W by moving the welding torch 13 based on a control signal from the robot control device 40. The manipulator 10 includes a base member 11 fixed to a floor or the like, a multi-joint arm portion 12 provided on the base member 11, a welding torch 13 connected to the tip of the multi-joint arm portion 12, a work table 15, have. The welding torch 13 includes a welding electrode 14. The welding electrode 14 is fixed to the tip portion of the welding torch 13. The welding torch 13 corresponds to a specific example of the “welding torch” of the present invention. The welding electrode 14 corresponds to a specific example of “welding electrode” of the present invention.

多関節アーム部12は、例えば、複数のアーム12Aと、2つのアーム12A同士を回動可能に連結する関節軸(図示せず)とを有している。多関節アーム部12は、さらに、例えば、アーム12Aごとに1つずつ設けられ、対応するアーム12Aを駆動する複数の駆動モータ(図示せず)と、各駆動モータに連結され、各アーム12Aの現在位置を検出するエンコーダ(図示せず)とを有している。各駆動モータは、ケーブルL1を介してロボット制御装置40から入力される制御信号によって駆動される。このようにして各駆動モータが駆動されることにより、各アーム12Aが変位し、結果的に溶接トーチ13が上下前後左右に移動する。エンコーダは、検出した各アーム12Aの現在位置(以下、「位置情報」と称する。)を、ケーブルL1を介してロボット制御装置40に出力するようになっている。   The multi-joint arm unit 12 includes, for example, a plurality of arms 12A and a joint shaft (not shown) that rotatably connects the two arms 12A. The articulated arm unit 12 is further provided, for example, one for each arm 12A, and is connected to a plurality of drive motors (not shown) that drive the corresponding arm 12A and each of the drive motors. And an encoder (not shown) for detecting the current position. Each drive motor is driven by a control signal input from the robot controller 40 via the cable L1. By driving each drive motor in this way, each arm 12A is displaced, and as a result, the welding torch 13 moves up and down, front and rear, and right and left. The encoder outputs the detected current position of each arm 12A (hereinafter referred to as “position information”) to the robot controller 40 via the cable L1.

多関節アーム部12の一端(先端)が溶接トーチ13に連結されており、多関節アーム部12の他端がベース部材11に連結されている。溶接電極14は、非溶極式の電極であり、例えば、タングステン等の高硬度の金属材料で構成されている。溶接トーチ13は、溶接電極14の先端とワークWとの間にアークを発生させ、そのアークの熱でワークW(さらには、溶加棒)を溶融させることにより、ワークWに対してアーク溶接を行うものである。なお、アーク溶接に溶加棒が使用される場合には、マニピュレータ10は、溶加棒を溶接トーチ13に供給するワイヤ送給装置をさらに有していてもよい。溶接トーチ13は、ケーブルL6に電気的に接続されたコンタクトチップ(図示せず)を有している。コンタクトチップは、ケーブルL6から供給される溶接電圧Vsを溶接電極14に供給するように構成されている。   One end (tip) of the articulated arm portion 12 is connected to the welding torch 13, and the other end of the articulated arm portion 12 is connected to the base member 11. The welding electrode 14 is a non-melting electrode and is made of, for example, a metal material with high hardness such as tungsten. The welding torch 13 generates an arc between the tip of the welding electrode 14 and the workpiece W, and melts the workpiece W (and a filler rod) with the heat of the arc, thereby arc welding the workpiece W. Is to do. In addition, when a filler rod is used for arc welding, the manipulator 10 may further include a wire feeding device that supplies the filler rod to the welding torch 13. The welding torch 13 has a contact tip (not shown) electrically connected to the cable L6. The contact tip is configured to supply the welding voltage Vs supplied from the cable L6 to the welding electrode 14.

作業台15は、フロア等に固定されており、ワークWを設置する台座として使用される。作業台15は、ワークWに対するトーチ姿勢を最適に維持するためのポジショナであってもよい。作業台15が上述のポジショナである場合には、ロボット制御装置40によってポジショナの軸が駆動制御される。作業台15は、ケーブルL5を介して溶接機60に接続されており、作業台15に設置されるワークWとケーブルL5とを互いに電気的に接続するように構成されている。   The work table 15 is fixed to a floor or the like, and is used as a pedestal on which the work W is installed. The work table 15 may be a positioner for optimally maintaining the torch posture with respect to the workpiece W. When the work table 15 is the above-described positioner, the robot controller 40 drives and controls the positioner shaft. The work table 15 is connected to the welding machine 60 via a cable L5, and is configured to electrically connect the workpiece W and the cable L5 installed on the work table 15.

(撮像装置20)
撮像装置20は、焦点位置の固定されたカメラであり、例えば、単焦点カメラである。撮像装置20は、溶接トーチ13との関係で不動位置に固定されている。撮像装置20は、ケーブルL8を介して画像処理装置70から入力される制御信号に基づいて撮像を行うことにより、画像Iを取得するようになっている。撮像装置20は、可視光を選択的にカットするフィルタ20Aを撮像装置20の光入射面に有している。フィルタ20Aは、例えば、撮像装置20の光入射面に対して着脱可能な状態で固定されている。フィルタ20Aは、アーク溶接時に発生するアーク光に含まれる高強度の可視光線を減衰させるように構成されている。また、フィルタ20Aは、アーク溶接時に溶接電極14の先端から放射された近赤外線を透過するように構成されている。従って、撮像装置20では、フィルタ20Aが装着された状態では、画像Iとして、近赤外領域の画像が得られる。撮像装置20は、撮像により得られた画像Iを、ケーブルL8を介して画像処理装置70に出力するようになっている。
(Imaging device 20)
The imaging device 20 is a camera with a fixed focal position, for example, a single focus camera. The imaging device 20 is fixed at a fixed position in relation to the welding torch 13. The imaging device 20 acquires an image I by performing imaging based on a control signal input from the image processing device 70 via the cable L8. The imaging device 20 has a filter 20 </ b> A that selectively cuts visible light on the light incident surface of the imaging device 20. For example, the filter 20 </ b> A is fixed in a detachable state with respect to the light incident surface of the imaging device 20. The filter 20A is configured to attenuate high-intensity visible light contained in arc light generated during arc welding. The filter 20A is configured to transmit near infrared rays emitted from the tip of the welding electrode 14 during arc welding. Therefore, in the imaging device 20, in the state where the filter 20A is attached, an image in the near infrared region is obtained as the image I. The imaging device 20 is configured to output the image I obtained by imaging to the image processing device 70 via the cable L8.

撮像装置20は、例えば、調整装置30を介して溶接トーチ13に固定されている。撮像装置20は、例えば、調整装置30に対して着脱可能に固定されており、調整装置30によって撮像装置20の光軸方向に変位可能となっている。撮像装置20の視点方向は、後述する溶接領域WAに向けられている。撮像装置20は、溶接領域WAにピントの合う位置(合焦カメラ位置Po(図示せず))に配置されている。溶接領域WAとは、溶接電極14の先端や、アーク溶接時に生じる電極反射像IRを含む領域を指している。溶接領域WAは、本発明の「溶接領域」の一具体例に相当する。合焦カメラ位置Poは、本発明の「合焦カメラ位置」の一具体例に相当する。   The imaging device 20 is fixed to the welding torch 13 via the adjustment device 30, for example. For example, the imaging device 20 is detachably fixed to the adjustment device 30 and can be displaced in the optical axis direction of the imaging device 20 by the adjustment device 30. The viewpoint direction of the imaging device 20 is directed to a welding area WA described later. The imaging device 20 is disposed at a position (focusing camera position Po (not shown)) that is focused on the welding area WA. The welding area WA refers to an area including the tip of the welding electrode 14 and an electrode reflection image IR generated during arc welding. The welding area WA corresponds to a specific example of the “welding area” of the present invention. The in-focus camera position Po corresponds to a specific example of “in-focus camera position” of the present invention.

(溶接領域WA、電極反射像IR)
電極反射像IRは、溶融池WPまたはワークWに映る、溶接電極14の先端の反射像である。溶融池WPは、本発明の「溶融池」の一具体例に相当する。図4は、アーク溶接時の溶接領域WAの一例を斜視的に表したものである。溶接時、溶接電極14の先端から放射された近赤外線が溶融池WPや、ワークWの側面S1,S2で反射する。その結果、溶融池WPや、ワークWの側面S1,S2に、電極反射像IRが表れる。電極反射像IRの位置および大きさは、ワークWの変位に応じて変化する。例えば、ワークWが溶接電極14に対して下方に変位すると、溶融池WPに映る電極反射像IRが小さくなり、ワークWに映る電極反射像IRが小さくなると共に開先中心から遠ざかる。また、例えば、ワークWが溶接電極14に対して左方向に変位すると、溶融池WPに映る電極反射像IRが溶融池WP内で右方向に変位し、ワークWに映る電極反射像IRもワークW内で右方向に変位する。
(Welding area WA, electrode reflection image IR)
The electrode reflection image IR is a reflection image of the tip of the welding electrode 14 reflected on the molten pool WP or the workpiece W. The molten pool WP corresponds to a specific example of the “molten pool” of the present invention. FIG. 4 is a perspective view showing an example of the welding area WA during arc welding. At the time of welding, the near infrared ray radiated from the tip of the welding electrode 14 is reflected by the molten pool WP and the side surfaces S1 and S2 of the workpiece W. As a result, an electrode reflection image IR appears on the molten pool WP and the side surfaces S1, S2 of the workpiece W. The position and size of the electrode reflected image IR change according to the displacement of the workpiece W. For example, when the workpiece W is displaced downward with respect to the welding electrode 14, the electrode reflection image IR reflected on the molten pool WP becomes small, and the electrode reflection image IR reflected on the workpiece W becomes small and moves away from the groove center. Further, for example, when the workpiece W is displaced leftward with respect to the welding electrode 14, the electrode reflection image IR reflected on the molten pool WP is displaced rightward within the molten pool WP, and the electrode reflection image IR reflected on the workpiece W is also converted to the workpiece W. Displaces rightward within W.

(画像I)
図5は、画像Iの一例を表したものである。画像Iは、例えば、溶接電極14の先端と、溶融池WPと、溶融池WPに映る電極反射像IRと、ワークWの側面S1に映る電極反射像IRと、ワークWの側面S2に映る電極反射像IRとを含む画像である。なお、画像Iは、溶接電極14の先端、溶融池WPおよび上述した3つの電極反射像IRのうち、少なくとも1つだけを含む画像であってもよい。
(Image I)
FIG. 5 shows an example of the image I. The image I includes, for example, the tip of the welding electrode 14, the molten pool WP, the electrode reflected image IR reflected on the molten pool WP, the electrode reflected image IR reflected on the side surface S1 of the workpiece W, and the electrode reflected on the side surface S2 of the workpiece W. It is an image including the reflected image IR. Note that the image I may be an image including at least one of the tip of the welding electrode 14, the molten pool WP, and the three electrode reflection images IR described above.

(調整装置30)
調整装置30は、ロボット制御装置40からの制御信号に基づいて、撮像装置20の撮像位置を設定するものである。調整装置30は、撮像装置20を、撮像装置20の光軸方向に変位可能に構成されている。つまり、調整装置30は、撮像装置20のピント合わせに用いられる。調整装置30は、例えば、溶接トーチ13に固定されている。
(Adjustment device 30)
The adjusting device 30 sets the imaging position of the imaging device 20 based on a control signal from the robot control device 40. The adjusting device 30 is configured to be able to displace the imaging device 20 in the optical axis direction of the imaging device 20. That is, the adjustment device 30 is used for focusing the imaging device 20. For example, the adjusting device 30 is fixed to the welding torch 13.

(ロボット制御装置40)
図6は、ロボット制御装置40の概略構成の一例を表したものである。ロボット制御装置40は、ティーチペンダント50からの指示に従って多関節アーム部12、溶接機60、画像処理装置70および調整装置30を制御するものである。ロボット制御装置40は、制御部41と、サーボ制御部42と、通信部43と、記憶部44とを有している。以下では、記憶部44、サーボ制御部42、通信部43、制御部41の順に説明する。
(Robot control device 40)
FIG. 6 illustrates an example of a schematic configuration of the robot control device 40. The robot control device 40 controls the articulated arm unit 12, the welding machine 60, the image processing device 70, and the adjustment device 30 in accordance with instructions from the teach pendant 50. The robot control device 40 includes a control unit 41, a servo control unit 42, a communication unit 43, and a storage unit 44. Below, it demonstrates in order of the memory | storage part 44, the servo control part 42, the communication part 43, and the control part 41. FIG.

記憶部44は、各種プログラムや各種データファイルを記憶可能に構成されている。記憶部44は、多関節アーム12の動作を制御する制御ソフトウェア44Aを記憶している。制御ソフトウェア44Aは、例えば、ROM(read only memory)に格納されている。記憶部44は、さらに、マニピュレータ10の溶接作業の手順が教示された複数の作業プログラム44Bと、倣い制御プログラム(図示せず)と、カメラ位置調整プログラム44Cとを記憶している。倣い制御プログラムは、上述の倣い制御を実施する手順が記述されたものである。カメラ位置調整プログラム44Cは、撮像装置20のピント合わせを実施する手順が記述されたものである。カメラ位置調整プログラム44Cについては、後に詳述するものとする。   The storage unit 44 is configured to be able to store various programs and various data files. The storage unit 44 stores control software 44 </ b> A that controls the operation of the articulated arm 12. The control software 44A is stored, for example, in a ROM (read only memory). The storage unit 44 further stores a plurality of work programs 44B in which a procedure for welding work of the manipulator 10 is taught, a copying control program (not shown), and a camera position adjustment program 44C. The copying control program describes a procedure for performing the above-described copying control. The camera position adjustment program 44 </ b> C describes a procedure for performing focusing of the imaging apparatus 20. The camera position adjustment program 44C will be described in detail later.

複数の作業プログラム44Bは、例えば、カメラ調整モードで使用される1または複数の作業プログラム44Bと、倣い溶接モードで使用される1または複数の作業プログラム44Bとを含んでいる。複数の作業プログラム44B、倣い制御プログラムおよびカメラ位置調整プログラム44Cは、例えば、ハードディスクに格納されている。作業プログラム44Bには、例えば、移動命令や溶接命令等が記述されている。移動命令には、例えば、移動開始命令、移動停止命令、作業経路(教示点)、およびトーチ姿勢などが含まれ得る。溶接命令には、例えば、アーク溶接の開始命令、アーク溶接の終了命令、溶接電流Isの設定値、および溶接電圧Vsの設定値などが含まれ得る。   The plurality of work programs 44B include, for example, one or more work programs 44B used in the camera adjustment mode and one or more work programs 44B used in the profile welding mode. The plurality of work programs 44B, the copying control program, and the camera position adjustment program 44C are stored in, for example, a hard disk. In the work program 44B, for example, a movement command, a welding command, and the like are described. The movement command may include, for example, a movement start command, a movement stop command, a work path (teaching point), a torch posture, and the like. The welding command may include, for example, an arc welding start command, an arc welding end command, a set value of the welding current Is, a set value of the welding voltage Vs, and the like.

記憶部44は、さらに、カメラ位置調整プログラム44Cが実行されることにより生成される各種データを記憶可能に構成されている。そのようなデータを含むファイルとしては、例えば、カメラ位置ファイル44Dが挙げられる。カメラ位置ファイル44Dには、撮像装置20の現在位置データ(カメラ位置Pi)が格納され得る。カメラ位置Piは、調整装置30における撮像装置20の位置調整に使用されるデータであり、調整装置30に送信する制御信号に含まれ得る。   The storage unit 44 is further configured to be able to store various data generated by executing the camera position adjustment program 44C. An example of a file including such data is a camera position file 44D. The current position data (camera position Pi) of the imaging device 20 can be stored in the camera position file 44D. The camera position Pi is data used for position adjustment of the imaging device 20 in the adjustment device 30 and can be included in a control signal transmitted to the adjustment device 30.

サーボ制御部42は、マニピュレータ10の各駆動モータを制御するものである。サーボ制御部42は、カメラ調整モードのときは、例えば、作業プログラム44Bに記載の移動命令と、マニピュレータ10のエンコーダからの位置情報とに基づいて制御信号を生成するようになっている。サーボ制御部42は、倣い溶接モードのときは、例えば、作業プログラム44Bに記載の移動命令と、倣い制御プログラムの実行によって生成された、溶接トーチ13位置の補正データと、マニピュレータ10のエンコーダからの位置情報とに基づいて制御信号を生成するようになっている。サーボ制御部42は、生成した制御信号をマニピュレータ10に出力することにより、マニピュレータ10の各駆動モータを制御するようになっている。   The servo control unit 42 controls each drive motor of the manipulator 10. In the camera adjustment mode, the servo control unit 42 generates a control signal based on, for example, a movement command described in the work program 44B and position information from the encoder of the manipulator 10. In the copying welding mode, the servo control unit 42 receives, for example, a movement command described in the work program 44B, correction data for the position of the welding torch 13 generated by the execution of the copying control program, and an encoder of the manipulator 10. A control signal is generated based on the position information. The servo control unit 42 controls each drive motor of the manipulator 10 by outputting the generated control signal to the manipulator 10.

通信部43は、ケーブルL2を介してティーチペンダント50と通信を行ったり、ケーブルL3を介して溶接機60と通信を行ったり、ケーブルL4を介して画像処理装置70と通信を行ったり、ケーブルL5を介して調整装置30と通信を行ったりするものである。通信部43は、ティーチペンダント50からの作業指令を受信し、受信した作業指令を制御部41に出力するようになっている。ティーチペンダント50からの作業指令には、例えば、再生する作業プログラム44Bの番号や、カメラ調整ステータスなどが含まれ得る。カメラ調整ステータスには、例えば、初期調整または再調整が含まれ得る。また、通信部43は、制御部41からの溶接命令を、溶接機60に送信するようになっている。制御部41からの溶接命令には、例えば、アーク溶接の開始命令、アーク溶接の終了命令、溶接電流Isの設定値、または溶接電圧Vsの設定値などが含まれ得る。また、通信部43は、制御部41からの調整開始命令または倣い開始命令を、画像処理装置70に送信するようになっている。調整開始命令には、例えば、カメラ調整ステータスが含まれ得る。   The communication unit 43 communicates with the teach pendant 50 via the cable L2, communicates with the welding machine 60 via the cable L3, communicates with the image processing device 70 via the cable L4, and the cable L5. It communicates with the adjustment apparatus 30 via this. The communication unit 43 receives a work command from the teach pendant 50 and outputs the received work command to the control unit 41. The work command from the teach pendant 50 can include, for example, the number of the work program 44B to be reproduced, the camera adjustment status, and the like. The camera adjustment status may include, for example, initial adjustment or readjustment. In addition, the communication unit 43 transmits a welding command from the control unit 41 to the welding machine 60. The welding command from the control unit 41 may include, for example, an arc welding start command, an arc welding end command, a set value of the welding current Is, or a set value of the welding voltage Vs. In addition, the communication unit 43 transmits an adjustment start command or a copying start command from the control unit 41 to the image processing apparatus 70. The adjustment start command may include a camera adjustment status, for example.

制御部41は、ティーチペンダント50から入力された作業指令に基づいて、作業プログラム44Bや、倣い制御プログラム、カメラ位置調整プログラム44Cを読み出し、その内容を解析するようになっている。制御部41は、作業プログラム44Bの解析結果に基づいて、作業プログラム44Bに記載の指示に応じて、命令通知を生成するようになっている。制御部41は、生成した命令通知の内容に応じて、例えば、移動命令、溶接命令、調整開始命令または倣い開始命令を生成するようになっている。制御部41は、移動命令を、サーボ制御部42に出力するようになっている。制御部41は、溶接命令を、通信部43を介して溶接機60に出力するようになっている。制御部41は、調整開始命令または倣い開始命令を、通信部43を介して画像処理装置70に出力するようになっている。制御部41は、画像処理装置70から入力されたカメラ位置送信命令に応じて、撮像装置20の現在位置データ(カメラ位置Pi)をカメラ位置ファイル44Dから読み出すようになっている。制御部41は、カメラ位置Piを、通信部43を介して画像処理装置70に出力するようになっている。   Based on the work command input from the teach pendant 50, the control unit 41 reads out the work program 44B, the copying control program, and the camera position adjustment program 44C and analyzes the contents. Based on the analysis result of the work program 44B, the control unit 41 generates a command notification in response to an instruction described in the work program 44B. The control unit 41 generates, for example, a movement command, a welding command, an adjustment start command, or a copying start command according to the content of the generated command notification. The control unit 41 outputs a movement command to the servo control unit 42. The control unit 41 outputs a welding command to the welding machine 60 via the communication unit 43. The control unit 41 outputs an adjustment start command or a copying start command to the image processing apparatus 70 via the communication unit 43. The control unit 41 reads the current position data (camera position Pi) of the imaging device 20 from the camera position file 44D in response to the camera position transmission command input from the image processing apparatus 70. The control unit 41 outputs the camera position Pi to the image processing device 70 via the communication unit 43.

(ティーチペンダント50)
図7は、ティーチペンダント50の概略構成の一例を表したものである。ティーチペンダント50は、作業者がマニピュレータ10の動作を教示するものである。ティーチペンダント50は、例えば、制御部51、表示部52、入力部53、通信部54および記憶部55を有している。
(Teach pendant 50)
FIG. 7 illustrates an example of a schematic configuration of the teach pendant 50. The teach pendant 50 is for an operator to teach the operation of the manipulator 10. The teach pendant 50 includes, for example, a control unit 51, a display unit 52, an input unit 53, a communication unit 54, and a storage unit 55.

表示部52は、映像信号に基づく映像を表示するものである。表示部52は、映像を表示する表示面を有する表示パネルと、映像信号に基づいて表示パネルを駆動する駆動部とを有している。入力部53は、作業者からの教示を受け付けるものである。入力部53は、例えば、複数のキーを有しており、各キーの操作に応じて入力信号を生成し、制御部51に出力するようになっている。通信部54は、ケーブルL2を介してロボット制御装置40と通信を行うものである。通信部54は、制御部51からの作業指令を、ロボット制御装置40に送信するようになっている。通信部54は、ロボット制御装置40からの画像Iを受信して、制御部51に出力するようになっている。記憶部55は、各種のモードで種々の表示や作業指示を可能にする教示ソフトウェア55Aを記憶する。教示ソフトウェア55Aは、例えば、ROMに格納されている。   The display unit 52 displays a video based on the video signal. The display unit 52 includes a display panel having a display surface for displaying video and a drive unit for driving the display panel based on the video signal. The input unit 53 receives teaching from an operator. The input unit 53 has, for example, a plurality of keys, generates an input signal in response to an operation of each key, and outputs the input signal to the control unit 51. The communication unit 54 communicates with the robot control device 40 via the cable L2. The communication unit 54 is configured to transmit a work command from the control unit 51 to the robot control device 40. The communication unit 54 receives the image I from the robot control device 40 and outputs it to the control unit 51. The storage unit 55 stores teaching software 55A that enables various displays and work instructions in various modes. The teaching software 55A is stored in, for example, a ROM.

制御部51は、映像信号を生成し、表示部52に出力すると共に、必要に応じて作業指令を生成し、通信部54に出力するものである。制御部51は、読み出した教示ソフトウェア55Aに従って映像信号を生成したり、ロボット制御装置40から受信した画像Iを含む映像信号を生成したりするようになっている。制御部51は、また、必要に応じて作業指令を生成したりするようになっている。例えば、入力部53から入力された入力信号が、加工作業を実施する再生モードの選択信号であった場合、制御部51は、教示ソフトウェア55Aに従って、記憶部44に格納されている1または複数の作業プログラム44Bのリストを表示するための映像信号を生成するようになっている。さらに、例えば、再生モードが選択されている場合に、再生する1つの作業プログラム44Bが選択されたときには、制御部51は、教示ソフトウェア55Aに従って、再生する作業プログラム44Bの番号等を含む作業指令を生成するようになっている。さらに、例えば、再生モードが選択されている場合に、制御部51は、通信部54から監視情報を取得したときには、取得した監視情報を表示するための映像信号を生成するようになっている。   The control unit 51 generates a video signal, outputs it to the display unit 52, generates a work command if necessary, and outputs it to the communication unit 54. The control unit 51 generates a video signal according to the read teaching software 55A, or generates a video signal including the image I received from the robot control device 40. The control unit 51 also generates a work command as necessary. For example, when the input signal input from the input unit 53 is a selection signal for a reproduction mode for performing a machining operation, the control unit 51 performs one or more stored in the storage unit 44 according to the teaching software 55A. A video signal for displaying a list of work programs 44B is generated. Further, for example, when the reproduction mode is selected and one work program 44B to be reproduced is selected, the control unit 51 issues a work command including the number of the work program 44B to be reproduced according to the teaching software 55A. It is designed to generate. Further, for example, when the playback mode is selected, when the monitoring unit 51 acquires the monitoring information from the communication unit 54, the control unit 51 generates a video signal for displaying the acquired monitoring information.

(溶接機60)
溶接機60は、ロボット制御装置40による制御信号に基づいて、溶接電流Isおよび溶接電圧Vs等を緻密に制御することにより、溶接電極14の先端とワークWとの間にアークを発生させるものである。
(Welder 60)
The welding machine 60 generates an arc between the tip of the welding electrode 14 and the workpiece W by precisely controlling the welding current Is, the welding voltage Vs, and the like based on a control signal from the robot controller 40. is there.

(画像処理装置70)
図8は、画像処理装置70の概略構成の一例を表したものである。画像処理装置70は、撮像装置20から得られた画像Iを処理するものである。画像処理装置70は、制御部71と、通信部72と、記憶部73とを有している。
(Image processing apparatus 70)
FIG. 8 illustrates an example of a schematic configuration of the image processing apparatus 70. The image processing device 70 processes the image I obtained from the imaging device 20. The image processing apparatus 70 includes a control unit 71, a communication unit 72, and a storage unit 73.

記憶部73は、各種ソフトウェアを記憶可能に構成されている。記憶部73は、画像Iを処理する画像処理ソフトウェア73Aを記憶している。画像処理ソフトウェア73Aは、例えば、ROMに格納されている。画像処理ソフトウェア73Aについては、後に詳述するものとする。記憶部73は、さらに、画像処理ソフトウェア73Aが実行されることにより生成される各種データを記憶可能に構成されている。そのようなデータを含むファイルとしては、例えば、画像ファイル73Bおよび設定ファイル73Cが挙げられる。画像ファイル73Bには、例えば、撮像装置20によって撮像された複数の画像Iが格納され得る。設定ファイル73Cには、例えば、カメラ設定値(例えば、合焦カメラ位置Po、絞り、および露光時間など)などが格納され得る。   The storage unit 73 is configured to be able to store various software. The storage unit 73 stores image processing software 73A for processing the image I. The image processing software 73A is stored in, for example, a ROM. The image processing software 73A will be described in detail later. Further, the storage unit 73 is configured to be able to store various data generated by executing the image processing software 73A. Examples of the file including such data include an image file 73B and a setting file 73C. In the image file 73B, for example, a plurality of images I captured by the imaging device 20 can be stored. In the setting file 73C, for example, camera setting values (for example, in-focus camera position Po, aperture, exposure time, etc.) can be stored.

通信部72は、ケーブルL4を介してロボット制御装置40と通信を行ったり、ケーブルL8を介して撮像装置20と通信を行ったりするものである。通信部72は、ロボット制御装置40からの調整開始命令または倣い開始命令を受信して、受信した調整開始命令または倣い開始命令を制御部71に出力するようになっている。通信部72は、制御部71からの撮像開始命令を、撮像装置20に送信するようになっている。通信部72は、撮像装置20から複数の画像Iを受信して、受信した複数の画像Iを制御部71に出力するようになっている。通信部72は、制御部71で導出されたカメラ設定値(例えば、合焦カメラ位置Po、絞り、および露光時間など)を、撮像装置20に出力するようになっている。   The communication unit 72 communicates with the robot control device 40 via the cable L4 and communicates with the imaging device 20 via the cable L8. The communication unit 72 receives the adjustment start command or the copying start command from the robot control device 40 and outputs the received adjustment start command or the copying start command to the control unit 71. The communication unit 72 is configured to transmit an imaging start command from the control unit 71 to the imaging device 20. The communication unit 72 receives a plurality of images I from the imaging device 20 and outputs the received plurality of images I to the control unit 71. The communication unit 72 outputs the camera setting values derived from the control unit 71 (for example, the focused camera position Po, the aperture, the exposure time, and the like) to the imaging device 20.

制御部71は、ロボット制御装置40から入力された調整開始命令または倣い開始命令に基づいて、画像処理ソフトウェア73Aを読み出し、その内容を解析するようになっている。制御部71は、その解析結果に基づいて、画像処理ソフトウェア73Aに記載の指示に応じて、命令通知を生成したり、所定の演算処理を実行したりするようになっている。   The control unit 71 reads the image processing software 73A based on the adjustment start command or the copying start command input from the robot control device 40, and analyzes the contents thereof. Based on the analysis result, the control unit 71 generates a command notification or executes predetermined arithmetic processing in accordance with an instruction described in the image processing software 73A.

制御部71は、生成した命令通知を、撮像装置20に出力するようになっている。制御部71は、例えば、カメラ調整ステータスとして初期調整を含む調整開始命令を受信したとき(初期のカメラ調整モードのとき)には、所定のタイミングで1または複数の画像Iを撮像する命令通知を、撮像装置20に出力するようになっている。この命令通知は、初期のカメラ調整においてアーク溶接を実行する際に出力される。以下では、このときの画像Iを画像Irと称するものとする。   The control unit 71 is configured to output the generated command notification to the imaging device 20. For example, when the control unit 71 receives an adjustment start command including initial adjustment as the camera adjustment status (in the initial camera adjustment mode), the control unit 71 issues a command notification for capturing one or a plurality of images I at a predetermined timing. , And output to the imaging device 20. This command notification is output when arc welding is performed in the initial camera adjustment. Hereinafter, the image I at this time is referred to as an image Ir.

制御部71は、初期のカメラ調整モードのときには、さらに、例えば、以下のような演算処理を実行するようになっている。例えば、撮像装置20から複数の画像Irが得られた場合に、各画像Ir間にばらつきがあるときには、制御部71は、複数の画像Irに対して移動平均処理を行うようになっていてもよい。制御部71は、最終的に1枚の画像Irを選択し、選択した画像Irを溶接領域WAにピントの合った画像Ifとするようになっている。画像Ifが、本発明の「第1画像」の一具体例に相当する。画像Ifは、溶接領域WAにピントの合った画像である。画像Ifは、例えば、溶接電極14の先端、溶融池WPもしくはワークWに映る電極反射像IR、または、溶融池WPにピントの合った画像である。   In the initial camera adjustment mode, the controller 71 further executes, for example, the following arithmetic processing. For example, when a plurality of images Ir are obtained from the imaging device 20 and there is variation between the images Ir, the control unit 71 may perform a moving average process on the plurality of images Ir. Good. The control unit 71 finally selects one image Ir, and sets the selected image Ir as an image If focused on the welding area WA. The image If corresponds to a specific example of the “first image” of the present invention. The image If is an image focused on the welding area WA. The image If is, for example, an electrode reflection image IR reflected on the tip of the welding electrode 14, the molten pool WP or the workpiece W, or an image focused on the molten pool WP.

制御部71は、例えば、カメラ調整ステータスとして再調整を含む調整開始命令を受信したとき(再度のカメラ調整モードのとき)には、所定のタイミングごとに画像Iを撮像する命令通知を、撮像装置20に出力するようになっている。以下、再度のカメラ調整モードで得られた画像Iを画像Isと称するものとする。画像Isが、本発明の「第2画像」の一具体例に相当する。制御部71が、所定のタイミングごとに画像Iを撮像する命令通知を、撮像装置20に出力している間、ロボット制御装置1はアーク溶接を実行している。そのため、撮像装置20で得られる複数の画像Isは、画像Ifの視点方向と同じ視点方向から撮像された、撮像距離の互いに異なる複数の画像である。   For example, when the control unit 71 receives an adjustment start command including readjustment as the camera adjustment status (in the camera adjustment mode again), the control unit 71 issues a command notification for imaging the image I at every predetermined timing. 20 is output. Hereinafter, the image I obtained in the camera adjustment mode again is referred to as an image Is. The image Is corresponds to a specific example of the “second image” of the present invention. While the control unit 71 outputs a command notification for imaging the image I at every predetermined timing to the imaging device 20, the robot control device 1 is performing arc welding. Therefore, the plurality of images Is obtained by the imaging device 20 are a plurality of images captured from the same viewpoint direction as the viewpoint direction of the image If and having different imaging distances.

制御部71は、再度のカメラ調整モードのときには、さらに、例えば、以下のような演算処理を実行するようになっている。制御部71は、例えば、画像Ifと、撮像距離の互いに異なる複数の画像Isとを対比することにより、撮像装置20の、溶接領域WAにピントの合った合焦カメラ位置Poを判定するようになっている。制御部71は、例えば、複数の画像Isの中から、画像Ifと所定の相関関係を持つ画像Isを選出し、選出した画像Isが撮像されたときのカメラ位置Piを合焦カメラ位置Poと判定するようになっている。制御部71は、例えば、画像Ifに含まれる被写体と、各画像Isに含まれる被写体とのパターンマッチングを行い、それにより選出した画像Isが撮像されたときのカメラ位置Piを合焦カメラ位置Poと判定するようになっている。   In the camera adjustment mode again, the control unit 71 further performs, for example, the following arithmetic processing. For example, the control unit 71 compares the image If with a plurality of images Is having different imaging distances so as to determine the in-focus camera position Po focused on the welding area WA of the imaging device 20. It has become. For example, the control unit 71 selects an image Is having a predetermined correlation with the image If from the plurality of images Is, and sets the camera position Pi when the selected image Is is captured as the in-focus camera position Po. It comes to judge. For example, the control unit 71 performs pattern matching between the subject included in the image If and the subject included in each image Is, and the camera position Pi when the selected image Is is captured is determined as the in-focus camera position Po. It comes to judge.

ここで、画像Irおよび各画像Isは、被写体として、溶接電極14の先端、溶融池WPもしくはワークWに映る電極反射像IR、および溶融池WPのうち少なくとも1つを含んでいる。制御部71は、例えば、画像Ifと各画像Isとの相違度と、画像Ifと各画像Isとの特徴点(つまり被写体)とを求め、複数の画像Isの中で相違度が最小となる画像Isを選択することにより、パターンマッチングを行うようになっている。   Here, the image Ir and each image Is include at least one of the tip of the welding electrode 14, the electrode reflection image IR reflected on the molten pool WP or the workpiece W, and the molten pool WP as a subject. For example, the control unit 71 obtains the degree of difference between the image If and each image Is and the feature point (that is, the subject) between the image If and each image Is, and the degree of difference is minimized among the plurality of images Is. Pattern matching is performed by selecting the image Is.

制御部71は、例えば、倣い開始命令を受信したとき(倣い溶接モードのとき)には、所定のタイミングごとに画像Iを撮像する命令通知を、撮像装置20に出力するようになっている。制御部71は、倣い溶接モードのときに、さらに、例えば、取得した複数の画像Iに基づいて、溶接トーチ13位置の補正データを導出するようになっている。   For example, when receiving a scanning start command (in the scanning welding mode), the control unit 71 outputs a command notification for capturing an image I at every predetermined timing to the imaging device 20. The control unit 71 further derives correction data of the position of the welding torch 13 based on, for example, a plurality of acquired images I in the copying welding mode.

[動作]
次に、カメラ調整モードにおける溶接ロボットシステム1の動作手順について説明する。
[Operation]
Next, the operation procedure of the welding robot system 1 in the camera adjustment mode will be described.

(初期のカメラ調整モード)
図9は、初期のカメラ調整モードにおけるロボット制御装置40、画像処理装置70および撮像装置20の動作手順の一例を表したものである。
(Initial camera adjustment mode)
FIG. 9 illustrates an example of operation procedures of the robot control device 40, the image processing device 70, and the imaging device 20 in the initial camera adjustment mode.

まず、作業者が、開先位置に溶接ビードが形成された(つまり、溶接済みの)ワークWを作業台15に設置する。次に、作業者が、撮像装置20からフィルタ20Aを取り外すとともに、撮像箇所に照明を当て、その状態で、撮像装置20によって撮像された画像Iを確認しながら、撮像装置20のピントを合わせる。このとき、作業者が、例えば、溶接ビードにピントを合わせる。次に、作業者が、溶接済みのワークWの代わりに、開先位置に溶接ビードが形成されていない(つまり、未溶接の)ワークWを作業台15に設置する。次に、作業者が、撮像装置20にフィルタ20Aを取り付け、ティーチペンダント50に、初期のカメラ調整の開始を指示する。すると、ティーチペンダント50は、作業者から入力された、初期のカメラ調整の開始の指示に従って、カメラ調整ステータスとして初期調整を含む作業指令を生成し、生成した作業指令をロボット制御装置40に送信する。   First, an operator installs a work W on which a weld bead is formed at a groove position (that is, a welded workpiece) on the work table 15. Next, the operator removes the filter 20 </ b> A from the imaging device 20, illuminates the imaging location, and focuses the imaging device 20 while confirming the image I captured by the imaging device 20 in that state. At this time, for example, the operator focuses on the weld bead. Next, instead of the welded workpiece W, the worker installs the workpiece W on which the weld bead is not formed at the groove position (that is, unwelded) on the work table 15. Next, the operator attaches the filter 20A to the imaging device 20, and instructs the teach pendant 50 to start the initial camera adjustment. Then, the teach pendant 50 generates a work command including initial adjustment as a camera adjustment status in accordance with an instruction to start initial camera adjustment input from the operator, and transmits the generated work command to the robot control device 40. .

ロボット制御装置40が、ティーチペンダント50から、カメラ調整ステータスとして初期調整を含む作業指令を受信する(ステップS101)。すると、ロボット制御装置40は、該当する番号の作業プログラム44Bを読み出し、作業プログラム44Bに記載の指示に応じて命令通知を生成する。ロボット制御装置40は、移動命令をマニピュレータ10に送信し、溶接命令を溶接機60に送信する。マニピュレータ10は、ロボット制御装置30からの制御信号に応じて、溶接トーチ13を制御する。溶接機50は、ロボット制御装置30から溶接命令を受信すると、その内容に従って、例えば、溶接電流Isおよび溶接電圧Vsを制御する。その結果、アーク溶接が開始される。ロボット制御装置40は、さらに、カメラ調整ステータスとして初期調整を含む調整開始命令を画像処理装置70に送信する(ステップS102)。   The robot control device 40 receives a work command including initial adjustment as a camera adjustment status from the teach pendant 50 (step S101). Then, the robot control device 40 reads the work program 44B having the corresponding number, and generates a command notification in accordance with the instruction described in the work program 44B. The robot control device 40 transmits a movement command to the manipulator 10 and transmits a welding command to the welding machine 60. The manipulator 10 controls the welding torch 13 according to a control signal from the robot control device 30. When receiving the welding command from the robot controller 30, the welding machine 50 controls, for example, the welding current Is and the welding voltage Vs in accordance with the contents. As a result, arc welding is started. The robot control device 40 further transmits an adjustment start command including initial adjustment as a camera adjustment status to the image processing device 70 (step S102).

画像処理装置70は、ロボット制御装置40から、そのような調整開始命令を受信すると(ステップS103)、例えば、内部状態を初期化する。その後、画像処理装置70は、撮像開始指令を撮像装置20に送信する(ステップS104)。撮像装置20は、画像処理装置70から撮像開始指令を受信すると(ステップS105)、所定のタイミングで撮影を行い、1枚の画像Irを取得する(ステップS106)。つまり、撮像装置20は、初期のカメラ調整においてアーク溶接が実施されている期間に、1枚の画像Irを取得する。このとき、撮像装置20は、所定の位置に固定されている。その後、撮像装置20は、取得した画像Irを画像処理装置70に送信する(ステップS107)。画像処理装置70は、撮像装置20から画像Irを受信する(ステップS108)。   When the image processing apparatus 70 receives such an adjustment start command from the robot control apparatus 40 (step S103), for example, the internal state is initialized. Thereafter, the image processing device 70 transmits an imaging start command to the imaging device 20 (step S104). When the imaging device 20 receives an imaging start command from the image processing device 70 (step S105), the imaging device 20 performs imaging at a predetermined timing and acquires one image Ir (step S106). That is, the imaging device 20 acquires one image Ir during a period in which arc welding is performed in the initial camera adjustment. At this time, the imaging device 20 is fixed at a predetermined position. Thereafter, the imaging device 20 transmits the acquired image Ir to the image processing device 70 (step S107). The image processing device 70 receives the image Ir from the imaging device 20 (step S108).

画像処理装置70は、撮像装置20から画像Irを受信すると、受信した画像Irを撮像したときのカメラ位置Piをロボット制御装置40に要求する(ステップS109)。ロボット制御装置40は、カメラ位置Piの要求を受信すると(ステップS110)、カメラ位置ファイル44Dからカメラ位置Piを読み出し、読み出したカメラ位置Piを画像処理装置70に送信する(ステップS111)。画像処理装置70は、カメラ位置Piをロボット制御装置40から受信すると(ステップS112)、カメラ位置Piを画像Irと関連付けて、記憶部73に記憶させる。   When receiving the image Ir from the imaging device 20, the image processing device 70 requests the robot control device 40 for the camera position Pi when the received image Ir is captured (step S109). When receiving the request for the camera position Pi (step S110), the robot control device 40 reads the camera position Pi from the camera position file 44D and transmits the read camera position Pi to the image processing device 70 (step S111). When the image processing device 70 receives the camera position Pi from the robot control device 40 (step S112), the image processing device 70 stores the camera position Pi in association with the image Ir in the storage unit 73.

このとき、画像Irの明るさが所望の範囲内となっている場合には、作業者は、初期のカメラ調整を終了する。具体的には、作業者が、ティーチペンダント50に、初期のカメラ調整の終了を指示する。すると、ティーチペンダント50は、作業者から入力された、初期のカメラ調整の終了の指示に従って、調整終了の作業指令を生成し、生成した作業指令をロボット制御装置40に送信する。ロボット制御装置40が、ティーチペンダント50から、調整終了の作業指令を受信する(ステップS113)。すると、ロボット制御装置40は、調整終了命令を生成し、生成した調整終了命令を画像処理装置70に送信する(ステップS114)。   At this time, if the brightness of the image Ir is within a desired range, the operator ends the initial camera adjustment. Specifically, the operator instructs the teach pendant 50 to end the initial camera adjustment. Then, the teach pendant 50 generates an adjustment end work command in accordance with an initial camera adjustment end instruction input by the operator, and transmits the generated work instruction to the robot control device 40. The robot control device 40 receives an adjustment completion work command from the teach pendant 50 (step S113). Then, the robot control device 40 generates an adjustment end command and transmits the generated adjustment end command to the image processing device 70 (step S114).

画像処理装置70は、ロボット制御装置40から調整終了命令を受信すると(ステップS115)、画像Irを溶接領域WAにピントの合った画像Ir’と判断し、この画像Ir’と関連付けられたカメラ位置Piを、合焦カメラ位置Poとする。画像処理装置70は、画像Ir’の中から、ピントの合った被写体を抽出するための領域を決定し、決定した領域の画像を画像Ifとして、画像Ir’から抽出する。画像処理装置70は、抽出した画像Ifを画像ファイル73Bに保存させる(ステップS116)。画像Ifは、溶接領域WAにピントの合った画像であり、本発明の「第1画像」の一具体例に相当する。画像処理装置70は、さらに、合焦カメラ位置Poをロボット制御装置40に送信する(ステップS117)。ロボット制御装置40は、画像処理装置70から合焦カメラ位置Poを受信すると、合焦カメラ位置Poをカメラ位置ファイル44Dに保存させる(ステップS118)。このようにして、初期のカメラ調整モードが実行されることにより、画像Ifおよび合焦カメラ位置Poが得られる。   When receiving the adjustment end command from the robot control device 40 (step S115), the image processing device 70 determines that the image Ir is an image Ir ′ in focus on the welding area WA, and the camera position associated with the image Ir ′. Let Pi be the in-focus camera position Po. The image processing apparatus 70 determines a region for extracting a focused subject from the image Ir ′, and extracts an image of the determined region from the image Ir ′ as an image If. The image processing apparatus 70 stores the extracted image If in the image file 73B (step S116). The image If is an image focused on the welding area WA, and corresponds to a specific example of the “first image” of the present invention. The image processing device 70 further transmits the in-focus camera position Po to the robot control device 40 (step S117). When receiving the in-focus camera position Po from the image processing apparatus 70, the robot controller 40 stores the in-focus camera position Po in the camera position file 44D (step S118). In this way, by executing the initial camera adjustment mode, the image If and the focused camera position Po are obtained.

(再度のカメラ調整モード)
図10は、再度のカメラ調整モードにおけるロボット制御装置40、画像処理装置70および撮像装置20の動作手順の一例を表したものである。
(Camera adjustment mode again)
FIG. 10 illustrates an example of operation procedures of the robot control device 40, the image processing device 70, and the imaging device 20 in the camera adjustment mode again.

作業者が、例えば、保守などにより、撮像装置20を一旦、取り外し、その後、撮像装置20を取り付け直したとする。次に、作業者が、未溶接のワークWを作業台15に設置する。次に、作業者が、撮像装置20にフィルタ20Aが取り付けられた状態で、ティーチペンダント50に、再度のカメラ調整の開始を指示する。すると、ティーチペンダント50は、作業者から入力された、再度のカメラ調整の開始の指示に従って、カメラ調整ステータスとして再調整を含む作業指令を生成し、生成した作業指令をロボット制御装置40に送信する。   It is assumed that the operator temporarily removes the imaging device 20 by, for example, maintenance, and then reinstalls the imaging device 20. Next, the worker installs the unwelded workpiece W on the work table 15. Next, the operator instructs the teach pendant 50 to start the camera adjustment again with the filter 20 </ b> A attached to the imaging device 20. Then, the teach pendant 50 generates a work command including readjustment as a camera adjustment status in accordance with an instruction for starting camera adjustment again input from the operator, and transmits the generated work command to the robot controller 40. .

ロボット制御装置40が、ティーチペンダント50から、カメラ調整ステータスとして再調整を含む作業指令を受信する(ステップS201)。すると、ロボット制御装置40は、該当する番号の作業プログラム44Bを読み出し、作業プログラム44Bに記載の指示に応じて命令通知を生成する。ロボット制御装置40は、移動命令をマニピュレータ10に送信し、溶接命令を溶接機60に送信する。マニピュレータ10は、ロボット制御装置30からの制御信号に応じて、溶接トーチ13を制御する。溶接機50は、ロボット制御装置30から溶接命令を受信すると、その内容に従って、例えば、溶接電流Isおよび溶接電圧Vsを制御する。その結果、アーク溶接が開始される。ロボット制御装置40は、さらに、カメラ調整ステータスとして再調整を含む調整開始命令を画像処理装置70に送信する(ステップS202)。このとき、ロボット制御装置40は、撮像装置20を所定の位置に設定させる制御信号Saを生成し、生成した制御信号Saを調整装置30に送信する。調整装置30は、ロボット制御装置40から受信した制御信号に応じて、撮像装置20の位置を設定する。   The robot controller 40 receives a work command including readjustment as a camera adjustment status from the teach pendant 50 (step S201). Then, the robot control device 40 reads the work program 44B having the corresponding number, and generates a command notification in accordance with the instruction described in the work program 44B. The robot control device 40 transmits a movement command to the manipulator 10 and transmits a welding command to the welding machine 60. The manipulator 10 controls the welding torch 13 according to a control signal from the robot control device 30. When receiving the welding command from the robot controller 30, the welding machine 50 controls, for example, the welding current Is and the welding voltage Vs in accordance with the contents. As a result, arc welding is started. The robot control device 40 further transmits an adjustment start command including readjustment as a camera adjustment status to the image processing device 70 (step S202). At this time, the robot control device 40 generates a control signal Sa for setting the imaging device 20 at a predetermined position, and transmits the generated control signal Sa to the adjustment device 30. The adjustment device 30 sets the position of the imaging device 20 according to the control signal received from the robot control device 40.

画像処理装置70は、ロボット制御装置40から、そのような調整開始命令を受信すると(ステップS203)、例えば、内部状態を初期化する。その後、画像処理装置70は、撮像開始指令を撮像装置20に送信する(ステップS204)。撮像装置20は、画像処理装置70から撮像開始指令を受信すると(ステップS205)、所定のタイミングで撮影を行い、1枚の画像Isを取得する(ステップS206)。つまり、撮像装置20は、再度のカメラ調整においてアーク溶接が実施されている期間に、1枚の画像Isを取得する。このとき、撮像装置20は、所定の位置に固定されている。その後、撮像装置20は、取得した画像Isを画像処理装置70に送信する(ステップS207)。画像処理装置70は、撮像装置20から画像Isを受信する(ステップS208)。   When the image processing apparatus 70 receives such an adjustment start command from the robot control apparatus 40 (step S203), for example, the internal state is initialized. Thereafter, the image processing device 70 transmits an imaging start command to the imaging device 20 (step S204). When the imaging device 20 receives an imaging start command from the image processing device 70 (step S205), the imaging device 20 performs imaging at a predetermined timing and acquires one image Is (step S206). That is, the imaging device 20 acquires one image Is during a period in which arc welding is performed in another camera adjustment. At this time, the imaging device 20 is fixed at a predetermined position. Thereafter, the imaging device 20 transmits the acquired image Is to the image processing device 70 (step S207). The image processing device 70 receives the image Is from the imaging device 20 (step S208).

画像処理装置70は、撮像装置20から画像Isを受信すると、受信した画像Isを撮像したときのカメラ位置Piをロボット制御装置40に要求する(ステップS209)。ロボット制御装置40は、カメラ位置Piの要求を受信すると(ステップS210)、カメラ位置ファイル44Dからカメラ位置Piを読み出し、読み出したカメラ位置Piを画像処理装置70に送信する(ステップS211)。画像処理装置70は、カメラ位置Piをロボット制御装置40から受信すると(ステップS212)、カメラ位置Piを画像Isと関連付けて、記憶部73に記憶させる。   When receiving the image Is from the imaging device 20, the image processing device 70 requests the robot control device 40 for the camera position Pi when the received image Is is captured (step S209). When receiving the request for the camera position Pi (step S210), the robot control device 40 reads the camera position Pi from the camera position file 44D, and transmits the read camera position Pi to the image processing device 70 (step S211). When the image processing device 70 receives the camera position Pi from the robot control device 40 (step S212), the image processing device 70 stores the camera position Pi in association with the image Is in the storage unit 73.

続いて、画像処理装置70は、画像Ifと画像Isとを対比することにより、画像Isが溶接領域WAにピントの合った画像であるか否かを判定する(ステップS213)。具体的には、画像処理装置70は、画像Ifと画像Isとが所定の相間関係を持っているか否か判定する。より具体的には、画像処理装置70は、画像Ifに含まれる被写体と、画像Isに含まれる被写体とのパターンマッチングを行う。その結果、画像処理装置70は、画像Ifと画像Isとのパターンマッチ率が所定の閾値以下となっている場合には、画像Isが溶接領域WAにピントの合った画像ではないと判定する。このとき、画像処理装置70は、カメラ位置Piを所定の量だけ変位させる指令をロボット制御装置40に送信する。ロボット制御装置40は、画像処理装置70から、そのような指令を受信すると、カメラ位置Piを所定の量だけ変位させる制御信号Saを生成し(ステップS214)、生成した制御信号Saを調整装置30に送信する。このときの制御信号Saが、本発明の「単焦点カメラの撮像位置を変移させる第2制御信号」の一具体例に相当する。調整装置30は、ロボット制御装置40から受信した制御信号に応じて撮像装置20の現在位置を調整する。画像処理装置70は、撮像装置20の現在位置が変位した後に、上記のステップS204を実行し、再度、上記のステップS213を実行する。つまり、撮像装置20は、ステップS206において、前回とは異なる位置(カメラ位置Pi)で、画像Iを取得する。画像処理装置70は、画像Ifと画像Isとのパターンマッチ率が所定の閾値を超えない限り、ステップS204、S208、S209、S212、S213を繰り返し実行する。このとき、ロボット制御装置40は、撮像装置20の撮像位置が、画像Ifを撮像したときの撮像装置20の撮像位置を含む所定の範囲内で変位するように、制御信号Saを生成する。   Subsequently, the image processing apparatus 70 compares the image If with the image Is to determine whether the image Is is an image in focus on the welding area WA (step S213). Specifically, the image processing device 70 determines whether or not the image If and the image Is have a predetermined correlation. More specifically, the image processing device 70 performs pattern matching between the subject included in the image If and the subject included in the image Is. As a result, when the pattern matching rate between the image If and the image Is is equal to or lower than a predetermined threshold, the image processing device 70 determines that the image Is is not an image in focus on the welding area WA. At this time, the image processing device 70 transmits a command for displacing the camera position Pi by a predetermined amount to the robot control device 40. When receiving such a command from the image processing device 70, the robot control device 40 generates a control signal Sa for displacing the camera position Pi by a predetermined amount (step S214), and adjusts the generated control signal Sa to the adjustment device 30. Send to. The control signal Sa at this time corresponds to a specific example of “a second control signal for shifting the imaging position of the single focus camera” of the present invention. The adjustment device 30 adjusts the current position of the imaging device 20 according to the control signal received from the robot control device 40. After the current position of the imaging device 20 is displaced, the image processing device 70 executes the above step S204 and executes the above step S213 again. That is, in step S206, the imaging device 20 acquires the image I at a position (camera position Pi) different from the previous time. The image processing apparatus 70 repeatedly executes steps S204, S208, S209, S212, and S213 unless the pattern matching rate between the image If and the image Is exceeds a predetermined threshold. At this time, the robot control device 40 generates the control signal Sa so that the imaging position of the imaging device 20 is displaced within a predetermined range including the imaging position of the imaging device 20 when the image If is captured.

画像処理装置70は、画像Ifと画像Isとのパターンマッチ率が所定の閾値を超える場合には、その画像Isが溶接領域WAにピントの合った画像であると判定し、判定により選出された画像Isが撮像されたときのカメラ位置Piを合焦カメラ位置Poと判定する。つまり、このときの撮像装置20の位置を設定するために調整装置30に送信された制御信号Saが、本発明の「単焦点カメラの撮像位置を合焦カメラ位置に設定させる第1制御信号」の一具体例に相当する。このとき、画像処理装置70は、合焦カメラ位置Poをロボット制御装置40に送信する(ステップS215)。ロボット制御装置40は、画像処理装置70から合焦カメラ位置Poを受信すると、合焦カメラ位置Poをカメラ位置ファイル44Dに保存させる(ステップS216)。このようにして、再度のカメラ調整モードが実行されることにより、撮像装置20が、溶接領域WAにピントの合った位置に自動的に設定される。   When the pattern matching rate between the image If and the image Is exceeds a predetermined threshold, the image processing apparatus 70 determines that the image Is is an image in focus on the welding area WA, and is selected by the determination. The camera position Pi when the image Is is captured is determined as the in-focus camera position Po. In other words, the control signal Sa transmitted to the adjusting device 30 to set the position of the imaging device 20 at this time is the “first control signal for setting the imaging position of the single focus camera to the in-focus camera position” of the present invention. It corresponds to one specific example. At this time, the image processing device 70 transmits the in-focus camera position Po to the robot control device 40 (step S215). When the robot controller 40 receives the in-focus camera position Po from the image processing apparatus 70, the robot controller 40 stores the in-focus camera position Po in the camera position file 44D (step S216). In this way, when the camera adjustment mode is executed again, the imaging device 20 is automatically set to a position in focus on the welding area WA.

なお、図11に示したように、画像処理装置70は、ステップS212を実行した後に、撮像装置20による画像Isの撮像枚数が所定の枚数(N枚)となるまで(ステップS217)、カメラ位置Piを所定の量ずつ変位させる指令をロボット制御装置40に送信してもよい。ロボット制御装置40は、そのような指令を受信すると、画像Isの撮像枚数が所定の枚数(N枚)となるまで、カメラ位置Piを所定の量だけ変位させる制御信号Saを生成する(ステップS214)。このとき、画像処理装置70は、撮像装置20による画像Isの撮像枚数が所定の枚数(N枚)となるまで、ステップS204、S208、S209、S212、S217を繰り返し実行する。ロボット制御装置40は、撮像装置20の撮像位置が、画像Ifを撮像したときの撮像装置20の撮像位置を含む所定の範囲内で変位するように、制御信号Saを生成する。ロボット制御装置40は、生成した制御信号Saを調整装置30に送信する。このときの制御信号Saが、本発明の「単焦点カメラの撮像位置を変移させる第2制御信号」の一具体例に相当する。調整装置30は、ロボット制御装置40から受信した制御信号に応じて撮像装置20の現在位置を調整する。画像処理装置70は、撮像装置20の現在位置が変位するごとに、ステップS204を実行する。つまり、撮像装置20は、ステップS206において、前回とは異なる位置(カメラ位置Pi)で、画像Iを取得する。画像処理装置70は、このようにして、撮像距離の互いに異なる複数の(N枚の)画像Isを取得した後に、複数の画像Isの中から、溶接領域WAにピントの合った画像Isを選択する(ステップS218)。   As shown in FIG. 11, the image processing apparatus 70 performs the camera position until the number of images Is captured by the imaging apparatus 20 reaches a predetermined number (N) after executing Step S212 (Step S217). A command for displacing Pi by a predetermined amount may be transmitted to the robot controller 40. When receiving such a command, the robot control device 40 generates a control signal Sa for displacing the camera position Pi by a predetermined amount until the number of captured images Is reaches a predetermined number (N) (step S214). ). At this time, the image processing apparatus 70 repeatedly executes steps S204, S208, S209, S212, and S217 until the number of images Is captured by the imaging apparatus 20 reaches a predetermined number (N). The robot control device 40 generates the control signal Sa so that the imaging position of the imaging device 20 is displaced within a predetermined range including the imaging position of the imaging device 20 when the image If is captured. The robot control device 40 transmits the generated control signal Sa to the adjustment device 30. The control signal Sa at this time corresponds to a specific example of “a second control signal for shifting the imaging position of the single focus camera” of the present invention. The adjustment device 30 adjusts the current position of the imaging device 20 according to the control signal received from the robot control device 40. The image processing device 70 executes step S204 every time the current position of the imaging device 20 is displaced. That is, in step S206, the imaging device 20 acquires the image I at a position (camera position Pi) different from the previous time. In this way, after acquiring a plurality (N) of images Is having different imaging distances, the image processing apparatus 70 selects an image Is in focus on the welding area WA from the plurality of images Is. (Step S218).

具体的には、画像処理装置70は、画像Ifに含まれる被写体と、各画像Isに含まれる被写体とのパターンマッチングを行う。画像処理装置70は、画像Ifと画像Isとのパターンマッチ率が所定の閾値を超える画像Isが溶接領域WAにピントの合った画像であると判定し、判定により選出された画像Isが撮像されたときのカメラ位置Piを合焦カメラ位置Poと判定する。   Specifically, the image processing device 70 performs pattern matching between the subject included in the image If and the subject included in each image Is. The image processing device 70 determines that the image Is whose pattern match rate between the image If and the image Is exceeds a predetermined threshold is an image in focus on the welding area WA, and the image Is selected by the determination is captured. The camera position Pi at this time is determined as the in-focus camera position Po.

複数の画像Isのパターンマッチ率が所定の閾値を超えた場合には、画像処理装置70は、例えば、パターンマッチ率が所定の閾値を超えた複数の画像Isのうち、パターンマッチ率が最大となる画像Isが撮像されたときのカメラ位置Piを合焦カメラ位置Poと判定するようになっていてもよい。また、ある撮像期間において、複数の画像Isのパターンマッチ率が所定の閾値を超えた場合には、画像処理装置70は、例えば、その撮像期間の中間に対応する画像Isが撮像されたときのカメラ位置Piを合焦カメラ位置Poと判定するようになっていてもよい。   When the pattern match rate of the plurality of images Is exceeds a predetermined threshold, the image processing apparatus 70, for example, among the plurality of images Is whose pattern match rate exceeds the predetermined threshold, the pattern match rate is the maximum. The camera position Pi when the image Is is captured may be determined as the in-focus camera position Po. Further, when the pattern match rate of the plurality of images Is exceeds a predetermined threshold in a certain imaging period, the image processing device 70 is, for example, when the image Is corresponding to the middle of the imaging period is captured. The camera position Pi may be determined as the in-focus camera position Po.

また、互いに異なる複数の撮像期間において、複数の画像Isのパターンマッチ率が所定の閾値を超えた場合には、画像処理装置70は、例えば、それらの撮像期間のうち、パターンマッチ率が所定の閾値を超えた画像Isの数が最大となる撮像期間を選択し、選択した撮像期間の中間に対応する画像Isが撮像されたときのカメラ位置Piを合焦カメラ位置Poと判定するようになっていてもよい。また、互いに異なる複数の撮像期間において、複数の画像Isのパターンマッチ率が所定の閾値を超えた場合には、画像処理装置70は、例えば、それらの撮像期間のうち、パターンマッチ率が所定の閾値を超えた画像Isの数が最大となる撮像期間を選択し、選択した撮像期間に含まれる各画像Isのパターンマッチ率を二次曲線近似し、それにより得られた二次曲線の極大値に対応するカメラ位置Piを合焦カメラ位置Poと判定するようになっていてもよい。   Further, when the pattern match rate of the plurality of images Is exceeds a predetermined threshold in a plurality of different imaging periods, the image processing device 70, for example, has a pattern match rate of a predetermined value in those imaging periods. The imaging period in which the number of images Is exceeding the threshold is selected is selected, and the camera position Pi when the image Is corresponding to the middle of the selected imaging period is captured is determined as the in-focus camera position Po. It may be. Further, when the pattern match rate of the plurality of images Is exceeds a predetermined threshold in a plurality of different imaging periods, the image processing device 70, for example, has a pattern match rate of a predetermined value in those imaging periods. The imaging period in which the number of images Is exceeding the threshold is maximized, the pattern matching rate of each image Is included in the selected imaging period is approximated by a quadratic curve, and the maximum value of the quadratic curve obtained thereby The camera position Pi corresponding to may be determined as the in-focus camera position Po.

その後、画像処理装置70は、合焦カメラ位置Poをロボット制御装置40に送信する(ステップS215)。ロボット制御装置40は、画像処理装置70から合焦カメラ位置Poを受信すると、合焦カメラ位置Poをカメラ位置ファイル44Dに保存させるとともに(ステップS216)、合焦カメラ位置Poを含む制御信号を調整装置30に送信する。調整装置30は、画像処理装置70から受信した制御信号に従って、撮像装置20の位置を設定する。このようにして、再度のカメラ調整モードが実行されることにより、撮像装置20が、溶接領域WAにピントの合った位置に自動的に設定される。   Thereafter, the image processing device 70 transmits the in-focus camera position Po to the robot control device 40 (step S215). When the robot controller 40 receives the in-focus camera position Po from the image processing apparatus 70, the robot controller 40 stores the in-focus camera position Po in the camera position file 44D (step S216) and adjusts the control signal including the in-focus camera position Po. To device 30. The adjustment device 30 sets the position of the imaging device 20 according to the control signal received from the image processing device 70. In this way, when the camera adjustment mode is executed again, the imaging device 20 is automatically set to a position in focus on the welding area WA.

(倣い溶接モード)
ロボット制御装置40は、ティーチペンダント50から、倣い溶接モード用の作業プログラム44Bの番号を含む作業指令を受信したとする。すると、ロボット制御装置40は、該当する番号の作業プログラム44Bを読み出し、作業プログラム44Bに記載の指示に応じて命令通知を生成する。ロボット制御装置40は、例えば、所定の制御信号をマニピュレータ10に送信し、溶接命令を溶接機60に出力する。ロボット制御装置40は、さらに、倣い開始命令を画像処理装置70に送信する。マニピュレータ10は、ロボット制御装置40からの制御信号に応じて、溶接トーチ13を動作する。溶接機60は、ロボット制御装置40から溶接命令を受信すると、その内容に従って、例えば、溶接電流Isおよび溶接電圧Vsを制御する。その結果、アーク溶接が開始される。
(Copy welding mode)
It is assumed that the robot control device 40 receives a work command including the number of the work program 44B for the copy welding mode from the teach pendant 50. Then, the robot control device 40 reads the work program 44B having the corresponding number, and generates a command notification in accordance with the instruction described in the work program 44B. For example, the robot control device 40 transmits a predetermined control signal to the manipulator 10 and outputs a welding command to the welding machine 60. The robot control device 40 further transmits a copying start command to the image processing device 70. The manipulator 10 operates the welding torch 13 in response to a control signal from the robot control device 40. When receiving the welding command from the robot controller 40, the welding machine 60 controls, for example, the welding current Is and the welding voltage Vs in accordance with the content of the welding command. As a result, arc welding is started.

画像処理装置70は、ロボット制御装置40から倣い開始命令を受信すると、撮像開始指令を撮像装置20に送信する。撮像装置20は、画像処理装置70から撮像開始指令を受信すると、所定のタイミングごとに撮影を行い、複数の画像Itを取得する。ところで、当初は、溶接トーチ13位置の補正データがまだ導出されていない。そのため、溶接トーチ13は、当初は、教示線の座標に沿った動作をしている。   When the image processing apparatus 70 receives a scanning start command from the robot control apparatus 40, the image processing apparatus 70 transmits an imaging start command to the imaging apparatus 20. When the imaging device 20 receives an imaging start command from the image processing device 70, the imaging device 20 captures images at predetermined timings and acquires a plurality of images It. By the way, initially, correction data for the position of the welding torch 13 has not yet been derived. For this reason, the welding torch 13 initially operates along the coordinates of the teaching line.

撮像装置20は、所定のタイミングごとに撮像された複数の画像Itを画像処理装置70に送信する。画像処理装置70は、撮像装置20から複数の画像Itを受信する。その後、画像処理装置70は、取得した1または複数の画像Itに基づいて、溶接トーチ13位置の補正データを導出する。画像処理装置70は、導出した補正データを、ロボット制御装置40に送信する。ロボット制御装置40は、画像処理装置70から補正データを受信する。ロボット制御装置40は、補正データに基づいて溶接トーチ13の位置座標を補正し、補正データの考慮された座標に基づいて制御信号を生成する。ロボット制御装置40は、生成した制御信号をマニピュレータ10に出力する。マニピュレータ10は、補正データの考慮された制御信号に応じて、溶接トーチ13を動作させる。従って、これ以降は、溶接トーチ13は、補正データの考慮された座標に従った動作をする。このようにして、ロボット制御装置40は、溶接トーチ13の倣い制御を行う。   The imaging device 20 transmits a plurality of images It captured at predetermined timings to the image processing device 70. The image processing device 70 receives a plurality of images It from the imaging device 20. Thereafter, the image processing device 70 derives correction data of the position of the welding torch 13 based on the acquired one or more images It. The image processing device 70 transmits the derived correction data to the robot control device 40. The robot control device 40 receives the correction data from the image processing device 70. The robot control device 40 corrects the position coordinates of the welding torch 13 based on the correction data, and generates a control signal based on the coordinates considered in the correction data. The robot control device 40 outputs the generated control signal to the manipulator 10. The manipulator 10 operates the welding torch 13 according to the control signal in which the correction data is considered. Therefore, thereafter, the welding torch 13 operates in accordance with the coordinates considered in the correction data. In this way, the robot control device 40 performs copying control of the welding torch 13.

[効果]
次に、溶接ロボットシステム1の効果について説明する。
[effect]
Next, the effect of the welding robot system 1 will be described.

撮像装置20を溶接ロボットシステム1に組み込んだ場合に、保守などにより、カメラが一旦、取り外されることがある。この場合、撮像装置20を取り付け直す際には、例えば、フィルタ20Aを取り外した状態で、ワークWの溶接ビードにピントが合うように、カメラ位置を調整し、その後、フィルタ20Aを取り付け、アーク溶接を行いながら、絞りや露光時間を調整する。しかし、この一連の作業には、人の判断が介在する。そのため、調整した人に依って、カメラの設定がばらついてしまう。   When the imaging device 20 is incorporated in the welding robot system 1, the camera may be temporarily removed due to maintenance or the like. In this case, when reattaching the imaging device 20, for example, with the filter 20A removed, the camera position is adjusted so that the weld bead of the workpiece W is in focus, and then the filter 20A is attached and arc welding is performed. While adjusting, adjust the aperture and exposure time. However, human judgment is involved in this series of operations. Therefore, the camera settings vary depending on the person who made the adjustment.

一方、本実施の形態では、溶接領域WAにピントの合った画像Ifと、撮像距離の互いに異なる複数の画像Isとが対比される。これにより、複数の画像Isの中から、溶接領域WAにピントの合った画像Isを選択することができる。撮像装置20の撮像位置を、選択した画像Isが撮像されたときのカメラ位置Pi(合焦カメラ位置Po)に設定することにより、撮像装置20のピントを溶接領域WAに合わせることができる。本実施の形態では、撮像装置20の撮像位置を合焦カメラ位置Poに設定させる制御信号Saが生成される。これにより、撮像装置20の撮像位置の設定を、制御信号Saに基づいて撮像装置20の撮像位置を設定する調整機構30に担わせることができる。その結果、撮像装置20の撮像位置の設定に際して、人の判断が介在しなくなるので、撮像装置20の設定ばらつきを低減することができる。   On the other hand, in the present embodiment, the image If focused on the welding area WA is compared with a plurality of images Is having different imaging distances. Thereby, the image Is focused on the welding area WA can be selected from the plurality of images Is. By setting the imaging position of the imaging device 20 to the camera position Pi (focused camera position Po) when the selected image Is is captured, the imaging device 20 can be focused on the welding area WA. In the present embodiment, the control signal Sa for generating the imaging position of the imaging device 20 at the in-focus camera position Po is generated. Thereby, the setting of the imaging position of the imaging device 20 can be performed by the adjustment mechanism 30 that sets the imaging position of the imaging device 20 based on the control signal Sa. As a result, since there is no human judgment when setting the imaging position of the imaging device 20, the setting variation of the imaging device 20 can be reduced.

また、本実施の形態では、画像Ifと各画像Isとの対比に際して、画像Ifに含まれる被写体と、各画像Isに含まれる被写体とのパターンマッチングが行われる。これにより、複数の画像Isの中で、画像Ifと各画像Isとの相違度が最小となる画像Isが選出され、選出された画像Isが撮像されたときの撮像装置20のカメラ位置Piに、撮像装置20が設定される。従って、人の判断が全く介在しないので、撮像装置20の設定ばらつきを低減することができる。   Further, in the present embodiment, when the image If and each image Is are compared, pattern matching between the subject included in the image If and the subject included in each image Is is performed. As a result, an image Is having a minimum difference between the image If and each image Is is selected from the plurality of images Is, and the camera position Pi of the imaging device 20 when the selected image Is is captured is selected. The imaging device 20 is set. Accordingly, since there is no human judgment, the setting variation of the imaging device 20 can be reduced.

<2.変形例>
上記実施の形態において、溶接電極14が、溶極式の電極であってもよい。また、上記実施の形態において、撮像装置20は、焦点位置の固定されたカメラであれば、単焦点カメラでなくても構わない。また、上記実施の形態において、撮像装置20は、倣い溶接に使用されることになっていたが、それ以外の用途に使用されることになっていても構わない。
<2. Modification>
In the above embodiment, the welding electrode 14 may be a molten electrode. In the above embodiment, the imaging device 20 may not be a single focus camera as long as the camera has a fixed focal position. Moreover, in the said embodiment, although the imaging device 20 was supposed to be used for copy welding, it may be used for other uses.

1…溶接ロボットシステム、10…マニピュレータ、11…ベース部材、12…多関節アーム部、12A…アーム、13…溶接トーチ、14…溶接電極、15…作業台、20…撮像装置、20A…フィルタ、30…調整装置、40…ロボット制御装置、41…制御部、42…サーボ制御部、43…通信部、44…記憶部、44A…制御ソフトウェア、44B…作業プログラム、44C…カメラ位置調整プログラム、44D…カメラ位置ファイル、50…ティーチペンダント、51…制御部、52…表示部、53…入力部、54…通信部、55…記憶部、55A…教示ソフトウェア、60…溶接機、70…画像処理装置、71…制御部、72…通信部、73…記憶部、73A…画像処理ソフトウェア、73B…画像ファイル、73C…設定ファイル、D1,D2…方向、I,Ir,Ir’,Is,It…画像、IR…電極反射像、L1〜L8…ケーブル、S1,S2…側面、W…ワーク、WB…溶接ビード、WL…溶接線、W…ワーク、WP…溶融池。   DESCRIPTION OF SYMBOLS 1 ... Welding robot system, 10 ... Manipulator, 11 ... Base member, 12 ... Articulated arm part, 12A ... Arm, 13 ... Welding torch, 14 ... Welding electrode, 15 ... Work table, 20 ... Imaging device, 20A ... Filter, DESCRIPTION OF SYMBOLS 30 ... Adjustment apparatus, 40 ... Robot control apparatus, 41 ... Control part, 42 ... Servo control part, 43 ... Communication part, 44 ... Memory | storage part, 44A ... Control software, 44B ... Work program, 44C ... Camera position adjustment program, 44D ... Camera position file 50 ... Teach pendant 51 ... Control part 52 ... Display part 53 ... Input part 54 ... Communication part 55 ... Storage part 55A ... Teaching software 60 ... Welding machine 70 ... Image processing device , 71 ... Control unit, 72 ... Communication unit, 73 ... Storage unit, 73A ... Image processing software, 73B ... Image file, 73C ... Setting file , D1, D2 ... direction, I, Ir, Ir ', Is, It ... image, IR ... electrode reflection image, L1-L8 ... cable, S1, S2 ... side, W ... work, WB ... weld bead, WL ... Welding wire, W ... work, WP ... molten pool.

Claims (8)

溶接領域にピントの合った第1画像と、前記第1画像の視点方向と同じ視点方向から撮像された、撮像距離の互いに異なる複数の第2画像とを対比することにより、前記溶接領域に向けられた単焦点カメラの、前記溶接領域にピントの合った合焦カメラ位置を判定する判定部と、
前記単焦点カメラの撮像位置を前記合焦カメラ位置に設定させる第1制御信号を生成する信号生成部と
を備えたカメラ位置調整装置。
By comparing the first image focused on the welding area with a plurality of second images taken from the same viewpoint direction as the viewpoint direction of the first image and having different imaging distances, the welding image is directed toward the welding area. A determination unit for determining a focused camera position in focus on the welding area of the single focus camera,
A camera position adjustment device comprising: a signal generation unit that generates a first control signal for setting an imaging position of the single focus camera to the focus camera position.
前記判定部は、前記単焦点カメラが所定の位置に固定されているときに前記単焦点カメラによって撮像された画像を前記第1画像として取得し、
前記判定部は、前記単焦点カメラの撮像位置が前記所定の位置を含む所定の範囲内で変位しているときに前記単焦点カメラによって撮像された複数の画像を複数の前記第2画像として取得する
請求項1に記載のカメラ位置調整装置。
The determination unit acquires, as the first image, an image captured by the single focus camera when the single focus camera is fixed at a predetermined position.
The determination unit acquires a plurality of images captured by the single focus camera as a plurality of second images when an imaging position of the single focus camera is displaced within a predetermined range including the predetermined position. The camera position adjusting device according to claim 1.
前記信号生成部は、前記判定部が複数の前記第2画像を取得する際に、前記単焦点カメラの撮像位置を変位させる第2制御信号を生成する
請求項2に記載のカメラ位置調整装置。
The camera position adjustment device according to claim 2, wherein the signal generation unit generates a second control signal for displacing the imaging position of the single focus camera when the determination unit acquires a plurality of the second images.
前記判定部は、複数の前記第2画像の中から前記第1画像と所定の相関関係を持つ画像を選出し、選出した画像が撮像されたときのカメラ位置を前記合焦カメラ位置と判定する
請求項1ないし請求項3のいずれか一項に記載のカメラ位置調整装置。
The determination unit selects an image having a predetermined correlation with the first image from the plurality of second images, and determines the camera position when the selected image is captured as the in-focus camera position. The camera position adjusting device according to any one of claims 1 to 3.
前記第1画像および複数の前記第2画像は、被写体として、前記溶接電極の先端、溶融池もしくは母材に映る、前記先端の反射像、または、溶融池を含み、
前記判定部は、前記第1画像に含まれる前記被写体と、各前記第2画像に含まれる前記被写体とのパターンマッチングを行い、それにより選出した前記第2画像が撮像されたときのカメラ位置を前記合焦カメラ位置と判定する
請求項4に記載のカメラ位置調整装置。
The first image and the plurality of second images include, as a subject, a reflected image of the tip reflected on the tip of the welding electrode, a molten pool or a base material, or a molten pool,
The determination unit performs pattern matching between the subject included in the first image and the subject included in each of the second images, and determines a camera position when the selected second image is captured. The camera position adjustment device according to claim 4, wherein the camera position is determined as the in-focus camera position.
前記第1画像および複数の前記第2画像は、可視光を選択的にカットするフィルタを前記単焦点カメラの光入射面に取り付けた状態で、前記溶接領域を、前記単焦点カメラで撮像することにより得られた画像である
請求項1ないし請求項5のいずれか一項に記載のカメラ位置調整装置。
The first image and the plurality of second images are obtained by imaging the welding region with the single focus camera in a state where a filter that selectively cuts visible light is attached to a light incident surface of the single focus camera. The camera position adjusting device according to any one of claims 1 to 5, wherein the camera position adjusting device is an image obtained by the following.
溶接電極を含む溶接トーチを有し、前記溶接トーチを移動させることによりアーク溶接を行う移動部と、
前記溶接電極の先端を含む溶接領域にピントの合った第1画像と、前記第1画像の視点方向と同じ視点方向から撮像された、撮像距離の互いに異なる複数の第2画像とを対比することにより、前記溶接領域に向けられた単焦点カメラの、前記溶接領域にピントの合った合焦カメラ位置を判定する判定部と、
前記単焦点カメラの撮像位置を前記合焦カメラ位置に設定させる制御信号を生成する信号生成部と、
前記信号生成部からの制御信号に基づいて、前記単焦点カメラの撮像位置を設定する調整部と
を備えた
溶接ロボットシステム。
A moving torch that includes a welding electrode, and that performs arc welding by moving the welding torch;
Comparing a first image focused on a welding area including a tip of the welding electrode and a plurality of second images taken from the same viewpoint direction as the viewpoint direction of the first image and having different imaging distances. A determination unit for determining a focus camera position focused on the welding region of the single focus camera directed to the welding region;
A signal generator for generating a control signal for setting the imaging position of the single focus camera to the in-focus camera position;
A welding robot system comprising: an adjustment unit that sets an imaging position of the single focus camera based on a control signal from the signal generation unit.
溶接領域にピントの合った第1画像と、前記第1画像の視点方向と同じ視点方向から撮像された、撮像距離の互いに異なる複数の第2画像とを対比することにより、前記溶接領域に向けられた単焦点カメラの、前記溶接領域にピントの合った合焦カメラ位置を判定する判定ステップと、
前記単焦点カメラの撮像位置を前記合焦カメラ位置に設定させる制御信号を生成する信号生成ステップと
を含む
カメラ位置調整方法。
By comparing the first image focused on the welding area with a plurality of second images taken from the same viewpoint direction as the viewpoint direction of the first image and having different imaging distances, the welding image is directed toward the welding area. A determination step of determining a focused camera position focused on the welding area of the single focus camera,
A signal generation step of generating a control signal for setting an imaging position of the single focus camera to the in-focus camera position.
JP2014186578A 2014-09-12 2014-09-12 Camera position adjustment apparatus, welding robot system, and camera position adjustment method Active JP6411828B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014186578A JP6411828B2 (en) 2014-09-12 2014-09-12 Camera position adjustment apparatus, welding robot system, and camera position adjustment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014186578A JP6411828B2 (en) 2014-09-12 2014-09-12 Camera position adjustment apparatus, welding robot system, and camera position adjustment method

Publications (2)

Publication Number Publication Date
JP2016055345A true JP2016055345A (en) 2016-04-21
JP6411828B2 JP6411828B2 (en) 2018-10-24

Family

ID=55756882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014186578A Active JP6411828B2 (en) 2014-09-12 2014-09-12 Camera position adjustment apparatus, welding robot system, and camera position adjustment method

Country Status (1)

Country Link
JP (1) JP6411828B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019209695A (en) 2019-09-18 2019-12-12 大日本印刷株式会社 Composite container, production method thereof, composite preform, and plastic member

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06344167A (en) * 1993-06-07 1994-12-20 Toshiba Corp Laser beam machine
JPH11147187A (en) * 1997-11-13 1999-06-02 Amada Co Ltd Method and device for yag laser machining
JP2001160919A (en) * 1999-09-20 2001-06-12 Hitachi Ltd Monitoring device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06344167A (en) * 1993-06-07 1994-12-20 Toshiba Corp Laser beam machine
JPH11147187A (en) * 1997-11-13 1999-06-02 Amada Co Ltd Method and device for yag laser machining
JP2001160919A (en) * 1999-09-20 2001-06-12 Hitachi Ltd Monitoring device

Also Published As

Publication number Publication date
JP6411828B2 (en) 2018-10-24

Similar Documents

Publication Publication Date Title
JP5135672B2 (en) Laser irradiation state detection method and laser irradiation state detection system
JP4578056B2 (en) Workpiece machining method by control system using work robot
CN108406091B (en) Laser processing head and laser processing system with imaging device
US20120255937A1 (en) Robot system
KR102600357B1 (en) welding device
CN114633021B (en) Real-time vision acquisition laser welding method and device thereof
CN106113050A (en) The teaching method of industrial robot, control method and device, system
JP2019058942A (en) Welding appearance failure detection device, laser welder, and welding appearance failure detection method
JPH10249566A (en) Laser beam machining method and its device
US20220297246A1 (en) Repair welding device and repair welding method
JP6327172B2 (en) Laser welding system and laser welding method
JP6411828B2 (en) Camera position adjustment apparatus, welding robot system, and camera position adjustment method
JP5947571B2 (en) Welding robot and gap adjustment method for welding robot
EP3766624A1 (en) Laser light centering method and laser processing device
JP5201890B2 (en) Method for correcting welding conditions of automatic welding apparatus and automatic welding apparatus
JP6405168B2 (en) Scanning control device, welding robot system, and scanning control method
JP6559425B2 (en) Laser irradiation control device
JP2013193085A (en) Welding system
JP3203507B2 (en) Laser processing equipment
JP6546413B2 (en) Image processing apparatus, welding robot system and image processing method
US20240149374A1 (en) Measuring device and method for performing measurements on a workpiece as well as machining system and welding method
US20240149456A1 (en) Device and method for performing measurements on a workpiece as well as machining system and method for machining a workpiece
JP2019126841A (en) Parameter specification device, laser beam machine, parameter specification method, and program
JP2014210273A (en) Welding method and welding apparatus
JPS6393479A (en) Detecting method for welding starting point

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170515

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180313

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180320

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180413

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180927

R150 Certificate of patent or registration of utility model

Ref document number: 6411828

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250