Bead appearance inspection device, bead appearance inspection method, program, and bead appearance inspection system
The bead appearance inspection device uses AI to efficiently assess weld quality by comparing input data with master data, addressing inefficiencies in visual inspection methods and ensuring consistent defect detection for improved weld quality.
Patent Information
- Application Number
- JP2022504473
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-03-05
- Filing Date
- 2021-03-05
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-03-05
AI Technical Summary
Existing bead appearance inspection methods for welds are inefficient and lack uniformity in determining quality criteria, often relying on visual inspection with varying standards among users, leading to inconsistencies in assessing weld quality.
A bead appearance inspection device and method utilizing an input unit, first judgment section, and multiple types of artificial intelligence (AI) to compare input data with master data, performing first and second inspection determinations to efficiently assess weld shape and defects, including holes, pits, undercuts, spatters, and protrusions.
Enhances the efficiency and accuracy of weld bead inspection by combining shape and defect analysis, allowing for precise detection of welding defects and enabling automated repair instructions, thereby improving the quality and consistency of welds.
Smart Images

Figure 0007555043000006 
Figure 0007555043000001 
Figure 0007555043000007
Abstract
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 bead appearance inspection device comprising an input unit that inputs input data regarding a weld bead of a workpiece produced by welding, a first judgment unit that uses the input data and master data of a good workpiece to perform a first inspection judgment regarding the shape of the weld bead based on a comparison between the input data and the master data, k second judgment units equipped with k (k: an integer greater than or equal to 1) types of artificial intelligence and perform a second inspection judgment regarding welding defects of the weld bead based on processing of the k types of artificial intelligence targeting the input data, and an overall judgment unit that outputs results of an appearance inspection of the weld bead to an output device based on the respective judgment results of the first judgment unit and the k second judgment units.
[0006] The present disclosure also provides a bead appearance inspection method executed by a bead appearance inspection device, the bead appearance inspection method comprising: a step of inputting input data regarding a weld bead of a workpiece produced by welding; a first judgment step of using the input data and master data of a good workpiece to make a first inspection judgment regarding the shape of the weld bead based on a comparison between the input data and the master data; k second judgment steps equipped with k (k: an integer greater than or equal to 1) types of artificial intelligence and making a second inspection judgment regarding welding defects of the weld bead based on processing of the k types of artificial intelligence targeting the input data; and a step of outputting results of the appearance inspection of the weld bead to an output device based on the judgment results of the first judgment step and the k second judgment steps.
[0007] The present disclosure also provides a program for causing a bead appearance inspection device, which is a computer, to execute the following steps: inputting input data regarding a weld bead of a workpiece produced by welding; a first judgment step using the input data and master data of a good workpiece to make a first inspection judgment regarding the shape of the weld bead based on a comparison between the input data and the master data; k second judgment steps equipped with k (k: an integer of 1 or more) types of artificial intelligence and making a second inspection judgment regarding welding defects of the weld bead based on processing of the k types of artificial intelligence that target the input data; and outputting results of the appearance inspection of the weld bead to an output device based on the judgment results of the first judgment step and the k second judgment steps.
[0008] The present disclosure also provides a bead appearance inspection system comprising an input unit that inputs input data regarding a weld bead of a workpiece produced by welding, a first judgment unit that uses the input data and master data of a good workpiece to perform a first inspection judgment regarding the shape of the weld bead based on a comparison between the input data and the master data, k second judgment units equipped with k (k: an integer greater than or equal to 1) types of artificial intelligence and perform a second inspection judgment regarding welding defects of the weld bead based on processing of the k types of artificial intelligence targeting the input data, and an overall judgment unit that outputs results of an appearance inspection of the weld bead to an output device based on the respective judgment results of the first judgment unit and the k second judgment units. 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. 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 perform bead appearance inspection of workpieces produced by main welding more efficiently will be described.
[0014] 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.
[0015] (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.
[0016] 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."
[0017] 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."
[0018] 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.
[0019] (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 the same welding robot MC1. To make the following description easier to understand, the description will be given assuming that the welding robot MC1 executes 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).
[0020] 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.
[0021] 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.
[0022] 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.
[0023] 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.
[0024] 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.
[0025] 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.
[0026] 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.
[0027] 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).
[0028] 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.
[0029] 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.
[0030] 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.
[0031] 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.
[0032] 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.
[0033] 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.
[0034] 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.
[0035] 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).
[0036] 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.
[0037] 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.
[0038] 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.
[0039] 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.
[0040] 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.
[0041] 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.
[0042] 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.
[0043] 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.
[0044] 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.
[0045] 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.
[0046] 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.
[0047] 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.
[0048] 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.
[0049] 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.
[0050] 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.
[0051] 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.
[0052] 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.
[0053] 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).
[0054] 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.
[0055] 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.
[0056] 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.
[0057] 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.
[0058] 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.
[0059] 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.
[0060] 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.
[0061] 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 (e.g., workpiece) sent from the higher-level device 1, the shape detection control device 35 acquires input data (e.g., 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. 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 (e.g., 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.
[0062] 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.
[0063] 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.
[0064] 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.
[0065] 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 value of the inspection score as the first inspection and judgment result.
[0066] 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 on input data after the input data has been preprocessed by data processing unit 36) and inspects the weld bead for the presence or absence of holes, pits, undercuts, spatters, and protrusions (see FIG. 5). Holes, pits, undercuts, spatters, and protrusions 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.
[0067] 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, holes, pits, undercuts, spatters, and protrusions 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 holes and pits in the weld bead as the type of welding defect by using AI, and the Nth inspection judgment unit 37N (N=3) can detect, for example, the presence or absence of undercuts, spatters, and protrusions in the weld bead as the type of welding defect by using 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, combinations of (holes and pits), (undercuts, spatters, and protrusions)) that are the inspection items.
[0068] 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.
[0069] 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.
[0070] 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.
[0071] (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.
[0072] 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.
[0073] 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).
[0074] 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).
[0075] 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).
[0076] 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).
[0077] 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).
[0078] 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.
[0079] 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 the weld bead of a non-defective workpiece) from memory 32, and executes a first inspection judgment in which the image data from data processing unit 36 is compared with master data MD1 (St21A).
[0080] 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).
[0081] 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).
[0082] 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).
[0083] 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 (e.g., point cloud data OD1) related to the weld bead of the workpiece produced by welding in the processor 31 as an example of an input unit. 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 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 (e.g., monitor MN2) in the inspection result judgment unit 37 as an example of a comprehensive judgment unit 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.
[0084] 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, making it possible to perform an appearance inspection of the weld beads of workpieces produced by main welding more efficiently. In particular, when detecting the presence or absence of welding defects using AI processing, k (=(N-1)) different AIs can be prepared according to the inspection items targeted by the user's bead appearance inspection. Therefore, the inspection control device 3 can improve the convenience of the weld bead appearance inspection for the user.
[0085] 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.
[0086] 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.
[0087] Furthermore, the inspection control device 3 communicates with a welding robot MC1 capable of performing repair welding for defective welded portions of 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 judgment unit 371 and the k second judgment units (the second inspection and judgment unit 372 to the Nth inspection and judgment 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 defective welding has been detected in any of the inspection items as a comprehensive determination based on the respective results of the first inspection and judgment and the second inspection and judgment, it can execute an instruction to the welding robot MC1 to perform repair welding to automatically correct the inspection item that has resulted in the defective weld, thereby quickly and smoothly improving the completeness of the workpiece.
[0088] Furthermore, the inspection control device 3 converts input data into a data format suitable for input to k types of artificial intelligence in the inspection result determination unit 37 as an example of a conversion unit. This enables the inspection control device 3 to improve the accuracy of the AI processing executed in each of the second inspection determination unit 372 to the Nth inspection determination unit 37N, and improves the accuracy of detecting the presence or absence of welding defects (e.g., holes, pits, undercuts, spatters) in the weld bead.
[0089] 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).
[0090] (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.
[0091] (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).
[0092] 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.
[0093] 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.
[0094] In upper device 1A as an example of a bead appearance inspection device, processor 11A includes cell control unit 13 and second inspection and judgment unit 142 to Nth inspection and judgment unit 14N. Like second inspection and judgment unit 372 to Nth inspection and judgment unit 37N, second inspection and judgment unit 142 to Nth inspection and judgment unit 14N perform second inspection and judgment (i.e., bead appearance inspection that forms a neural network using 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 sensor 4) and inspects the presence or absence of holes, pits, undercuts, spatters, and protrusions in the weld bead (see FIG. 5).
[0095] (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.
[0096] 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).
[0097] 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 3A 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.
[0098] 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.
[0099] 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 perform the appearance inspection of the weld bead of the workpiece produced by the main welding more efficiently. 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.
[0100] 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.
[0101] This application is based on a Japanese patent application (Patent Application No. 2020-038203) filed on March 5, 2020, the contents of which are incorporated by reference into this application. [Industrial Applicability]
[0102] The present disclosure is useful as a bead appearance inspection device, a bead appearance inspection method, a program, and a bead appearance inspection system that more efficiently performs appearance inspection of weld beads of workpieces produced by main welding. [Explanation of symbols]
[0103] 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 2nd 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 MC1 Welding Robot MC1a Main welding robot MC1b Repair welding robot MN1, MN2 Monitor ST External Storage
Claims
1. An input unit for inputting input data related to a weld bead of a workpiece produced by welding; a first determination unit that uses the input data and master data of a non-defective workpiece and performs a first inspection determination on a shape of the weld bead based on a comparison between the input data and the master data; k second judgment units each having k types of artificial intelligence (k: an integer of 1 or more) and performing a second inspection judgment regarding welding defects of the weld bead based on processing of the k types of artificial intelligence on the input data; and a comprehensive judgment unit that outputs a result of the appearance inspection of the weld bead to an output device based on judgment results of the first judgment unit and each of the k second judgment units. Bead appearance inspection device.
2. An appearance inspection item regarding the shape of the weld bead that is the subject of the first inspection and judgment is different from an appearance inspection item regarding a welding defect of the weld bead that is the subject of the second inspection and judgment.
2. The bead appearance inspection device according to claim 1.
3. When k is an integer equal to or greater than 2, the appearance inspection items related to welding defects of the weld bead that are the targets of the second inspection judgment performed by each of the k second judgment units are different.
2. The bead appearance inspection device according to claim 1.
4. A communication unit that communicates with a welding robot capable of performing repair welding for a defective welded portion of a weld bead of the workpiece, When the overall judgment unit judges that any of the appearance inspection items among the judgment results of the first judgment unit and the k number of second judgment units is defective, the overall judgment unit sends an instruction to the welding robot via the communication unit to perform repair welding to repair the defective welding portion of the weld bead judged to be defective.
2. The bead appearance inspection device according to claim 1.
5. A conversion unit converts the input data into a data format suitable for input to the k types of artificial intelligence.
2. The bead appearance inspection device according to claim 1.
6. The appearance inspection items related to the shape of the weld bead that are the subject of the first inspection and judgment are the shape of the weld bead, a chipping of the weld bead, and a positional deviation of the weld bead, The appearance inspection items related to the welding defects of the weld bead that are the subject of the second inspection and judgment are holes, pits, undercuts, spatters, and protrusions of the weld bead.
2. The bead appearance inspection device according to claim 1.
7. 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; a first judgment step of performing a first inspection judgment on a shape of the weld bead based on a comparison between the input data and master data of a non-defective workpiece by using the input data and the master data; k second judgment processes each including k types of artificial intelligence (k: an integer of 1 or more) and performing a second inspection judgment regarding welding defects of the weld bead based on processing of the k types of artificial intelligence on the input data; and outputting a result of the appearance inspection of the weld bead to an output device based on the judgment results of the first judgment step and the k number of second judgment steps. Bead appearance inspection method.
8. The bead appearance inspection device is a computer. inputting input data relating to a weld bead of a workpiece produced by welding; a first judgment step of performing a first inspection judgment on a shape of the weld bead based on a comparison between the input data and master data of a non-defective workpiece by using the input data and the master data; k second judgment processes each including k types of artificial intelligence (k: an integer of 1 or more) and performing a second inspection judgment regarding welding defects of the weld bead based on processing of the k types of artificial intelligence on the input data; and outputting a result of the appearance inspection of the weld bead to an output device based on the respective judgment results of the first judgment step and the k number of second judgment steps. program.
9. An input unit for inputting input data related to a weld bead of a workpiece produced by welding; a first determination unit that uses the input data and master data of a non-defective workpiece and performs a first inspection determination on a shape of the weld bead based on a comparison between the input data and the master data; k second judgment units each having k types of artificial intelligence (k: an integer of 1 or more) and performing a second inspection judgment regarding welding defects of the weld bead based on processing of the k types of artificial intelligence on the input data; and a comprehensive judgment unit that outputs a result of the appearance inspection of the weld bead to an output device based on judgment results of the first judgment unit and each of the k second judgment units. Bead appearance inspection system.
Citation Information
Patent Citations
Body shape detection method and device, and automatic machining unit.
JP1997101120A
Method and apparatus for detecting shape of welded bead
JP2001208523A
Shape inspection device and shape inspection method
JP2012037487A
Defect detection device
JP2017181263A
Inspection equipment and inspection method
JP2019196985A
