JP2021062442A - Repair welding device and repair welding method - Google Patents

Repair welding device and repair welding method Download PDF

Info

Publication number
JP2021062442A
JP2021062442A JP2019188160A JP2019188160A JP2021062442A JP 2021062442 A JP2021062442 A JP 2021062442A JP 2019188160 A JP2019188160 A JP 2019188160A JP 2019188160 A JP2019188160 A JP 2019188160A JP 2021062442 A JP2021062442 A JP 2021062442A
Authority
JP
Japan
Prior art keywords
welding
repair
robot
repair welding
work
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.)
Pending
Application number
JP2019188160A
Other languages
Japanese (ja)
Inventor
克明 大熊
Katsuaki OKUMA
克明 大熊
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.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to JP2019188160A priority Critical patent/JP2021062442A/en
Publication of JP2021062442A publication Critical patent/JP2021062442A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Manipulator (AREA)

Abstract

To further efficiently perform repair welding by re-aligning output orders of multiple defect parts acquired from visual inspection to a work to be welded that is produced by normal welding so as to be matched with an operation direction of a welding robot.SOLUTION: A repair welding device includes: an acquisition unit for acquiring a visual inspection result including information on multiple defect parts of a weld bead of a work to be welded that is produced by normal welding by a welding robot; and a robot control unit for instructing the welding robot to execute repair welding in a target section on the basis of the multiple defect parts for which output orders of the multiple defect parts are re-aligned to orders matched with an operation direction of the welding robot on the basis of the visual inspection result.SELECTED DRAWING: Figure 8

Description

本開示は、リペア溶接装置およびリペア溶接方法に関する。 The present disclosure relates to a repair welding apparatus and a repair welding method.

特許文献1には、溶接ビードにスリット光を投射し、スリット光の走査により溶接ビード上に順次形成される形状線を撮像し、順次形成された各形状線の撮像データに基づいて、溶接ビードの三次元形状を点群データとして取得する形状検査装置が開示されている。この形状検査装置は、点群データに基づいて表示された溶接ビードに、入力に応じて、スリット光の走査により形成された形状線とは異なる任意の切断線を設定し、切断線に対応した点群データにより、切断線における溶接ビードの断面形状を算出する。また、形状検査装置は、算出された断面形状に応じて算出した各種の特徴量を予め登録している各種の特徴量の許容範囲と比較し、特徴量の良否を判定する。 In Patent Document 1, slit light is projected onto the weld bead, shape lines sequentially formed on the weld bead are imaged by scanning the slit light, and the weld bead is based on the imaging data of the sequentially formed shape lines. A shape inspection device that acquires the three-dimensional shape of the above as point cloud data is disclosed. This shape inspection device corresponds to the cutting line by setting an arbitrary cutting line different from the shape line formed by scanning the slit light on the welding bead displayed based on the point cloud data according to the input. The cross-sectional shape of the weld bead at the cutting line is calculated from the point cloud data. Further, the shape inspection device compares the various feature amounts calculated according to the calculated cross-sectional shape with the permissible range of the various feature amounts registered in advance, and determines the quality of the feature amount.

特開2012−37487号公報Japanese Unexamined Patent Publication No. 2012-37487

本開示は、本溶接により生産された被溶接ワークの外観検査により得られた複数の不良箇所の出力順序を溶接ロボットの動作方向と一致するよう並び替えてより効率的にリペア溶接するリペア溶接装置およびリペア溶接方法を提供する。 The present disclosure is a repair welding apparatus that rearranges the output order of a plurality of defective parts obtained by visual inspection of the workpiece produced by the main welding so as to match the operation direction of the welding robot and performs repair welding more efficiently. And repair welding methods are provided.

本開示は、溶接ロボットによる本溶接により生産された被溶接ワークの溶接ビードの複数の不良箇所の情報を含む外観検査結果を取得する取得部と、前記外観検査結果に基づいて、前記複数の不良箇所の出力順序を前記溶接ロボットの動作方向と一致する順序に並び替えた前記複数の不良箇所に基づく対象区間のリペア溶接の実行を前記溶接ロボットに指示するロボット制御部と、を備える、リペア溶接装置を提供する。 The present disclosure includes an acquisition unit that acquires appearance inspection results including information on a plurality of defective parts of a welding bead of a work to be welded produced by main welding by a welding robot, and the plurality of defects based on the appearance inspection results. Repair welding including a robot control unit that instructs the welding robot to execute repair welding of a target section based on the plurality of defective parts in which the output order of the parts is rearranged in an order that matches the operation direction of the welding robot. Provide the device.

また、本開示は、リペア溶接装置により実行されるリペア溶接方法であって、溶接ロボットによる本溶接により生産された被溶接ワークの溶接ビードの複数の不良箇所の情報を含む外観検査結果を取得する工程と、前記外観検査結果に基づいて、前記複数の不良箇所の出力順序を前記溶接ロボットの動作方向と一致する順序に並び替えた前記複数の不良箇所に基づく対象区間のリペア溶接の実行を前記溶接ロボットに指示する工程と、を有する、リペア溶接方法を提供する。 Further, the present disclosure is a repair welding method executed by a repair welding apparatus, and acquires visual inspection results including information on a plurality of defective parts of a welding bead of a work to be welded produced by main welding by a welding robot. Based on the process and the visual inspection result, the output order of the plurality of defective parts is rearranged in an order that matches the operation direction of the welding robot, and the repair welding of the target section based on the plurality of defective parts is executed. Provided is a repair welding method having a step of instructing a welding robot.

本開示によれば、本溶接により生産された被溶接ワークの外観検査により得られた複数の不良箇所の出力順序を溶接ロボットの動作方向と一致するよう並び替えてより効率的にリペア溶接できる。 According to the present disclosure, the output order of a plurality of defective parts obtained by visual inspection of the workpiece to be welded produced by the main welding can be rearranged so as to match the operating direction of the welding robot, and repair welding can be performed more efficiently.

溶接システムのシステム構成例を示す概略図Schematic diagram showing a system configuration example of a welding system 実施の形態1に係る検査制御装置、ロボット制御装置および上位装置の内部構成例を示す図The figure which shows the internal structure example of the inspection control apparatus, the robot control apparatus and the higher-order apparatus which concerns on Embodiment 1. 実施の形態1に係る溶接システムによる本溶接およびリペア溶接の動作手順例を示すシーケンス図A sequence diagram showing an example of operating procedures for main welding and repair welding by the welding system according to the first embodiment. 実施の形態1に係る溶接システムによる本溶接およびリペア溶接の動作手順の変形例を示すシーケンス図A sequence diagram showing a modified example of the operation procedure of main welding and repair welding by the welding system according to the first embodiment. 複数の検出点の出力順序を溶接ロボットの動作方向と一致するための並び替えに関する第1動作概要例を模式的に示す図The figure which shows typically the 1st operation outline example about the rearrangement for ordering the output order of a plurality of detection points to match the operation direction of a welding robot. 図4に示される複数の検出点の並び替え例を模式的に示す図The figure which shows typically the rearranging example of the plurality of detection points shown in FIG. 複数の検出点の出力順序を溶接ロボットの動作方向と一致するための並び替えに関する第2動作概要例を模式的に示す図The figure which shows typically the 2nd operation outline example about the rearrangement for ordering the output order of a plurality of detection points to match the operation direction of a welding robot. 図6に示される複数の検出点の並び替え例を模式的に示す図The figure which shows typically the rearranging example of the plurality of detection points shown in FIG. 複数の検出点の出力順序を溶接ロボットの動作方向と一致するための並び替えに関する第3動作概要例を模式的に示す図The figure which shows typically the 3rd operation outline example about the rearrangement for ordering the output order of a plurality of detection points to match the operation direction of a welding robot. 図8に示される複数の検出点の並び替え例を模式的に示す図The figure which shows typically the rearranging example of the plurality of detection points shown in FIG. リペア溶接プログラムの作成に関する動作手順例を示すフローチャートFlowchart showing an example of operating procedure for creating a repair welding program 実施の形態2に係る検査制御装置、ロボット制御装置および上位装置の内部構成例を示す図The figure which shows the internal structure example of the inspection control apparatus, the robot control apparatus and the higher-order apparatus which concerns on Embodiment 2. 実施の形態2に係る溶接システムによる本溶接およびリペア溶接の動作手順例を示すシーケンス図A sequence diagram showing an example of operating procedures for main welding and repair welding by the welding system according to the second embodiment. 実施の形態2に係る溶接システムによる本溶接およびリペア溶接の動作手順の変形例を示すシーケンス図A sequence diagram showing a modified example of the operation procedure of main welding and repair welding by the welding system according to the second embodiment. 実施の形態3に係る検査制御装置、ロボット制御装置および上位装置の内部構成例を示す図The figure which shows the internal structure example of the inspection control apparatus, the robot control apparatus and the higher-level apparatus which concerns on Embodiment 3. 実施の形態3に係る溶接システムによる本溶接およびリペア溶接の動作手順例を示すシーケンス図A sequence diagram showing an example of operating procedures for main welding and repair welding by the welding system according to the third embodiment. 実施の形態3に係る溶接システムによる本溶接およびリペア溶接の動作手順例を示すシーケンス図A sequence diagram showing an example of operating procedures for main welding and repair welding by the welding system according to the third embodiment.

(本開示に至る経緯)
特許文献1を含む従来技術では、本溶接により生産されたワーク(以下、「被溶接ワーク」と称する)の外観検査結果に基づいて、溶接の欠陥(つまり不良)が発生した箇所に補修等の修正を行うためのリペア溶接を溶接ロボット等で自動的に行う技術は未だ開示されていない。リペア溶接を溶接ロボットで自動的に行うためには、本溶接と同様に、リペア溶接を行う箇所を特定したリペア溶接用のプログラムを事前に準備する必要がある。実際に溶接の不良箇所をリペア溶接する間に、溶接ロボットの先端部と被溶接ワークあるいは被溶接ワークを固定するための治具との干渉を防止するため、被溶接ワークを生産するために作成された本溶接プログラムを部分的に変更することで、リペア溶接プログラムを作成することが好ましいと考えられる。言い換えると、本溶接時の溶接ロボットの動作軌跡を巧みに利用することで、リペア溶接中の溶接ロボットの動作を安定化できる。
(Background to this disclosure)
In the prior art including Patent Document 1, based on the appearance inspection result of the work produced by the main welding (hereinafter referred to as "work to be welded"), repair or the like is performed at a place where a welding defect (that is, a defect) occurs. The technique of automatically performing repair welding for correction by a welding robot or the like has not yet been disclosed. In order for the repair welding to be performed automatically by the welding robot, it is necessary to prepare in advance a program for repair welding that specifies the location where the repair welding is to be performed, as in the case of the main welding. Created to produce the work to be welded in order to prevent interference between the tip of the welding robot and the work to be welded or the jig for fixing the work to be welded during the actual repair welding of the defective part of the weld. It is considered preferable to create a repair welding program by partially changing the main welding program. In other words, by skillfully utilizing the operation locus of the welding robot during the main welding, the operation of the welding robot during repair welding can be stabilized.

被溶接ワークの外観検査において、溶接の不良箇所(以下、単に「不良箇所」と称する)の位置に関する情報(例えば座標)は、例えばカメラあるいはレーザ光を投射するセンサ等の検査装置により検出され、不良箇所情報として出力される。ここで、外観検査時に被溶接ワークにおける不良箇所の有無の検出方向と、本溶接時に溶接ロボットにより行われる本溶接の方向とが一致しないことがある。例えば外観検査によって複数の不良箇所が検出された場合、不良箇所情報が出力された順序と、溶接ロボットがリペア溶接する方向とが一致しないことになる。このような不一致があると、不良箇所情報の出力された順に溶接ロボットがリペア溶接するので、例えば不良箇所間を往来して補修等の修正を行うことになり、リペア溶接時の溶接ロボットの作業効率が劣化するという課題がある。 In the visual inspection of the workpiece to be welded, information (for example, coordinates) regarding the position of the defective portion of welding (hereinafter, simply referred to as “defective portion”) is detected by an inspection device such as a camera or a sensor that projects laser light. It is output as defective part information. Here, the direction of detecting the presence or absence of a defective portion in the workpiece to be welded at the time of visual inspection may not match the direction of the main welding performed by the welding robot at the time of the main welding. For example, when a plurality of defective parts are detected by the visual inspection, the order in which the defective part information is output does not match the direction in which the welding robot repairs and welds. If there is such a discrepancy, the welding robot repairs and welds in the order in which the defective part information is output. Therefore, for example, it is necessary to go back and forth between the defective parts to perform repairs and the like, and the work of the welding robot during repair welding. There is a problem that efficiency deteriorates.

そこで、以下の実施の形態では、本溶接により生産された被溶接ワークの外観検査により得られた複数の不良箇所の出力順序を溶接ロボットの動作方向と一致するよう並び替えて自動的かつ効率的にリペア溶接するリペア溶接装置およびリペア溶接方法の例を説明する。 Therefore, in the following embodiment, the output order of a plurality of defective parts obtained by the visual inspection of the work to be welded produced by the main welding is rearranged so as to match the operation direction of the welding robot, and is automatically and efficiently. An example of a repair welding device and a repair welding method for repair welding will be described.

以下、適宜図面を参照しながら、本開示に係るリペア溶接装置およびリペア溶接方法を具体的に開示した実施の形態を詳細に説明する。但し、必要以上に詳細な説明は省略する場合がある。例えば、既によく知られた事項の詳細説明や実質的に同一の構成に対する重複説明を省略する場合がある。これは、以下の説明が不必要に冗長になることを避け、当業者の理解を容易にするためである。なお、添付図面および以下の説明は、当業者が本開示を十分に理解するために提供されるものであり、これらにより特許請求の範囲に記載の主題を限定することは意図されていない。 Hereinafter, embodiments in which the repair welding apparatus and the repair welding method according to the present disclosure are specifically disclosed will be described in detail with reference to the drawings as appropriate. However, more detailed explanation than necessary may be omitted. For example, detailed explanations of already well-known matters and duplicate explanations for substantially the same configuration may be omitted. This is to avoid unnecessary redundancy of the following description and to facilitate the understanding of those skilled in the art. It should be noted that the accompanying drawings and the following description are provided for those skilled in the art to fully understand the present disclosure, and are not intended to limit the subject matter described in the claims.

(実施の形態1)
実施の形態1に係るリペア溶接装置は、溶接ロボットによる本溶接により生産された被溶接ワークの溶接ビードの複数の不良箇所の情報を含む外観検査結果を取得し、この外観検査結果に基づいて、複数の不良箇所の出力順序を溶接ロボットの動作方向(例えば本溶接時あるいはリペア溶接時の動作方向)と一致する順序に並び替えた複数の不良箇所に基づく対象区間のリペア溶接の実行を溶接ロボットに指示する。以下、本溶接されるワークを「元ワーク」、本溶接により生産(製造)されたワークを「被溶接ワーク」、更に、「被溶接ワーク」に検出された溶接の不良箇所がリペア溶接されたワークを「被リペア溶接ワーク」とそれぞれ定義する。また、元ワークと他の元ワークとが溶接ロボットにより接合等されて被溶接ワークを生産する工程を「本溶接」、被溶接ワークの不良箇所が溶接ロボットにより補修等の修正がなされる工程を「リペア溶接」と定義する。なお、「被溶接ワーク」あるいは「被リペア溶接ワーク」は、1回の本溶接により生産されたワークに限らず、2回以上の本溶接により生産された複合的なワークであってもよい。
(Embodiment 1)
The repair welding apparatus according to the first embodiment acquires visual inspection results including information on a plurality of defective parts of the welding beads of the work to be welded produced by main welding by a welding robot, and based on the visual inspection results, obtains visual inspection results. Welding robot executes repair welding of the target section based on multiple defective parts by rearranging the output order of multiple defective parts in the order that matches the operating direction of the welding robot (for example, the operating direction during main welding or repair welding). Instruct. Hereinafter, the work to be main-welded is the "original work", the work produced (manufactured) by the main welding is the "work to be welded", and the defective portion of welding detected in the "work to be welded" is repair-welded. The work is defined as "repaired welded work". In addition, the process of producing the work to be welded by joining the original work and other original works by a welding robot is called "main welding", and the process of repairing defective parts of the work to be welded by the welding robot is performed. Defined as "repair welding". The "work to be welded" or "work to be repaired" is not limited to the work produced by one main welding, but may be a composite work produced by two or more main weldings.

(溶接システムの構成)
図1は、溶接システム100のシステム構成例を示す概略図である。溶接システム100は、外部ストレージST、入力インターフェースUI1およびモニタMN1のそれぞれと接続された上位装置1と、ロボット制御装置2と、検査制御装置3と、本溶接ロボットMC1aと、リペア溶接ロボットMC1bとを含む構成である。本溶接ロボットMC1aおよびリペア溶接ロボットMC1bは、それぞれ別体のロボットとして構成されてもよいが、同一の溶接ロボットMC1として構成されてもよい。以降の説明を分かり易くするために、溶接ロボットMC1により本溶接およびリペア溶接の工程が実行されるとして説明する。なお、図1には1台のロボット制御装置2と本溶接ロボットMC1aおよびリペア溶接ロボットMC1bとのペアが1つだけ示されているが、このペアは複数設けられてよい。また、溶接システム100は、検査装置4を更に含む構成としてもよい。
(Welding system configuration)
FIG. 1 is a schematic view showing a system configuration example of the welding system 100. The welding system 100 includes a host device 1 connected to each of the external storage ST, the input interface UI1 and the monitor MN1, a robot control device 2, an inspection control device 3, a main welding robot MC1a, and a repair welding robot MC1b. It is a configuration that includes. The welding robot MC1a and the repair welding robot MC1b may be configured as separate robots, or may be configured as the same welding robot MC1. In order to make the following description easier to understand, it will be described that the main welding and repair welding steps are executed by the welding robot MC1. Although FIG. 1 shows only one pair of one robot control device 2, the main welding robot MC1a, and the repair welding robot MC1b, a plurality of these pairs may be provided. Further, the welding system 100 may be configured to further include an inspection device 4.

リペア溶接装置の一例としての上位装置1は、ロボット制御装置2を介して溶接ロボットMC1により実行される本溶接の実行(例えば本溶接の開始、完了)を統括して制御する。例えば、上位装置1は、ユーザ(例えば溶接作業者あるいはシステム管理者。以下同様。)により予め入力あるいは設定された溶接関連情報を外部ストレージSTから読み出し、溶接関連情報を用いて、溶接関連情報の内容を含めた本溶接の実行指令を生成して対応するロボット制御装置2に送る。上位装置1は、溶接ロボットMC1による本溶接が完了した場合に、溶接ロボットMC1による元ワークの本溶接が完了した旨の本溶接完了報告をロボット制御装置2から受信し、対応する元ワークの本溶接が完了した旨のステータスに更新して外部ストレージSTに記録する。なお、上述した本溶接の実行指令は上位装置1により生成されることに限定されず、例えば本溶接が行われる工場等内の設備の操作盤(例えばPLC:Programmable Logic Controller)、あるいはロボット制御装置2a,2b,…の操作盤(例えばTP:Teach Pendant)により生成されてもよい。なお、ティーチペンダント(TP)は、ロボット制御装置2a,2b,…に接続された本溶接ロボットMC1a,MC1b,…を操作するための装置である。 The host device 1 as an example of the repair welding device collectively controls the execution of the main welding (for example, the start and completion of the main welding) executed by the welding robot MC1 via the robot control device 2. For example, the host device 1 reads out welding-related information input or set in advance by a user (for example, a welding operator or a system administrator; the same applies hereinafter) from the external storage ST, and uses the welding-related information to obtain welding-related information. An execution command for the main welding including the contents is generated and sent to the corresponding robot control device 2. When the main welding by the welding robot MC1 is completed, the host device 1 receives a main welding completion report from the robot control device 2 to the effect that the main welding of the original work by the welding robot MC1 is completed, and the corresponding original work book. The status is updated to the effect that welding is completed and recorded in the external storage ST. The above-mentioned execution command for the main welding is not limited to being generated by the host device 1, and for example, an operation panel (for example, PLC: Programmable Logical Controller) of equipment in a factory or the like where the main welding is performed, or a robot control device. It may be generated by the operation panel of 2a, 2b, ... (For example, TP: Welding Pendant). The teach pendant (TP) is a device for operating the main welding robots MC1a, MC1b, ... Connected to the robot control devices 2a, 2b, ....

また、上位装置1は、検査制御装置3を介して検査装置4により実行される外観検査の実行(例えば外観検査の開始、完了)を統括して制御する。例えば、上位装置1は、ロボット制御装置2から元ワークの本溶接完了報告を受信すると、溶接ロボットMC1により生産された被溶接ワークの外観検査の実行指令を生成して検査制御装置3に送る。上位装置1は、検査装置4による外観検査が完了した場合に、検査装置4による被溶接ワークの外観検査が完了した旨の外観検査報告を検査制御装置3から受信し、対応する被溶接ワークの外観検査が完了した旨のステータスに更新して外部ストレージSTに記録する。 Further, the host device 1 controls the execution of the visual inspection (for example, the start and completion of the visual inspection) executed by the inspection device 4 via the inspection control device 3 in an integrated manner. For example, when the host device 1 receives the main welding completion report of the original work from the robot control device 2, it generates an execution command for visual inspection of the work to be welded produced by the welding robot MC1 and sends it to the inspection control device 3. When the appearance inspection by the inspection device 4 is completed, the higher-level device 1 receives an appearance inspection report from the inspection control device 3 to the effect that the appearance inspection of the work to be welded by the inspection device 4 is completed, and receives the appearance inspection report of the corresponding work to be welded. The status is updated to the effect that the visual inspection is completed and recorded in the external storage ST.

また、上位装置1は、ロボット制御装置2を介して溶接ロボットMC1により実行されるリペア溶接の実行(例えばリペア溶接の開始、完了)を統括して制御する。例えば、上位装置1は、検査制御装置3から被溶接ワークの外観検査報告を受信すると、その被溶接ワーク(つまり溶接ロボットMC1により生産された被溶接ワーク)のリペア溶接の実行指令を生成してロボット制御装置2に送る。上位装置1は、溶接ロボットMC1による被溶接ワークのリペア溶接が完了した場合に、溶接ロボットMC1による被溶接ワークのリペア溶接が完了した旨のリペア溶接完了報告をロボット制御装置2から受信し、対応する被溶接ワークのリペア溶接が完了した旨のステータスに更新して外部ストレージSTに記録する。 Further, the host device 1 controls the execution of repair welding (for example, start and completion of repair welding) executed by the welding robot MC1 via the robot control device 2 in an integrated manner. For example, when the host device 1 receives the appearance inspection report of the work to be welded from the inspection control device 3, it generates an execution command for repair welding of the work to be welded (that is, the work to be welded produced by the welding robot MC1). It is sent to the robot control device 2. When the repair welding of the work to be welded by the welding robot MC1 is completed, the host device 1 receives a repair welding completion report from the robot control device 2 to the effect that the repair welding of the work to be welded by the welding robot MC1 is completed, and responds. The status is updated to the effect that the repair welding of the work to be welded is completed and recorded in the external storage ST.

ここで、溶接関連情報とは、溶接ロボットMC1により実行される本溶接の内容を示す情報であり、本溶接の工程ごとに予め作成されて外部ストレージSTに登録されている。溶接関連情報は、例えば本溶接に使用される元ワークの数と、本溶接に使用される元ワークのID、名前および溶接箇所を含むワーク情報と、本溶接が実行される実行予定日と、被溶接ワークの生産台数と、本溶接時の各種の溶接条件とを含む。なお、溶接関連情報は、上述した項目のデータに限定されなくてよい。ロボット制御装置2は、上位装置1から送られた実行指令に基づいて、その実行指令で指定される複数の元ワークを用いた本溶接の実行を溶接ロボットMC1に行わせる。なお、上述した溶接関連情報は、上位装置1が外部ストレージSTを参照して管理することに限定されず、例えばロボット制御装置2において管理されてもよい。この場合、ロボット制御装置2は本溶接の完了を把握できるので、溶接関連情報のうち溶接工程が実行される予定の実行予定日の代わりに実際の実行日が管理されてよい。なお本明細書において、本溶接の種類は問わないが、説明を分かり易くするために、複数の元ワークのそれぞれを接合する工程を例示して説明する。 Here, the welding-related information is information indicating the content of the main welding executed by the welding robot MC1, and is created in advance for each main welding process and registered in the external storage ST. Weld-related information includes, for example, the number of original workpieces used for main welding, workpiece information including the ID, name and welding location of the original workpiece used for main welding, and the scheduled execution date when main welding is executed. It includes the number of workpieces to be welded and various welding conditions at the time of main welding. The welding-related information does not have to be limited to the data of the above-mentioned items. The robot control device 2 causes the welding robot MC1 to execute the main welding using a plurality of original workpieces specified by the execution command based on the execution command sent from the higher-level device 1. The welding-related information described above is not limited to being managed by the host device 1 with reference to the external storage ST, and may be managed by, for example, the robot control device 2. In this case, since the robot control device 2 can grasp the completion of the main welding, the actual execution date may be managed instead of the scheduled execution date on which the welding process is scheduled to be executed in the welding-related information. In the present specification, the type of the main welding is not limited, but in order to make the explanation easy to understand, the steps of joining each of the plurality of original workpieces will be described as an example.

上位装置1は、モニタMN1、入力インターフェースUI1および外部ストレージSTのそれぞれとの間でデータの入出力が可能となるように接続され、更に、ロボット制御装置2との間でデータの通信が可能となるように接続される。上位装置1は、モニタMN1および入力インターフェースUI1を一体に含む端末装置PP1でもよく、更に、外部ストレージSTを一体に含んでもよい。この場合、端末装置PP1は、本溶接の実行に先立ってユーザにより使用されるPC(Personal Computer)である。なお、端末装置PP1は、上述したPCに限らず、例えばスマートフォン、タブレット端末等の通信機能を有するコンピュータ装置でよい。 The host device 1 is connected so that data can be input / output from each of the monitor MN1, the input interface UI1 and the external storage ST, and further, data can be communicated with the robot control device 2. It is connected so that it becomes. The host device 1 may be a terminal device PP1 that integrally includes a monitor MN1 and an input interface UI1, and may further include an external storage ST integrally. In this case, the terminal device PP1 is a PC (Personal Computer) used by the user prior to the execution of the main welding. The terminal device PP1 is not limited to the PC described above, and may be a computer device having a communication function such as a smartphone or a tablet terminal.

モニタMN1は、例えばLCD(Liquid Crystal Display)または有機EL(Electroluminescence)等の表示用デバイスを用いて構成されてよい。モニタMN1は、例えば上位装置1から出力された、元ワークの本溶接が完了した旨の通知、あるいは被溶接ワークのリペア溶接が完了した旨の通知を示す画面を表示してよい。また、モニタMN1の代わりに、あるいはモニタMN1とともにスピーカ(図示略)が上位装置1に接続されてもよく、上位装置1は、元ワークの本溶接が完了した旨の通知、あるいは被溶接ワークのリペア溶接が完了した旨の内容の音声を、スピーカを介して出力してもよい。 The monitor MN1 may be configured by using a display device such as an LCD (Liquid Crystal Display) or an organic EL (Electroluminescence). The monitor MN1 may display, for example, a screen output from the host device 1 indicating that the main welding of the original work has been completed or that the repair welding of the work to be welded has been completed. Further, a speaker (not shown) may be connected to the host device 1 instead of the monitor MN1 or together with the monitor MN1, and the host device 1 may notify that the main welding of the original work has been completed, or the work to be welded. A voice indicating that the repair welding has been completed may be output via the speaker.

入力インターフェースUI1は、ユーザの入力操作を検出して上位装置1に出力するユーザインターフェースであり、例えば、マウス、キーボードまたはタッチパネル等を用いて構成されてよい。入力インターフェースUI1は、例えばユーザが溶接関連情報を作成する時の入力操作を受け付けたり、ロボット制御装置2への本溶接の実行指令を送る時の入力操作を受け付けたりする。 The input interface UI 1 is a user interface that detects a user's input operation and outputs it to the host device 1, and may be configured by using, for example, a mouse, a keyboard, a touch panel, or the like. The input interface UI 1 accepts, for example, an input operation when the user creates welding-related information, or receives an input operation when sending a main welding execution command to the robot control device 2.

外部ストレージSTは、例えばハードディスクドライブ(Hard Disk Drive)またはソリッドステートドライブ(Solid State Drive)を用いて構成される。外部ストレージSTは、例えば本溶接ごとに作成された溶接関連情報のデータ、本溶接により生産された被溶接ワークあるいはリペア溶接により生産された被リペア溶接ワークのワーク情報(上述参照)を記憶する。 The external storage ST is configured by using, for example, a hard disk drive (Hard Disk Drive) or a solid state drive (Solid State Drive). The external storage ST stores, for example, data of welding-related information created for each main welding, work information of the work to be welded produced by the main welding or the work information of the work to be repaired produced by the repair welding (see above).

リペア溶接装置の一例としてのロボット制御装置2は、上位装置1との間でデータの通信が可能に接続されるとともに、溶接ロボットMC1との間でデータの通信が可能に接続される。ロボット制御装置2は、上位装置1から送られた本溶接の実行指令を受信すると、その実行指令に基づいて対応する元ワークを用いて溶接ロボットMC1を制御して本溶接を実行させる。ロボット制御装置2は、元ワークの本溶接の完了を検出すると元ワークの本溶接が完了した旨の本溶接完了報告を生成して上位装置1に通知する。これにより、上位装置1は、ロボット制御装置2に基づく元ワークの本溶接の完了を適正に検出できる。なお、ロボット制御装置2による本溶接の完了の検出方法は、例えばワイヤ送給装置300が備えるセンサ(図示略)からの本溶接の完了を示す信号に基づいて判別する方法でよく、あるいは公知の方法でもよく、本溶接の完了の検出方法の内容は限定されなくてよい。 The robot control device 2 as an example of the repair welding device is connected to the higher-level device 1 so as to be able to communicate data, and is also connected to the welding robot MC1 so as to be able to communicate data. When the robot control device 2 receives the execution command of the main welding sent from the higher-level device 1, the robot control device 2 controls the welding robot MC1 using the corresponding original work based on the execution command to execute the main welding. When the robot control device 2 detects the completion of the main welding of the original work, it generates a main welding completion report indicating that the main welding of the original work is completed and notifies the higher-level device 1. As a result, the host device 1 can properly detect the completion of the main welding of the original work based on the robot control device 2. The method of detecting the completion of the main welding by the robot control device 2 may be, for example, a method of determining based on a signal indicating the completion of the main welding from a sensor (not shown) provided in the wire feeding device 300, or a known method. The method may be used, and the content of the method for detecting the completion of the main welding is not limited.

また、ロボット制御装置2は、上位装置1から送られたリペア溶接の実行指令を受信すると、検査制御装置3により作成されるリペア溶接プログラムに従い、その実行指令に基づいて対応する被溶接ワークを用いて溶接ロボットMC1を制御してリペア溶接を実行させる。ロボット制御装置2は、被溶接ワークのリペア溶接の完了を検出すると被溶接ワークのリペア溶接が完了した旨のリペア溶接完了報告を生成して上位装置1に通知する。これにより、上位装置1は、ロボット制御装置2に基づく被溶接ワークのリペア溶接の完了を適正に検出できる。なお、ロボット制御装置2によるリペア溶接の完了の検出方法は、例えばワイヤ送給装置300が備えるセンサ(図示略)からのリペア溶接の完了を示す信号に基づいて判別する方法でよく、あるいは公知の方法でもよく、リペア溶接の完了の検出方法の内容は限定されなくてよい。 Further, when the robot control device 2 receives the repair welding execution command sent from the host device 1, the robot control device 2 follows the repair welding program created by the inspection control device 3 and uses the corresponding workpiece to be welded based on the execution command. Welding robot MC1 is controlled to execute repair welding. When the robot control device 2 detects the completion of the repair welding of the work to be welded, it generates a repair welding completion report to the effect that the repair welding of the work to be welded is completed and notifies the higher-level device 1. As a result, the host device 1 can appropriately detect the completion of repair welding of the workpiece to be welded based on the robot control device 2. The method of detecting the completion of repair welding by the robot control device 2 may be, for example, a method of determining based on a signal indicating the completion of repair welding from a sensor (not shown) provided in the wire feeding device 300, or a known method. The method may be used, and the content of the method for detecting the completion of repair welding does not have to be limited.

溶接ロボットの一例としての溶接ロボットMC1は、ロボット制御装置2との間でデータの通信が可能に接続される。溶接ロボットMC1は、対応するロボット制御装置2の制御の下で、上位装置1から指令された本溶接あるいはリペア溶接を実行する。なお、上述したように、溶接ロボットMC1は、本溶接用に設けられた本溶接ロボットMC1aと、リペア溶接用に設けられたリペア溶接ロボットMC1bとにより構成されてもよい。 The welding robot MC1 as an example of the welding robot is connected to the robot control device 2 so as to be able to communicate data. The welding robot MC1 executes main welding or repair welding commanded by the host device 1 under the control of the corresponding robot control device 2. As described above, the welding robot MC1 may be composed of the main welding robot MC1a provided for the main welding and the repair welding robot MC1b provided for the repair welding.

リペア溶接装置の一例としての検査制御装置3は、上位装置1、ロボット制御装置2および検査装置4のそれぞれとの間でデータの通信が可能に接続される。検査制御装置3は、上位装置1から送られた外観検査の実行指令を受信すると、溶接ロボットMC1により生産された被溶接ワークの溶接箇所の外観検査(例えば、本溶接により形成された被溶接ワークの溶接ビードが予め既定されたマスタービードの形状と適合するか否かの検査)を検査装置4に実行させる。例えば、検査制御装置3は、外観検査の実行指令に含まれる被溶接ワークの溶接箇所情報に基づいて、検査装置4を制御して溶接箇所に形成された溶接ビードの形状を検出させ、本溶接ごとに予め既定された溶接のマスタービード(図示略)と実際に検出された溶接ビードとの形状をそれぞれ比較する。検査制御装置3は、前述した比較に基づいて外観検査報告を生成し、外観検査報告を上位装置1に送る。 The inspection control device 3 as an example of the repair welding device is connected so that data can be communicated with each of the host device 1, the robot control device 2, and the inspection device 4. When the inspection control device 3 receives the execution command of the appearance inspection sent from the higher-level device 1, the inspection control device 3 inspects the appearance of the welded portion of the work to be welded produced by the welding robot MC1 (for example, the work to be welded formed by the main welding). (Inspection of whether or not the weld bead of (1) conforms to the predetermined shape of the master bead) is performed by the inspection device 4. For example, the inspection control device 3 controls the inspection device 4 to detect the shape of the weld bead formed at the welded portion based on the welded portion information of the work to be welded included in the execution command of the visual inspection, and main welding. The shapes of the predetermined welding master bead (not shown) and the actually detected welding bead are compared for each. The inspection control device 3 generates a visual inspection report based on the above-mentioned comparison, and sends the visual inspection report to the higher-level device 1.

また、検査制御装置3は、被溶接ワークの外観検査が不合格であると判定すると、検査装置4から得られる溶接の不良が検出された箇所を示す検出点の位置情報を含む外観検査結果を用いて、溶接の不良箇所の補修等の修正を行う旨のリペア溶接プログラムを作成する。本明細書では、外観検査結果に含まれる検出点は複数個である。検査制御装置3は、このリペア溶接プログラムと外観検査結果とを対応付けてロボット制御装置2に送る。 Further, when the inspection control device 3 determines that the appearance inspection of the work to be welded has failed, the inspection control device 3 obtains the appearance inspection result including the position information of the detection point indicating the place where the welding defect obtained from the inspection device 4 is detected. Use it to create a repair welding program to repair defective parts of welding. In the present specification, there are a plurality of detection points included in the visual inspection result. The inspection control device 3 associates this repair welding program with the appearance inspection result and sends it to the robot control device 2.

検査装置4は、検査制御装置3との間でデータの通信が可能に接続される。なお図1では図示していないが、検査装置4が溶接ロボットMC1に取り付けられている場合には(図2参照)、検査装置4は、ロボット制御装置2の制御に基づくマニピュレータ200の駆動に応じて、ワークWkが載置された載置台を3次元のスキャンが可能に稼動可能である。検査装置4は、ロボット制御装置2の制御に基づくマニピュレータ200の駆動に応じて、ワークWkにおける溶接の不良箇所の有無を検査するために、検査制御装置3から送られた外観検査の実行指令に基づいて、その実行指令に含まれる溶接箇所情報と、溶接箇所の溶接ビードの形状データを取得して検査制御装置3に送る。検査制御装置3は、検査装置4から得られた形状データと前述したマスタービードの形状データとに基づいて、溶接箇所における溶接不良の有無を判定する(外観検査)。検査制御装置3は、溶接箇所のうち溶接不良であると判定された不良箇所情報(例えば、溶接の不良が検出された箇所を示す検出点、溶接の不良種別)を外観検査報告として作成する。 The inspection device 4 is connected so that data can be communicated with the inspection control device 3. Although not shown in FIG. 1, when the inspection device 4 is attached to the welding robot MC1 (see FIG. 2), the inspection device 4 responds to the drive of the manipulator 200 based on the control of the robot control device 2. Therefore, the mounting table on which the work Wk is mounted can be operated in a three-dimensional scan. The inspection device 4 responds to the drive of the manipulator 200 based on the control of the robot control device 2 in response to an execution command for visual inspection sent from the inspection control device 3 in order to inspect the presence or absence of welding defects in the work Wk. Based on this, the welding location information included in the execution command and the shape data of the welding bead at the welding location are acquired and sent to the inspection control device 3. The inspection control device 3 determines the presence or absence of welding defects at the welded portion based on the shape data obtained from the inspection device 4 and the shape data of the master bead described above (visual inspection). The inspection control device 3 creates defect location information (for example, a detection point indicating a location where a welding defect is detected, a welding defect type) among the welded portions as a visual inspection report.

図2は、実施の形態1に係る検査制御装置3、ロボット制御装置2および上位装置1の内部構成例を示す図である。説明を分かり易くするために、図2ではモニタMN1および入力インターフェースUI1の図示を省略する。 FIG. 2 is a diagram showing an example of internal configurations of the inspection control device 3, the robot control device 2, and the host device 1 according to the first embodiment. In order to make the explanation easier to understand, the monitor MN1 and the input interface UI1 are not shown in FIG.

溶接ロボットMC1は、ロボット制御装置2の制御の下で、例えば上位装置1から指令された本溶接、リペア溶接等の各種の工程を実行する。溶接ロボットMC1は、本溶接あるいはリペア溶接の工程において、例えばアーク溶接を行う。しかし、溶接ロボットMC1は、アーク溶接以外の他の溶接(例えば、レーザ溶接、ガス溶接)等を行ってもよい。この場合、図示は省略するが、溶接トーチ400に代わって、レーザヘッドを、光ファイバを介してレーザ発振器に接続してよい。溶接ロボットMC1は、マニピュレータ200と、ワイヤ送給装置300と、溶接ワイヤ301と、溶接トーチ400とを少なくとも含む構成である。 Under the control of the robot control device 2, the welding robot MC1 executes various processes such as main welding and repair welding commanded by the host device 1, for example. The welding robot MC1 performs, for example, arc welding in the main welding or repair welding process. However, the welding robot MC1 may perform welding other than arc welding (for example, laser welding, gas welding) and the like. In this case, although not shown, the laser head may be connected to the laser oscillator via an optical fiber instead of the welding torch 400. The welding robot MC1 has a configuration including at least a manipulator 200, a wire feeding device 300, a welding wire 301, and a welding torch 400.

マニピュレータ200は、多関節のアームを備え、ロボット制御装置2のロボット制御部25(後述参照)からの制御信号に基づいて、それぞれのアームを可動させる。これにより、マニピュレータ200は、ワークWkと溶接トーチ400との位置関係(例えば、ワークWkに対する溶接トーチ400の角度)をアームの駆動によって変更できる。 The manipulator 200 includes articulated arms, and each arm is moved based on a control signal from the robot control unit 25 (see below) of the robot control device 2. Thereby, the manipulator 200 can change the positional relationship between the work Wk and the welding torch 400 (for example, the angle of the welding torch 400 with respect to the work Wk) by driving the arm.

ワイヤ送給装置300は、ロボット制御装置2からの制御信号(後述参照)に基づいて、溶接ワイヤ301の送給速度を制御する。なお、ワイヤ送給装置300は、溶接ワイヤ301の残量を検出可能なセンサ(図示略)を備えてよい。ロボット制御装置2は、このセンサの出力に基づいて、本溶接あるいはリペア溶接の工程が完了したことを検出できる。 The wire feeding device 300 controls the feeding speed of the welding wire 301 based on a control signal (see below) from the robot control device 2. The wire feeding device 300 may include a sensor (not shown) capable of detecting the remaining amount of the welding wire 301. The robot control device 2 can detect that the main welding or repair welding process has been completed based on the output of this sensor.

溶接ワイヤ301は、溶接トーチ400に保持されている。溶接トーチ400に電源装置500から電力が供給されることで、溶接ワイヤ301の先端とワークWkとの間にアークが発生し、アーク溶接が行われる。なお、溶接トーチ400にシールドガスを供給するための構成等は、説明の便宜上、これらの図示および説明を省略する。 The welding wire 301 is held by the welding torch 400. When electric power is supplied to the welding torch 400 from the power supply device 500, an arc is generated between the tip of the welding wire 301 and the work Wk, and arc welding is performed. The configuration for supplying the shield gas to the welding torch 400 and the like are omitted from the illustration and description for convenience of explanation.

上位装置1は、ユーザにより予め入力あるいは設定された溶接関連情報を用いて、複数の元ワークのそれぞれを用いた本溶接あるいは被溶接ワークの溶接の不良箇所を補修等の修正を施すリペア溶接の各種の工程の実行指令を生成してロボット制御装置2に送る。上位装置1は、通信部10と、プロセッサ11と、メモリ12とを少なくとも含む構成である。 The host device 1 uses welding-related information input or set in advance by the user to perform repair welding such as repairing defective parts of main welding using each of a plurality of original workpieces or welding of the workpiece to be welded. Execution commands for various processes are generated and sent to the robot control device 2. The host device 1 has a configuration including at least a communication unit 10, a processor 11, and a memory 12.

通信部10は、ロボット制御装置2および外部ストレージSTのそれぞれとの間でデータの通信が可能に接続される。通信部10は、プロセッサ11により生成される本溶接あるいはリペア溶接の各種の工程の実行指令をロボット制御装置2に送る。通信部10は、ロボット制御装置2から送られる本溶接完了報告、外観検査報告あるいはリペア溶接完了報告を受信してプロセッサ11に出力する。なお、本溶接あるいはリペア溶接の実行指令には、例えば溶接ロボットMC1が備えるマニピュレータ200、ワイヤ送給装置300および電源装置500のそれぞれを制御するための制御信号が含まれてもよい。 The communication unit 10 is connected so that data can be communicated with each of the robot control device 2 and the external storage ST. The communication unit 10 sends an execution command of various processes of main welding or repair welding generated by the processor 11 to the robot control device 2. The communication unit 10 receives the main welding completion report, the visual inspection report, or the repair welding completion report sent from the robot control device 2 and outputs the repair welding completion report to the processor 11. The execution command of the main welding or the repair welding may include, for example, a control signal for controlling each of the manipulator 200, the wire feeding device 300, and the power supply device 500 included in the welding robot MC1.

プロセッサ11は、例えばCPU(Central Processing Unit)またはFPGA(Field Programmable Gate Array)を用いて構成され、メモリ12と協働して、各種の処理および制御を行う。具体的には、プロセッサ11は、メモリ12に保持されたプログラムを参照し、そのプログラムを実行することにより、セル制御部13を機能的に実現する。 The processor 11 is configured by using, for example, a CPU (Central Processing Unit) or an FPGA (Field Programmable Gate Array), and performs various processes and controls in cooperation with the memory 12. Specifically, the processor 11 functionally realizes the cell control unit 13 by referring to the program held in the memory 12 and executing the program.

メモリ12は、例えばプロセッサ11の処理を実行する際に用いられるワークメモリとしてのRAM(Random Access Memory)と、プロセッサ11の処理を規定したプログラムを格納するROM(Read Only Memory)とを有する。RAMには、プロセッサ11により生成あるいは取得されたデータが一時的に保存される。ROMには、プロセッサ11の処理を規定するプログラムが書き込まれている。また、メモリ12は、外部ストレージSTから読み出された溶接関連情報のデータ、ロボット制御装置2から送られた被溶接ワークあるいは被リペア溶接ワークのワーク情報(後述参照)のデータをそれぞれ記憶する。 The memory 12 includes, for example, a RAM (Random Access Memory) as a work memory used when executing the processing of the processor 11, and a ROM (Read Only Memory) for storing a program defining the processing of the processor 11. Data generated or acquired by the processor 11 is temporarily stored in the RAM. A program that defines the processing of the processor 11 is written in the ROM. Further, the memory 12 stores the welding-related information data read from the external storage ST and the work information (see below) of the work to be welded or the work to be repaired to be repaired sent from the robot control device 2, respectively.

セル制御部13は、外部ストレージSTに記憶されている溶接関連情報に基づいて、溶接関連情報において規定(言い換えると、設定)されている複数の元ワークを用いた本溶接あるいは被溶接ワークへのリペア溶接を実行するための実行指令を生成する。また、セル制御部13は、外部ストレージSTに記憶されている溶接関連情報に基づいて、本溶接された後のワークWk(例えば被溶接ワーク)の外観検査時の溶接ロボットMC1の駆動に関する外観検査用プログラム、更に、この外観検査用プログラムを含む外観検査用プログラムの実行指令を作成する。なお、この外観検査用プログラムは予め作成されて外部ストレージSTに保存されていてもよく、この場合には、セル制御部13は、外部ストレージSTから単に外観検査用プログラムを読み出して取得する。セル制御部13は、溶接ロボットMC1で実行される本溶接あるいはリペア溶接の各種の工程ごとに異なる実行指令を生成してよい。セル制御部13によって生成された本溶接あるいはリペア溶接の実行指令、あるいは外観検査用プログラムを含む外観検査用プログラムの実行指令は、通信部10を介して、対応するロボット制御装置2に送られる。 Based on the welding-related information stored in the external storage ST, the cell control unit 13 performs the main welding or the work to be welded using a plurality of original works specified (in other words, set) in the welding-related information. Generate an execution command to perform repair welding. Further, the cell control unit 13 performs an appearance inspection on driving the welding robot MC1 at the time of appearance inspection of the work Wk (for example, the work to be welded) after the main welding based on the welding-related information stored in the external storage ST. Program, and an execution command for the visual inspection program including this visual inspection program are created. The appearance inspection program may be created in advance and stored in the external storage ST. In this case, the cell control unit 13 simply reads the appearance inspection program from the external storage ST and acquires it. The cell control unit 13 may generate different execution commands for each of the various processes of main welding or repair welding executed by the welding robot MC1. The execution command of the main welding or the repair welding generated by the cell control unit 13, or the execution command of the appearance inspection program including the appearance inspection program is sent to the corresponding robot control device 2 via the communication unit 10.

ロボット制御装置2は、上位装置1から送られた本溶接あるいはリペア溶接の実行指令に基づいて、対応する溶接ロボットMC1(具体的には、マニピュレータ200、ワイヤ送給装置300、電源装置500)の処理を制御する。ロボット制御装置2は、通信部20と、プロセッサ21と、メモリ22とを少なくとも含む構成である。 The robot control device 2 is a welding robot MC1 (specifically, a manipulator 200, a wire feeding device 300, a power supply device 500) based on an execution command of main welding or repair welding sent from the host device 1. Control the process. The robot control device 2 has a configuration including at least a communication unit 20, a processor 21, and a memory 22.

通信部20は、上位装置1、検査制御装置3、溶接ロボットMC1との間でデータの通信が可能に接続される。なお、図2では図示を簡略化しているが、ロボット制御部25とマニピュレータ200との間、ロボット制御部25とワイヤ送給装置300との間、ならびに、電源制御部26と電源装置500との間は、それぞれ通信部20を介してデータの送受信が行われる。通信部20は、上位装置1から送られた本溶接あるいはリペア溶接の実行指令を受信する。通信部20は、本溶接により生産された被溶接ワークあるいはリペア溶接による修正によって生産された被リペア溶接ワークのワーク情報を上位装置1に送る。 The communication unit 20 is connected so that data can be communicated with the host device 1, the inspection control device 3, and the welding robot MC1. Although the illustration is simplified in FIG. 2, the robot control unit 25 and the manipulator 200, the robot control unit 25 and the wire feeding device 300, and the power supply control unit 26 and the power supply device 500 During that time, data is transmitted and received via the communication unit 20, respectively. The communication unit 20 receives an execution command for main welding or repair welding sent from the host device 1. The communication unit 20 sends the work information of the work to be welded produced by the main welding or the work to be repaired produced by the correction by the repair welding to the host device 1.

ここで、ワーク情報には、被溶接ワークあるいは被リペア溶接ワークのIDだけでなく、本溶接に使用される複数の元ワークのID、名前、溶接箇所、本溶接の実行時の溶接条件、リペア溶接の実行時の溶接条件が少なくとも含まれる。更に、ワーク情報には、被溶接ワークの不良箇所を示す複数の検出点のそれぞれの位置を示す情報(例えば座標)が含まれてもよい。また、溶接条件あるいはリペア溶接条件は、例えば元ワークの材質および厚み、溶接ワイヤ301の材質およびワイヤ径、シールドガス種、シールドガスの流量、溶接電流の設定平均値、溶接電圧の設定平均値、溶接ワイヤ301の送給速度および送給量、溶接回数、溶接時間等である。また、これらの他に、例えば本溶接あるいはリペア溶接の種別(例えばTIG溶接、MAG溶接、パルス溶接)を示す情報、マニピュレータ200の移動速度および移動時間が含まれても構わない。 Here, the work information includes not only the ID of the work to be welded or the work to be repaired, but also the ID, name, welding location, welding conditions at the time of execution of the main welding, and repair of a plurality of original works used for the main welding. At least the welding conditions at the time of performing the welding are included. Further, the work information may include information (for example, coordinates) indicating the positions of the plurality of detection points indicating the defective portion of the work to be welded. The welding conditions or repair welding conditions include, for example, the material and thickness of the original work, the material and wire diameter of the welding wire 301, the shield gas type, the flow rate of the shield gas, the set average value of the welding current, and the set average value of the welding voltage. The feeding speed and feeding amount of the welding wire 301, the number of weldings, the welding time, and the like. In addition to these, information indicating the type of main welding or repair welding (for example, TIG welding, MAG welding, pulse welding), the moving speed of the manipulator 200, and the moving time may be included.

プロセッサ21は、例えばCPUまたはFPGAを用いて構成され、メモリ22と協働して、各種の処理および制御を行う。具体的には、プロセッサ21は、メモリ22に保持されたプログラムを参照し、そのプログラムを実行することにより、本溶接プログラム作成部23、演算部24、ロボット制御部25および電源制御部26を機能的に実現する。 The processor 21 is configured by using, for example, a CPU or an FPGA, and cooperates with the memory 22 to perform various processes and controls. Specifically, the processor 21 refers to the program stored in the memory 22 and executes the program to function the welding program creation unit 23, the calculation unit 24, the robot control unit 25, and the power supply control unit 26. Realize.

メモリ22は、例えばプロセッサ21の処理を実行する際に用いられるワークメモリとしてのRAMと、プロセッサ21の処理を規定したプログラムを格納するROMとを有する。RAMには、プロセッサ21により生成あるいは取得されたデータが一時的に保存される。ROMには、プロセッサ21の処理を規定するプログラムが書き込まれている。また、メモリ22は、上位装置1から送られた本溶接あるいはリペア溶接の実行指令のデータ、本溶接により生産された被溶接ワークあるいはリペア溶接により生産された被リペア溶接ワークのワーク情報のデータをそれぞれ記憶する。また、メモリ22は、溶接ロボットMC1が実行する本溶接のプログラムを記憶する。本溶接のプログラムは、本溶接における溶接条件を用いて複数の元ワークを接合等する本溶接の具体的な手順(工程)を規定したプログラムである。 The memory 22 has, for example, a RAM as a work memory used when executing the processing of the processor 21, and a ROM for storing a program defining the processing of the processor 21. Data generated or acquired by the processor 21 is temporarily stored in the RAM. A program that defines the processing of the processor 21 is written in the ROM. Further, the memory 22 stores the data of the execution command of the main welding or the repair welding sent from the higher-level device 1 and the data of the work information of the work to be welded produced by the main welding or the work to be repaired produced by the repair welding. Remember each one. Further, the memory 22 stores the main welding program executed by the welding robot MC1. The main welding program is a program that defines a specific procedure (process) of the main welding for joining a plurality of original workpieces using the welding conditions in the main welding.

本溶接プログラム作成部23は、通信部20を介して上位装置1から送られた本溶接の実行指令に基づいて、実行指令に含まれる複数の元ワークのそれぞれのワーク情報(例えばID、名前、および元ワークの溶接箇所)を用いて、溶接ロボットMC1により実行される本溶接の本溶接プログラムを生成する。本溶接プログラムには、本溶接の実行中に電源装置500、マニピュレータ200、ワイヤ送給装置300、溶接トーチ400等を制御するための、溶接電流、溶接電圧、オフセット量、溶接速度、溶接トーチ400の姿勢等の各種のパラメータが含まれてよい。なお、生成された本溶接プログラムは、プロセッサ21内に記憶されてもよいし、メモリ22内のRAMに記憶されてもよい。 The main welding program creation unit 23 is based on the main welding execution command sent from the host device 1 via the communication unit 20, and the work information (for example, ID, name, etc.) of each of the plurality of original works included in the execution command. And the welded part of the original work) is used to generate the main weld program of the main weld executed by the welding robot MC1. This welding program includes a welding current, a welding voltage, an offset amount, a welding speed, and a welding torch 400 for controlling a power supply device 500, a manipulator 200, a wire feeding device 300, a welding torch 400, etc. during the execution of the main welding. Various parameters such as the posture of the device may be included. The generated main welding program may be stored in the processor 21 or may be stored in the RAM in the memory 22.

演算部24は、各種の演算を行う。例えば、演算部24は、本溶接プログラム作成部23により生成された本溶接プログラムに基づいて、ロボット制御部25により制御される溶接ロボットMC1(具体的には、マニピュレータ200、ワイヤ送給装置300および電源装置500のそれぞれ)を制御するためのパラメータの演算等を行う。 The calculation unit 24 performs various calculations. For example, the calculation unit 24 is a welding robot MC1 (specifically, a manipulator 200, a wire feeding device 300, and a wire feeding device 300) controlled by a robot control unit 25 based on the welding program generated by the welding program creation unit 23. The parameters for controlling each of the power supply devices 500) are calculated.

ロボット制御部25は、本溶接プログラム作成部23により生成された本溶接プログラムに基づいて、溶接ロボットMC1(具体的には、マニピュレータ200、ワイヤ送給装置300および電源装置500のそれぞれ)を駆動させるための制御信号を生成する。ロボット制御部25は、この生成された制御信号を溶接ロボットMC1に送る。また、ロボット制御部25は、上位装置1から送られた外観検査用プログラムに基づいて、本溶接プログラムにて規定されている溶接ロボットMC1の動作範囲を対象とするように外観検査中に溶接ロボットMC1のマニピュレータ200を駆動させる。これにより、溶接ロボットMC1に取り付けられた検査装置4(図2参照)は、溶接ロボットMC1の動作に伴って移動できて、ワークWkの溶接ビードを対象とした溶接不良の外観検査を行える。 The robot control unit 25 drives the welding robot MC1 (specifically, each of the manipulator 200, the wire feeding device 300, and the power supply device 500) based on the welding program generated by the welding program creation unit 23. To generate a control signal for. The robot control unit 25 sends this generated control signal to the welding robot MC1. Further, the robot control unit 25 is a welding robot during the visual inspection so as to cover the operating range of the welding robot MC1 defined in this welding program based on the visual inspection program sent from the host device 1. The manipulator 200 of MC1 is driven. As a result, the inspection device 4 (see FIG. 2) attached to the welding robot MC1 can be moved along with the operation of the welding robot MC1 to perform an appearance inspection of welding defects on the welding beads of the work Wk.

電源制御部26は、本溶接プログラム作成部23により生成された本溶接プログラムと演算部24の演算結果とに基づいて、電源装置500を駆動させる。 The power supply control unit 26 drives the power supply device 500 based on the main welding program generated by the main welding program creation unit 23 and the calculation result of the calculation unit 24.

検査制御装置3は、上位装置1から送られた外観検査の実行指令に基づいて、溶接ロボットMC1による本溶接により生産された被溶接ワークあるいは被リペア溶接ワークの外観検査の処理を制御する。外観検査は、例えば、被溶接ワークあるいは被リペア溶接ワークに形成された溶接ビードの形状が既定の溶接基準あるいは溶接箇所の強度基準、被溶接ワークあるいは被リペア溶接ワークの品質基準を満たすか否かの検査である。以下の説明を簡単にするために、検査制御装置3は、検査装置4により取得された溶接ビードの形状を示す3D(Dimension)の点群データに基づいて、ワークWk(例えば被溶接ワークあるいは被リペア溶接ワーク)に形成された溶接ビードが所定の溶接基準(例えばワークWkに応じた既定のマスタービードの形状と同一あるいは類似する)を満たすか否かの外観検査を行う。以下、溶接ビードの形状を示す3Dの点群データ中でマスタービードの形状とは大きく異なる(つまり、マスタービードの形状と一致も類似もしない)と判定された溶接箇所を「検出点」と定義する。言い換えると、検出点の位置を示す情報(例えば3Dの位置座標)は、検査制御装置3により検出される。検査制御装置3は、通信部30と、プロセッサ31と、メモリ32と、検査結果記憶部33とを少なくとも含む構成である。 The inspection control device 3 controls the processing of the appearance inspection of the work to be welded or the work to be repaired to be repaired produced by the main welding by the welding robot MC1 based on the execution command of the appearance inspection sent from the higher-level device 1. In the visual inspection, for example, whether or not the shape of the weld bead formed on the work to be welded or the work to be repaired meets the predetermined welding standard or the strength standard of the welded part, and the quality standard of the work to be welded or the work to be repaired. It is an inspection of. For simplification of the following description, the inspection control device 3 has a work Wk (for example, a work to be welded or a work to be welded) based on 3D (Dimension) point cloud data indicating the shape of the weld bead acquired by the inspection device 4. A visual inspection is performed to see if the weld bead formed on the repair weld work) meets a predetermined welding standard (for example, the same or similar to the shape of a predetermined master bead according to the work Wk). Hereinafter, the welded points determined to be significantly different from the shape of the master bead (that is, neither match nor similar to the shape of the master bead) in the 3D point cloud data indicating the shape of the weld bead are defined as "detection points". To do. In other words, the information indicating the position of the detection point (for example, 3D position coordinates) is detected by the inspection control device 3. The inspection control device 3 has a configuration including at least a communication unit 30, a processor 31, a memory 32, and an inspection result storage unit 33.

通信部30は、上位装置1、ロボット制御装置2、検査装置4との間でデータの通信が可能に接続される。なお、図2では図示を簡略化しているが、形状検出制御部35と検査装置4との間は、それぞれ通信部30を介してデータの送受信が行われる。通信部30は、上位装置1から送られた外観検査の実行指令を受信する。通信部30は、検査装置4を用いた外観検査の外観検査結果(例えば、被溶接ワークあるいは被リペア溶接ワークにおける溶接の不良箇所の有無)を上位装置1に送る。 The communication unit 30 is connected so that data can be communicated with the host device 1, the robot control device 2, and the inspection device 4. Although the illustration is simplified in FIG. 2, data is transmitted and received between the shape detection control unit 35 and the inspection device 4 via the communication unit 30, respectively. The communication unit 30 receives the visual inspection execution command sent from the host device 1. The communication unit 30 sends the appearance inspection result of the appearance inspection using the inspection device 4 (for example, the presence or absence of a welding defect in the work to be welded or the work to be repaired) to the higher-level device 1.

プロセッサ31は、例えばCPUまたはFPGAを用いて構成され、メモリ32と協働して、各種の処理および制御を行う。具体的には、プロセッサ31は、メモリ32に保持されたプログラムを参照し、そのプログラムを実行することにより、判定閾値記憶部34、形状検出制御部35、データ処理部36、検査結果判定部37およびリペア溶接プログラム作成部38を機能的に実現する。 The processor 31 is configured by using, for example, a CPU or an FPGA, and performs various processes and controls in cooperation with the memory 32. Specifically, the processor 31 refers to the program held in the memory 32 and executes the program to execute the determination threshold storage unit 34, the shape detection control unit 35, the data processing unit 36, and the inspection result determination unit 37. And the repair welding program creation unit 38 is functionally realized.

メモリ32は、例えばプロセッサ31の処理を実行する際に用いられるワークメモリとしてのRAMと、プロセッサ31の処理を規定したプログラムを格納するROMとを有する。RAMには、プロセッサ31により生成あるいは取得されたデータが一時的に保存される。ROMには、プロセッサ31の処理を規定するプログラムが書き込まれている。また、メモリ32は、上位装置1から送られた被溶接ワークの外観検査の実行指令のデータ、本溶接により生産された被溶接ワークあるいはリペア溶接により生産された被リペア溶接ワークのワーク情報のデータをそれぞれ記憶する。また、メモリ32は、リペア溶接プログラム作成部38により作成されたリペア溶接プログラムのデータを記憶する。リペア溶接プログラムは、リペア溶接における溶接条件と外観検査結果に含まれる複数の検出点の出力順序を溶接ロボットMC1の本溶接時あるいはリペア溶接時の動作方向と一致するように並び替えた複数の検出点に基づく対象区間(後述参照)の位置情報とを用いて、被溶接ワークにおける溶接の複数の不良箇所のそれぞれの補修等の修正を行うリペア溶接の具体的な手順(工程)を規定したプログラムである。このプログラムは、リペア溶接プログラム作成部38により作成され、検査制御装置3からロボット制御装置2に送られる。 The memory 32 has, for example, a RAM as a work memory used when executing the processing of the processor 31, and a ROM for storing a program defining the processing of the processor 31. Data generated or acquired by the processor 31 is temporarily stored in the RAM. A program that defines the processing of the processor 31 is written in the ROM. Further, the memory 32 contains data of an execution command for visual inspection of the work to be welded sent from the host device 1, data of work information of the work to be welded produced by main welding or work information of the work to be repaired produced by repair welding. Are memorized respectively. Further, the memory 32 stores the data of the repair welding program created by the repair welding program creation unit 38. The repair welding program rearranges the output order of the plurality of detection points included in the welding conditions and the appearance inspection result in the repair welding so as to match the operation direction during the main welding or the repair welding of the welding robot MC1. A program that defines specific procedures (processes) for repair welding that repairs, etc., each of multiple defective parts of welding in the workpiece to be welded, using the position information of the target section (see below) based on points. Is. This program is created by the repair welding program creation unit 38, and is sent from the inspection control device 3 to the robot control device 2.

検査結果記憶部33は、例えばハードディスクあるいはソリッドステートドライブを用いて構成される。検査結果記憶部33は、プロセッサ31により生成あるいは取得されるデータの一例として、ワークWk(例えば被溶接ワークあるいは被リペア溶接ワーク)における溶接箇所の外観検査結果を示すデータを記憶する。この外観検査結果を示すデータは、例えば検査結果判定部37により生成される。 The inspection result storage unit 33 is configured by using, for example, a hard disk or a solid state drive. The inspection result storage unit 33 stores data showing the appearance inspection result of the welded portion in the work Wk (for example, the work to be welded or the work to be repaired) as an example of the data generated or acquired by the processor 31. The data showing the visual inspection result is generated by, for example, the inspection result determination unit 37.

判定閾値記憶部34は、例えばプロセッサ31内に設けられたキャッシュメモリにより構成され、溶接箇所に応じて検査結果判定部37による判定処理において用いられる閾値(例えば、溶接箇所に応じて設定されたそれぞれの閾値)を記憶する。それぞれの閾値は、例えば溶接箇所の位置ずれに関する許容範囲(閾値)、溶接ビードの高さに関する閾値、溶接ビードの幅に関する閾値である。判定閾値記憶部34は、リペア溶接後の外観検査時の各閾値として、顧客等から要求される最低限の溶接品質を満たす許容範囲(例えば、溶接ビードの高さに関する最小許容値、最大許容値など)を記憶してよい。更に、判定閾値記憶部34は、溶接箇所ごとに外観検査の回数上限値を記憶してもよい。これにより、検査制御装置3は、リペア溶接によって不良箇所を修正する際に所定の回数上限値を上回る場合に、溶接ロボットMC1による自動リペア溶接による不良箇所の修正が困難あるいは不可能と判定して、溶接システム100の稼動率の低下を抑制できる。 The determination threshold storage unit 34 is composed of, for example, a cache memory provided in the processor 31, and the threshold value used in the determination process by the inspection result determination unit 37 according to the welding location (for example, each set according to the welding location). Threshold) is memorized. Each threshold value is, for example, an allowable range (threshold value) for misalignment of the welded portion, a threshold value for the height of the weld bead, and a threshold value for the width of the weld bead. The determination threshold storage unit 34 has a permissible range (for example, a minimum permissible value and a maximum permissible value regarding the height of the welding bead) that satisfy the minimum welding quality required by a customer or the like as each threshold value at the time of visual inspection after repair welding. Etc.) may be memorized. Further, the determination threshold value storage unit 34 may store the upper limit value of the number of appearance inspections for each welded portion. As a result, the inspection control device 3 determines that it is difficult or impossible to correct the defective part by the automatic repair welding by the welding robot MC1 when the upper limit of the predetermined number of times is exceeded when the defective part is corrected by the repair welding. , It is possible to suppress a decrease in the operating rate of the welding system 100.

形状検出制御部35は、上位装置1あるいはロボット制御装置2から送られたワークWk(例えば被溶接ワーク)の溶接箇所の外観検査の実行指令に基づいて、外観検査においてロボット制御装置2が外観検査用プログラムに基づいて検査装置4が取り付けられた溶接ロボットMC1を動作させている間、検査装置4から送られた溶接箇所における溶接ビードの形状データ(例えば3Dの点群データ)を取得する。形状検出制御部35は、上述したロボット制御装置2によるマニピュレータ200の駆動に応じて検査装置4が溶接箇所を撮像可能(言い換えると、溶接箇所の3次元形状を検出可能)な位置に位置すると、例えばレーザ光線を検査装置4から照射させて溶接箇所における溶接ビードの形状データを取得させる。形状検出制御部35は、検査装置4により取得された溶接ビードの形状データを受信すると、この形状データをデータ処理部36に渡す。 In the shape detection control unit 35, the robot control device 2 performs an appearance inspection in the appearance inspection based on an execution command of the appearance inspection of the welded portion of the work Wk (for example, the work to be welded) sent from the host device 1 or the robot control device 2. While the welding robot MC1 to which the inspection device 4 is attached is operated based on the test device 4, the shape data of the weld bead (for example, 3D point group data) at the welding point sent from the inspection device 4 is acquired. When the shape detection control unit 35 is located at a position where the inspection device 4 can image the welded portion (in other words, can detect the three-dimensional shape of the welded portion) in response to the drive of the manipulator 200 by the robot control device 2 described above, For example, a laser beam is irradiated from the inspection device 4 to acquire shape data of the weld bead at the welded portion. When the shape detection control unit 35 receives the shape data of the weld bead acquired by the inspection device 4, the shape detection control unit 35 passes the shape data to the data processing unit 36.

データ処理部36は、形状検出制御部35からの溶接箇所における溶接ビードの形状データを、溶接箇所の3次元形状を示す画像データに変換する。形状データは、例えば、溶接ビードの表面に照射されたレーザ光線の反射軌跡からなる形状線の点群データである。データ処理部36は、入力された形状データに対して統計処理を実行し、溶接箇所における溶接ビードの3次元形状に関する画像データを生成する。なお、データ処理部36は、溶接ビードの位置および形状を強調するために、溶接ビードの周縁部分を強調したエッジ強調補正を行ってもよい。なお、データ処理部36は、溶接箇所あるいは不良箇所ごとに外観検査回数をカウントし、外観検査回数がメモリ32に予め記憶された回数を超えても溶接検査結果が良好にならない場合、自動リペア溶接による不良箇所の修正が困難あるいは不可能と判定してよい。この場合、検査結果判定部37は、不良箇所の位置および不良要因を含むアラート画面を生成し、生成されたアラート画面を、通信部30を介して上位装置1に送る。上位装置1に送られたアラート画面は、モニタMN1に表示される。 The data processing unit 36 converts the shape data of the weld bead at the welded portion from the shape detection control unit 35 into image data showing the three-dimensional shape of the welded portion. The shape data is, for example, point cloud data of a shape line composed of a reflection locus of a laser beam applied to the surface of a weld bead. The data processing unit 36 executes statistical processing on the input shape data and generates image data regarding the three-dimensional shape of the weld bead at the welded portion. The data processing unit 36 may perform edge enhancement correction that emphasizes the peripheral portion of the weld bead in order to emphasize the position and shape of the weld bead. The data processing unit 36 counts the number of appearance inspections for each welded part or defective part, and if the number of appearance inspections exceeds the number of times stored in advance in the memory 32, the welding inspection result is not good, automatic repair welding is performed. It may be determined that it is difficult or impossible to correct the defective part by the above. In this case, the inspection result determination unit 37 generates an alert screen including the position of the defective portion and the defect factor, and sends the generated alert screen to the host device 1 via the communication unit 30. The alert screen sent to the host device 1 is displayed on the monitor MN1.

検査結果判定部37は、判定閾値記憶部34に記憶された閾値を用いて、形状検出制御部35により取得された溶接箇所における溶接ビードの形状データに基づいて、溶接箇所が所定の溶接基準を満たすか否か(例えば、本溶接あるいはリペア溶接により形成された溶接ビードが対応するマスタービードの形状と一致あるいは類似するか否か)の判定を行う。検査結果判定部37は、溶接不良の検出点(上述参照)の位置(例えば、不良箇所の開始位置と終了位置(図4、図6、図8参照)等)を計測し、不良内容を分析して不良要因を推定する。検査結果判定部37は、上述した判定において、溶接ビードの形状データに基づいて、溶接ビード上に形成される溶接線上の溶接箇所ごとに検査スコアを算出する。取得部の一例としての検査結果判定部37は、計測された不良箇所の位置、検査スコア、推定された不良要因のそれぞれを溶接箇所に対する外観検査結果(外観検査報告)として生成して取得し、生成された外観検査結果をメモリ32に記憶するとともに、通信部30を介して上位装置1に送る。なお、検査結果判定部37は、上述した検査スコアに基づいて、溶接ロボットMC1によるリペア溶接が可能であるか否か(言い換えると、溶接ロボットMC1によるリペア溶接がよいか、あるいは人手によるリペア溶接がよいか)を判定し、その判定結果を外観検査結果(外観検査報告)に含めて出力してよい。 The inspection result determination unit 37 uses the threshold value stored in the determination threshold value storage unit 34, and the welded portion sets a predetermined welding standard based on the shape data of the weld bead at the welded portion acquired by the shape detection control unit 35. Whether or not the condition is satisfied (for example, whether or not the weld bead formed by main welding or repair welding matches or resembles the shape of the corresponding master bead) is determined. The inspection result determination unit 37 measures the position of the welding defect detection point (see above) (for example, the start position and end position of the defective portion (see FIGS. 4, 6 and 8), etc.) and analyzes the content of the defect. And estimate the cause of failure. In the above-mentioned determination, the inspection result determination unit 37 calculates an inspection score for each welding location on the welding line formed on the welding bead based on the shape data of the welding bead. The inspection result determination unit 37 as an example of the acquisition unit generates and acquires each of the measured position of the defective part, the inspection score, and the estimated defect factor as the appearance inspection result (appearance inspection report) for the welded part. The generated visual inspection result is stored in the memory 32 and sent to the host device 1 via the communication unit 30. The inspection result determination unit 37 determines whether repair welding by the welding robot MC1 is possible based on the above-mentioned inspection score (in other words, repair welding by the welding robot MC1 is preferable, or manual repair welding is performed. Is it okay?), And the judgment result may be included in the visual inspection result (visual inspection report) and output.

リペア溶接プログラム作成部38は、検査結果判定部37によるワークWk(例えば被溶接ワークあるいは被リペア溶接ワーク)の外観検査結果と被溶接ワークあるいは被リペア溶接ワークのワーク情報(例えば被溶接ワークあるいは被リペア溶接ワークに発生した溶接不良の複数の検出点の位置を示す座標等の情報)とを用いて、溶接ロボットMC1により実行されるべきワークWk(例えば被溶接ワークあるいは被リペア溶接ワーク)のリペア溶接プログラムを作成する。リペア溶接プログラムの作成手順の詳細については、図4、図5、図6、図7、図8、図9および図10を参照して後述する。リペア溶接プログラムには、リペア溶接の実行中に電源装置500、マニピュレータ200、ワイヤ送給装置300、溶接トーチ400等を制御するための、溶接電流、溶接電圧、オフセット量、溶接速度、溶接トーチ400の姿勢等の各種のパラメータが含まれてよい。なお、生成されたリペア溶接プログラムは、プロセッサ31内に記憶されてもよいし、メモリ32内のRAMに記憶されてもよい。 The repair welding program creation unit 38 uses the inspection result determination unit 37 to check the appearance of the work Wk (for example, the work to be welded or the work to be repaired) and the work information of the work to be welded or the work to be repaired (for example, the work to be welded or the work to be repaired). Repair of work Wk (for example, work to be welded or work to be repaired) to be executed by the welding robot MC1 using information such as coordinates indicating the positions of multiple detection points of welding defects generated in the repair welding work. Create a welding program. The details of the procedure for creating the repair welding program will be described later with reference to FIGS. 4, 5, 6, 7, 7, 8, 9 and 10. The repair welding program includes welding current, welding voltage, offset amount, welding speed, welding torch 400, etc. for controlling the power supply device 500, the manipulator 200, the wire feeder 300, the welding torch 400, etc. during the execution of repair welding. Various parameters such as the posture of the device may be included. The generated repair welding program may be stored in the processor 31 or in the RAM in the memory 32.

検査装置4は、例えば3次元形状センサであり、溶接ロボットMC1の先端に取り付けられ、ワークWk(例えば、被溶接ワーク)上の溶接箇所の形状を特定し得る複数の点群データを取得可能であり、この点群データに基づいて溶接箇所の形状データ(言い換えると、溶接ビードの画像データ)を生成して検査制御装置3に送る。なお、検査装置4は、溶接ロボットMC1の先端に取り付けられていなく、溶接ロボットMC1とは別個に配置されている場合には、検査制御装置3から送られた溶接箇所の位置情報に基づいて、ワークWk(例えば、被溶接ワークあるいは被リペア溶接ワーク)上の溶接箇所を走査可能に構成されたレーザ光源(図示略)と、溶接箇所の周辺を含む撮像領域を撮像可能に配置され、溶接箇所に照射されたレーザ光のうち反射されたレーザ光の反射軌跡(つまり、溶接箇所の形状線)を撮像するカメラ(図示略)とにより構成されてよい。この場合、検査装置4は、カメラにより撮像されたレーザ光に基づく溶接箇所の形状データ(言い換えると、溶接ビードの画像データ)を検査制御装置3に送る。なお、上述したカメラは、少なくともレンズ(図示略)とイメージセンサ(図示略)とを有して構成される。イメージセンサは、例えばCCD(Charge Coupled Device)またはCMOS(Complementary Metal Oxide Semi−conductor)等の固体撮像素子であり、撮像面に結像した光学像を電気信号に変換する。 The inspection device 4 is, for example, a three-dimensional shape sensor, which is attached to the tip of the welding robot MC1 and can acquire a plurality of point group data capable of identifying the shape of the welded portion on the work Wk (for example, the work to be welded). Yes, based on this point group data, shape data of the welded portion (in other words, image data of the weld bead) is generated and sent to the inspection control device 3. When the inspection device 4 is not attached to the tip of the welding robot MC1 and is arranged separately from the welding robot MC1, the inspection device 4 is based on the position information of the welding portion sent from the inspection control device 3. A laser light source (not shown) configured to scan the welded portion on the work Wk (for example, the work to be welded or the workpiece to be repaired) and an imaging region including the periphery of the welded portion are arranged so as to be able to image the welded portion. It may be configured by a camera (not shown) that captures the reflection locus (that is, the shape line of the welded portion) of the reflected laser light among the laser light radiated to the weld. In this case, the inspection device 4 sends the shape data of the welded portion (in other words, the image data of the weld bead) based on the laser beam imaged by the camera to the inspection control device 3. The camera described above includes at least a lens (not shown) and an image sensor (not shown). The image sensor is a solid-state image sensor such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semi-conductor), and converts an optical image imaged on an imaging surface into an electric signal.

(溶接システムの動作)
次に、実施の形態1に係る溶接システム100による本溶接およびリペア溶接の動作手順について、図3Aを参照して説明する。図3Aは、実施の形態1に係る溶接システム100による本溶接およびリペア溶接の動作手順例を示すシーケンス図である。図3Bは、実施の形態1に係る溶接システム100による本溶接およびリペア溶接の動作手順の変形例を示すシーケンス図である。図3Aおよび図3Bの説明では、複数の元ワークを用いた本溶接、そして被溶接ワークの外観検査が不合格となったことに基づいて行われるリペア溶接の各工程に関して上位装置1とロボット制御装置2と検査制御装置3との間で行われる動作手順を例示して説明する。
(Operation of welding system)
Next, the operation procedure of the main welding and the repair welding by the welding system 100 according to the first embodiment will be described with reference to FIG. 3A. FIG. 3A is a sequence diagram showing an example of operating procedures for main welding and repair welding by the welding system 100 according to the first embodiment. FIG. 3B is a sequence diagram showing a modified example of the operation procedure of the main welding and the repair welding by the welding system 100 according to the first embodiment. In the description of FIGS. 3A and 3B, the host device 1 and the robot control are used for each process of main welding using a plurality of original workpieces and repair welding performed based on the failure of the visual inspection of the workpiece to be welded. The operation procedure performed between the device 2 and the inspection control device 3 will be described as an example.

図3Aあるいは図3Bにおいて、上位装置1は、本溶接の対象となる元ワークのワーク情報(例えばID、名前、および元ワークの溶接箇所)をそれぞれ取得し(St1)、元ワークのワーク情報を含む本溶接の実行指令を生成する。上位装置1は、元ワークのワーク情報を含む本溶接の実行指令をロボット制御装置2に送る(St2)。なお、上位装置1を介さずに、ロボット制御装置2が、ステップSt1,ステップSt2の処理をそれぞれ実行してもよい。この場合には、ロボット制御装置2のメモリ22には外部ストレージSTに保存されているデータと同じデータが保存されているか、あるいはロボット制御装置2が外部ストレージSTからデータの取得を可能に接続されていることが好ましい。 In FIG. 3A or FIG. 3B, the host device 1 acquires the work information (for example, ID, name, and welded portion of the original work) of the original work to be welded, respectively (St1), and obtains the work information of the original work. Generate a command to execute the main welding including. The host device 1 sends a command for executing the main welding including the work information of the original work to the robot control device 2 (St2). The robot control device 2 may execute the processes of step St1 and step St2, respectively, without going through the host device 1. In this case, the memory 22 of the robot control device 2 stores the same data as the data stored in the external storage ST, or the robot control device 2 is connected so that data can be acquired from the external storage ST. Is preferable.

ロボット制御装置2は、上位装置1から送られた本溶接の実行指令を受信すると、その実行指令に含まれる複数の元ワークのそれぞれのワーク情報を用いて、溶接ロボットMC1により実行される本溶接の本溶接プログラムを作成し、その本溶接プログラムに従った本溶接を溶接ロボットMC1に実行させる(St3)。ロボット制御装置2は、種々の公知方法により、溶接ロボットMC1による複数の元ワークのそれぞれの本溶接の完了を判定すると、複数の元ワークのそれぞれの本溶接が完了した旨の本溶接完了通知を生成して上位装置1に送る(St4)。上位装置1は、この本溶接完了通知を受けて、被溶接ワークの外観検査の実行指令を生成して検査制御装置3に送る(St5)。なお、図3Bに示すように、上位装置1は、本溶接完了通知を受けると、被溶接ワークの外観検査用プログラムを含む外観検査用プログラムの実行指令を生成してロボット制御装置2に送ってよい(St4.5)。この場合、図3Bに示すように、ロボット制御装置2は、被溶接ワークの外観検査の実行指令を生成して検査制御装置3に送るとともに(St5)、外観検査の開始に伴って上位装置1から受けた外観検査用プログラムを実行して溶接ロボットMC1に取り付けられた検査装置4を動かす。 When the robot control device 2 receives the execution command of the main welding sent from the higher-level device 1, the robot control device 2 uses the work information of each of the plurality of original workpieces included in the execution command to execute the main welding by the welding robot MC1. The main welding program is created, and the welding robot MC1 is made to execute the main welding according to the main welding program (St3). When the robot control device 2 determines the completion of the main welding of the plurality of original workpieces by the welding robot MC1 by various known methods, the robot control device 2 notifies the completion of the main welding of the plurality of original workpieces to the effect that the main welding of the plurality of original workpieces has been completed. Generate and send to higher-level device 1 (St4). Upon receiving this welding completion notification, the host device 1 generates an execution command for visual inspection of the workpiece to be welded and sends it to the inspection control device 3 (St5). As shown in FIG. 3B, when the host device 1 receives the main welding completion notification, it generates an execution command for an appearance inspection program including an appearance inspection program for the workpiece to be welded and sends it to the robot control device 2. Good (St4.5). In this case, as shown in FIG. 3B, the robot control device 2 generates an execution command for the appearance inspection of the workpiece to be welded and sends it to the inspection control device 3 (St5), and at the same time, the higher-level device 1 is accompanied by the start of the appearance inspection. The inspection device 4 attached to the welding robot MC1 is operated by executing the visual inspection program received from.

検査制御装置3は、ロボット制御装置2により検査装置4が被溶接ワークの溶接箇所を走査可能に動いている中で、ステップSt5において送られた外観検査の実行指令に基づいて、被溶接ワークを対象とした外観検査を検査装置4に実行させる(St6)。検査制御装置3は、ステップSt6の外観検査の結果、被溶接ワークには複数の溶接の不良箇所があるために検査スコア等に基づいてリペア溶接が必要であると判定し(St7)、本溶接プログラムをロボット制御装置2より取得し(St8)、この本溶接プログラムの一部を改変することでリペア溶接プログラムを作成する(St8)。なお、改変される一部は、例えばリペア溶接が行われる箇所(範囲)を示す内容である。また、図3Aでは詳細の図示を省略しているが、検査制御装置3は、ステップSt8において本溶接プログラムのデータをロボット制御装置2に要求し、この要求に応じてロボット制御装置2から送られた本溶接プログラムのデータを取得してよいし、あるいはステップSt3の後にロボット制御装置2から送られた本溶接プログラムのデータを予め取得してもよい。これにより、検査制御装置3は、この取得した本溶接プログラムのデータを部分的に改変することで、効率的にリペア溶接プログラムのデータを作成することができる。検査制御装置3は、ステップSt7での判定結果とリペア溶接プログラムとを含む外観検査報告を生成してロボット制御装置2に送る(St9)。また、検査制御装置3は、同様に生成された外観検査報告を上位装置1に送る(St10)。 The inspection control device 3 performs the work to be welded based on the execution command of the visual inspection sent in step St5 while the inspection device 4 is moving so as to be able to scan the welded portion of the work to be welded by the robot control device 2. The target visual inspection is performed by the inspection device 4 (St6). As a result of the visual inspection in step St6, the inspection control device 3 determines that repair welding is necessary based on the inspection score and the like because the workpiece to be welded has a plurality of defective parts of welding (St7), and the main welding is performed. The program is acquired from the robot control device 2 (St8), and a repair welding program is created by modifying a part of this welding program (St8). In addition, a part to be modified is a content indicating, for example, a place (range) where repair welding is performed. Further, although detailed illustration is omitted in FIG. 3A, the inspection control device 3 requests the data of the present welding program from the robot control device 2 in step St8, and is sent from the robot control device 2 in response to this request. The data of the main welding program may be acquired, or the data of the main welding program sent from the robot control device 2 after step St3 may be acquired in advance. As a result, the inspection control device 3 can efficiently create the data of the repair welding program by partially modifying the acquired data of the main welding program. The inspection control device 3 generates an appearance inspection report including the determination result in step St7 and the repair welding program and sends it to the robot control device 2 (St9). Further, the inspection control device 3 sends the similarly generated visual inspection report to the higher-level device 1 (St10).

上位装置1は、ステップSt10での外観検査報告を受けて、被溶接ワークを対象としたリペア溶接の実行指令を生成してロボット制御装置2に送る(St11)。ロボット制御装置2は、上位装置1から送られたリペア溶接の実行指令を受信すると、その実行指令で指定される被溶接ワークを対象としたリペア溶接プログラム(ステップSt9で受領)に基づいて、そのリペア溶接プログラムに従ったリペア溶接を溶接ロボットMC1に実行させる(St12)。ロボット制御装置2は、種々の公知方法により、溶接ロボットMC1による被溶接ワークのリペア溶接の完了を判定すると、リペア溶接により生産された被リペア溶接ワークのワーク情報(例えば、被リペア溶接ワークのID、本溶接に使用された複数の元ワークのそれぞれのIDを含むワーク情報(例えば元ワークのID、名前、元ワークの溶接箇所)、本溶接およびリペア溶接の各実行時の溶接条件))を上位装置1に送る(St13)。 Upon receiving the visual inspection report in step St10, the host device 1 generates a repair welding execution command for the work to be welded and sends it to the robot control device 2 (St11). When the robot control device 2 receives the repair welding execution command sent from the host device 1, the robot control device 2 receives the repair welding execution command for the work to be welded specified by the execution command based on the repair welding program (received in step St9). The welding robot MC1 is made to perform repair welding according to the repair welding program (St12). When the robot control device 2 determines the completion of the repair welding of the work to be welded by the welding robot MC1 by various known methods, the work information of the work to be repaired produced by the repair welding (for example, the ID of the work to be repaired) , Work information including the IDs of the plurality of original works used for the main work (for example, the ID and name of the original work, the welding location of the original work), and the welding conditions at the time of each execution of the main work and the repair weld). It is sent to the host device 1 (St13).

上位装置1は、ロボット制御装置2から送られた被リペア溶接ワークのIDを含むワーク情報を受信すると、被リペア溶接ワークのIDに対応するユーザ事業者に適する管理用IDを設定するとともに、この管理用IDに対応する被リペア溶接ワークの溶接が完了した旨のデータを外部ストレージSTに保存する(St14)。 When the host device 1 receives the work information including the ID of the welded work to be repaired sent from the robot control device 2, it sets a management ID suitable for the user company corresponding to the ID of the welded work to be repaired, and also sets the management ID suitable for the user company. The data indicating that the welding of the work to be repaired corresponding to the management ID has been completed is saved in the external storage ST (St14).

次に、リペア溶接プログラムの作成において、検査装置4から出力された複数の検出点(つまり、溶接の不良箇所を示す位置)を用いて、複数の検出点の出力順序を溶接ロボットMC1の本溶接時あるいはリペア溶接時の動作方向と一致するように並び替える動作概要例について、図4、図5、図6、図7、図8、図9および図10を参照して詳細に説明する。以下の説明の前提として、外観検査時に被溶接ワークにおける不良箇所の有無の検出方向と、本溶接時およびリペア溶接時に溶接ロボットMC1により行われる本溶接およびリペア溶接の方向とが一致せず、反対方向である(図4、図6、図8参照)。 Next, in creating the repair welding program, the output order of the plurality of detection points is set to the main welding of the welding robot MC1 by using the plurality of detection points (that is, the positions indicating the defective welding points) output from the inspection device 4. An example of an outline of the operation of rearranging the parts so as to match the operation direction at the time of time or repair welding will be described in detail with reference to FIGS. 4, 5, 6, 7, 8, 9, and 10. As a premise of the following explanation, the direction of detecting the presence or absence of defective parts in the workpiece to be welded at the time of visual inspection does not match the direction of main welding and repair welding performed by the welding robot MC1 at the time of main welding and repair welding, and is opposite. The direction (see FIGS. 4, 6, and 8).

(第1動作概要例)
図4は、複数の検出点の出力順序を溶接ロボットMC1の動作方向と一致するための並び替えに関する第1動作概要例を模式的に示す図である。図5は、図4に示される複数の検出点の並び替え例を模式的に示す図である。図10は、リペア溶接プログラムの作成に関する動作手順例を示すフローチャートである。実施の形態1では、図8に示すフローチャートは、検査制御装置3に内蔵されるプロセッサ31(具体的には、リペア溶接プログラム作成部38)により実行される。第1動作概要例では、溶接線(本溶接時の溶接ロボットMC1が動作した動作軌跡。以下同様。)上に、不良箇所の位置を示す複数の検出点が存在しており、例えば溶接の不良としてビード欠け(つまり、本溶接により溶接ビードが部分的に欠損したこと)が発生したとする。
(Example of the first operation outline)
FIG. 4 is a diagram schematically showing a first operation outline example relating to rearrangement for matching the output order of a plurality of detection points with the operation direction of the welding robot MC1. FIG. 5 is a diagram schematically showing an example of rearranging a plurality of detection points shown in FIG. FIG. 10 is a flowchart showing an example of an operation procedure for creating a repair welding program. In the first embodiment, the flowchart shown in FIG. 8 is executed by the processor 31 (specifically, the repair welding program creation unit 38) built in the inspection control device 3. In the first operation outline example, there are a plurality of detection points indicating the positions of defective parts on the welding line (the operation locus of the welding robot MC1 during the main welding. The same applies hereinafter). It is assumed that the bead chipping (that is, the welding bead is partially lost due to the main welding) occurs.

図10において、リペア溶接プログラム作成部38は、検査結果判定部37により生成された外観検査結果を取得する(St8−1)。この外観検査結果には、例えば複数の検出点の位置を示す情報と、溶接不良の種別と、外観検査結果に含まれる溶接ビードの形状を示す点群データとが少なくとも含まれる。図4を参照すると、溶接線WLN1上の溶接ロボットMC1の動作軌跡上に、複数の検出点(具体的には、検出点P1,P2,P3,P4)が外観検査によって検出点P1,P2,P3,P4の順に検出されている。なお、検出点P1は終了検出点、検出点P2は開始検出点、検出点P3は終了検出点、検出点P4は開始検出点としての属性を有して外観検査結果として出力されている。 In FIG. 10, the repair welding program creation unit 38 acquires the appearance inspection result generated by the inspection result determination unit 37 (St8-1). The visual inspection result includes at least information indicating the positions of a plurality of detection points, a type of welding defect, and point cloud data indicating the shape of the weld bead included in the visual inspection result. Referring to FIG. 4, a plurality of detection points (specifically, detection points P1, P2, P3, P4) are detected by visual inspection on the operation locus of the welding robot MC1 on the welding line WLN1. It is detected in the order of P3 and P4. The detection point P1 has attributes as an end detection point, the detection point P2 has attributes as a start detection point, the detection point P3 has attributes as an end detection point, and the detection point P4 has attributes as a start detection point and is output as an appearance inspection result.

リペア溶接プログラム作成部38は、ロボット制御装置2から送られた本溶接プログラムに規定された溶接ロボットMC1の動作区間(具体的には、本溶接された区間ZN1,ZN2,ZN3の連なった組み合わせ)に基づいて、検出点が含まれる溶接線WLN1を区間ごとに分割する(St8−2)。図4を参照すると、リペア溶接プログラム作成部38は、外観検査結果に含まれる溶接ビードの形状を示す点群データに基づいて、検出点P3,P2,P1,P4のそれぞれが含まれる溶接線WLN1を区間ZN1,ZN2,ZN3に分割する。検出点P3は直線状の区間ZN1(分割区間番号「1」)に含まれ、検出点P2,P1は円弧状の区間ZN2(分割区間番号「2」)に含まれ、検出点P4は直線状の区間ZN3(分割区間番号「3」)に含まれる。 The repair welding program creation unit 38 is the operation section of the welding robot MC1 specified in the main welding program sent from the robot control device 2 (specifically, a continuous combination of the main welded sections ZN1, ZN2, ZN3). Based on, the welding line WLN1 including the detection point is divided into sections (St8-2). Referring to FIG. 4, the repair welding program creation unit 38 includes the welding line WLN1 including each of the detection points P3, P2, P1 and P4 based on the point cloud data indicating the shape of the welding bead included in the visual inspection result. Is divided into sections ZN1, ZN2, and ZN3. The detection point P3 is included in the linear section ZN1 (division section number "1"), the detection points P2 and P1 are included in the arcuate section ZN2 (division section number "2"), and the detection point P4 is linear. Is included in the section ZN3 (division section number "3") of.

なお、端点D1は、区間ZN1の一方の端点(例えば開始点)である。端点D2は、区間ZN1の他方の端点(例えば終了点)であり、更に、区間ZN2の一方の端点(例えば開始点)である。端点D3は、区間ZN2の他方の端点(例えば終了点)であり、更に、区間ZN3の一方の端点(例えば開始点)である。端点D4は、区間Z3の他方の端点(例えば終了点)である。開始点は溶接ロボットMC1の本溶接時およびリペア溶接時の動作方向の開始位置を示し、終了点は溶接ロボットMC1の本溶接時およびリペア溶接時の動作方向の終了位置を示す。 The end point D1 is one end point (for example, a start point) of the section ZN1. The end point D2 is the other end point (for example, the end point) of the section ZN1 and further, one end point (for example, the start point) of the section ZN2. The end point D3 is the other end point (for example, the end point) of the section ZN2, and further is one end point (for example, the start point) of the section ZN3. The end point D4 is the other end point (for example, the end point) of the section Z3. The start point indicates the start position in the operating direction of the welding robot MC1 during main welding and repair welding, and the end point indicates the end position of the welding robot MC1 in the operating direction during main welding and repair welding.

リペア溶接プログラム作成部38は、検出点P3,P2,P1,P4の位置を示す情報を用いて、区間ZN1〜ZN3のそれぞれに含まれる検出点が該当する区間の開始点からどのような位置に存在しているかを示すパラメータ(例えば距離あるいは割合)を算出してメモリ32に記録する(St8−3)。図4を参照すると、リペア溶接プログラム作成部38は、例えば分割区間番号「1」の区間ZN1内の検出点P3が開始点(つまり端点D1)からの距離Sあるいは割合(区間内割合)S/Lを算出する。なお、Lは区間ZN1の長さを示す。同様に、リペア溶接プログラム作成部38は、分割区間番号「2」の区間ZN2内の検出点P2,P1のそれぞれが開始点(つまり端点D2)からの円弧に沿った距離あるいは割合(区間内割合)、更に、分割区間番号「3」の区間ZN3内の検出点P4のそれぞれが開始点(つまり端点D3)からの距離あるいは割合(区間内割合)を算出する。 The repair welding program creation unit 38 uses the information indicating the positions of the detection points P3, P2, P1, and P4 to determine the position of the detection points included in each of the sections ZN1 to ZN3 from the start point of the corresponding section. A parameter (for example, a distance or a ratio) indicating whether or not it exists is calculated and recorded in the memory 32 (St8-3). Referring to FIG. 4, the repair weld program creating unit 38, for example the distance S 3 or the ratio (section in proportion) from the detection point P3 is the starting point in the interval ZN1 division section number "1" (i.e. end point D1) S Calculate 3 / L 1. Note that L 1 indicates the length of the section ZN 1. Similarly, in the repair welding program creation unit 38, the distances or ratios (in-section ratios) of the detection points P2 and P1 in the section ZN2 of the division section number “2” along the arc from the start point (that is, the end point D2) are respectively. ), Further, the distance or ratio (intra-section ratio) of each of the detection points P4 in the section ZN3 of the division section number “3” from the start point (that is, the end point D3) is calculated.

リペア溶接プログラム作成部38は、ステップSt8−3の算出結果を用いて検出点に対応する分割区間番号および区間内距離(区間内割合でも可。以下同様。)の関係を示すテーブルTBL1を作成してメモリ32に一時的に記憶する(図5参照)。リペア溶接プログラム作成部38は、テーブルTBL1を参照し、分割区間番号および区間内距離の順に検出点をソート(並び替え)したテーブルTBL2を生成する(St8−4)。言い換えると、先ずは分割区間番号でソートされ、分割区間番号が同一となる区間に複数の検出点が含まれる場合には区間内距離でソートされる。これにより、リペア溶接プログラム作成部38は、外観検査において得られた複数の検出点P1,P2,P3,P4のそれぞれの出力順序を、本溶接時およびリペア溶接時の溶接ロボットMC1の動作方向と一致する順序(具体的には、検出点P3,P2,P1,P4の順)に並び替えできる。 The repair welding program creation unit 38 uses the calculation result of step St8-3 to create a table TBL1 showing the relationship between the division section number corresponding to the detection point and the distance within the section (the ratio within the section is also possible. The same shall apply hereinafter). Is temporarily stored in the memory 32 (see FIG. 5). The repair welding program creation unit 38 refers to the table TBL1 and generates a table TBL2 in which the detection points are sorted (sorted) in the order of the division section number and the distance within the section (St8-4). In other words, it is first sorted by the division section number, and when a plurality of detection points are included in the section having the same division section number, it is sorted by the distance within the section. As a result, the repair welding program creation unit 38 sets the output order of each of the plurality of detection points P1, P2, P3, and P4 obtained in the visual inspection as the operation direction of the welding robot MC1 during the main welding and the repair welding. It can be rearranged in the matching order (specifically, the order of detection points P3, P2, P1, P4).

リペア溶接プログラム作成部38は、ステップSt8−4でソートされた検出点P3,P2,P1,P4の順序(整列結果の一例)と各検出点の属性(開始検出点あるいは終了検出点)とに基づいて、リペア溶接区間を決定して設定する(St8−5)。図4を参照すると、リペア溶接プログラム作成部38は、外観検査の検出方向と本溶接時あるいはリペア溶接時の溶接ロボットMC1の動作方向とが逆であることを考慮してそれぞれの検出点の属性を逆に変更し、外観検査の終了点(言い換えると、リペア溶接時の開始点)と言える検出点P3から外観検査の開始点(言い換えると、リペア溶接時の終了点)と言える検出点P2までを第1のリペア溶接区間として設定する。更に、リペア溶接プログラム作成部38は、同様に外観検査の終了点(言い換えると、リペア溶接時の開始点)と言える検出点P1から外観検査の終了点(言い換えると、リペア溶接時の終了点)と言える検出点P4までを第2のリペア溶接区間として設定する。 The repair welding program creation unit 38 sets the order of the detection points P3, P2, P1, P4 sorted in step St8-4 (an example of the alignment result) and the attributes of each detection point (start detection point or end detection point). Based on this, the repair welding section is determined and set (St8-5). With reference to FIG. 4, the repair welding program creation unit 38 considers that the detection direction of the visual inspection and the operation direction of the welding robot MC1 at the time of main welding or repair welding are opposite to each other, and the attributes of the respective detection points. From the detection point P3, which can be said to be the end point of visual inspection (in other words, the start point at the time of repair welding), to the detection point P2, which can be said to be the start point of visual inspection (in other words, the end point at the time of repair welding). Is set as the first repair welding section. Further, the repair welding program creation unit 38 starts from the detection point P1 which can be said to be the end point of the visual inspection (in other words, the start point at the time of repair welding) to the end point of the visual inspection (in other words, the end point at the time of repair welding). Up to the detection point P4, which can be said to be, is set as the second repair welding section.

リペア溶接プログラム作成部38は、ステップSt8−5で決定されたリペア溶接区間とリペア溶接で使用する各種のパラメータ(例えば溶接条件)とを規定したリペア溶接プログラムを作成する(St8−6)。 The repair welding program creation unit 38 creates a repair welding program that defines the repair welding section determined in step St8-5 and various parameters (for example, welding conditions) used in repair welding (St8-6).

(第2動作概要例)
図6は、複数の検出点の出力順序を溶接ロボットMC1の動作方向と一致するための並び替えに関する第2動作概要例を模式的に示す図である。図7は、図6に示される複数の検出点の並び替え例を模式的に示す図である。第2動作概要例では、溶接線上ではない位置に、不良箇所の位置を示す複数の検出点が存在しており、例えば溶接の不良としてビード欠け(つまり、本溶接により溶接ビードが部分的に欠損したこと)が発生したとする。第2動作概要例において、図4および図5の説明と重複する内容の説明は簡略化あるいは省略し、異なる内容について説明する。
(Example of second operation outline)
FIG. 6 is a diagram schematically showing a second operation outline example relating to rearrangement for matching the output order of a plurality of detection points with the operation direction of the welding robot MC1. FIG. 7 is a diagram schematically showing an example of rearranging the plurality of detection points shown in FIG. In the second operation outline example, there are a plurality of detection points indicating the positions of defective parts at positions other than the welding line. For example, the bead is chipped as a welding defect (that is, the weld bead is partially missing due to the main welding). What you did) occurs. In the second operation outline example, the description of the content that overlaps with the description of FIGS. 4 and 5 will be simplified or omitted, and different contents will be described.

図10において、リペア溶接プログラム作成部38は、検査結果判定部37により生成された外観検査結果を取得する(St8−1)。図6を参照すると、溶接線WLN1上の溶接ロボットMC1の動作軌跡から離れた位置に、複数の検出点(具体的には、検出点P7,P6,P5,P8)が外観検査によって検出点P5,P6,P7,P8の順に検出されている。なお、検出点P5は終了検出点、検出点P6は開始検出点、検出点P7は終了検出点、検出点P8は開始検出点としての属性を有して外観検査結果として出力されている。 In FIG. 10, the repair welding program creation unit 38 acquires the appearance inspection result generated by the inspection result determination unit 37 (St8-1). Referring to FIG. 6, a plurality of detection points (specifically, detection points P7, P6, P5, P8) are detected by visual inspection at positions distant from the operation locus of the welding robot MC1 on the welding line WLN1. , P6, P7, P8 are detected in this order. The detection point P5 has an attribute as an end detection point, the detection point P6 has an attribute as a start detection point, the detection point P7 has an attribute as an end detection point, and the detection point P8 has an attribute as a start detection point and is output as an appearance inspection result.

リペア溶接プログラム作成部38は、ロボット制御装置2から送られた本溶接プログラムに規定された溶接ロボットMC1の動作区間(具体的には、本溶接された区間ZN1,ZN2,ZN3の連なった組み合わせ)に基づいて、検出点に最も近接する溶接線WLN1上の対応点P7h,P6h,P5h,P8hが含まれる溶接線WLN1を区間ごとに分割する(St8−2)。図6を参照すると、リペア溶接プログラム作成部38は、外観検査結果に含まれる溶接ビードの形状を示す点群データに基づいて、対応点P7h,P6h,P5h,P8hのそれぞれが含まれる溶接線WLN1を区間ZN1,ZN2,ZN3に分割する。対応点P7hは直線状の区間ZN1(分割区間番号「1」)に含まれ、対応点P6h,P5hは円弧状の区間ZN2(分割区間番号「2」)に含まれ、対応点P8hは直線状の区間ZN3(分割区間番号「3」)に含まれる。 The repair welding program creation unit 38 is the operation section of the welding robot MC1 specified in the main welding program sent from the robot control device 2 (specifically, a continuous combination of the main welded sections ZN1, ZN2, ZN3). Based on the above, the welding line WLN1 including the corresponding points P7h, P6h, P5h, and P8h on the welding line WLN1 closest to the detection point is divided into sections (St8-2). Referring to FIG. 6, the repair welding program creation unit 38 includes the welding line WLN1 including each of the corresponding points P7h, P6h, P5h, and P8h based on the point cloud data indicating the shape of the welding bead included in the visual inspection result. Is divided into sections ZN1, ZN2, and ZN3. The corresponding point P7h is included in the linear section ZN1 (division section number "1"), the corresponding points P6h and P5h are included in the arc-shaped section ZN2 (division section number "2"), and the corresponding point P8h is linear. Is included in the section ZN3 (division section number "3") of.

リペア溶接プログラム作成部38は、対応点P7h,P6h,P5h,P8hの位置を示す情報を用いて、区間ZN1〜ZN3のそれぞれに含まれる対応点が該当する区間の開始点からどのような位置に存在しているかを示すパラメータ(例えば距離あるいは割合)を算出してメモリ32に記録する(St8−3)。図6を参照すると、リペア溶接プログラム作成部38は、例えば分割区間番号「1」の区間ZN1内の対応点P7hが開始点(つまり端点D1)からの距離あるいは割合(区間内割合)を算出する。同様に、リペア溶接プログラム作成部38は、分割区間番号「2」の区間ZN2内の対応点P6h,P5hのそれぞれが開始点(つまり端点D2)からの円弧に沿った距離あるいは割合(区間内割合)、更に、分割区間番号「3」の区間ZN3内の対応点P8hのそれぞれが開始点(つまり端点D3)からの距離あるいは割合(区間内割合)を算出する。 The repair welding program creation unit 38 uses the information indicating the positions of the corresponding points P7h, P6h, P5h, and P8h to determine the position of the corresponding points included in each of the sections ZN1 to ZN3 from the start point of the corresponding section. A parameter (for example, a distance or a ratio) indicating whether or not it exists is calculated and recorded in the memory 32 (St8-3). With reference to FIG. 6, the repair welding program creation unit 38 calculates, for example, the distance or ratio (ratio within the section) from the starting point (that is, the end point D1) of the corresponding point P7h in the section ZN1 of the division section number “1”. .. Similarly, in the repair welding program creation unit 38, the distances or ratios (in-section ratios) of the corresponding points P6h and P5h in the section ZN2 of the division section number “2” along the arc from the start point (that is, the end point D2). ), Further, the distance or ratio (intra-section ratio) of each of the corresponding points P8h in the section ZN3 of the division section number “3” from the start point (that is, the end point D3) is calculated.

リペア溶接プログラム作成部38は、ステップSt8−3の算出結果を用いて対応点に対応する分割区間番号および区間内距離(区間内割合でも可。以下同様。)の関係を示すテーブルTBL3を作成してメモリ32に一時的に記憶する(図7参照)。リペア溶接プログラム作成部38は、テーブルTBL3を参照し、分割区間番号および区間内距離の順に検出点をソート(並び替え)したテーブルTBL4を生成する(St8−4)。言い換えると、先ずは分割区間番号でソートされ、分割区間番号が同一となる区間に複数の対応点が含まれる場合には区間内距離でソートされる。これにより、リペア溶接プログラム作成部38は、外観検査において得られた複数の検出点P5,P6,P7,P8のそれぞれの出力順序を、本溶接時およびリペア溶接時の溶接ロボットMC1の動作方向と一致する順序(具体的には、対応点P7h,P6h,P5h,P8hの順)に並び替えできる。 The repair welding program creation unit 38 uses the calculation result of step St8-3 to create a table TBL3 showing the relationship between the division section number corresponding to the corresponding point and the distance within the section (the ratio within the section is also possible. The same shall apply hereinafter). Is temporarily stored in the memory 32 (see FIG. 7). The repair welding program creation unit 38 refers to the table TBL3 and generates a table TBL4 in which the detection points are sorted (sorted) in the order of the division section number and the distance within the section (St8-4). In other words, it is first sorted by the division section number, and when a plurality of corresponding points are included in the section having the same division section number, it is sorted by the distance within the section. As a result, the repair welding program creation unit 38 sets the output order of each of the plurality of detection points P5, P6, P7, and P8 obtained in the visual inspection as the operation direction of the welding robot MC1 during the main welding and the repair welding. It can be rearranged in the order of matching (specifically, the order of corresponding points P7h, P6h, P5h, P8h).

リペア溶接プログラム作成部38は、ステップSt8−4でソートされた対応点P7h,P6h,P5h,P8hの順序(整列結果の一例)と各検出点の属性(開始検出点あるいは終了検出点)とに基づいて、リペア溶接区間を決定して設定する(St8−5)。図6を参照すると、リペア溶接プログラム作成部38は、外観検査の検出方向と本溶接時あるいはリペア溶接時の溶接ロボットMC1の動作方向とが逆であることを考慮してそれぞれの検出点の属性を逆に変更し、外観検査の終了点(言い換えると、リペア溶接時の開始点)と言える対応点P7hから外観検査の開始点(言い換えると、リペア溶接時の終了点)と言える対応点P6hまでを第1のリペア溶接区間として設定し、更に、外観検査の終了点(言い換えると、リペア溶接時の開始点)と言える対応点P5hから外観検査の終了点(言い換えると、リペア溶接時の終了点)と言える対応点P8hまでを第2のリペア溶接区間として設定する。 The repair welding program creation unit 38 sets the order of the corresponding points P7h, P6h, P5h, and P8h sorted in step St8-4 (an example of the alignment result) and the attributes of each detection point (start detection point or end detection point). Based on this, the repair welding section is determined and set (St8-5). With reference to FIG. 6, the repair welding program creation unit 38 considers that the detection direction of the visual inspection and the operation direction of the welding robot MC1 at the time of main welding or repair welding are opposite to each other, and the attributes of the respective detection points. To the corresponding point P7h, which can be said to be the end point of visual inspection (in other words, the start point at the time of repair welding), to the corresponding point P6h, which can be said to be the start point of visual inspection (in other words, the end point at the time of repair welding). Is set as the first repair welding section, and further, from the corresponding point P5h, which can be said to be the end point of the visual inspection (in other words, the start point at the time of repair welding), the end point of the visual inspection (in other words, the end point at the time of repair welding). ) Is set as the second repair welding section up to the corresponding point P8h.

リペア溶接プログラム作成部38は、ステップSt8−5で決定されたリペア溶接区間とリペア溶接で使用する各種のパラメータ(例えば溶接条件)とを規定したリペア溶接プログラムを作成する(St8−6)。 The repair welding program creation unit 38 creates a repair welding program that defines the repair welding section determined in step St8-5 and various parameters (for example, welding conditions) used in repair welding (St8-6).

(第3動作概要例)
図8は、複数の検出点の出力順序を溶接ロボットMC1の動作方向と一致するための並び替えに関する第3動作概要例を模式的に示す図である。図9は、図8に示される複数の検出点の並び替え例を模式的に示す図である。第3動作概要例では、溶接線上ではない位置と溶接線上の位置とに分かれて、不良箇所の位置を示す複数の検出点が存在しており、例えば溶接の不良としてビード欠け(つまり、本溶接により溶接ビードが部分的に欠損したこと)が発生したとする。第3動作概要例において、図4、図5、図6および図7の説明と重複する内容の説明は簡略化あるいは省略し、異なる内容について説明する。
(Example of 3rd operation outline)
FIG. 8 is a diagram schematically showing a third operation outline example relating to rearrangement for matching the output order of a plurality of detection points with the operation direction of the welding robot MC1. FIG. 9 is a diagram schematically showing an example of rearranging the plurality of detection points shown in FIG. In the third operation outline example, there are a plurality of detection points indicating the positions of defective parts, which are divided into a position not on the welding line and a position on the welding line. It is assumed that the welding bead is partially lost due to this). In the third operation outline example, the description of the content overlapping with the description of FIGS. 4, 5, 6 and 7 will be simplified or omitted, and different contents will be described.

図10において、リペア溶接プログラム作成部38は、検査結果判定部37により生成された外観検査結果を取得する(St8−1)。図8を参照すると、溶接線WLN1上の溶接ロボットMC1の動作軌跡上あるいはその動作軌跡から離れた位置に、複数の検出点(具体的には、検出点P11,P10,P9,P12)が外観検査によって検出点P9,P10,P11,P12の順に検出されている。なお、検出点P9は終了検出点、検出点P10は開始検出点、検出点P11は終了検出点、検出点P12は開始検出点としての属性を有して外観検査結果として出力されている。 In FIG. 10, the repair welding program creation unit 38 acquires the appearance inspection result generated by the inspection result determination unit 37 (St8-1). Referring to FIG. 8, a plurality of detection points (specifically, detection points P11, P10, P9, P12) appear on the operation locus of the welding robot MC1 on the welding line WLN1 or at a position away from the operation locus. By inspection, detection points P9, P10, P11, and P12 are detected in this order. The detection point P9 has attributes as an end detection point, the detection point P10 has attributes as a start detection point, the detection point P11 has attributes as an end detection point, and the detection point P12 has attributes as a start detection point and is output as an appearance inspection result.

リペア溶接プログラム作成部38は、ロボット制御装置2から送られた本溶接プログラムに規定された溶接ロボットMC1の動作区間(具体的には、本溶接された区間ZN1,ZN2,ZN3の連なった組み合わせ)に基づいて、検出点P11h,P9あるいは検出点P10,P12に最も近接する溶接線WLN1上の対応点P10h,P12hが含まれる溶接線WLN1を区間ごとに分割する(St8−2)。図8を参照すると、リペア溶接プログラム作成部38は、外観検査結果に含まれる溶接ビードの形状を示す点群データに基づいて、検出点P11,対応点P10h,検出点P9,対応点P12hのそれぞれが含まれる溶接線WLN1を区間ZN1,ZN2,ZN3に分割する。検出点P11は直線状の区間ZN1(分割区間番号「1」)に含まれ、対応点P10h,検出点P9は円弧状の区間ZN2(分割区間番号「2」)に含まれ、対応点P12hは直線状の区間ZN3(分割区間番号「3」)に含まれる。 The repair welding program creation unit 38 is the operation section of the welding robot MC1 specified in the main welding program sent from the robot control device 2 (specifically, a continuous combination of the main welded sections ZN1, ZN2, ZN3). Based on the above, the welding line WLN1 including the corresponding points P10h and P12h on the welding lines WLN1 closest to the detection points P11h and P9 or the detection points P10 and P12 is divided into sections (St8-2). With reference to FIG. 8, the repair welding program creation unit 38 has the detection point P11, the corresponding point P10h, the detection point P9, and the corresponding point P12h, respectively, based on the point cloud data indicating the shape of the welding bead included in the visual inspection result. The welding line WLN1 including the above is divided into sections ZN1, ZN2, and ZN3. The detection point P11 is included in the linear section ZN1 (division section number "1"), the corresponding point P10h and the detection point P9 are included in the arcuate section ZN2 (division section number "2"), and the corresponding point P12h is. It is included in the linear section ZN3 (division section number "3").

リペア溶接プログラム作成部38は、検出点P11,対応点P10h,検出点P9,対応点P12hの位置を示す情報を用いて、区間ZN1〜ZN3のそれぞれに含まれる検出点あるいは対応点が該当する区間の開始点からどのような位置に存在しているかを示すパラメータ(例えば距離あるいは割合)を算出してメモリ32に記録する(St8−3)。図8を参照すると、リペア溶接プログラム作成部38は、例えば分割区間番号「1」の区間ZN1内の検出点P11が開始点(つまり端点D1)からの距離あるいは割合(区間内割合)を算出する。同様に、リペア溶接プログラム作成部38は、分割区間番号「2」の区間ZN2内の対応点P10h,検出点P9のそれぞれが開始点(つまり端点D2)からの円弧に沿った距離あるいは割合(区間内割合)、更に、分割区間番号「3」の区間ZN3内の対応点P12hのそれぞれが開始点(つまり端点D3)からの距離あるいは割合(区間内割合)を算出する。 The repair welding program creation unit 38 uses information indicating the positions of the detection point P11, the corresponding point P10h, the detection point P9, and the corresponding point P12h, and uses the information indicating the positions of the detection point P11, the corresponding point P10h, and the corresponding point P12h, and the detection point or the corresponding section corresponding to each of the sections ZN1 to ZN3 A parameter (for example, a distance or a ratio) indicating what position is present from the start point of the above is calculated and recorded in the memory 32 (St8-3). With reference to FIG. 8, the repair welding program creation unit 38 calculates, for example, the distance or ratio (ratio within the section) from the start point (that is, the end point D1) of the detection point P11 in the section ZN1 of the division section number “1”. .. Similarly, in the repair welding program creation unit 38, the distances or ratios (sections) of the corresponding points P10h and the detection points P9 in the section ZN2 of the division section number “2” along the arc from the start point (that is, the end point D2). The distance or ratio (intra-section ratio) of each of the corresponding points P12h in the section ZN3 of the division section number “3” from the start point (that is, the end point D3) is calculated.

リペア溶接プログラム作成部38は、ステップSt8−3の算出結果を用いて検出点あるいは対応点に対応する分割区間番号および区間内距離(区間内割合でも可。以下同様。)の関係を示すテーブルTBL5を作成してメモリ32に一時的に記憶する(図9参照)。リペア溶接プログラム作成部38は、テーブルTBL5を参照し、分割区間番号および区間内距離の順に検出点をソート(並び替え)したテーブルTBL6を生成する(St8−4)。言い換えると、先ずは分割区間番号でソートされ、分割区間番号が同一となる区間に複数の検出点あるいは対応点が含まれる場合には区間内距離でソートされる。これにより、リペア溶接プログラム作成部38は、外観検査において得られた複数の検出点P9,P10,P11,P12のそれぞれの出力順序を、本溶接時およびリペア溶接時の溶接ロボットMC1の動作方向と一致する順序(具体的には、検出点P11,対応点P10h,検出点P9,対応点P12hの順)に並び替えできる。 The repair welding program creation unit 38 uses the calculation result of step St8-3 to show the relationship between the division section number corresponding to the detection point or the corresponding point and the distance within the section (the ratio within the section is also possible. The same shall apply hereinafter). Is temporarily stored in the memory 32 (see FIG. 9). The repair welding program creation unit 38 refers to the table TBL5 and generates a table TBL6 in which the detection points are sorted (sorted) in the order of the division section number and the distance within the section (St8-4). In other words, it is first sorted by the division section number, and when a section having the same division section number includes a plurality of detection points or corresponding points, it is sorted by the distance within the section. As a result, the repair welding program creation unit 38 sets the output order of each of the plurality of detection points P9, P10, P11, and P12 obtained in the visual inspection as the operation direction of the welding robot MC1 during the main welding and the repair welding. It can be rearranged in the order of matching (specifically, the order of detection point P11, corresponding point P10h, detection point P9, corresponding point P12h).

リペア溶接プログラム作成部38は、ステップSt8−4でソートされた検出点P11,対応点P10h,検出点P9,対応点P12hの順序(整列結果の一例)と各検出点の属性(開始検出点あるいは終了検出点)とに基づいて、リペア溶接区間を決定して設定する(St8−5)。図8を参照すると、リペア溶接プログラム作成部38は、外観検査の検出方向と本溶接時あるいはリペア溶接時の溶接ロボットMC1の動作方向とが逆であることを考慮してそれぞれの検出点の属性を逆に変更し、外観検査の終了点(言い換えると、リペア溶接時の開始点)と言える検出点P11から外観検査の開始点(言い換えると、リペア溶接時の終了点)と言える対応点P10hまでを第1のリペア溶接区間として設定し、更に、外観検査の終了点(言い換えると、リペア溶接時の開始点)と言える検出点P9から外観検査の終了点(言い換えると、リペア溶接時の終了点)と言える対応点P12hまでを第2のリペア溶接区間として設定する。 The repair welding program creation unit 38 describes the order of the detection points P11, the corresponding points P10h, the detection points P9, and the corresponding points P12h sorted in step St8-4 (an example of the alignment result) and the attributes of each detection point (start detection point or The repair welding section is determined and set based on the end detection point) (St8-5). With reference to FIG. 8, the repair welding program creation unit 38 considers that the detection direction of the visual inspection and the operation direction of the welding robot MC1 at the time of main welding or repair welding are opposite to each other, and the attributes of the respective detection points. From the detection point P11, which can be said to be the end point of visual inspection (in other words, the start point at the time of repair welding), to the corresponding point P10h, which can be said to be the start point of visual inspection (in other words, the end point at the time of repair welding). Is set as the first repair welding section, and further, from the detection point P9, which can be said to be the end point of the visual inspection (in other words, the start point at the time of repair welding), the end point of the visual inspection (in other words, the end point at the time of repair welding). ) Is set as the second repair welding section up to the corresponding point P12h.

リペア溶接プログラム作成部38は、ステップSt8−5で決定されたリペア溶接区間とリペア溶接で使用する各種のパラメータ(例えば溶接条件)とを規定したリペア溶接プログラムを作成する(St8−6)。 The repair welding program creation unit 38 creates a repair welding program that defines the repair welding section determined in step St8-5 and various parameters (for example, welding conditions) used in repair welding (St8-6).

以上により、実施の形態1に係る溶接システム100では、リペア溶接装置(例えば検査結果判定部37)は、溶接ロボットMC1による本溶接により生産された被溶接ワークの溶接ビードの複数の不良箇所(例えば検出点P1〜P4)のそれぞれの位置の情報を含む外観検査結果を取得する。リペア溶接装置(例えばロボット制御部25)は、外観検査結果に基づいて、複数の不良箇所のそれぞれの出力順序を溶接ロボットMC1の動作方向と一致する順序に並び替えた複数の不良箇所に基づく対象区間(例えば第1のリペア溶接区間、第2のリペア溶接区間)のリペア溶接の実行を溶接ロボットMC1に指示する。 As described above, in the welding system 100 according to the first embodiment, the repair welding apparatus (for example, the inspection result determination unit 37) has a plurality of defective parts (for example) of the weld beads of the work to be welded produced by the main welding by the welding robot MC1. The visual inspection result including the information of each position of the detection points P1 to P4) is acquired. The repair welding device (for example, the robot control unit 25) is an object based on a plurality of defective parts in which the output order of each of the plurality of defective parts is rearranged in the order matching the operation direction of the welding robot MC1 based on the visual inspection result. The welding robot MC1 is instructed to execute the repair welding of the section (for example, the first repair welding section and the second repair welding section).

これにより、リペア溶接装置は、本溶接により生産された被溶接ワークの外観検査により得られた複数の不良箇所の出力順序を溶接ロボットの動作方向と一致するよう並び替えて自動的かつ効率的にリペア溶接できる。したがって、たとえ外観検査での溶接不良の有無の検出方向と本溶接時あるいはリペア溶接時における溶接ロボットMC1の動作方向とが逆である場合でも、リペア溶接装置は、外観検査により得られた複数の検出点のそれぞれの出力順序を溶接ロボットMC1の動作方向に合わせてリペア溶接できるので、溶接ロボットMC1の作業効率の劣化を抑制できる。また、リペア溶接装置は、リペア溶接の際に、リペア溶接の対象となる被溶接ワークあるいはその被溶接ワークを固定する治具との干渉を抑制できるので、溶接ロボットMC1のスムーズな駆動を効率的に支援できる。また、リペア溶接装置は、ロボット制御装置2により作成される本溶接プログラムの一部(例えばリペア溶接する不良箇所の情報)を部分的に変更するだけで簡単にリペア溶接プログラムを作成できるので、リペア溶接プログラムを効率的に作成できる。 As a result, the repair welding device automatically and efficiently rearranges the output order of the plurality of defective parts obtained by the visual inspection of the workpiece produced by the main welding so as to match the operation direction of the welding robot. Can be repair welded. Therefore, even if the detection direction of the presence or absence of welding defects in the visual inspection and the operating direction of the welding robot MC1 at the time of main welding or repair welding are opposite to each other, the repair welding apparatus can be used for a plurality of repair welding devices obtained by the visual inspection. Since repair welding can be performed in accordance with the operation direction of the welding robot MC1 in each output order of the detection points, deterioration of the work efficiency of the welding robot MC1 can be suppressed. Further, since the repair welding device can suppress interference with the work to be repaired or the jig for fixing the work to be welded during repair welding, the smooth drive of the welding robot MC1 can be efficiently performed. Can help. In addition, the repair welding device can easily create a repair welding program by only partially changing a part of the main welding program created by the robot control device 2 (for example, information on defective parts to be repaired). Welding programs can be created efficiently.

また、リペア溶接装置は、外観検査結果に基づいて、複数の検出点を溶接ロボットMC1の動作方向に合わせて並び替えた後に設定されたリペア溶接の対象区間(上述参照)のリペア溶接を実行させるリペア溶接プログラムを作成する。リペア溶接装置は、作成されたリペア溶接プログラムに従い、対象区間を溶接ロボットMC1にリペア溶接させる。これにより、リペア溶接装置は、外観検査において得られた複数の検出点P1〜P4のそれぞれの出力順序をリペア溶接時の溶接ロボットMC1の動作方向に合わせて、溶接ロボットMC1を介して自動的かつ効率的にリペア溶接できる。 Further, the repair welding device executes repair welding of the target section (see above) of the repair welding set after rearranging a plurality of detection points according to the operation direction of the welding robot MC1 based on the visual inspection result. Create a repair welding program. The repair welding device causes the welding robot MC1 to repair weld the target section according to the created repair welding program. As a result, the repair welding apparatus automatically adjusts the output order of each of the plurality of detection points P1 to P4 obtained in the visual inspection to the operating direction of the welding robot MC1 at the time of repair welding, and automatically via the welding robot MC1. Efficient repair welding is possible.

また、リペア溶接装置は、複数の不良箇所のそれぞれが溶接ロボットMC1の本溶接時の動作軌跡上に位置する場合に、動作軌跡を複数の区間ZN1,ZN2,ZN3に分割し、複数の不良箇所のそれぞれごとに複数の区間のそれぞれの動作方向の開始点からの距離あるいは割合を算出するとともに、区間と距離あるいは割合とを用いて複数の不良箇所の出力順序を動作方向と一致するように並び替えて対象区間を設定する。これにより、リペア溶接装置は、外観検査により得られた溶接線上に存在する複数の検出点のそれぞれの出力順序を溶接ロボットMC1の動作方向と一致するように並び替えでき、並び替えた後の検出点の順に従ってリペア溶接できるので、検査装置4の検出方向に制約を設けなくても効率的にリペア溶接を行える。 Further, the repair welding device divides the operation locus into a plurality of sections ZN1, ZN2, ZN3 when each of the plurality of defective parts is located on the operation locus of the welding robot MC1 at the time of main welding, and a plurality of defective parts. For each of the above, the distance or ratio from the start point of each operation direction of the plurality of sections is calculated, and the output order of the plurality of defective parts is arranged so as to match the operation direction using the section and the distance or ratio. Set the target section instead. As a result, the repair welding apparatus can rearrange the output order of each of the plurality of detection points existing on the welding line obtained by the visual inspection so as to match the operation direction of the welding robot MC1, and the detection after the rearrangement. Since repair welding can be performed in the order of points, repair welding can be performed efficiently without limiting the detection direction of the inspection device 4.

また、リペア溶接装置は、複数の不良箇所の全てが溶接ロボットMC1の本溶接時の動作軌跡上に位置しない場合に、動作軌跡を複数の区間ZN1,ZN2,ZN3に分割し、複数の不良箇所のそれぞれから動作軌跡への最近接点(例えば対応点P7h,P6h,P5h,P8h)ごとに複数の区間のそれぞれの動作方向の開始点からの距離あるいは割合を算出するとともに、区間と距離あるいは割合とを用いて複数の不良箇所の出力順序を動作方向と一致するように並び替えて対象区間を設定する。これにより、リペア溶接装置は、外観検査により得られた溶接線上に存在しない複数の検出点のそれぞれの出力順序を溶接ロボットMC1の動作方向と一致するように並び替えでき、並び替えた後の検出点に対応する対応点の順に従ってリペア溶接できるので、検査装置4の検出方向に制約を設けなくても効率的にリペア溶接を行える。 Further, the repair welding device divides the operation locus into a plurality of sections ZN1, ZN2, ZN3 when all of the plurality of defective parts are not located on the operation locus of the welding robot MC1 at the time of main welding, and a plurality of defective parts. For each recent contact point (for example, corresponding points P7h, P6h, P5h, P8h) from each of the above to the operation locus, the distance or ratio from the start point of each operation direction of a plurality of sections is calculated, and the section and the distance or ratio are calculated. Use to rearrange the output order of multiple defective parts so that they match the operation direction, and set the target section. As a result, the repair welding apparatus can rearrange the output order of each of the plurality of detection points that do not exist on the welding line obtained by the visual inspection so as to match the operation direction of the welding robot MC1, and detect after the rearrangement. Since repair welding can be performed in the order of corresponding points corresponding to the points, repair welding can be performed efficiently without limiting the detection direction of the inspection device 4.

また、リペア溶接装置は、複数の不良箇所の一部が溶接ロボットMC1の本溶接時の動作軌跡上に位置しかつ複数の不良箇所の残りが動作軌跡上に位置しない場合に、動作軌跡を複数の区間ZN1,ZN2,ZN3に分割し、一部の不良箇所あるいは残りの不良箇所から動作軌跡への最近接点ごとに複数の区間のそれぞれの動作方向の開始点からの距離あるいは割合を算出するとともに、区間と距離あるいは割合とを用いて複数の不良箇所の出力順序を動作方向と一致するように並び替えて対象区間を設定する。これにより、リペア溶接装置は、外観検査により得られた溶接線上に存在する検出点ならびに溶接線上に存在しない検出点のそれぞれの出力順序を溶接ロボットMC1の動作方向と一致するように並び替えでき、並び替えた後の検出点に対応する対応点の順に従ってリペア溶接できるので、検査装置4の検出方向に制約を設けなくても効率的にリペア溶接を行える。 Further, the repair welding apparatus has a plurality of operation loci when a part of a plurality of defective parts is located on the operation locus of the welding robot MC1 at the time of main welding and the rest of the plurality of defective parts is not located on the operation locus. Sections ZN1, ZN2, and ZN3 are divided into sections ZN1, ZN2, and ZN3, and the distance or ratio from the start point of each operation direction of a plurality of sections is calculated for each recent contact point from a part of the defective parts or the remaining defective parts to the operation locus. , The target section is set by rearranging the output order of a plurality of defective parts so as to match the operation direction using the section and the distance or ratio. As a result, the repair welding apparatus can rearrange the output order of the detection points existing on the welding line and the detection points not existing on the welding line obtained by the visual inspection so as to match the operation direction of the welding robot MC1. Since repair welding can be performed according to the order of the corresponding points corresponding to the detected points after the rearrangement, the repair welding can be efficiently performed without limiting the detection direction of the inspection device 4.

(実施の形態2)
実施の形態1では、リペア溶接プログラムは検査制御装置3により作成される。実施の形態2では、リペア溶接プログラムはロボット制御装置2aによって行われる例を説明する。
(Embodiment 2)
In the first embodiment, the repair welding program is created by the inspection control device 3. In the second embodiment, an example in which the repair welding program is performed by the robot control device 2a will be described.

(溶接システムの構成)
図11は、実施の形態2に係る検査制御装置3、ロボット制御装置2aおよび上位装置1の内部構成例を示す図である。図11の説明において、図2の各部の構成と同一のものには同一の符号を付与して説明を簡略化あるいは省略し、異なる内容について説明する。また、実施の形態2に係る溶接システム100aの構成は実施の形態1に係る溶接システム100と同一の構成である(図1参照)。
(Welding system configuration)
FIG. 11 is a diagram showing an example of internal configurations of the inspection control device 3, the robot control device 2a, and the host device 1 according to the second embodiment. In the description of FIG. 11, the same reference numerals are given to those having the same configuration as each part of FIG. 2, and the description is simplified or omitted, and different contents will be described. Further, the configuration of the welding system 100a according to the second embodiment is the same as that of the welding system 100 according to the first embodiment (see FIG. 1).

リペア溶接装置の一例としてのロボット制御装置2aは、上位装置1から送られた本溶接あるいはリペア溶接の実行指令、または外観検査用プログラムの実行指令に基づいて、対応する溶接ロボットMC1(具体的には、マニピュレータ200、ワイヤ送給装置300、電源装置500)の処理を制御する。ロボット制御装置2aは、通信部20と、プロセッサ21aと、メモリ22とを少なくとも含む構成である。 The robot control device 2a as an example of the repair welding device corresponds to the welding robot MC1 (specifically, based on the execution command of the main welding or the repair welding sent from the host device 1 or the execution command of the visual inspection program. Controls the processing of the manipulator 200, the wire feeding device 300, and the power supply device 500). The robot control device 2a has a configuration including at least a communication unit 20, a processor 21a, and a memory 22.

プロセッサ21aは、例えばCPUまたはFPGAを用いて構成され、メモリ22と協働して、各種の処理および制御を行う。具体的には、プロセッサ21aは、メモリ22に保持されたプログラムを参照し、そのプログラムを実行することにより、本溶接/リペア溶接プログラム作成部23a、演算部24、ロボット制御部25および電源制御部26を機能的に実現する。 The processor 21a is configured by using, for example, a CPU or an FPGA, and cooperates with the memory 22 to perform various processes and controls. Specifically, the processor 21a refers to the program stored in the memory 22, and by executing the program, the main welding / repair welding program creation unit 23a, the calculation unit 24, the robot control unit 25, and the power supply control unit. 26 is functionally realized.

本溶接/リペア溶接プログラム作成部23aは、通信部20を介して上位装置1から送られた本溶接の実行指令に基づいて、実行指令に含まれる複数の元ワークのそれぞれのワーク情報(例えばID、名前、および元ワークの溶接箇所)を用いて、溶接ロボットMC1により実行される本溶接の本溶接プログラムを生成する。また、本溶接/リペア溶接プログラム作成部23aは、検査結果判定部37によるワークWk(例えば被溶接ワークあるいは被リペア溶接ワーク)の外観検査結果と被溶接ワークあるいは被リペア溶接ワークのワーク情報(例えば被溶接ワークあるいは被リペア溶接ワークの溶接不良の検出点の位置を示す座標等の情報)とを用いて、溶接ロボットMC1により実行されるべきワークWk(例えば被溶接ワークあるいは被リペア溶接ワーク)のリペア溶接プログラムを作成する。リペア溶接プログラムの作成手順の詳細については、図4〜図10を参照して実施の形態1で説明した内容と同一であるため説明を省略する。なお、生成された本溶接プログラムおよびリペア溶接プログラムは、プロセッサ21a内に記憶されてもよいし、メモリ22内のRAMに記憶されてもよい。 The main welding / repair welding program creation unit 23a is based on the main welding execution command sent from the host device 1 via the communication unit 20, and the work information (for example, ID) of each of the plurality of original works included in the execution command. , Name, and weld location of the original work) to generate the main weld program of the main weld performed by the welding robot MC1. In addition, the main welding / repair welding program creation unit 23a uses the inspection result determination unit 37 for the appearance inspection result of the work Wk (for example, the work to be welded or the work to be repaired) and the work information of the work to be welded or the work to be repaired (for example, the work to be repaired). A work Wk (for example, a work to be welded or a work to be repaired) to be executed by the welding robot MC1 using information such as coordinates indicating the position of a welding defect detection point of the work to be welded or the work to be repaired. Create a repair welding program. The details of the procedure for creating the repair welding program are the same as those described in the first embodiment with reference to FIGS. 4 to 10, and thus the description thereof will be omitted. The generated main welding program and repair welding program may be stored in the processor 21a or in the RAM in the memory 22.

(溶接システムの動作)
次に、実施の形態2に係る溶接システム100aによる本溶接およびリペア溶接の動作手順について、図12Aを参照して説明する。図12Aは、実施の形態2に係る溶接システム100aによる本溶接およびリペア溶接の動作手順例を示すシーケンス図である。図12Bは、実施の形態2に係る溶接システム100aによる本溶接およびリペア溶接の動作手順の変形例を示すシーケンス図である。図12Aおよび図12Bの説明では、複数の元ワークを用いた本溶接、そして被溶接ワークの外観検査が不合格となったことに基づいて行われるリペア溶接の各工程に関して上位装置1とロボット制御装置2aと検査制御装置3との間で行われる動作手順を例示して説明する。また、図12Aあるいは図12Bの説明において、図3Aあるいは図3Bの処理と重複する処理については同一のステップ番号を付与して説明を簡略化あるいは省略し、異なる内容について説明する。
(Operation of welding system)
Next, the operation procedure of the main welding and the repair welding by the welding system 100a according to the second embodiment will be described with reference to FIG. 12A. FIG. 12A is a sequence diagram showing an example of operating procedures for main welding and repair welding by the welding system 100a according to the second embodiment. FIG. 12B is a sequence diagram showing a modified example of the operation procedure of the main welding and the repair welding by the welding system 100a according to the second embodiment. In the description of FIGS. 12A and 12B, the host device 1 and the robot control are used for each process of the main welding using a plurality of original workpieces and the repair welding performed based on the failure of the visual inspection of the workpiece to be welded. The operation procedure performed between the device 2a and the inspection control device 3 will be described as an example. Further, in the description of FIG. 12A or FIG. 12B, the same step number is assigned to the process overlapping with the process of FIG. 3A or FIG. 3B to simplify or omit the description, and different contents will be described.

図12Aあるいは図12Bにおいて、上位装置1を介さずに、ロボット制御装置2aが、ステップSt1,ステップSt2の処理をそれぞれ実行してもよい。この場合には、ロボット制御装置2aのメモリ22には外部ストレージSTに保存されているデータと同じデータが保存されているか、あるいはロボット制御装置2aが外部ストレージSTからデータの取得を可能に接続されていることが好ましい。なお、図10Bに示すように、図3Bと同様に、上位装置1は、本溶接完了通知を受けると、被溶接ワークの外観検査用プログラムを含む外観検査用プログラムの実行指令を生成してロボット制御装置2aに送ってよい(St4.5)。この場合、図10Bに示すように、ロボット制御装置2aは、被溶接ワークの外観検査の実行指令を生成して検査制御装置3に送るとともに(St5)、外観検査の開始に伴って上位装置1から受けた外観検査用プログラムを実行して溶接ロボットMC1に取り付けられた検査装置4を動かす。 In FIG. 12A or FIG. 12B, the robot control device 2a may execute the processes of step St1 and step St2, respectively, without going through the host device 1. In this case, the memory 22 of the robot control device 2a stores the same data as the data stored in the external storage ST, or the robot control device 2a is connected so as to be able to acquire data from the external storage ST. Is preferable. As shown in FIG. 10B, similarly to FIG. 3B, when the host device 1 receives the main welding completion notification, the robot generates an execution command of the appearance inspection program including the appearance inspection program of the workpiece to be welded. It may be sent to the control device 2a (St4.5). In this case, as shown in FIG. 10B, the robot control device 2a generates an execution command for the appearance inspection of the workpiece to be welded and sends it to the inspection control device 3 (St5), and at the same time, the higher-level device 1 is accompanied by the start of the appearance inspection. The inspection device 4 attached to the welding robot MC1 is operated by executing the visual inspection program received from.

検査制御装置3は、ロボット制御装置2により検査装置4が被溶接ワークを走査可能に移動されている中で検査装置4と協働して外観検査を行い、ステップSt6の外観検査の結果、被溶接ワークには複数の溶接の不良箇所があるために検査スコア等に基づいてリペア溶接が必要であると判定し(St7)、ステップSt7での判定結果を含む外観検査報告を生成してロボット制御装置2aに送る(St21)。ロボット制御装置2aは、ステップSt21で送られた外観検査報告を受信すると、この外観検査報告の内容(つまり外観検査結果)を用いてリペア溶接プログラムを作成する(St22)。ロボット制御装置2aは、上位装置1から送られたリペア溶接の実行指令を受信すると、その実行指令で指定される被溶接ワークを対象としたリペア溶接プログラム(ステップSt22で作成)に基づいて、そのリペア溶接プログラムに従ったリペア溶接を溶接ロボットMC1に実行させる(St12)。ステップSt12以降の処理は図3Aと同一であるため、説明を省略する。 The inspection control device 3 performs a visual inspection in cooperation with the inspection device 4 while the inspection device 4 is being moved so as to be able to scan the work to be welded by the robot control device 2, and as a result of the visual inspection in step St6, the inspection control device 3 is subjected to the inspection. It is determined that repair welding is necessary based on the inspection score, etc. because there are multiple defective parts in the welded work (St7), and an appearance inspection report including the determination result in step St7 is generated and robot control is performed. It is sent to the device 2a (St21). When the robot control device 2a receives the visual inspection report sent in step St21, the robot control device 2a creates a repair welding program using the contents of the visual inspection report (that is, the visual inspection result) (St22). When the robot control device 2a receives the repair welding execution command sent from the host device 1, the robot control device 2a is based on the repair welding program (created in step St22) for the work to be welded specified by the execution command. The welding robot MC1 is made to perform repair welding according to the repair welding program (St12). Since the processing after step St12 is the same as that in FIG. 3A, the description thereof will be omitted.

以上により、実施の形態2に係る溶接システム100aでは、ロボット制御装置2aは、外観検査結果に基づいて、複数の検出点を溶接ロボットMC1の動作方向に合わせて並び替えた後に設定されたリペア溶接の対象区間(上述参照)のリペア溶接を実行させるリペア溶接プログラムを作成する。リペア溶接装置は、作成されたリペア溶接プログラムに従い、対象区間を溶接ロボットMC1にリペア溶接させる。これにより、リペア溶接装置は、外観検査において得られた複数の検出点P5〜P8のそれぞれの出力順序をリペア溶接時の溶接ロボットMC1の動作方向に合わせて、溶接ロボットMC1を介して自動的かつ効率的にリペア溶接できる。 As described above, in the welding system 100a according to the second embodiment, the robot control device 2a rearranges a plurality of detection points according to the operation direction of the welding robot MC1 based on the visual inspection result, and then the repair welding is set. Create a repair welding program to execute repair welding of the target section (see above). The repair welding device causes the welding robot MC1 to repair weld the target section according to the created repair welding program. As a result, the repair welding apparatus automatically adjusts the output order of each of the plurality of detection points P5 to P8 obtained in the visual inspection to the operating direction of the welding robot MC1 at the time of repair welding, and automatically via the welding robot MC1. Efficient repair welding is possible.

(実施の形態3)
実施の形態2では、リペア溶接プログラムはロボット制御装置2aにより作成される。実施の形態3では、リペア溶接プログラムは上位装置1aによって行われる例を説明する。
(Embodiment 3)
In the second embodiment, the repair welding program is created by the robot control device 2a. In the third embodiment, an example in which the repair welding program is performed by the host device 1a will be described.

(溶接システムの構成)
図13は、実施の形態3に係る検査制御装置3、ロボット制御装置2および上位装置1aの内部構成例を示す図である。図13の説明において、図2の各部の構成と同一のものには同一の符号を付与して説明を簡略化あるいは省略し、異なる内容について説明する。また、実施の形態3に係る溶接システム100bの構成は実施の形態1に係る溶接システム100と同一の構成である(図1参照)。
(Welding system configuration)
FIG. 13 is a diagram showing an example of internal configurations of the inspection control device 3, the robot control device 2, and the host device 1a according to the third embodiment. In the description of FIG. 13, the same reference numerals are given to those having the same configuration as each part of FIG. 2, and the description is simplified or omitted, and different contents will be described. Further, the configuration of the welding system 100b according to the third embodiment is the same as that of the welding system 100 according to the first embodiment (see FIG. 1).

リペア溶接装置の一例としての上位装置1aは、ロボット制御装置2を介して溶接ロボットMC1により実行されるリペア溶接の実行(例えばリペア溶接の開始、完了)を統括して制御する。例えば、上位装置1aは、検査制御装置3から外観検査報告を受信すると、リペア溶接プログラムを作成するとともに、溶接ロボットMC1により生産された被溶接ワークのリペア溶接の実行指令を生成してリペア溶接プログラムを含めてロボット制御装置2に送る。上位装置1aは、通信部10と、プロセッサ11aと、メモリ12とを少なくとも含む構成である。 The host device 1a as an example of the repair welding device collectively controls the execution of repair welding (for example, the start and completion of repair welding) executed by the welding robot MC1 via the robot control device 2. For example, when the host device 1a receives the appearance inspection report from the inspection control device 3, it creates a repair welding program and generates a repair welding execution command for the work to be welded produced by the welding robot MC1 to generate a repair welding program. Is sent to the robot control device 2. The host device 1a has a configuration including at least a communication unit 10, a processor 11a, and a memory 12.

プロセッサ11aは、例えばCPUまたはFPGAを用いて構成され、メモリ12と協働して、各種の処理および制御を行う。具体的には、プロセッサ11aは、メモリ12に保持されたプログラムを参照し、そのプログラムを実行することにより、セル制御部13およびリペア溶接プログラム作成部14を機能的に実現する。 The processor 11a is configured by using, for example, a CPU or an FPGA, and cooperates with the memory 12 to perform various processes and controls. Specifically, the processor 11a functionally realizes the cell control unit 13 and the repair welding program creation unit 14 by referring to the program stored in the memory 12 and executing the program.

リペア溶接プログラム作成部14は、検査制御装置3から送られたワークWk(例えば被溶接ワークあるいは被リペア溶接ワーク)の外観検査結果と被溶接ワークあるいは被リペア溶接ワークのワーク情報(例えば被溶接ワークあるいは被リペア溶接ワークの溶接不良の検出点の位置を示す座標等の情報)とを用いて、溶接ロボットMC1により実行されるべきワークWk(例えば被溶接ワークあるいは被リペア溶接ワーク)のリペア溶接プログラムを作成する。リペア溶接プログラムの作成手順の詳細については、図4〜図10を参照して実施の形態1で説明した内容と同一であるため説明を省略する。なお、生成されたリペア溶接プログラムは、プロセッサ11a内に記憶されてもよいし、メモリ12内のRAMに記憶されてもよい。 The repair welding program creation unit 14 determines the appearance inspection result of the work Wk (for example, the work to be welded or the work to be repaired) sent from the inspection control device 3 and the work information of the work to be welded or the work to be repaired (for example, the work to be welded). Alternatively, a repair welding program for the work Wk (for example, the work to be welded or the work to be repaired) to be executed by the welding robot MC1 using information such as coordinates indicating the position of a welding defect detection point of the work to be repaired. To create. The details of the procedure for creating the repair welding program are the same as those described in the first embodiment with reference to FIGS. 4 to 10, and thus the description thereof will be omitted. The generated repair welding program may be stored in the processor 11a or in the RAM in the memory 12.

(溶接システムの動作)
次に、実施の形態3に係る溶接システム100bによる本溶接およびリペア溶接の動作手順について、図14Aを参照して説明する。図14Aは、実施の形態3に係る溶接システム100bによる本溶接およびリペア溶接の動作手順例を示すシーケンス図である。図14Bは、実施の形態3に係る溶接システム100bによる本溶接およびリペア溶接の動作手順の変形例を示すシーケンス図である。図14Aおよび図14Bの説明では、複数の元ワークを用いた本溶接、そして被溶接ワークの外観検査が不合格となったことに基づいて行われるリペア溶接の各工程に関して上位装置1aとロボット制御装置2と検査制御装置3との間で行われる動作手順を例示して説明する。また、図14Aあるいは図14Bの説明において、図3Aあるいは図3Bの処理と重複する処理については同一のステップ番号を付与して説明を簡略化あるいは省略し、異なる内容について説明する。
(Operation of welding system)
Next, the operation procedure of the main welding and the repair welding by the welding system 100b according to the third embodiment will be described with reference to FIG. 14A. FIG. 14A is a sequence diagram showing an example of operating procedures for main welding and repair welding by the welding system 100b according to the third embodiment. FIG. 14B is a sequence diagram showing a modified example of the operation procedure of the main welding and the repair welding by the welding system 100b according to the third embodiment. In the description of FIGS. 14A and 14B, the host device 1a and the robot control are used for each process of the main welding using a plurality of original workpieces and the repair welding performed based on the failure of the visual inspection of the workpiece to be welded. The operation procedure performed between the device 2 and the inspection control device 3 will be described as an example. Further, in the description of FIG. 14A or FIG. 14B, the same step number is assigned to the process overlapping with the process of FIG. 3A or FIG. 3B to simplify or omit the description, and different contents will be described.

図14Aあるいは図14Bにおいて、上位装置1aを介さずに、ロボット制御装置2が、ステップSt1,ステップSt2の処理をそれぞれ実行してもよい。この場合には、ロボット制御装置2のメモリ22には外部ストレージSTに保存されているデータと同じデータが保存されているか、あるいはロボット制御装置2が外部ストレージSTからデータの取得を可能に接続されていることが好ましい。なお、図12Bに示すように、図3Bと同様に、上位装置1aは、本溶接完了通知を受けると、被溶接ワークの外観検査用プログラムを含む外観検査用プログラムの実行指令を生成してロボット制御装置2に送ってよい(St4.5)。この場合、図12Bに示すように、ロボット制御装置2は、被溶接ワークの外観検査の実行指令を生成して検査制御装置3に送るとともに(St5)、外観検査の開始に伴って上位装置1aから受けた外観検査用プログラムを実行して溶接ロボットMC1に取り付けられた検査装置4を動かす。 In FIG. 14A or FIG. 14B, the robot control device 2 may execute the processes of step St1 and step St2, respectively, without going through the host device 1a. In this case, the memory 22 of the robot control device 2 stores the same data as the data stored in the external storage ST, or the robot control device 2 is connected so that data can be acquired from the external storage ST. Is preferable. As shown in FIG. 12B, similarly to FIG. 3B, when the higher-level device 1a receives the main welding completion notification, the robot generates an execution command of the appearance inspection program including the appearance inspection program of the workpiece to be welded. It may be sent to the control device 2 (St4.5). In this case, as shown in FIG. 12B, the robot control device 2 generates an execution command for the visual inspection of the workpiece to be welded and sends it to the inspection control device 3 (St5), and at the same time, the higher-level device 1a is accompanied by the start of the visual inspection. The inspection device 4 attached to the welding robot MC1 is operated by executing the visual inspection program received from.

検査制御装置3は、ロボット制御装置2により検査装置4が被溶接ワークを走査可能に移動されている中で検査装置4と協働して外観検査を行い、ステップSt6の外観検査の結果、被溶接ワークには複数の溶接の不良箇所があるために検査スコア等に基づいてリペア溶接が必要であると判定し(St7)、ステップSt7での判定結果を含む外観検査報告を生成してロボット制御装置2に送る(St21)。また、検査制御装置3は、同様に生成された外観検査報告を上位装置1aに送る(St10)。 The inspection control device 3 performs a visual inspection in cooperation with the inspection device 4 while the inspection device 4 is being moved so as to be able to scan the work to be welded by the robot control device 2, and as a result of the visual inspection in step St6, the inspection control device 3 is subjected to the inspection. It is determined that repair welding is necessary based on the inspection score, etc. because there are multiple defective parts in the welded work (St7), and an appearance inspection report including the determination result in step St7 is generated and robot control is performed. Send to device 2 (St21). Further, the inspection control device 3 sends the similarly generated visual inspection report to the host device 1a (St10).

上位装置1aは、ステップSt10で送られた外観検査報告を受信すると、この外観検査報告の内容(つまり外観検査結果)を用いてリペア溶接プログラムを作成する(St31)。上位装置1aは、被溶接ワークを対象としたリペア溶接の実行指令を生成して作成されたリペア溶接プログラムを含めてロボット制御装置2に送る(St32)。ロボット制御装置2は、上位装置1aから送られたリペア溶接の実行指令を受信すると、その実行指令で指定される被溶接ワークを対象としたリペア溶接プログラム(ステップSt32で受領)に基づいて、そのリペア溶接プログラムに従ったリペア溶接を溶接ロボットMC1に実行させる(St12)。ステップSt12以降の処理は図3Aと同一であるため、説明を省略する。 Upon receiving the visual inspection report sent in step St10, the host device 1a creates a repair welding program using the contents of the visual inspection report (that is, the visual inspection result) (St31). The host device 1a generates a repair welding execution command for the work to be welded and sends the repair welding program to the robot control device 2 (St32). When the robot control device 2 receives the repair welding execution command sent from the host device 1a, the robot control device 2 receives the repair welding execution command for the work to be welded specified by the execution command based on the repair welding program (received in step St32). The welding robot MC1 is made to perform repair welding according to the repair welding program (St12). Since the processing after step St12 is the same as that in FIG. 3A, the description thereof will be omitted.

以上により、実施の形態3に係る溶接システム100bでは、上位装置1aは、外観検査結果に基づいて、複数の検出点を溶接ロボットMC1の動作方向に合わせて並び替えた後に設定されたリペア溶接の対象区間(上述参照)のリペア溶接を実行させるリペア溶接プログラムを作成する。リペア溶接装置は、作成されたリペア溶接プログラムに従い、対象区間を溶接ロボットMC1にリペア溶接させる。これにより、リペア溶接装置は、外観検査において得られた複数の検出点P9〜P12のそれぞれの出力順序をリペア溶接時の溶接ロボットMC1の動作方向に合わせて、溶接ロボットMC1を介して自動的かつ効率的にリペア溶接できる。 As described above, in the welding system 100b according to the third embodiment, the host device 1a rearranges a plurality of detection points according to the operation direction of the welding robot MC1 based on the visual inspection result, and then sets the repair welding. Create a repair welding program to execute repair welding of the target section (see above). The repair welding device causes the welding robot MC1 to repair weld the target section according to the created repair welding program. As a result, the repair welding apparatus automatically adjusts the output order of each of the plurality of detection points P9 to P12 obtained in the visual inspection to the operating direction of the welding robot MC1 at the time of repair welding, and automatically via the welding robot MC1. Efficient repair welding is possible.

以上、図面を参照しながら各種の実施の形態について説明したが、本開示はかかる例に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇内において、各種の変更例、修正例、置換例、付加例、削除例、均等例に想到し得ることは明らかであり、それらについても当然に本開示の技術的範囲に属するものと了解される。また、発明の趣旨を逸脱しない範囲において、上述した各種の実施の形態における各構成要素を任意に組み合わせてもよい。 Although various embodiments have been described above with reference to the drawings, it goes without saying that the present disclosure is not limited to such examples. It is clear that a person skilled in the art can come up with various modifications, modifications, substitutions, additions, deletions, and equality within the scope of the claims. It is understood that it naturally belongs to the technical scope of the present disclosure. Further, each component in the various embodiments described above may be arbitrarily combined as long as the gist of the invention is not deviated.

本開示は、本溶接により生産された被溶接ワークの外観検査により得られた複数の不良箇所の出力順序を溶接ロボットの動作方向と一致するよう並び替えてより効率的にリペア溶接するリペア溶接装置およびリペア溶接方法として有用である。 The present disclosure is a repair welding apparatus that rearranges the output order of a plurality of defective parts obtained by visual inspection of the workpiece produced by the main welding so as to match the operation direction of the welding robot and performs repair welding more efficiently. And useful as a repair welding method.

1、1a 上位装置
2、2a ロボット制御装置
10、20、30 通信部
11、11a、21、21a、31 プロセッサ
12、22、32 メモリ
13 セル制御部
14、38 リペア溶接プログラム作成部
23 本溶接プログラム作成部
24 演算部
25 ロボット制御部
26 電源制御部
33 検査結果記憶部
34 判定閾値記憶部
35 形状検出制御部
36 データ処理部
37 検査結果判定部
100、100a、100b 溶接システム
200 マニピュレータ
300 ワイヤ送給装置
301 溶接ワイヤ
400 溶接トーチ
500 電源装置
MC1 溶接ロボット
MC1a 本溶接ロボット
MC1b リペア溶接ロボット
ST 外部ストレージ
1, 1a Upper device 2, 2a Robot control device 10, 20, 30 Communication unit 11, 11a, 21, 21a, 31 Processor 12, 22, 32 Memory 13 Cell control unit 14, 38 Repair welding program creation unit 23 Welding program Creation unit 24 Calculation unit 25 Robot control unit 26 Power supply control unit 33 Inspection result storage unit 34 Judgment threshold storage unit 35 Shape detection control unit 36 Data processing unit 37 Inspection result judgment unit 100, 100a, 100b Welding system 200 Manipulator 300 Wire feeding Device 301 Welding wire 400 Welding torch 500 Power supply device MC1 Welding robot MC1a Main welding robot MC1b Repair welding robot ST External storage

Claims (6)

溶接ロボットによる本溶接により生産された被溶接ワークの溶接ビードの複数の不良箇所の情報を含む外観検査結果を取得する取得部と、
前記外観検査結果に基づいて、前記複数の不良箇所の出力順序を前記溶接ロボットの動作方向と一致する順序に並び替えた前記複数の不良箇所に基づく対象区間のリペア溶接の実行を前記溶接ロボットに指示するロボット制御部と、を備える、
リペア溶接装置。
An acquisition unit that acquires visual inspection results including information on multiple defective parts of the weld bead of the work to be welded produced by main welding by a welding robot.
Based on the visual inspection result, the welding robot is subjected to repair welding of the target section based on the plurality of defective parts by rearranging the output order of the plurality of defective parts in an order that matches the operation direction of the welding robot. It is equipped with a robot control unit that gives instructions.
Repair welding equipment.
前記外観検査結果に基づいて、前記対象区間のリペア溶接を実行させるリペア溶接プログラムを作成するリペア溶接プログラム作成部、を更に備え、
前記ロボット制御部は、前記リペア溶接プログラムに従い、前記対象区間を前記溶接ロボットにリペア溶接させる、
請求項1に記載のリペア溶接装置。
A repair welding program creation unit for creating a repair welding program for executing repair welding of the target section based on the visual inspection result is further provided.
The robot control unit causes the welding robot to repair weld the target section according to the repair welding program.
The repair welding apparatus according to claim 1.
前記リペア溶接プログラム作成部は、前記複数の不良箇所のそれぞれが前記溶接ロボットの本溶接時の動作軌跡上に位置する場合に、前記動作軌跡を複数の区間に分割し、前記複数の不良箇所のそれぞれごとに前記複数の区間のそれぞれの前記動作方向の開始点からの距離あるいは割合を算出するとともに、前記区間と前記距離あるいは割合とを用いて前記複数の不良箇所の出力順序を前記動作方向と一致するように並び替えて前記対象区間を設定する、
請求項2に記載のリペア溶接装置。
When each of the plurality of defective parts is located on the operation locus of the welding robot at the time of main welding, the repair welding program creating unit divides the operation locus into a plurality of sections and divides the operation locus into a plurality of sections. For each, the distance or ratio from the start point of each of the operation directions of the plurality of sections is calculated, and the output order of the plurality of defective parts is set as the operation direction by using the section and the distance or ratio. Sort to match and set the target section,
The repair welding apparatus according to claim 2.
前記リペア溶接プログラム作成部は、前記複数の不良箇所の全てが前記溶接ロボットの本溶接時の動作軌跡上に位置しない場合に、前記動作軌跡を複数の区間に分割し、前記複数の不良箇所のそれぞれから前記動作軌跡への最近接点ごとに前記複数の区間のそれぞれの前記動作方向の開始点からの距離あるいは割合を算出するとともに、前記区間と前記距離あるいは割合とを用いて前記複数の不良箇所の出力順序を前記動作方向と一致するように並び替えて前記対象区間を設定する、
請求項2に記載のリペア溶接装置。
When all of the plurality of defective parts are not located on the operation loci of the welding robot at the time of main welding, the repair welding program creating unit divides the operation loci into a plurality of sections and divides the operation loci into a plurality of sections. The distance or ratio from the start point of each of the operation directions of the plurality of sections is calculated for each recent contact from each to the operation locus, and the plurality of defective points are calculated using the section and the distance or ratio. The target section is set by rearranging the output order of the above so as to match the operation direction.
The repair welding apparatus according to claim 2.
前記リペア溶接プログラム作成部は、前記複数の不良箇所の一部が前記溶接ロボットの本溶接時の動作軌跡上に位置しかつ前記複数の不良箇所の残りが前記動作軌跡上に位置しない場合に、前記動作軌跡を複数の区間に分割し、前記一部の不良箇所あるいは前記残りの不良箇所から前記動作軌跡への最近接点ごとに前記複数の区間のそれぞれの前記動作方向の開始点からの距離あるいは割合を算出するとともに、前記区間と前記距離あるいは割合とを用いて前記複数の不良箇所の出力順序を前記動作方向と一致するように並び替えて前記対象区間を設定する、
請求項2に記載のリペア溶接装置。
When a part of the plurality of defective parts is located on the operation locus of the welding robot at the time of main welding and the rest of the plurality of defective parts is not located on the operation locus, the repair welding program creating unit is used. The operation locus is divided into a plurality of sections, and the distance from the start point of each of the operation directions of the plurality of sections for each recent contact from the partial defective portion or the remaining defective portion to the operation locus or In addition to calculating the ratio, the target section is set by rearranging the output order of the plurality of defective parts so as to match the operation direction using the section and the distance or ratio.
The repair welding apparatus according to claim 2.
リペア溶接装置により実行されるリペア溶接方法であって、
溶接ロボットによる本溶接により生産された被溶接ワークの溶接ビードの複数の不良箇所の情報を含む外観検査結果を取得する工程と、
前記外観検査結果に基づいて、前記複数の不良箇所の出力順序を前記溶接ロボットの動作方向と一致する順序に並び替えた前記複数の不良箇所に基づく対象区間のリペア溶接の実行を前記溶接ロボットに指示する工程と、を有する、
リペア溶接方法。
A repair welding method performed by a repair welding device.
The process of acquiring visual inspection results including information on multiple defective parts of the weld bead of the work to be welded produced by the main welding by the welding robot, and
Based on the visual inspection result, the welding robot is subjected to repair welding of the target section based on the plurality of defective parts by rearranging the output order of the plurality of defective parts in an order that matches the operation direction of the welding robot. Has a process to instruct,
Repair welding method.
JP2019188160A 2019-10-11 2019-10-11 Repair welding device and repair welding method Pending JP2021062442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019188160A JP2021062442A (en) 2019-10-11 2019-10-11 Repair welding device and repair welding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019188160A JP2021062442A (en) 2019-10-11 2019-10-11 Repair welding device and repair welding method

Publications (1)

Publication Number Publication Date
JP2021062442A true JP2021062442A (en) 2021-04-22

Family

ID=75487130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019188160A Pending JP2021062442A (en) 2019-10-11 2019-10-11 Repair welding device and repair welding method

Country Status (1)

Country Link
JP (1) JP2021062442A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023234291A1 (en) * 2022-06-01 2023-12-07 リンクウィズ株式会社 Welding system and welding method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023234291A1 (en) * 2022-06-01 2023-12-07 リンクウィズ株式会社 Welding system and welding method

Similar Documents

Publication Publication Date Title
US20220297246A1 (en) Repair welding device and repair welding method
US20220297241A1 (en) Repair welding device and repair welding method
WO2020262050A1 (en) Repair welding examination device and repair welding examination method
JP7422337B2 (en) Repair welding control device and repair welding control method
WO2020262049A1 (en) Repair welding control device and repair welding control method
US20220118558A1 (en) Repair welding system, repair welding method, inspection device, and robot control device
JP2021062442A (en) Repair welding device and repair welding method
US20220412728A1 (en) Bead appearance inspection device, bead appearance inspection method, program, and bead appearance inspection system
JP2021062441A (en) Repair welding device and repair welding method
JP2021139771A (en) Control device, control method of display device, and program
WO2021177435A1 (en) Bead external appearance inspection device, bead external appearance inspection method, program, and bead external appearance inspection system
WO2021177361A1 (en) Bead appearance inspection device and bead appearance inspection system
JP2021090977A (en) Repair welding equipment and repair welding method
US20220410323A1 (en) Bead appearance inspection device, bead appearance inspection method, program, and bead appearance inspection system
JP6990869B1 (en) Visual inspection method and visual inspection equipment
JP2021137849A (en) Bead appearance inspection device, bead appearance inspection method, bead appearance inspection program and bead appearance inspection system
CN115210035B (en) Bead appearance inspection device, bead appearance inspection method, program, and bead appearance inspection system
JP2021137848A (en) Bead appearance inspection device and bead appearance inspection system
JP2021007962A (en) Repair welding control apparatus and repair welding control method
US20240123537A1 (en) Offline teaching device and offline teaching method
US20240123625A1 (en) Offline teaching device and offline teaching method
US20240176314A1 (en) Offline teaching device and offline teaching method
JP7228794B2 (en) Repair welding system, repair welding method, inspection device and robot controller
JP2021064142A (en) Identifier management method, robot control device, and supervisory control device