Bead appearance inspection device, bead appearance inspection method, program, and bead appearance inspection system

The bead appearance inspection system uses input and master data with AI for efficient and accurate weld bead inspection, addressing inefficiencies in existing methods by implementing a gray zone classification to enhance productivity and reduce misclassification.

JP7555041B2Active Publication Date: 2024-09-24PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2022504432
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-03-05
Filing Date
2021-03-03
Publication Date
2024-09-24
Estimated Expiration
2041-03-03

AI Technical Summary

Technical Problem

Existing bead appearance inspection methods for welds are inefficient and inaccurate due to varying user criteria and quality standards, leading to decreased productivity and potential misclassification of products as defective or non-defective.

Method used

A bead appearance inspection system utilizing input data and master data to perform first and second inspection judgments, including artificial intelligence for defect detection, with a gray zone classification to improve accuracy and efficiency.

Benefits of technology

Enhances the productivity of weld bead inspection by accurately distinguishing between non-defective, gray, and defective zones, reducing errors and improving overall product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007555041000009
    Figure 0007555041000009
  • Figure 0007555041000010
    Figure 0007555041000010
  • Figure 0007555041000004
    Figure 0007555041000004
Patent Text Reader

Abstract

This bead appearance inspection device includes: an input unit for receiving input data related to a weld bead for a workpiece produced by welding; and a determination unit for performing inspection and determination related to the shape of the weld bead on the basis of the input data, wherein the determination unit determines which of a range of values indicating an acceptable product zone, a range of values indicating a gray zone, and a range of values indicating a rejected product zone, a value obtained from the input data belongs to, and the range of values indicating the gray zone lies between the range of values indicating the acceptable product zone and the range of values indicating the rejected product zone.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a bead appearance inspection device, a bead appearance inspection method, a program, and a bead appearance inspection system. [Background technology]

[0002] Patent Document 1 discloses a shape inspection device that projects a slit light onto a weld bead, captures shape lines formed sequentially on the weld bead by scanning the slit light, and acquires the three-dimensional shape of the weld bead as point cloud data based on the captured image data of each shape line formed sequentially. This shape inspection device sets an arbitrary cutting line different from the shape line formed by scanning the slit light in response to an input on the weld bead displayed based on the point cloud data, and calculates the cross-sectional shape of the weld bead at the cutting line based on the point cloud data corresponding to the cutting line. In addition, the shape inspection device compares various feature amounts calculated according to the calculated cross-sectional shape with the allowable ranges of various feature amounts registered in advance, and judges whether the feature amounts are good or bad. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 2012-37487 Summary of the Invention [Problem to be solved by the invention]

[0004] The present disclosure provides a bead appearance inspection device, a bead appearance inspection method, a program, and a bead appearance inspection system that more efficiently perform bead appearance inspection of workpieces produced by main welding. [Means for solving the problem]

[0005] The present disclosure provides a method and apparatus for inspecting and judging a shape of a weld bead of a workpiece produced by welding, comprising: an input unit that inputs input data related to a weld bead of a workpiece produced by welding; and a judgment unit that performs an inspection judgment related to a shape of the weld bead based on the input data, wherein the judgment unit judges whether a value obtained from the input data belongs to a range of values ​​indicating a non-defective zone, a range of values ​​indicating a gray zone, or a range of values ​​indicating a defective zone, and the range of values ​​indicating the gray zone is between the range of values ​​indicating the non-defective zone and the range of values ​​indicating the defective zone. The range of values ​​indicating the gray zone is divided at least into a range of values ​​indicating a first gray zone and a range of values ​​indicating a second gray zone, and the first gray zone and the second gray zone are subjected to different processes. R, A bead appearance inspection device is provided.

[0006] The present disclosure also provides a bead appearance inspection method executed by a bead appearance inspection device, the method comprising: a step of inputting input data relating to a weld bead of a workpiece produced by welding; and a judgment step of inspecting and judging the shape of the weld bead based on the input data, the judgment step determining whether a value obtained from the input data belongs to a range of values ​​indicating a pass zone, a range of values ​​indicating a gray zone, or a range of values ​​indicating a defective zone, the range of values ​​indicating the gray zone being between the range of values ​​indicating the pass zone and the range of values ​​indicating the defective zone. The range of values ​​indicating the gray zone is divided at least into a range of values ​​indicating a first gray zone and a range of values ​​indicating a second gray zone, and the first gray zone and the second gray zone are subjected to different processes. The present invention provides a bead appearance inspection method.

[0007] The present disclosure also provides a program for causing a bead appearance inspection device, which is a computer, to execute a step of inputting input data relating to a weld bead of a workpiece produced by welding, and a judgment step of inspecting and judging the shape of the weld bead based on the input data, wherein in the judgment step, it is judged whether a value obtained from the input data belongs to a range of values ​​indicating a pass zone, a range of values ​​indicating a gray zone, or a range of values ​​indicating a defective zone, and the range of values ​​indicating the gray zone is between the range of values ​​indicating the pass zone and the range of values ​​indicating the defective zone. The range of values ​​indicating the gray zone is divided at least into a range of values ​​indicating a first gray zone and a range of values ​​indicating a second gray zone, and the first gray zone and the second gray zone are subjected to different processes. We provide programs that

[0008] The present disclosure also provides a bead appearance inspection system including an input unit that inputs input data related to a weld bead of a workpiece produced by welding, and a judgment unit that performs an inspection judgment on the shape of the weld bead based on the input data, wherein the judgment unit judges whether a value obtained from the input data belongs to a range of values ​​indicating a pass zone, a range of values ​​indicating a gray zone, or a range of values ​​indicating a defective zone, and the range of values ​​indicating the gray zone is between the range of values ​​indicating the pass zone and the range of values ​​indicating the defective zone. The range of values ​​indicating the gray zone is divided at least into a range of values ​​indicating a first gray zone and a range of values ​​indicating a second gray zone, and the first gray zone and the second gray zone are subjected to different processes. We provide a bead appearance inspection system. Effect of the Invention

[0009] According to the present disclosure, bead appearance inspection of workpieces produced by main welding can be performed more efficiently. [Brief description of the drawings]

[0010] [Figure 1] Schematic diagram showing an example of the system configuration of a welding system [Diagram 2] FIG. 1 is a diagram showing an example of the internal configuration of an inspection control device, a robot control device, and a higher-level device according to a first embodiment; [Diagram 3] A sequence diagram showing an example of a series of processing procedures including main welding, bead appearance inspection, and repair welding by the welding system according to the first embodiment. [Figure 4] A flowchart showing an example of a processing procedure showing details of the first inspection judgment (point cloud comparison) and the second to Nth inspection judgments (AI judgments). [Diagram 5] A table showing examples of first and second test judgments for each of a plurality of test items [Figure 6] FIG. 13 is a diagram showing an example of the internal configuration of an inspection control device, a robot control device, and a higher-level device according to a second embodiment. [Figure 7] A sequence diagram showing an example of a series of processing procedures including main welding, bead appearance inspection, and repair welding by the welding system according to the second embodiment. [Figure 8] Conceptual diagram showing an example of setting the first gray zone for bead appearance inspection [Figure 9] 1 is a flowchart showing an example of a processing procedure for individual judgment in bead appearance inspection according to a first example of setting a gray zone in the bead appearance inspection. [Figure 10] Conceptual diagram showing an example of setting the second gray zone for bead appearance inspection [Figure 11] 10 is a flowchart showing an example of a processing procedure for individual judgment in bead appearance inspection according to a second example of setting a gray zone in the bead appearance inspection. [Figure 12] Conceptual diagram showing examples of bead appearance inspection results displayed on monitors MN1, MN2, etc. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] (Background to this disclosure) Conventionally, there have been known device configurations that automatically inspect the external shape of a weld bead, such as determining that a workpiece produced by main welding is non-defective when calculated values ​​of features (e.g., bead width, bead height, etc.) related to the shape of the weld bead are within an allowable range, as in Patent Document 1. However, at actual welding sites, workers often visually inspect the external shape of the weld bead to determine whether the main welding of the workpiece was successful.

[0012] In the visual inspection of weld beads, in addition to the above-mentioned feature quantities related to the shape of the weld bead, there may be a wide range of inspection items, such as the displacement of the weld bead, the presence or absence of holes, and the presence or absence of welding defects such as spatters, and the criteria for determining whether or not a product is good are often not uniform depending on the user. For this reason, in the visual inspection of weld beads, not only are the inspection items different for each user, but the quality of the finished workpiece also differs for each user, so it is considered that there is room for improvement over the conventional technology in that greater usability of the visual inspection is required along with customizability that allows the inspection items to be arbitrarily adjusted.

[0013] Therefore, in the following embodiments, examples of a bead appearance inspection device, a bead appearance inspection method, a program, and a bead appearance inspection system that more efficiently perform bead appearance inspection of workpieces produced by main welding will be described.

[0014] Furthermore, in visual inspection of weld beads, thresholds are set for measurement values ​​such as the size and number of defective welds, and the measurement values ​​are compared with the thresholds to determine whether the weld is good or bad. However, since quality standards may differ from user to user and it is also necessary to comprehensively consider the characteristics of the workpiece, it is not easy to determine an optimal threshold for judgment. As a result, the accuracy of visual inspection of workpieces in the border area between good and defective products may decrease, leading to situations such as overlooking defective products or erroneously detecting good products as defective. These situations reduce the productivity of products that are welded.

[0015] Therefore, in the following embodiments, examples of a bead appearance inspection device, a bead appearance inspection method, a program, and a bead appearance inspection system are described that improve the productivity of welded products by providing a gray zone judgment category in the boundary area between good and defective products, and when a gray judgment is made, the user can visually confirm the product or perform another appearance inspection under more precise conditions.

[0016] Hereinafter, with reference to the drawings as appropriate, a detailed description will be given of an embodiment specifically disclosing a bead appearance inspection device, a bead appearance inspection method, a program, and a bead appearance inspection system according to the present disclosure. However, more detailed description than necessary may be omitted. For example, detailed description of already well-known matters and duplicated description of substantially the same configuration may be omitted. This is to avoid the following description becoming unnecessarily redundant and to facilitate understanding by those skilled in the art. Note that the attached drawings and the following description are provided to enable those skilled in the art to fully understand the present disclosure, and are not intended to limit the subject matter described in the claims.

[0017] (Embodiment 1) The bead appearance inspection device according to the first embodiment inputs input data related to the weld bead of the workpiece produced by main welding, and performs a first inspection judgment on the shape of the weld bead based on a comparison between the input data and the master data using the input data and master data of a non-defective workpiece, and is equipped with k (k is an integer of 1 or more) types of artificial intelligence and performs a second inspection judgment on welding defects of the weld bead based on processing of the k types of artificial intelligence targeting the input data. Welding defects of the weld bead include, for example, holes, pits, undercuts, spatters, and protrusions. Note that the welding defects are not limited to those mentioned above. The bead appearance inspection device outputs the results of the appearance inspection of the weld bead to an output device based on the judgment results of the first appearance inspection and the k second inspection judgments.

[0018] Hereinafter, the object to be welded (e.g., metal) is defined as the "original workpiece," the object produced (manufactured) by this welding is defined as the "workpiece," and the object in which defective welding detected during visual inspection of the "workpiece" has been repair welded is defined as the "repair workpiece."

[0019] The process in which an original workpiece is joined to another original workpiece by a welding robot to produce a workpiece is defined as "main welding," and the process in which a welding robot repairs or corrects defective parts of the workpiece is defined as "repair welding."

[0020] It should be noted that the "work" or "repair work" is not limited to a work produced by a single main welding operation, but may be a composite work produced by two or more main welding operations.

[0021] (Welding system configuration) FIG. 1 is a schematic diagram showing an example of the system configuration of a welding system 100. The welding system 100 includes a higher-level device 1 connected to an external storage ST, an input interface UI1, and a monitor MN1, a robot control device 2, an inspection control device 3, a sensor 4, a main welding robot MC1a, and a repair welding robot MC1b. The main welding robot MC1a and the repair welding robot MC1b may be configured as separate robots, or may be configured as a single welding robot MC1. To make the following description easier to understand, the description will be given assuming that the welding robot MC1 performs the main welding and repair welding processes. Note that FIG. 1 shows only one pair of one robot control device 2, a main welding robot MC1a, and a repair welding robot MC1b, but a plurality of such pairs may be provided. In FIG. 1, the sensor 4 is shown as a separate body from the welding robot MC1, but may be provided integrally with the welding robot MC1 (see FIG. 2).

[0022] The higher-level device 1 controls the start and completion of the main welding performed by the welding robot MC1 through the robot controller 2. For example, the higher-level device 1 reads out welding-related information input or set in advance by a user (e.g., a welding operator or a system administrator; the same applies below) from the external storage ST, and generates a main welding execution command including the contents of the welding-related information using the welding-related information, and sends it to the corresponding robot controller 2. When the main welding by the welding robot MC1 is completed, the higher-level device 1 receives a main welding completion report indicating that the main welding by the welding robot MC1 has been completed from the robot controller 2, updates the status to indicate that the corresponding main welding has been completed, and records it in the external storage ST. Note that the execution command for the main welding described above is not limited to being generated by the higher-level device 1, and may be generated by, for example, an operation panel (e.g., PLC: Programmable Logic Controller) of equipment in a factory or the like where the main welding is performed, or an operation panel (e.g., TP: Teach Pendant) of the robot controller 2. Note that the teach pendant (TP) is a device for operating the welding robot MC1 connected to the robot controller 2.

[0023] Furthermore, the higher-level device 1 comprehensively controls the start and completion of bead appearance inspection using the robot control device 2, the inspection control device 3, and the sensor 4. For example, when the higher-level device 1 receives a report of the completion of main welding from the robot control device 2, it generates an execution command for a bead appearance inspection of the workpiece produced by the welding robot MC1 and sends it to each of the robot control device 2 and the inspection control device 3. When the bead appearance inspection is completed, the higher-level device 1 receives an appearance inspection report indicating that the bead appearance inspection has been completed from the inspection control device 3, updates the status to indicate that the corresponding bead appearance inspection has been completed, and records the updated status in the external storage ST.

[0024] Furthermore, the host device 1 centrally controls the start and completion of repair welding performed by the welding robot MC1 via the robot control device 2. For example, when the host device 1 receives an appearance inspection report from the inspection control device 3, it generates an execution command for repair welding of the workpiece produced by the welding robot MC1 and sends it to the robot control device 2. When the repair welding is completed, the host device 1 receives a repair welding completion report from the robot control device 2 indicating that the repair welding has been completed, updates the status to indicate that the corresponding repair welding has been completed, and records the report in the external storage ST.

[0025] Here, the welding-related information is information indicating the contents of the main welding performed by the welding robot MC1, and is created in advance for each process of the main welding and registered in the external storage ST. The welding-related information includes, for example, the number of original workpieces used in the main welding, workpiece information including the ID, name, and welding location of the original workpieces used in the main welding, the scheduled execution date of the main welding, the production number of workpieces to be welded, and various welding conditions during the main welding. The welding-related information does not need to be limited to the data of the above items. Based on an execution command for the main welding sent from the upper device 1, the robot control device 2 causes the welding robot MC1 to start the execution of the main welding using the original workpieces specified in the execution command. The above-mentioned welding-related information is not limited to being managed by the upper device 1 with reference to the external storage ST, and may be managed, for example, in the robot control device 2. In this case, since the robot control device 2 can grasp the state in which the main welding is completed, the actual execution date may be managed instead of the scheduled execution date for the welding process among the welding-related information. In this specification, the type of welding is not limited, but for ease of understanding, a process of joining a plurality of original workpieces to produce one workpiece will be described as an example.

[0026] The higher-level device 1 is connected to the monitor MN1, the input interface UI1, and the external storage ST so as to enable input and output of data therebetween, and is further connected to the robot control device 2 so as to enable data communication therebetween. The higher-level device 1 may be a terminal device P1 that integrally includes the monitor MN1 and the input interface UI1, and may further integrally include the external storage ST. In this case, the terminal device P1 is a PC (Personal Computer) that is used by a user prior to the execution of the actual welding. The terminal device P1 is not limited to the above-mentioned PC, and may be a computer device having a communication function, such as a smartphone or a tablet terminal.

[0027] The monitor MN1 may be configured using a display device such as an LCD (Liquid Crystal Display) or an organic EL (Electroluminescence). The monitor MN1 may display a screen showing a notification that main welding has been completed, a notification that bead appearance inspection has been completed, or a notification that repair welding has been completed, which are output from the higher-level device 1. Also, instead of or together with the monitor MN1, a speaker (not shown) may be connected to the higher-level device 1, and the higher-level device 1 may output a voice message via the speaker indicating the notification that main welding has been completed, the notification that bead appearance inspection has been completed, or the notification that repair welding has been completed.

[0028] The input interface UI1 is a user interface that detects input operations by the user and outputs the same to the higher-level device 1, and may be configured using, for example, a mouse, a keyboard, a touch panel, etc. The input interface UI1 accepts input operations, for example, when the user creates welding-related information, and when the user sends an execution command for main welding to the robot control device 2.

[0029] The external storage ST is configured using, for example, a hard disk drive or a solid state drive. The external storage ST stores, for example, data of welding-related information created for each main welding, the status (production status) of the work produced by the main welding or the repair work repaired by repair welding, and work information of the work or the repair work (see above).

[0030] A robot control device 2 as an example of a bead appearance inspection device is connected to a higher-level device 1 so as to be able to communicate data with the robot control device 2, and is also connected to a welding robot MC1 so as to be able to communicate data with the robot control device 2. When the robot control device 2 receives an execution command for main welding sent from the higher-level device 1, the robot control device 2 controls the corresponding welding robot MC1 based on the execution command to execute the main welding. When the robot control device 2 detects the completion of the main welding, the robot control device 2 generates a main welding completion report indicating that the main welding has been completed, and notifies the higher-level device 1 of this. This allows the higher-level device 1 to properly detect the completion of the main welding by 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 feeder 300, or may be a known method, and the content of the method of detecting the completion of the main welding may not be limited.

[0031] Furthermore, when the robot control device 2 receives an execution command for a bead visual inspection sent from the higher-level device 1, it controls a welding robot MC1 (see FIG. 2) equipped with a sensor 4 in accordance with an appearance inspection program created or prepared in advance by the robot control device 2, and executes a bead visual inspection of the corresponding workpiece based on the execution command. An appearance inspection report indicating that the bead visual inspection has been completed is sent from the inspection control device 3 to the higher-level device 1, but it may also be sent to the higher-level device 1 by the robot control device 2 itself, or from the robot control device 2 receiving an instruction from the inspection control device 3. This allows the higher-level device 1 to properly detect the completion of the bead visual inspection.

[0032] Furthermore, when the robot control device 2 receives an execution command for repair welding sent from the higher-level device 1, it controls the corresponding welding robot MC1 based on the execution command in accordance with the repair welding program created by the inspection control device 3 to execute repair welding. When the robot control device 2 detects the completion of repair welding, it generates a repair welding completion report indicating that repair welding has been completed and notifies the higher-level device 1. This allows the higher-level device 1 to properly detect the completion of repair welding based on the robot control device 2. Note that 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 feeder 300, or a known method, and the content of the method of detecting the completion of repair welding need not be limited.

[0033] The welding robot MC1 is connected to the robot control device 2 so that data can be communicated between them. The welding robot MC1 performs main welding or repair welding as instructed by the higher-level device 1 under the control of the corresponding robot control device 2. As described above, the welding robot MC1 may be composed of a main welding robot MC1a provided for main welding and a repair welding robot MC1b provided for repair welding. When the sensor 4 is integrally attached to the welding robot MC1, the welding robot MC1 assists in the execution of the bead appearance inspection as instructed by the higher-level device 1 by moving the sensor 4 along the movement path of the welding robot MC1 during main welding or repair welding in accordance with an appearance inspection program.

[0034] The inspection control device 3, which is an example of a bead appearance inspection device, is connected to the upper device 1, the robot control device 2, and the sensor 4 so that data can be communicated between them. When the inspection control device 3 receives an execution command for a bead appearance inspection sent from the upper device 1, it executes a bead appearance inspection (for example, an inspection of whether or not the weld bead formed on the workpiece satisfies a predefined welding standard) of the welded portion of the workpiece produced by the welding robot MC1 together with the sensor 4. Details of the bead appearance inspection will be described later with reference to Figs. 4 and 5. For example, the inspection control device 3 performs a bead appearance inspection based on the welded portion information of the workpiece included in the execution command for the bead appearance inspection, using input data on the shape of the weld bead acquired by the sensor 4 (for example, point cloud data that can identify the three-dimensional shape of the weld bead) based on a comparison with master data of a good workpiece predefined for each workpiece. Hereinafter, such a bead appearance inspection is defined as a "first inspection judgment". The inspection control device 3 is also equipped with k (k: integer equal to or greater than 1) types of artificial intelligence (AI), forms neural networks using the AI, and performs a bead appearance inspection to determine the presence or absence of welding defects based on the AI ​​targeting the above-mentioned input data. Hereinafter, such a bead appearance inspection is defined as a "second inspection judgment." In the first embodiment, the inspection control device 3 is capable of executing the above-mentioned first inspection judgment and second inspection judgment. The inspection control device 3 performs a comprehensive judgment of the bead appearance inspection using the results of executing the first inspection judgment and the second inspection judgment, and generates an appearance inspection report including this comprehensive judgment result and a notification that the bead appearance inspection has been completed, sends it to the higher-level device 1, and outputs it to the monitor MN2.

[0035] Furthermore, when the inspection control device 3 determines that a welding defect has been detected by the second inspection judgment in the bead visual inspection of the workpiece, it creates a repair welding program for making corrections such as repairs to the welding defect using the visual inspection result including the position information of the welding defect location (so-called detection point). The inspection control device 3 sends this repair welding program and the visual inspection result to the robot control device 2 in association with each other.

[0036] The sensor 4 is connected to the inspection control device 3 so as to be able to communicate data with the inspection control device 3. When the sensor 4 is attached to the welding robot MC1 (see FIG. 2), the sensor 4 is operable to perform a three-dimensional scan of a stage on which a workpiece Wk is placed, in response to the driving of the manipulator 200 under the control of the robot control device 2. The sensor 4 acquires data (e.g., point cloud data OD1 described later) capable of identifying the three-dimensional shape of the workpiece placed on the stage (see FIG. 2) in response to the driving of the manipulator 200 under the control of the robot control device 2, and sends the data to the inspection control device 3.

[0037] The monitor MN2, which is an example of an output device, may be configured using a display device such as an LCD or an organic EL. The monitor MN2 displays a screen showing, for example, a notification that the bead visual inspection has been completed, or the notification and the result of the bead visual inspection (for example, the result of the above-mentioned overall judgment), output from the inspection control device 3. Also, instead of the monitor MN2, or together with the monitor MN2, a speaker (not shown) may be connected to the inspection control device 3, and the inspection control device 3 may output, via the speaker, a sound showing the notification that the bead visual inspection has been completed, or the notification and the result of the bead visual inspection (for example, the result of the above-mentioned overall judgment).

[0038] Fig. 2 is a diagram showing an example of the internal configuration of the inspection control device 3, the robot control device 2, and the higher-level device 1 according to the first embodiment. To make the explanation easier to understand, the monitors MN1, MN2, and the input interface UI1 are omitted from Fig. 2. Note that the workpiece Wk shown in Fig. 2 may be an original workpiece placed before main welding is performed, a workpiece to be subjected to bead appearance inspection (i.e., a workpiece produced by main welding), or a workpiece to be subjected to repair welding.

[0039] Welding robot MC1 executes various processes, such as main welding instructed by upper device 1, movement of sensor 4 during bead appearance inspection, and repair welding, under the control of robot control device 2. Welding robot MC1 performs, for example, arc welding in the main welding or repair welding process. However, welding robot MC1 may perform other welding methods (for example, laser welding, gas welding) other than arc welding. In this case, although not shown in the figures, a laser head may be connected to a laser oscillator via an optical fiber instead of welding torch 400. Welding robot MC1 is configured to include at least manipulator 200, wire feeder 300, welding wire 301, and welding torch 400.

[0040] Manipulator 200 has an articulated arm, and moves each arm based on a control signal from robot control unit 25 of robot control device 2. In this way, manipulator 200 can change the positional relationship between workpiece Wk and welding torch 400 (for example, the angle of welding torch 400 with respect to workpiece Wk) by driving the arm.

[0041] Wire feeder 300 controls the feeding speed of welding wire 301 based on a control signal from robot controller 2. Wire feeder 300 may include a sensor (not shown) capable of detecting the remaining amount of welding wire 301. Robot controller 2 can detect the completion of the main welding or repair welding process based on the output of this sensor.

[0042] Welding wire 301 is held by welding torch 400. When power is supplied from power supply device 500 to welding torch 400, an arc is generated between the tip of welding wire 301 and workpiece Wk, and arc welding is performed. For convenience of explanation, illustration and explanation of the configuration for supplying shielding gas to welding torch 400 are omitted.

[0043] The higher-level device 1 uses welding-related information input or set in advance by a user to generate execution commands for various processes, such as main welding, bead appearance inspection, and repair welding, and sends the commands to the robot control device 2. As described above, when the sensor 4 is integrally attached to the welding robot MC1, the execution command for the bead appearance inspection is sent to both the robot control device 2 and the inspection control device 3. The higher-level device 1 is configured to include at least a communication unit 10, a processor 11, and a memory 12.

[0044] The communication unit 10 is connected to the robot control device 2 and the external storage ST so as to be able to communicate data with each other. The communication unit 10 sends execution commands for various processes of main welding, bead visual inspection, or repair welding, which are generated by the processor 11, to the robot control device 2. The communication unit 10 receives a main welding completion report, visual inspection report, or repair welding completion report sent from the robot control device 2, and outputs them to the processor 11. Note that the execution command for main welding or repair welding may include, for example, control signals for controlling each of the manipulator 200, wire feeder 300, and power supply device 500 provided in the welding robot MC1.

[0045] The processor 11 is configured 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 refers to a program stored in the memory 12 and executes the program to functionally realize the cell control unit 13.

[0046] The memory 12 has, 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) that stores a program that defines the processing of the processor 11. Data generated or acquired by the processor 11 is temporarily stored in the RAM. The program that defines the processing of the processor 11 is written in the ROM. The memory 12 also stores data on welding-related information read from the external storage ST, the status of the work or repair work, and data on work information (see above) of the work or repair work sent from the robot control device 2.

[0047] The cell control unit 13 generates an execution command for performing main welding, bead visual inspection of the workpiece, or repair welding based on the welding-related information stored in the external storage ST. Also, the cell control unit 13 generates an execution command for an appearance inspection program for driving the welding robot MC1 during bead visual inspection of the workpiece Wk (e.g., workpiece) after main welding, and further, an execution command for an appearance inspection program including this appearance inspection program based on the welding-related information stored in the external storage ST. Note that this 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 and acquires the appearance inspection program from the external storage ST. The cell control unit 13 may generate different execution commands for each of the various processes of main welding or repair welding performed by the welding robot MC1. The execution command for main welding or repair welding, or the execution command for the appearance inspection program including the appearance inspection program generated by the cell control unit 13 is sent to the corresponding robot control device 2, or to the robot control device 2 and the inspection control device 3, via the communication unit 10.

[0048] The robot control device 2 controls the processing of the corresponding welding robot MC1 (e.g., the sensor 4, the manipulator 200, the wire feeder 300, and the power supply device 500) based on an execution command for main welding, bead appearance inspection, or repair welding sent from the higher-level device 1. The robot control device 2 is configured to include at least a communication unit 20, a processor 21, and a memory 22.

[0049] The communication unit 20 is connected to enable data communication between the host device 1, the inspection control device 3, and the welding robot MC1. Although the illustration is simplified in Fig. 2, data is transmitted and received between the robot control unit 25 and the manipulator 200, between the robot control unit 25 and the wire feeder 300, and between the power supply control unit 26 and the power supply device 500 via the communication unit 20. The communication unit 20 receives a command to perform main welding, bead appearance inspection, or repair welding sent from the host device 1. The communication unit 20 sends work information of the work produced by main welding or the repair work produced by correction by repair welding to the host device 1.

[0050] Here, the work information includes not only the ID of the work or the repair work, but also at least the ID, name, and welding location of the original work used for the main welding, the welding conditions when the main welding is performed, and the welding conditions when the repair welding is performed. Furthermore, the work information may include information (e.g., coordinates) indicating the position of a detection point indicating a defective part of the work. Furthermore, the welding conditions or the repair welding conditions are, for example, the material and thickness of the original work, the material and wire diameter of the welding wire 301, the type of shielding gas, the flow rate of the shielding gas, the set average value of the welding current, the set average value of the welding voltage, the feed speed and feed amount of the welding wire 301, the number of welding times, the welding time, and the like. Furthermore, in addition to these, for example, information indicating the type of main welding or repair welding (e.g., TIG welding, MAG welding, pulse welding), and the moving speed and moving time of the manipulator 200 may be included.

[0051] Processor 21 is configured using, for example, a CPU or FPGA, and performs various processes and controls in cooperation with memory 22. Specifically, processor 21 refers to a program stored in memory 22 and executes the program to functionally realize a welding program creation unit 23, a calculation unit 24, a robot control unit 25, and a power supply control unit 26.

[0052] The memory 22 has, for example, a RAM as a work memory used when executing the processing of the processor 21, and a ROM that stores a program that defines the processing of the processor 21. Data generated or acquired by the processor 21 is temporarily stored in the RAM. The program that defines the processing of the processor 21 is written in the ROM. The memory 22 also stores data of execution commands for main welding, bead appearance inspection, or repair welding sent from the higher-level device 1, and data of work information of a workpiece produced by main welding or a repair workpiece produced by repair welding. The memory 22 also stores a main welding program for main welding executed by the welding robot MC1. The main welding program is a program that defines a specific procedure (step) of main welding for joining multiple original workpieces using welding conditions in main welding.

[0053] Based on an execution command for main welding sent from higher-level device 1 via communication unit 20, main welding program creation unit 23 generates a main welding program for main welding to be performed by welding robot MC1 using work information (e.g., ID, name, and welding location of the main work) of each of a plurality of original workpieces included in the execution command. The main welding program may include various parameters such as welding current, welding voltage, offset amount, welding speed, and attitude of welding torch 400 for controlling power supply device 500, manipulator 200, wire feeder 300, welding torch 400, etc. during the execution of main welding. The main welding program may be stored in processor 21 or in RAM in memory 22.

[0054] Calculation unit 24 performs various calculations. For example, calculation unit 24 performs calculations of parameters for controlling welding robot MC1 (specifically, manipulator 200, wire feeder 300, and power supply 500) controlled by robot control unit 25 based on the main welding program generated by main welding program creation unit 23.

[0055] Robot control unit 25 generates a control signal for driving welding robot MC1 (specifically, each of manipulator 200, wire feeder 300, and power supply unit 500) based on the actual welding program generated by actual welding program creation unit 23. Robot control unit 25 sends the generated control signal to welding robot MC1. Also, based on the appearance inspection program sent from higher-level device 1, robot control unit 25 drives manipulator 200 of welding robot MC1 during bead appearance inspection so as to target the operating range of welding robot MC1 defined in the actual welding program. This allows sensor 4 (see FIG. 2) attached to welding robot MC1 to move with the operation of welding robot MC1 and obtain input data related to the shape of the weld bead of workpiece Wk (for example, point cloud data capable of identifying the three-dimensional shape of the weld bead).

[0056] Power supply control unit 26 drives power supply device 500 based on the main welding program generated by main welding program creation unit 23 and the calculation result of calculation unit 24.

[0057] The inspection control device 3 controls the bead appearance inspection process of the workpiece or repair workpiece produced by main welding by the welding robot MC1 based on an execution command of the appearance inspection sent from the upper device 1. The bead appearance inspection is, for example, an inspection of whether or not the weld bead formed on the workpiece or repair workpiece satisfies a predetermined welding standard (for example, a quality standard), and is composed of the first inspection judgment and the second inspection judgment described above. To simplify the following description, the inspection control device 3 judges whether or not the weld bead formed on the workpiece Wk (for example, a workpiece or repair workpiece) satisfies a predetermined welding standard by a comprehensive judgment based on the results of the first inspection judgment and the second inspection judgment described above, based on input data regarding the shape of the weld bead acquired by the sensor 4 (for example, point cloud data that can identify the three-dimensional shape of the weld bead). The inspection control device 3 is configured to include at least a communication unit 30, a processor 31, a memory 32, and an inspection result storage unit 33.

[0058] The communication unit 30 is connected to enable data communication between the higher-level device 1, the robot control device 2, and the sensor 4. Although the illustration is simplified in FIG. 2, data is sent and received between the shape detection control unit 35 and the sensor 4 via the communication unit 30. The communication unit 30 receives a command to execute a bead appearance inspection sent from the higher-level device 1. The communication unit 30 sends the overall judgment result of the bead appearance inspection using the sensor 4 (for example, bead chipping of weld beads in the work or repair work, bead position deviation, presence or absence of welding defects, and the type and position of welding defects) to the higher-level device 1.

[0059] Processor 31 is configured using, for example, a CPU or FPGA, and performs various processes and controls in cooperation with memory 32. Specifically, processor 31 refers to a program stored in memory 32 and executes the program to functionally realize a judgment threshold storage unit 34, a shape detection control unit 35, a data processing unit 36, an inspection result judgment unit 37, and a repair welding program creation unit 38.

[0060] The memory 32 has, for example, a RAM as a work memory used when executing the processing of the processor 31, and a ROM that stores a program that defines the processing of the processor 31. The RAM temporarily stores data generated or acquired by the processor 31. The ROM has a program that defines the processing of the processor 31 written therein. The memory 32 also stores data of a command to perform bead appearance inspection of the workpiece sent from the upper device 1, and data of workpiece information of the workpiece generated by main welding or the repair workpiece generated by repair welding. The memory 32 also stores data of a repair welding program created by a repair welding program creation unit 38. The repair welding program is a program that defines a specific procedure (step) of repair welding for correcting a bead chip, bead position shift, or a defective welded portion of the weld bead, using the welding conditions in the repair welding and the position information of a corresponding point (corresponding point) on the movement trajectory of the welding robot MC1 that is closest to the detection point (see above). This program is created by the repair welding program creation unit 38 and sent from the inspection control device 3 to the robot control device 2.

[0061] The inspection result storage unit 33 is configured using, for example, a hard disk or a solid state drive. The inspection result storage unit 33 stores data indicating the results of a bead appearance inspection of a welded portion of the workpiece Wk (for example, a workpiece or a repair workpiece) as an example of data generated or acquired by the processor 31. The data indicating the results of this bead appearance inspection is generated, for example, by the inspection result determination unit 37.

[0062] The judgment threshold storage unit 34 is configured by, for example, a cache memory provided in the processor 31, and stores thresholds (for example, each threshold set for each type of welding defect) used in the processing of the bead appearance inspection by the inspection result judgment unit 37 according to the welding location. The respective thresholds are, for example, the allowable range of the positional deviation of the weld bead, the respective thresholds of the length, height, and width of the weld bead, and the respective thresholds of holes, pits, undercuts, spatters, and protrusions. The judgment threshold storage unit 34 may store an allowable range (for example, a minimum allowable value, a maximum allowable value, etc.) that satisfies the minimum welding standard (quality) required by a customer or the like as each threshold during the bead appearance inspection after repair welding. Furthermore, the judgment threshold storage unit 34 may store an upper limit value of the number of times of bead appearance inspection for each welding location. Thereby, when the number of times exceeds a predetermined upper limit value when repair welding is performed to correct the defective location, the inspection control device 3 determines that it is difficult or impossible to correct the defective location by automatic repair welding by the welding robot MC1, and can suppress a decrease in the operation rate of the welding system 100. The determination threshold storage section 34 may further store a value indicating the range of a gray zone, which will be described later, based on the above-mentioned threshold.

[0063] While the robot control device 2 operates the welding robot MC1 to which the sensor 4 is attached based on the appearance inspection program in the bead appearance inspection based on an execution command of the bead appearance inspection of the welded portion of the workpiece Wk (for example, workpiece) sent from the higher-level device 1, the shape detection control device 35 acquires input data (for example, point cloud data capable of identifying the three-dimensional shape of the welded bead) related to the shape of the welded bead sent from the sensor 4. That is, the shape detection control device 35 serves as an input device for the input data (for example, point cloud data capable of identifying the three-dimensional shape of the welded bead). When the sensor 4 reaches a position where the welded bead can be imaged (in other words, the three-dimensional shape of the welded portion can be detected) in response to the driving of the manipulator 200 by the robot control device 2 described above, the shape detection control device 35 causes the sensor 4 to irradiate, for example, a laser beam to acquire the input data related to the shape of the welded bead (for example, point cloud data capable of identifying the three-dimensional shape of the welded bead). When the shape detection control device 35 receives the input data acquired by the sensor 4 (see above), it passes the input data to the data processing device 36.

[0064] When data processing unit 36 ​​acquires input data (see above) on the shape of the weld bead from shape detection control unit 35, data processing unit 36 ​​converts the data into a data format suitable for the first inspection judgment in inspection result judgment unit 37, and also converts the data into a data format suitable for the second inspection judgment in inspection result judgment unit 37. The conversion of the data format may include a correction process for removing unnecessary point cloud data (e.g., noise) included in the input data (i.e., point cloud data) as a so-called preprocessing, and the above-mentioned preprocessing may be omitted for the first inspection judgment. Data processing unit 36 ​​generates image data showing the three-dimensional shape of the weld bead by making the data format suitable for the first inspection judgment and performing, for example, statistical processing on the input shape data. Note that data processing unit 36 ​​may perform edge emphasis correction for emphasizing the peripheral portion of the weld bead in order to emphasize the position and shape of the weld bead, as data for the first inspection judgment. The data processing unit 36 ​​may count the number of times bead visual inspection is performed for each defective weld location, and if the welding inspection result is not good even when the number of bead visual inspections exceeds the number stored in advance in the memory 32, it may determine that it is difficult or impossible to correct the defective weld location by automatic repair welding. In this case, the inspection result determination unit 37 generates an alert screen including the position of the defective weld location and the type of defective weld (e.g., hole, pit, undercut, spatter, protrusion), and sends the generated alert screen to the higher-level device 1 via the communication unit 30. The alert screen sent to the higher-level device 1 is displayed on the monitor MN1. This alert screen may also be displayed on the monitor MN2.

[0065] For example, the conversion of the data format suitable for the second inspection and judgment includes, as a so-called pre-processing, a planarization process for converting the shape of the input data (i.e., the point cloud data of the weld bead) into a predetermined shape (e.g., a linear shape) so as to be suitable for processing by the AI ​​(i.e., the second inspection and judgment unit 372 to the Nth inspection and judgment unit 37N described later). As described above, the shape of the weld bead varies widely depending on the linear shape, the curved shape, the presence or absence of weaving, and the like. For this reason, the learning process of the AI ​​(e.g., a neural network) that can detect the type of welding defect (see above) for each shape becomes very complicated and is not realistic. Therefore, in the first embodiment, the AI ​​(i.e., the second inspection and judgment unit 372 to the Nth inspection and judgment unit 37N described later) can execute a learned model that has been created by previously performing a learning process so as to be able to detect the welding defect (see above) when the shape of the weld bead is, for example, a linear shape. As a result, the AI ​​(i.e., the second inspection and judgment unit 372 to the Nth inspection and judgment unit 37N described below) can detect welding defects with high accuracy by simply inputting point cloud data that has been planarized by data processing unit 36 ​​to straighten the shape of the weld bead.

[0066] The inspection result determination unit 37 can perform a total of N (N: an integer of 2 or more) types of bead appearance inspection (for example, each of the above-mentioned first inspection judgment and second inspection judgment). Specifically, the inspection result determination unit 37 has a first inspection judgment unit 371, a second inspection judgment unit 372, ..., an Nth inspection judgment unit. To simplify the explanation of Fig. 2, N = 2 will be explained, but the same applies when N = an integer of 3 or more.

[0067] The first inspection and judgment unit 371 performs a first inspection and judgment (i.e., a bead appearance inspection based on a comparison between input data on the shape of the weld bead acquired by the sensor 4 and master data of a good workpiece predefined for each workpiece) using the threshold stored in the judgment threshold storage unit 34, and inspects the shape reliability of the weld bead (for example, whether it follows a straight or curved weld line), bead chipping, and bead position deviation (see FIG. 5). FIG. 5 is a table showing appropriate examples of the first inspection and judgment and the second inspection and judgment for each of a plurality of inspection items. The first inspection and judgment unit 371 performs a comparison (so-called image processing) between the data converted by the data processing unit 36 ​​for the first inspection and judgment (for example, image data generated based on point cloud data) and the master data of a good workpiece. Therefore, as shown in FIG. 5, the first inspection and judgment unit 371 can inspect the shape reliability of the weld bead, bead chipping, and bead position deviation with high accuracy. First inspection and judgment unit 371 calculates an inspection score indicating the inspection results of the shape reliability of the weld bead, bead chipping, and bead position deviation, and creates the calculated inspection score value as the first inspection and judgment result.

[0068] Second inspection and judgment unit 372 to Nth inspection and judgment unit 37N perform second inspection and judgment (i.e., each forms a neural network using k=(N-1) types of artificial intelligence and performs bead appearance inspection based on AI to determine the presence or absence of welding defects on input data related to the shape of the weld bead acquired by sensor 4 or the input data after the input data has been preprocessed by data processing unit 36) to inspect the presence or absence of holes, pits, undercuts, and spatters in the weld bead (see FIG. 5). Holes, pits, undercuts, and spatters in the weld bead are merely listed as examples, and the defect types inspected by Nth inspection and judgment unit 37N are not limited to these. When second inspection and judgment unit 372 to Nth inspection and judgment unit 37N each judges that a corresponding type of welding defect has been detected, it identifies the position of the weld bead where the welding defect was detected. Each of the second inspection and judgment unit 372 to the Nth inspection and judgment unit 37N judges the presence or absence of each welding defect using a learning model (AI) obtained in advance by a learning process for each type of welding defect or for each group of types of welding defects. This allows each of the second inspection and judgment unit 372 to the Nth inspection and judgment unit 37N to highly accurately inspect the presence or absence of holes, pits, undercuts, spatters, and protrusions in the weld bead. Note that each of the second inspection and judgment unit 372 to the Nth inspection and judgment unit 37N does not inspect the shape reliability of the weld bead, bead chipping, and bead position deviation performed by the first inspection and judgment unit 371. The second inspection and judgment unit 372 to the Nth inspection and judgment unit 37N calculates the inspection results (in other words, inspection scores indicating the occurrence probability) of holes, pits, undercuts, spatters, and protrusions in the weld bead, and creates the calculated value of the inspection score as the second inspection and judgment result.

[0069] 5, the inspection result determination unit 37 performs a comprehensive and highly accurate inspection of the shape reliability of the weld bead, bead chipping, bead position shift, hole, pit, undercut, spatter, and protrusion by using the first inspection judgment and the second inspection judgment in combination so as to be suitable for the inspection of each type of welding defect. Note that the above description is an example of N=2, but when N=3, the second inspection judgment unit 372 can detect, for example, the presence or absence of hole and pit in the weld bead as the type of welding defect by AI, and the Nth inspection judgment unit 37N (N=3) can detect, for example, the presence or absence of undercut, spatter, and protrusion in the weld bead by different AI. In other words, in the second inspection judgment, multiple AIs (learning models) may be prepared so that different AIs can detect each combination of types of welding defects (for example, a combination of (hole, pit) and a combination of (undercut, spatter, and protrusion)) that are the inspection items.

[0070] Inspection result determination unit 37 creates an appearance inspection report including the first inspection judgment result created by first inspection judgment unit 371 and the second inspection judgment results created by each of second inspection judgment unit 372 to Nth inspection judgment unit 37N, stores the report in memory 32, and sends the report to higher-level device 1 via communication unit 30. Note that inspection result determination unit 37 may determine whether or not repair welding by welding robot MC1 is possible (in other words, whether repair welding by welding robot MC1 or manual repair welding is preferable) based on the inspection score included in the above-mentioned first inspection judgment result or second inspection judgment result, and may output the determination result by including it in the above-mentioned appearance inspection report.

[0071] Repair welding program creation unit 38 creates a repair welding program for workpiece Wk (e.g., workpiece or repair workpiece) to be performed by welding robot MC1, using the appearance inspection report of workpiece Wk (e.g., workpiece or repair workpiece) by inspection result determination unit 37 and workpiece information (e.g., information such as coordinates indicating the position of a detection point of a welding defect in the workpiece or repair workpiece). The repair welding program may include various parameters such as welding current, welding voltage, offset amount, welding speed, and attitude of welding torch 400 for controlling power supply device 500, manipulator 200, wire feeder 300, welding torch 400, etc. during repair welding. The created repair welding program may be stored in processor 31 or in RAM in memory 32.

[0072] The sensor 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 cloud data that can specify the shape of the welded part on the workpiece Wk (for example, workpiece), and generates point cloud data that can specify the three-dimensional shape of the welded part based on the point cloud data and sends it to the inspection control device 3. In addition, when the sensor 4 is not attached to the tip of the welding robot MC1 and is arranged separately from the welding robot MC1, it may be composed of a laser light source (not shown) configured to be able to scan the welded part on the workpiece Wk (for example, workpiece or repair workpiece) based on the position information of the welded part sent from the inspection control device 3, and a camera (not shown) arranged to be able to image an imaging area including the periphery of the welded part and to image the reflection trajectory of the laser light reflected from the laser light irradiated to the welded part (i.e., the shape line of the welded part). In this case, the sensor 4 sends the shape data of the welded part based on the laser light imaged by the camera (in other words, image data of the welded bead) to the inspection control device 3. In addition, the above-mentioned camera is configured to have at least a lens (not shown) and an image sensor (not shown). The image sensor is a solid-state imaging element such as a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS), and converts an optical image formed on an imaging surface into an electrical signal.

[0073] (Welding system operation) Next, a series of operational procedures for main welding, bead visual inspection, and repair welding by welding system 100 according to embodiment 1 will be described with reference to Fig. 3. Fig. 3 is a sequence diagram showing an example of a series of processing procedures including main welding, bead visual inspection, and repair welding by welding system 100 according to embodiment 1. In the explanation of Fig. 3, the operational procedures performed between host device 1, robot control device 2, and inspection control device 3 for each process of main welding using multiple original workpieces and repair welding performed when the bead visual inspection of the workpiece is failed (i.e., the overall judgment result indicates that there is a welding defect) will be described by exemplifying them.

[0074] In Fig. 3, the higher-level device 1 acquires work information (e.g., ID, name, and welding location of the original work) of the original work to be subjected to the main welding (St1), and generates an execution command for the main welding including the work information of the original work. The higher-level device 1 sends an execution command for the main welding including the work information of the original work to the robot control device 2 (St2). Note that the robot control device 2 may execute the processes of steps St1 and St2, respectively, without going through the higher-level device 1. In this case, it is preferable that the memory 22 of the robot control device 2 stores the same data as that stored in the external storage ST, or that the robot control device 2 is connected so as to be able to acquire data from the external storage ST.

[0075] When the robot control device 2 receives an execution command for the main welding sent from the upper device 1, the robot control device 2 uses the work information of each of the multiple original workpieces included in the execution command to create a main welding program for the main welding to be performed by the welding robot MC1, and causes the welding robot MC1 to perform the main welding according to the main welding program (St3). When the robot control device 2 determines the completion of the main welding by the welding robot MC1 using various known methods, it generates a main welding completion notice indicating that the main welding has been completed and sends it to the upper device 1 (St4). When the upper device 1 receives the main welding completion notice, it generates an execution command for an appearance inspection program including a work appearance inspection program and sends it to the robot control device 2 (St5), and also generates an execution command for a bead appearance inspection of the workpiece and sends it to the inspection control device 3 (St6). When the bead appearance inspection starts, the robot control device 2 executes the appearance inspection program received from the upper device 1, and moves the sensor 4 attached to the welding robot MC1 along the weld line (St7). The sensor 4 acquires point cloud data capable of identifying the three-dimensional shape of the workpiece while being moved by the robot control device 2 so as to be able to scan the welding spot of the workpiece (St7).

[0076] The inspection control device 3 uses the point cloud data capable of identifying the three-dimensional shape of the weld bead acquired by the sensor 4 as input data, and executes each of the above-mentioned first inspection judgment and second inspection judgment individually (in parallel) (St7). The inspection control device 3 performs an overall judgment of the bead appearance inspection of the weld bead of the workpiece based on the results of each of the individual bead appearance inspections in step St7 (i.e., the first inspection judgment and the second inspection judgment) (St8).

[0077] When the inspection control device 3 determines that the workpiece has a welding defect and therefore needs repair welding (St9) as a result of the overall determination in step St8, the inspection control device 3 obtains the actual welding program from the robot control device 2 and creates a repair welding program by modifying a part of the actual welding program (St9). The modified part is, for example, a content indicating a location (range) where repair welding is performed. Although detailed illustration is omitted in FIG. 3, the inspection control device 3 may request data of the actual welding program from the robot control device 2 in step St9 and obtain data of the actual welding program sent from the robot control device 2 in response to this request, or may obtain data of the actual welding program sent from the robot control device 2 after step St3 in advance. In this way, the inspection control device 3 can efficiently create data of the repair welding program by partially modifying data of the actual welding program obtained from the robot control device 2. The inspection control device 3 generates an appearance inspection report including the result of the overall determination in step St8 and the repair welding program, and sends it to the robot control device 2 (St10). The inspection control device 3 also sends the appearance inspection report generated in the same manner to the upper device 1 (St11).

[0078] Upon receiving the appearance inspection report in step St11, the upper device 1 generates an execution command for repair welding of the workpiece and sends it to the robot control device 2 (St12). When the robot control device 2 receives the execution command for repair welding sent from the upper device 1, it causes the welding robot MC1 to execute repair welding according to the repair welding program (received in step St10) for the workpiece specified in the execution command (St13). When the robot control device 2 determines the completion of repair welding by the welding robot MC1 by various known methods, it sends work information of the repair work (for example, the ID of the repair work, work information including the IDs of each of the multiple original workpieces used in the main welding (for example, the ID, name, and welding location of the original workpiece), and the welding conditions at the time of each of the main welding and repair welding) to the upper device 1 (St14).

[0079] When the upper device 1 receives the work information including the ID of the repair work sent from the robot control device 2, it sets a management ID suitable for the user corresponding to the ID of the repair work, and stores data indicating that the welding of the repair work corresponding to this management ID has been completed in the external storage ST (St15).

[0080] Next, details of the individual inspection in step St7 and the overall judgment in step St8 in Fig. 3 will be described with reference to Fig. 4. Fig. 4 is a flowchart showing an example of a processing procedure showing details of the first inspection judgment (point group comparison) and the second to Nth inspection judgments (AI judgments). For ease of understanding of the explanation of Fig. 4, it is assumed that N=2.

[0081] 4, point cloud data OD1 capable of identifying the three-dimensional shape of the weld bead acquired by sensor 4 is used for both the first inspection judgment and the second inspection judgment. Data processing unit 36 ​​converts point cloud data OD1 from sensor 4 into a data format suitable for the first inspection judgment (e.g., image data showing the three-dimensional shape of the weld bead) and passes it to first inspection judgment unit 371. First inspection judgment unit 371 reads master data MD1 of a non-defective workpiece stored in memory 32 (e.g., image data showing an ideal three-dimensional shape of a weld bead of a non-defective workpiece) from memory 32, and performs a first inspection judgment in which the image data from data processing unit 36 ​​is compared with master data MD1 (St21A).

[0082] The first inspection determination unit 371 determines whether the inspection score calculated for each inspection item (e.g., shape reliability, bead chipping, bead misalignment) is equal to or greater than a threshold value preset for each inspection item (St22A). That is, the first inspection determination unit 371 compares the image data based on the point cloud data OD1 with the master data MD1 to determine whether the inspection score for shape reliability is equal to or greater than a threshold value for shape reliability, whether the inspection score for the presence or absence of bead chipping is equal to or greater than a threshold value for bead chipping, and whether the inspection score for the presence or absence of bead misalignment is equal to or greater than a threshold value for bead misalignment (St22A). When the first inspection determination unit 371 determines that the inspection scores are equal to or greater than the threshold value for shape reliability, the threshold value for bead chipping, and the threshold value for bead misalignment, respectively (St23A, YES), it determines that the inspection item is "OK" (i.e., shape reliability is satisfied and bead chipping or bead misalignment is not detected) (St23A). On the other hand, when the first inspection judgment unit 371 judges that the inspection score obtained is less than the threshold for shape reliability, the threshold for bead chipping, or the threshold for bead misalignment (St23A, NO), it judges the inspection item as "NG" (i.e., the shape reliability is insufficient, or a bead chip or a bead misalignment has been detected) (St24A). The first inspection judgment unit 371 acquires the judgment result of step St23A or step St24A as the first inspection judgment result (St25A).

[0083] The Nth inspection determination unit 37N determines whether the defect probability value (i.e., inspection score) that is the output value of the AI ​​engine (e.g., neural network) for each inspection item (e.g., holes, pits, undercuts, sputters, protrusions) is equal to or less than a threshold value previously set for each inspection item (St22B). That is, the Nth inspection determination unit 37N determines whether the defect probability value calculated for each inspection item by the AI ​​engine to which the point cloud data OD1 is input is equal to or less than a hole detection threshold, a pit detection threshold, an undercut detection threshold, a sputter detection threshold, and a protrusion detection threshold (St22B). When the Nth inspection determination unit 37N determines that the output value (defect probability value) of the AI ​​engine for each inspection item is equal to or less than a hole detection threshold, a pit detection threshold, an undercut detection threshold, a sputter detection threshold, and a protrusion detection threshold (St23B, YES), it determines that the inspection item is "OK" (i.e., holes, pits, undercuts, sputters, and protrusions are not detected) (St23B). On the other hand, when the first inspection judgment unit 371 judges that the output value (defect probability value) of the AI ​​engine for each inspection item is equal to or greater than the hole detection threshold, pit detection threshold, undercut detection threshold, sputter detection threshold, or protrusion detection threshold (St23B, NO), it judges the inspection item as "NG" (i.e., any of hole, pit, undercut, sputter, or protrusion has been detected) (St24B). The Nth inspection judgment unit 37N acquires the judgment result of step St23B or step St24B as the second inspection judgment result (St25B).

[0084] The inspection result determination unit 37 performs a comprehensive determination of the bead appearance inspection using the first inspection result obtained in step St25A and the second inspection result obtained in step St25B (St26). For example, when the inspection result determination unit 37 determines that both the first inspection result and the second inspection result indicate that there is no welding defect, it determines that the bead appearance inspection is passed (in other words, repair welding is not required). On the other hand, when the inspection result determination unit 37 determines that either the first inspection result or the second inspection result indicates that any welding defect has been detected, it determines that the bead appearance inspection is failed (in other words, repair welding is required to repair the detected welding defect).

[0085] As described above, in the welding system 100 according to the first embodiment, the inspection control device 3 as an example of a bead appearance inspection device inputs input data (for example, point cloud data OD1) related to the weld bead of the workpiece produced by welding in the processor 31. The inspection control device 3 uses the input data and the master data MD1 of the non-defective workpiece, performs a first inspection judgment of the weld bead based on a comparison between the input data and the master data MD1 in the first inspection judgment unit 371, and is equipped with k (k: an integer of 1 or more) types of artificial intelligence, and performs a second inspection judgment of the weld bead based on the processing of the k types of artificial intelligence targeting the input data in each of the second inspection judgment unit 372 to the Nth inspection judgment unit 37N. k=(N-1), and so on. The inspection control device 3 outputs the result of the bead appearance inspection of the weld bead to an output device (for example, the monitor MN2) in the inspection result judgment unit 37 based on the judgment results of the first inspection judgment unit 371 and the second inspection judgment unit 372 to the Nth inspection judgment unit 37N.

[0086] This allows the inspection control device 3 to execute a first inspection judgment based on a comparison between the input data indicating the three-dimensional shape of the weld bead and the master data MD1 in combination with a second inspection judgment that detects the presence or absence of welding defects in the weld bead based on AI processing, thereby enabling more efficient visual inspection of the weld beads of workpieces produced by main welding. In particular, when detecting the presence or absence of welding defects using AI processing, k (=(N-1)) different types of AI can be prepared according to the inspection items targeted by the user's bead visual inspection. Therefore, the inspection control device 3 can improve the convenience of the visual inspection of weld beads for users.

[0087] In addition, the appearance inspection items of the weld beads that are the subject of the first inspection judgment are different from the appearance inspection items of the weld beads that are the subject of the second inspection judgment. This allows the inspection control device 3 to comprehensively inspect the appearance inspection items of the weld beads that are detected with high accuracy by the first inspection judgment and the appearance inspection items of the weld beads that are detected with high accuracy by the second inspection judgment.

[0088] Furthermore, when k is an integer equal to or greater than 2, the appearance inspection items of the weld bead that are the subject of the second inspection judgment performed by each of second inspection judgment unit 372 through Nth inspection judgment unit 37N (in other words, one example of k second inspection judgment units) are different. For example, second inspection judgment unit 372 detects the presence or absence of holes and spatters in the weld bead, and Nth inspection judgment unit 37N detects the presence or absence of pits and undercuts in the weld bead. This allows inspection control device 3 to provide multiple combinations of second inspection judgments that can be detected with high accuracy by AI processing for each inspection item, and therefore allows inspection of the presence or absence of each type of welding defect in the weld bead to be performed with high accuracy compared to, for example, a case in which many inspection items are inspected using one type of AI processing.

[0089] Furthermore, the inspection control device 3 communicates with a welding robot MC1 capable of performing repair welding on the weld bead of the workpiece. When the inspection control device 3 determines that any of the appearance inspection items among the respective determination results of the first inspection and determination unit 371 and the k second determination units (the second inspection and determination unit 372 to the Nth inspection and determination unit 37N) is defective, the inspection control device 3 sends to the welding robot MC1 an instruction to perform repair welding to correct the corresponding portion of the weld bead determined to be defective. As a result, when the inspection control device 3 determines that a welding defect has been detected in any of the inspection items as a comprehensive determination based on the respective results of the first inspection and determination and the second inspection and determination, the inspection control device 3 can execute an instruction to the welding robot MC1 to perform repair welding to automatically correct the inspection item that has resulted in the welding defect, thereby quickly and smoothly improving the completeness of the workpiece.

[0090] Furthermore, the inspection control device 3 converts the input data into a data format suitable for input to k types of artificial intelligence. This enables the inspection control device 3 to improve the accuracy of the AI ​​processing executed by each of the second inspection and judgment unit 372 to the Nth inspection and judgment unit 37N, and improve the accuracy of detecting the presence or absence of welding defects (e.g., holes, pits, undercuts, spatters) in the weld bead.

[0091] Furthermore, the appearance inspection items of the weld bead that are the subject of the first inspection judgment are the shape of the weld bead, chipping of the weld bead, and displacement of the weld bead. The appearance inspection items of the weld bead that are the subject of the second inspection judgment are holes, pits, undercuts, spatters, and protrusions in the weld bead. This allows the inspection control device 3 to comprehensively inspect the appearance inspection items of the weld bead that are detected with high accuracy by the first inspection judgment (e.g., shape of the weld bead, chipping of the weld bead, and displacement of the weld bead) and the appearance inspection items of the weld bead that are detected with high accuracy by the second inspection judgment (e.g., holes, pits, undercuts, spatters, and protrusions in the weld bead).

[0092] (Embodiment 2) In the first embodiment, both the first inspection judgment and the second inspection judgment are executed in the inspection control device 3. In the second embodiment, an example in which the first inspection judgment and the second inspection judgment are executed in different devices will be described. In the following, it will be described that the first inspection judgment is executed in the inspection control device 3, and the second inspection judgment is executed in the higher-level device 1. However, the second inspection judgment may be executed in a device other than the higher-level device 1.

[0093] (Welding system configuration) Fig. 6 is a diagram showing an example of the internal configuration of an inspection control device 3A, a robot control device 2, and a higher-level device 1A according to the second embodiment. In the description of Fig. 6, the same reference numerals are given to the same components as those in Fig. 2, and the description is simplified or omitted, and only the differences are described. The configuration of a welding system 100A according to the second embodiment is the same as that of welding system 100 according to the first embodiment (see Fig. 1).

[0094] A welding system 100A as an example of a bead appearance inspection system includes an upper device 1A connected to an external storage ST, an input interface UI1, and a monitor MN1, a robot control device 2, an inspection control device 3A, a sensor 4, a main welding robot MC1a, and a repair welding robot MC1b.

[0095] In the inspection control device 3A as an example of a bead appearance inspection device, a processor 31A includes a judgment threshold storage unit 34, a shape detection control unit 35, a data processing unit 36, an inspection result judgment unit 37A, and a repair welding program creation unit 38. The inspection result judgment unit 37A only has a first inspection judgment unit 371. The configuration of the first inspection judgment unit 371 is the same as that of the first embodiment, and therefore a description thereof will be omitted.

[0096] In the upper device 1A as an example of a bead appearance inspection device, the processor 11A includes the cell control unit 13 and the second inspection and judgment unit 142 to the Nth inspection and judgment unit 14N. The second inspection and judgment unit 142 to the Nth inspection and judgment unit 14N perform the second inspection and judgment (that is, a bead appearance inspection that forms a neural network by k=(N-1) types of artificial intelligence and determines the presence or absence of defective welding points based on AI targeting input data related to the shape of the weld bead acquired by the sensor 4) in the same manner as the second inspection and judgment unit 372 to the Nth inspection and judgment unit 37N, and inspects the presence or absence of holes, pits, undercuts, spatters, and protrusions in the weld bead (see FIG. 5). The memory 12 or the processor 11A may perform a function similar to that of the judgment threshold value storage unit 34 of the inspection control device 3A. Although not shown, a judgment threshold value storage unit may be provided in the processor 11A.

[0097] (Welding system operation) Next, a series of processing procedures including main welding, bead appearance inspection, and repair welding by welding system 100A according to embodiment 2 will be described with reference to FIG. 7. FIG. 7 is a sequence diagram showing an example of a series of processing procedures including main welding, bead appearance inspection, and repair welding by welding system 100A according to embodiment 2. In the explanation of FIG. 7, the operation procedures performed between upper device 1A, robot control device 2, and inspection control device 3A for each process of main welding using multiple original workpieces and repair welding performed based on the bead appearance inspection of a workpiece being rejected will be exemplified and explained. In the explanation of FIG. 7, the same step numbers are assigned to processes that overlap with the processes of FIG. 3, and explanations are simplified or omitted, and different contents will be explained.

[0098] In Fig. 7, after step St6, the robot control device 2 executes the appearance inspection program received from the higher-level device 1A with the start of the bead appearance inspection, and moves the sensor 4 attached to the welding robot MC1 along the weld line (St7A). While the sensor 4 is moved by the robot control device 2 so as to be able to scan the welding portion of the work, it acquires point cloud data capable of identifying the three-dimensional shape of the work (St7A). The inspection control device 3A uses the point cloud data capable of identifying the three-dimensional shape of the weld bead acquired by the sensor 4 as input data, and executes the first inspection judgment described above (St7A). Also, the inspection control device 3A generates an execution instruction for the second inspection judgment described above by the processor 31A and sends it to the higher-level device 1A (St31).

[0099] When the higher-level device 1A receives the execution instruction of the second inspection judgment sent from the inspection control device 3A in step St31, the second inspection judgment is executed in each of the second inspection judgment unit 142 to the Nth inspection judgment unit 14N based on the execution instruction (St32). The details of the second inspection judgment executed in step St32 are the same as those described in the first embodiment, so the description will be omitted. The higher-level device 1A generates a processing result of the second inspection judgment (i.e., detection of the presence or absence of welding defects for each inspection item by AI processing) and sends it to the inspection control device 3A (St33). The inspection control device 3A performs a comprehensive judgment of the bead appearance inspection of the workpiece based on each result of the first inspection judgment by the inspection control device 3 in step St7 and the second inspection judgment by the higher-level device 1A in step St32 (St8A). The details of the comprehensive judgment executed in step St8A are the same as those described in the first embodiment, so the description will be omitted. The processing after step St8A is the same as that in FIG. 3, so the description will be omitted.

[0100] As described above, welding system 100A as an example of a bead appearance inspection system according to the second embodiment inputs input data (e.g., point cloud data OD1) related to a weld bead of a workpiece produced by welding in inspection control device 3A. Welding system 100A uses the input data and master data MD1 of a non-defective workpiece, performs a first inspection judgment of the weld bead based on a comparison between the input data and master data MD1 in inspection control device 3A, and is equipped with k (k: an integer of 1 or more) types of artificial intelligence, and performs a second inspection judgment of the weld bead in each of second inspection judgment unit 142 to Nth inspection judgment unit 14N of host device 1A based on processing of the k types of artificial intelligence targeting the input data. Inspection control device 3A outputs the result of the bead appearance inspection of the weld bead to an output device (e.g., monitor MN2) in inspection result judgment unit 37 based on the judgment results of first inspection judgment unit 371 of inspection control device 3A and second inspection judgment unit 142 to Nth inspection judgment unit 14N of host device 1A.

[0101] As a result, the welding system 100A performs the first inspection judgment based on a comparison between the input data indicating the three-dimensional shape of the weld bead and the master data MD1 in the inspection control device 3A, and the second inspection judgment for detecting the presence or absence of welding defects in the weld bead based on the AI ​​processing in a distributed manner in the upper device 1A. Therefore, the welding system 100A can reduce the processing load of the bead appearance inspection compared to the case where both the first inspection judgment and the second inspection judgment are performed only by the inspection control device 3 as in the first embodiment. In addition, the welding system 100A can more efficiently perform the appearance inspection of the weld bead of the workpiece produced by the main welding. In particular, when detecting the presence or absence of welding defects by the AI ​​processing, k (= (N-1)) different types of AI can be prepared according to the inspection items to be targeted in the bead appearance inspection by the user. Therefore, the welding system 100A can improve the convenience of the appearance inspection of the weld bead for the user.

[0102] (Gray zone setting when making judgments using thresholds) Next, the setting of the gray zone when making a judgment using a threshold value in a bead visual inspection will be described. FIG. 8 is a conceptual diagram showing a first example of setting the gray zone in a bead visual inspection. Judgment using a threshold value can be performed in the first inspection judgment (see step St21A in FIG. 4) as well as in the second to Nth inspection judgments (see step St21B in FIG. 4). Here, an example of setting the gray zone for the visual inspection item "reinforcement height" in the first inspection judgment is shown. However, it is possible to set the gray zone in a similar manner for other visual inspection items as well, and the gray zone can be set in a similar manner not only in the first inspection judgment but also in the second to Nth inspection judgments.

[0103] Assume that the reinforcement height of a good workpiece is 2.0 mm (lower threshold) to 3.0 mm (upper threshold). 2.0 mm and 3.0 mm are thresholds for determining whether the workpiece is good or bad. The bead appearance inspection device (upper device 1, inspection control device 3, etc.) can determine whether the welding result is good or bad by comparing values ​​(e.g., the measurement value of the reinforcement height, the measurement value indicating the diameter of the hole, the standard deviation value of the measurement value, the score for determination, etc.) obtained from the input data (point cloud data OD1) with the thresholds. For example, the bead appearance inspection device can determine that if the measurement value of the reinforcement height is between 2.0 mm and 3.0 mm, the workpiece is good, and if the measurement value of the reinforcement height is less than 2.0 mm or exceeds 3.0 mm, the workpiece is bad. In this example, two thresholds, an upper threshold of 3.0 mm and a lower threshold of 2.0 mm, are set, but only one threshold may be set, and the workpiece can be determined as good or bad depending on whether the measurement value, score, etc. exceed the threshold.

[0104] Here, since the quality standards may differ for each user and it is also necessary to comprehensively consider the characteristics of the workpiece, it is not easy to determine the optimal judgment threshold value. For example, one user may judge a welded workpiece having a weld bead with a weld height of 1.9 mm to be a good product. Another user may judge a welded workpiece having a weld bead with a weld height of 2.01 mm to be a defective product. Therefore, it is not easy to identify an optimal threshold value that can be used universally.

[0105] Therefore, in this embodiment, a gray zone is provided between the region determined as a good product and the region determined as a defective product. In the first gray zone setting example shown in Fig. 8, a gray zone Z3U with a weld height of 2.8mm to 3.3mm is provided between the good product zone Z1 with a weld height of up to 2.8mm and the defective product zone Z2U with a weld height of more than 3.3mm, for the upper threshold value. Similarly, in the first gray zone setting example shown in Fig. 8, a gray zone Z3L with a weld height of 1.8mm to 2.1mm is provided between the good product zone Z1 with a weld height of more than 2.1mm and the defective product zone Z2L with a weld height of less than 1.8mm, for the lower threshold value.

[0106] As in the above example, a gray zone Z3U or Z3L is provided between a pass zone Z1 determined to be a pass zone and a fail zone Z2U or Z2L determined to be a fail zone. If a value (e.g., a measured value of the reinforcement height) obtained from the input data (point cloud data OD1) falls within the gray zone (determined to be gray), the user visually checks the workpiece having the weld bead determined to be gray or performs a precise reinspection. This improves the accuracy of the visual inspection of workpieces in the border area between pass and fail, and makes it possible to avoid situations such as overlooking a fail zone or erroneously detecting a pass zone as a fail zone. This makes it possible to increase the productivity of products that are welded.

[0107] Thresholds can be set for inspection items other than the reinforcement height. For example, thresholds can be set for the width of the bead, the depth of the undercut, the number of pits generated in the bead, and the like. In addition, for perforations, a score based on the size and number of holes may be calculated, and a threshold for this score may be set. The thresholds may have both an upper threshold and a lower threshold, or may have only one of the upper threshold and the lower threshold.

[0108] The gray zone may be specified based on a relative value to the threshold value. For example, if the threshold value is 2.0 mm, the gray zone may be set from 1.8 mm to 2.3 mm, which indicates a range from 0.2 mm below the threshold value to 0.3 mm above the threshold value. However, the gray zone may be specified based on an absolute value, not a relative value to the threshold value.

[0109] The gray zone may be set as a width centered on the threshold value. For example, if the threshold value is 2.0 mm and the width is 0.5 mm, the gray zone may be set from 1.5 mm to 2.5 mm.

[0110] The units used to specify the range of the gray zone do not necessarily have to be the same as the measurement values. For example, if the measurement value of the inspection item "refill height" is measured in units of "mm", the range of the gray zone may be specified in units other than "mm", such as "0.8 to 1.2 times the threshold value". The standard deviation of the measurement values ​​may be calculated in advance based on the production results of past products, and the range of the gray zone may be set based on this standard deviation value.

[0111] The upper limit threshold and the lower limit threshold may be set separately as to whether or not a gray zone is provided. For example, the upper limit threshold may be set to have a gray zone, and the lower limit threshold may be set to not have a gray zone.

[0112] Fig. 9 is a flowchart showing an example of a processing procedure for individual judgment in bead appearance inspection according to a first gray zone setting example of the bead appearance inspection. The flowchart shown in Fig. 9 corresponds to both the first inspection judgment (steps St21A to St25A) and the second inspection judgment (steps St21B to St25B) shown in Fig. 4. Note that the processing shown in Fig. 9 is similar in both cases where the processor 31 performs both the first inspection judgment and the second inspection judgment (see Fig. 3) and where the processor 31A performs the first inspection judgment and the processor 11A performs the second inspection judgment (see Fig. 7). Therefore, for convenience of explanation, the following explanation will be given assuming that the subject of the processing is the "processor".

[0113] The processor performs the above-mentioned first inspection judgment (point cloud comparison) or second inspection judgment (AI judgment) (St21). For each inspection item, the processor determines whether the inspection score (in the case of the first inspection judgment) or defect probability (in the case of the second inspection judgment) value belongs to the pass zone (Z1), gray zone (Z3U, Z3L), or defective zone (Z2U, Z2L) for that inspection item (St22). Note that the inspection score and defect probability are values ​​obtained from the input data (point cloud data OD1).

[0114] If the processor determines that the inspection score or the defect probability value belongs to the pass zone (Z1), it determines the inspection item as "OK" (St23). If the processor determines that the inspection score or the defect probability value belongs to the defect zone (Z2U, Z2L), it determines the inspection item as "NG" (St24). If the processor determines that the inspection score or the defect probability value belongs to the gray zone (Z3U, Z3L), it determines the inspection item as "gray" (St27). The processor obtains the judgment result of step St23A, step St24, or step St27 as the first inspection judgment result or the second inspection judgment result (St25).

[0115] Fig. 10 is a conceptual diagram showing a second example of setting gray zones in bead visual inspection. As with the first example of setting gray zones shown in Fig. 8, a gray zone area is provided between a pass zone Z1 determined to be a pass zone and a defective zone Z2U or Z2L determined to be a defective zone. In the second example of setting gray zones shown in Fig. 10, the gray zones are set in multiple stages. In this example, the gray zones are set in two stages, a pass-close gray zone and a defective-close gray zone. However, the gray zones may be set in three or more stages.

[0116] Assume that the reinforcement height of a good workpiece is 2.0 mm (lower threshold) to 3.0 mm (upper threshold). 2.0 mm and 3.0 mm are thresholds for determining whether the workpiece is good or bad. The bead appearance inspection device (upper device 1, inspection control device 3, etc.) can determine whether the welding result is good or bad by comparing values ​​(e.g., the measurement value of the reinforcement height, the measurement value indicating the diameter of the hole, the standard deviation value of the measurement value, the score for determination, etc.) obtained from the input data (point cloud data OD1) with the thresholds. For example, the bead appearance inspection device can determine that if the measurement value of the reinforcement height is between 2.0 mm and 3.0 mm, the workpiece is good, and if the measurement value of the reinforcement height is less than 2.0 mm or exceeds 3.0 mm, the workpiece is bad. In this example, two thresholds, an upper threshold of 3.0 mm and a lower threshold of 2.0 mm, are set, but only one threshold may be set, and the workpiece can be determined as good or bad depending on whether the measurement value, score, etc. exceed the threshold.

[0117] 10, for the upper threshold, a near-good gray zone Z3U-W with a weld height of 2.8 to 3.0 mm and a near-defective gray zone Z3U-B with a weld height of 3.0 to 3.3 mm are provided between the good zone Z1 with a weld height of up to 2.8 mm and the defective zone Z2U with a weld height of more than 3.3 mm. Similarly, for the lower threshold, a near-good gray zone Z3L-W with a weld height of 2.0 to 2.1 mm and a near-defective gray zone Z3L-B with a weld height of 1.8 to 2.0 mm are provided between the good zone Z1 with a weld height of more than 2.1 mm and the defective zone Z2L with a weld height below 1.8 mm.

[0118] As in the above example, a gray zone Z3U or Z3L is provided between a pass zone Z1 determined to be a pass zone and a defective zone Z2U or Z2L determined to be a defective zone. The gray zone Z3U is set in two stages, a pass-proximate gray zone Z3U-W and a defective-proximate gray zone Z3U-B. Similarly, the gray zone Z3L is set in two stages, a pass-proximate gray zone Z3L-W and a defective-proximate gray zone Z3L-B. Here, the range of values ​​indicating the pass-proximate gray zone (e.g., a weld height of 2.8 mm to 3.0 mm) and the range of values ​​indicating the defective-proximate gray zone (e.g., a weld height of 3.0 mm to 3.3 mm) do not overlap each other.

[0119] As described above, since the gray zone is set in a plurality of stages, the processing contents for the workpiece after the visual inspection can be made different depending on the stage of the gray zone. For example, a weld bead determined to be gray on the good side can be subjected to a more precise visual reinspection, and a weld bead determined to be gray on the defective side can be visually confirmed by the user.

[0120] Fig. 11 is a flowchart showing an example of a processing procedure for individual judgment in bead appearance inspection according to a second gray zone setting example of the bead appearance inspection. The flowchart shown in Fig. 11 corresponds to both the first inspection judgment (steps St21A to St25A) and the second inspection judgment (steps St21B to St25B) shown in Fig. 4. Note that the processing shown in Fig. 11 is similar in both cases where the processor 31 performs both the first inspection judgment and the second inspection judgment (see Fig. 3) and where the processor 31A performs the first inspection judgment and the processor 11A performs the second inspection judgment (see Fig. 7). Therefore, for convenience of explanation, the following explanation will be given assuming that the subject of the processing is the "processor".

[0121] The processor performs the first inspection judgment (point cloud comparison) or the second inspection judgment (AI judgment) described above (St21). For each inspection item, the processor determines whether the inspection score (in the case of the first inspection judgment) or the defect probability (in the case of the second inspection judgment) value belongs to the pass zone (Z1), the gray zone closer to pass (Z3U-W, Z3L-W), the gray zone closer to defective (Z3U-B, Z3L-B), or the defective zone (Z2U, Z2L) for that inspection item (St22). Note that the inspection score and the defect probability are values ​​obtained from the input data (point cloud data OD1).

[0122] If the processor determines that the inspection score or the defect probability value belongs to the pass zone (Z1), it determines the inspection item as "OK" (St23). If the processor determines that the inspection score or the defect probability value belongs to the defect zone (Z2U, Z2L), it determines the inspection item as "NG" (St24). If the processor determines that the inspection score or the defect probability value belongs to the pass-friendly gray zone (Z3U-W, Z3L-W), it determines the inspection item as "gray closer to pass" (St27). If the processor determines that the inspection score or the defect probability value belongs to the defect-friendly gray zone (Z3U-B, Z3L-B), it determines the inspection item as "gray closer to defect" (St28). The processor obtains the determination result of step St23A, step St24, step St27, or step St28 as the first inspection determination result or the second inspection determination result (St25).

[0123] (Display of bead appearance inspection results) The visual inspection result of the bead judged as gray as described above can be displayed to the user. FIG. 12 is a conceptual diagram showing an example of display of the bead visual inspection result by the monitors MN1, MN2, etc. A point cloud or an image showing the bead BD after welding is displayed on the monitor, etc. The parts of the bead judged as defective or gray (defective parts or gray judged parts) are displayed so as to be superimposed on the bead BD after welding. The display control for the monitor may be performed by, for example, the upper device 1 or the inspection control device 3. Furthermore, various property information D_PROP corresponding to the parts of the bead judged as defective or gray may be displayed. For example, as shown in FIG. 12, the judgment result (defective, gray), the cause of the defective or gray judgment (insufficient excess fill, excessive excess fill, etc.), and properties such as the measurement value based on the visual result (excess fill height in mm, etc.) are displayed around the bead BD. As shown in the figure, the property information D_PROP may be displayed in the form of a balloon display.

[0124] The bead visual inspection results may be displayed after welding of the workpiece (main welding and repair welding, if necessary) is completed. The bead visual inspection results may also be displayed before repair welding is performed on the workpiece. In addition, if the user is to visually check (such as when the inspection score or defect probability value is in the gray zone closer to defective products), the bead visual inspection results may be displayed during the visual inspection. By checking the displayed bead visual inspection results, the user can efficiently visually check areas judged to be gray.

[0125] As a result, a gray judgment can be made in the visual inspection for workpieces in the borderline between pass / fail. Weld beads judged as gray can be re-inspected more precisely or visually checked by the user. This improves the judgment accuracy of the visual inspection for workpieces in the borderline between pass / fail. It also makes it possible to avoid situations such as overlooking a defective product or erroneously detecting a pass / fail product. This makes it possible to increase the productivity of products that are welded.

[0126] Furthermore, the range of values ​​indicating the gray zone is set based on a relative value with respect to an upper limit or lower limit of the value obtained from the input data. Alternatively, the range of values ​​indicating the gray zone is set based on an absolute value of the value obtained from the input data. This allows the gray zone to be flexibly set based on the value obtained from the input data.

[0127] In addition, the range of values ​​indicating the gray zone is divided into at least a range of values ​​indicating a first gray zone and a range of values ​​indicating a second gray zone, and the range of values ​​indicating the first gray zone and the range of values ​​indicating the second gray zone do not overlap with each other. This allows the gray zone to be set by dividing it into a plurality of regions. For example, different processes can be performed on workpieces having weld beads judged as gray, such as performing a detailed re-visual inspection of the appearance of weld beads that belong to the gray zone closer to good quality, and performing visual inspection by the user on weld beads that belong to the gray zone closer to defective quality.

[0128] In addition, the weld bead and the gray determined portion in the weld bead where the value obtained from the input data falls within the range of values ​​indicating the gray zone are displayed superimposed on the display device, thereby allowing the user to efficiently visually confirm the portion determined to be gray.

[0129] 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 conceive of various modifications, corrections, substitutions, additions, deletions, and equivalents within the scope of the claims, and it is understood that these also naturally belong to the technical scope of the present disclosure. In addition, the components in the various embodiments described above may be arbitrarily combined within the scope of the invention.

[0130] This application is based on a Japanese patent application (Patent Application No. 2020-038205) filed on March 5, 2020, the contents of which are incorporated by reference into this application. [Industrial Applicability]

[0131] The present disclosure is useful as a bead appearance inspection device, a bead appearance inspection method, a program, and a bead appearance inspection system for more efficiently performing appearance inspection of weld beads of workpieces produced by main welding. [Explanation of symbols]

[0132] 1, 1A Upper device 2 Robot control device 4 Sensors 10, 20, 30 Communications Department 11, 11A, 21, 31, 31A processors 12, 22, 32 memory 13 Cell control section 23 Welding Program Creation Department 24 Arithmetic section 25 Robot control unit 26 Power supply control unit 33 Test result storage unit 34 Judgment threshold memory unit 35 Shape detection control section 36 Data Processing Section 37 Test Result Judgment Department 371 First Inspection and Judgment Department 142 Second Inspection and Judgment Department 14N, 37N Nth Inspection and Judgment Department 100, 100A Welding System 200 Manipulator 300 Wire feeder 301 Welding Wire 400 Welding Torch 500 power supply BD Bead MC1 Welding Robot MC1a Main welding robot MC1b Repair welding robot MN1, MN2 Monitor ST External Storage Z1 Quality Zone Z2U, Z2L Defective Product Zone Z3U, Z3L Gray Zone Z3U-W, Z3L-W - Grey zone closer to quality Z3U-B, Z3L-B - Gray zone close to defective products

Claims

1. An input unit for inputting input data related to a weld bead of a workpiece produced by welding; a determination unit that performs an inspection and determination regarding the shape of the weld bead based on the input data; Equipped with the determining unit determines whether a value obtained from the input data belongs to a range of values ​​indicating a non-defective zone, a range of values ​​indicating a gray zone, or a range of values ​​indicating a defective zone; the range of values ​​indicating the gray zone is between the range of values ​​indicating the non-defective zone and the range of values ​​indicating the defective zone, the range of values ​​indicating the gray zone is divided into at least a range of values ​​indicating a first gray zone and a range of values ​​indicating a second gray zone; The first gray zone and the second gray zone are subjected to different processes, Bead appearance inspection device.

2. the range of values ​​indicating the gray zone is set based on a relative value to an upper limit or a lower limit of the value obtained from the input data; 2. The bead appearance inspection device according to claim 1.

3. the range of values ​​indicating the gray zone is set based on the absolute value of the value obtained from the input data; 2. The bead appearance inspection device according to claim 1.

4. the range of values ​​indicating the gray zone is divided into at least a range of values ​​indicating a first gray zone and a range of values ​​indicating a second gray zone; the range of values ​​indicating the first gray zone and the range of values ​​indicating the second gray zone do not overlap with each other; The bead appearance inspection device according to any one of claims 1 to 3.

5. The weld bead; a gray determination portion in the weld bead where a value obtained from the input data falls within a range of values ​​indicating the gray zone; Display the image on a display device. The bead appearance inspection device according to any one of claims 1 to 3.

6. A bead appearance inspection method performed by a bead appearance inspection device, comprising: inputting input data relating to a weld bead of a workpiece produced by welding; and a determination step of performing an inspection and determination on the shape of the weld bead based on the input data, In the determination step, it is determined whether a value obtained from the input data belongs to a range of values ​​indicating a non-defective zone, a range of values ​​indicating a gray zone, or a range of values ​​indicating a defective zone; the range of values ​​indicating the gray zone is between the range of values ​​indicating the non-defective zone and the range of values ​​indicating the defective zone, the range of values ​​indicating the gray zone is divided into at least a range of values ​​indicating a first gray zone and a range of values ​​indicating a second gray zone; The first gray zone and the second gray zone are subjected to different processes, Bead appearance inspection method.

7. The bead appearance inspection device is a computer. inputting input data relating to a weld bead of a workpiece produced by welding; and a determination step of inspecting and determining the shape of the weld bead based on the input data, In the determination step, it is determined whether a value obtained from the input data belongs to a range of values ​​indicating a non-defective zone, a range of values ​​indicating a gray zone, or a range of values ​​indicating a defective zone; the range of values ​​indicating the gray zone is between the range of values ​​indicating the non-defective zone and the range of values ​​indicating the defective zone, the range of values ​​indicating the gray zone is divided into at least a range of values ​​indicating a first gray zone and a range of values ​​indicating a second gray zone; The first gray zone and the second gray zone are subjected to different processes, program.

8. An input unit for inputting input data related to a weld bead of a workpiece produced by welding; A bead appearance inspection system comprising: a determination unit that performs an inspection and determination regarding a shape of the weld bead based on the input data, the determining unit determines whether a value obtained from the input data belongs to a range of values ​​indicating a non-defective zone, a range of values ​​indicating a gray zone, or a range of values ​​indicating a defective zone; the range of values ​​indicating the gray zone is between the range of values ​​indicating the non-defective zone and the range of values ​​indicating the defective zone, the range of values ​​indicating the gray zone is divided into at least a range of values ​​indicating a first gray zone and a range of values ​​indicating a second gray zone; The first gray zone and the second gray zone are subjected to different processes, Bead appearance inspection system.

Citation Information

Patent Citations

  • Automatic welding, defect repair method and automatic welding equipment

    JP2000167666A

  • Shape inspection device and shape inspection method

    JP2012037487A

  • Welding quality determination method and welding quality determination device of lap seam welding part

    JP2013022597A

  • Welding processing system and welding failure detection method

    JP2017148841A