Bead appearance inspection device, bead appearance inspection method, program, and bead appearance inspection system
The bead appearance inspection system efficiently and accurately detects welding defects by preprocessing weld bead shapes and using multiple AI types to enhance precision, addressing shape variability and sensor posture issues in existing methods.
Patent Information
- Application Number
- JP2022504472
- 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 struggle to efficiently and accurately detect welding defects in weld beads with varying shapes, such as straight, curved, or weaved, due to mismatched sensor postures and shape discrepancies between actual and acquired point cloud data, leading to reduced detection accuracy.
A bead appearance inspection system equipped with preprocessing units that convert weld bead shapes into a predetermined shape, utilizing k types of artificial intelligence to inspect for defects, including flattening processes to straighten curved shapes, and combining master inspection and AI judgment for comprehensive evaluation.
Enhances the efficiency and precision of bead appearance inspection by accurately detecting defects like holes, pits, undercuts, spatters, and protrusions, even with varying bead shapes, through combined master and AI-based inspections.
Smart Images

Figure 0007555042000010 
Figure 0007555042000011 
Figure 0007555042000002
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 perform bead appearance inspection of workpieces produced by main welding more efficiently and with higher accuracy. [Means for solving the problem]
[0005] The present disclosure provides a welding system including an input unit that inputs input data related to a weld bead of a workpiece produced by welding, a preprocessing unit that performs preprocessing on the input data to convert the shape of the weld bead into a predetermined shape, and k inspection / determination units that are equipped with k (k: an integer of 1 or more) types of artificial intelligence and inspect and determine whether or not there is a welding defect in the weld bead based on processing by the k types of artificial intelligence that targets the input data that has been subjected to the preprocessing. When the shape of the weld bead is a curve, the preprocessing unit performs a planarization process to straighten the shape of the weld bead by moving a point on the curve in the input data as a target. We provide a bead appearance inspection device.
[0006] The present disclosure also provides a bead appearance inspection method executed by a bead appearance inspection device, the method including: a step of inputting input data related to a weld bead of a workpiece produced by welding; a step of performing pre-processing on the input data to convert the shape of the weld bead into a predetermined shape; and k inspection and judgment steps including k (k: an integer of 1 or more) types of artificial intelligence and inspecting and judging the presence or absence of welding defects in the weld bead based on processing of the k types of artificial intelligence on the input data that has been subjected to the pre-processing. and in the pre-processing, when the shape of the weld bead is a curve, a flattening process is performed to make the shape of the weld bead into a straight line by moving a point on the curve in the input data as a target. A bead appearance inspection method is provided.
[0007] The present disclosure also provides a method for making a bead appearance inspection device, which is a computer, execute a step of inputting input data related to a weld bead of a workpiece produced by welding, a step of performing pre-processing on the input data to convert the shape of the weld bead into a predetermined shape, and k inspection and determination steps, which are equipped with k (k: an integer of 1 or more) types of artificial intelligence and inspect and determine the presence or absence of welding defects in the weld bead based on processing of the k types of artificial intelligence on the input data that has been subjected to the pre-processing. In the pre-processing, when the shape of the weld bead is a curve, a flattening process is performed to make the shape of the weld bead into a straight line by moving a point on the curve in the input data as a target. , and provide programs.
[0008] The present disclosure also provides a system including an input unit that inputs input data related to a weld bead of a workpiece produced by welding; a first judgment unit that uses the input data and master data of a non-defective workpiece to perform a first inspection judgment on a shape of the weld bead based on a comparison between the input data and the master data; a preprocessing unit that performs preprocessing on the input data to convert the shape of the weld bead into a predetermined shape; k second judgment units that are equipped with k (k: an integer of 1 or more) types of artificial intelligence and inspect and judge whether or not the weld bead has a welding defect based on processing of the k types of artificial intelligence targeting the input data that has been subjected to the preprocessing; and a comprehensive judgment unit that outputs a result of an appearance inspection of the weld bead to an output device based on each judgment result of the first judgment unit and the k second judgment units. When the shape of the weld bead is a curve, the preprocessing unit performs a planarization process to straighten the shape of the weld bead by moving a point on the curve in the input data as a target. , a bead appearance inspection system is provided. Effect of the Invention
[0009] According to the present disclosure, bead appearance inspection of workpieces produced by main welding can be performed more efficiently and with higher accuracy. [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 process procedure showing details of master inspection judgment and AI inspection judgment. [Diagram 5] A table showing examples of appropriate master inspection judgments and AI inspection judgments for multiple inspection items [Figure 6] FIG. 5 is a diagram showing a first example of pre-processing in step St21B0 of FIG. 4; [Figure 7] FIG. 5 is a diagram showing a second example of pre-processing in step St21B0 of FIG. 4; [Figure 8] FIG. 5 is a diagram showing a third example of pre-processing in step St21B0 of FIG. 4; [Figure 9] FIG. 5 is a diagram illustrating a fourth example of pre-processing in step St21B0 of FIG. [Figure 10] 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 11] 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) As in Patent Document 1, a device configuration that automatically performs an external shape inspection of a weld bead is known, such as judging a workpiece produced by main welding to be a non-defective product when a calculated value of a feature value (e.g., bead width, bead height, etc.) related to the shape of the weld bead is within an allowable range. In recent years, an external shape inspection that detects the presence or absence of welding defects (e.g., holes, pits, undercuts, spatters, protrusions) in the weld bead of a workpiece using artificial intelligence, i.e., AI (Aritificial Intelligences), has been known. However, in an actual welding site, the shapes of the weld beads (e.g., straight, curved, weaving) can vary widely, so it has been difficult to make the above-mentioned welding defects match the shapes of the weld beads and use them for detection.
[0012] In addition, when a welding robot has a sensor used for visual inspection, the posture of the welding robot may differ from the posture when the sensor senses depending on the structure of the workpiece, and the sensing results may not necessarily match the shape of the weld bead. In other words, the actual shape of the weld bead may not strictly match the shape of the weld bead identified by the point cloud data acquired by the sensor. In such cases, when AI is used to detect the presence or absence of welding defects (see above), the detection accuracy may deteriorate.
[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 and with higher accuracy 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 receives input data related to the weld bead of the workpiece produced by main welding, performs preprocessing on the input data to convert the shape of the weld bead into a predetermined shape, is equipped with k (k: an integer of 1 or more) types of artificial intelligence, and inspects and determines whether or not the weld bead has a welding defect based on the processing of the k types of artificial intelligence on the preprocessed 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.
[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 "master 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 bead appearance inspection to determine the presence or absence of welding defects based on the AI targeting the above-mentioned input data. Hereinafter, such bead appearance inspection is defined as "AI inspection judgment." In the first embodiment, the inspection control device 3 is capable of executing the above-mentioned master inspection judgment and AI inspection judgment. The inspection control device 3 performs a comprehensive judgment of the bead appearance inspection using the results of executing the master inspection judgment and the AI 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 AI 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 point (so-called detection point). The inspection control device 3 associates this repair welding program with the visual inspection result and sends it to the robot control device 2.
[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 mounting table 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, described later) capable of identifying the three-dimensional shape of the workpiece placed on the mounting table (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, robot control device 2 drives manipulator 200 of welding robot MC1 during bead appearance inspection based on the appearance inspection program sent from higher-level device 1 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 above-mentioned master inspection judgment and AI inspection judgment. 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 above-mentioned master inspection judgment and AI inspection judgment, 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] A data processing unit 36, as an example of a pre-processing unit, receives input data regarding the shape of the weld bead (see above) from the shape detection control unit 35 and converts it into a data format suitable for master inspection judgment in the inspection result judgment unit 37, as well as into a data format suitable for AI inspection judgment in the inspection result judgment unit 37.
[0063] For example, conversion of the data format suitable for master inspection and judgment may include a correction process for removing unnecessary point cloud data (e.g., noise) contained in the input data (i.e., point cloud data) as a so-called preprocessing, or the preprocessing may be omitted for master inspection and judgment. Data processing unit 36 generates image data showing the three-dimensional shape of the weld bead by, for example, executing statistical processing on the input shape data as a data format suitable for master inspection and judgment. Note that data processing unit 36 may perform edge emphasis correction that emphasizes the peripheral portion of the weld bead in order to emphasize the position and shape of the weld bead, as data for master inspection and judgment.
[0064] For example, the conversion of the data format suitable for AI inspection and judgment may include, as a so-called pre-processing, a correction process for removing unnecessary point cloud data (e.g., noise) contained in the input data (i.e., point cloud data of the weld bead), but may also be omitted. Furthermore, the conversion of the data format suitable for AI inspection and judgment includes, as a so-called pre-processing, a planarization process for converting the shape of the input data (i.e., 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, curved shape, the presence or absence of weaving, etc. 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., second inspection and determination unit 372 to Nth inspection and determination unit 37N described later) can execute a learned model that has been created by previously carrying out a learning process so as to be able to detect welding defects (see above) when the shape of the weld bead is, for example, linear. As a result, the AI (i.e., second inspection and determination unit 372 to Nth inspection and determination unit 37N described later) can detect welding defects with high accuracy simply by inputting point cloud data in which the shape of the weld bead has been linearized by planarization processing carried out by data processing unit 36. Details of this planarization processing will be described in detail with reference to FIGS. 6 to 9, respectively.
[0065] 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.
[0066] Inspection result determination unit 37, which is an example of an input unit, inputs and acquires input data (see above) related to the shape of the weld bead from shape detection control unit 35, and also inputs and acquires input data converted (i.e., preprocessed) by data processing unit 36. Inspection result determination unit 37 can perform a total of N (N: an integer of 2 or more) types of bead appearance inspection (e.g., each of the above-mentioned master inspection judgment and AI inspection judgment). Specifically, inspection result determination unit 37 has first inspection judgment unit 371, second inspection judgment unit 372, ..., Nth inspection judgment unit. To simplify the explanation of FIG. 2, N=2 will be explained, but the same applies if N=3 or an integer of 3 or more.
[0067] The first inspection and judgment unit 371 as an example of the second inspection and judgment unit and the first judgment unit uses the threshold value stored in the judgment threshold memory unit 34 to perform master inspection and judgment (i.e., 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) 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 master inspection and judgment and the AI 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 data converted by the data processing unit 36 for the master 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 a master inspection and judgment result.
[0068] Second inspection and judgment unit 372 to Nth inspection and judgment unit 37N as an example of an inspection and judgment unit perform AI inspection and judgment (that is, each forms a neural network using k=(N-1) types of artificial intelligence, and performs bead appearance inspection to determine the presence or absence of welding defects based on AI, with input data related to the shape of the weld bead acquired by sensor 4 being the input data after preprocessing by data processing unit 36), and inspect 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 second inspection and judgment unit 372 to 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 by using a learning model (AI) obtained by learning processing for each type of welding defect or for each group of types of welding defects in a weld bead having a predetermined shape (for example, a linear shape). As a result, each of the second inspection and judgment unit 372 to the Nth inspection and judgment unit 37N can input point cloud data flattened by the data processing unit 36 even if the shape of the weld bead formed by main welding is not linear (for example, curved, with weaving), so that the AI learned based on the linear weld bead can inspect the presence or absence of holes, pits, undercuts, spatters, and protrusions in the weld bead with high accuracy. 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 executed by the first inspection and judgment unit 371. The second inspection and judgment unit 372 to the Nth inspection and judgment unit 37N calculate the inspection results (in other words, the inspection scores indicating the occurrence probability) of holes, pits, undercuts, spatters, and protrusions in the weld bead, and create the calculated inspection score values as the AI inspection and judgment results.
[0069] 5, the inspection result judgment unit 37 performs a comprehensive and highly accurate inspection of the shape reliability of the weld bead, bead chipping, bead position shift, hole, pit, undercut, spatter, and protrusion by using the master inspection judgment and the AI inspection judgment in combination so as to be suitable for the inspection of each type of welding defect. Note that the above description is an example of N=2, but when N=3, the second inspection judgment unit 372 can detect, for example, the presence or absence of hole and pit in the weld bead as the type of welding defect by AI, and the Nth inspection judgment unit 37N (N=3) can detect, for example, the presence or absence of undercut, spatter, and protrusion in the weld bead as the type of welding defect by a different AI. In other words, in the AI inspection judgment, the combination of types of welding defects (for example, the combination of (hole and pit), (undercut, spatter, and protrusion)) that are the inspection items can be freely customized, and multiple AIs (learning models) may be prepared so that each combination can be detected by a different AI.
[0070] Inspection result judgment unit 37 as an example of a comprehensive judgment unit performs a comprehensive judgment (see step St26 in FIG. 4) based on the master inspection judgment result created by first inspection judgment unit 371 and the AI inspection judgment results created by each of second inspection judgment unit 372 to Nth inspection judgment unit 37N, creates an appearance inspection report including the result of this comprehensive judgment, stores it in memory 32, and sends it to higher-level device 1 via communication unit 30. Note that inspection result judgment unit 37 may judge whether repair welding by welding robot MC1 is possible or not (in other words, whether repair welding by welding robot MC1 or manual repair welding is preferable) according to the comprehensive judgment result created based on the above-mentioned master inspection judgment result and AI inspection judgment result, and output the judgment result by including it in the above-mentioned appearance inspection report.
[0071] Repair welding program creation unit 38 creates a repair welding program for workpiece Wk (e.g., workpiece or repair workpiece) to be performed by welding robot MC1, using the appearance inspection report of workpiece Wk (e.g., workpiece or repair workpiece) by inspection result determination unit 37 and workpiece information (e.g., information such as coordinates indicating the position of a detection point of a welding defect in the workpiece or repair workpiece). The repair welding program may include various parameters such as welding current, welding voltage, offset amount, welding speed, and attitude of welding torch 400 for controlling power supply device 500, manipulator 200, wire feeder 300, welding torch 400, etc. during repair welding. The created repair welding program may be stored in processor 31 or in RAM in memory 32.
[0072] The sensor 4 is, for example, a three-dimensional shape sensor, which is attached to the tip of the welding robot MC1 and can acquire a plurality of point cloud data that can specify the shape of the welded part on the workpiece Wk (for example, workpiece), and generates point cloud data that can specify the three-dimensional shape of the welded part based on the point cloud data and sends it to the inspection control device 3. In addition, when the sensor 4 is not attached to the tip of the welding robot MC1 and is arranged separately from the welding robot MC1, it may be composed of a laser light source (not shown) configured to be able to scan the welded part on the workpiece Wk (for example, workpiece or repair workpiece) based on the position information of the welded part sent from the inspection control device 3, and a camera (not shown) arranged to be able to image an imaging area including the periphery of the welded part and to image the reflection trajectory of the laser light reflected from the laser light irradiated to the welded part (i.e., the shape line of the welded part). In this case, the sensor 4 sends the shape data of the welded part based on the laser light imaged by the camera (in other words, image data of the welded bead) to the inspection control device 3. In addition, the above-mentioned camera is configured to have at least a lens (not shown) and an image sensor (not shown). The image sensor is a solid-state imaging element such as a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS), and converts an optical image formed on an imaging surface into an electrical signal.
[0073] (Welding system operation) Next, a series of operational procedures for main welding, bead visual inspection, and repair welding by welding system 100 according to embodiment 1 will be described with reference to Fig. 3. Fig. 3 is a sequence diagram showing an example of a series of processing procedures including main welding, bead visual inspection, and repair welding by welding system 100 according to embodiment 1. In the explanation of Fig. 3, the operational procedures performed between host device 1, robot control device 2, and inspection control device 3 for each process of main welding using multiple original workpieces and repair welding performed when the bead visual inspection of the workpiece is failed (i.e., the overall judgment result indicates that there is a welding defect) will be described by exemplifying them.
[0074] In Fig. 3, the higher-level device 1 acquires work information (e.g., ID, name, and welding location of the original work) of the original work to be subjected to the main welding (St1), and generates an execution command for the main welding including the work information of the original work. The higher-level device 1 sends an execution command for the main welding including the work information of the original work to the robot control device 2 (St2). Note that the robot control device 2 may execute the processes of steps St1 and St2, respectively, without going through the higher-level device 1. In this case, it is preferable that the memory 22 of the robot control device 2 stores the same data as that stored in the external storage ST, or that the robot control device 2 is connected so as to be able to acquire data from the external storage ST.
[0075] When the robot control device 2 receives an execution command for the main welding sent from the upper device 1, the robot control device 2 uses the work information of each of the multiple original workpieces included in the execution command to create a main welding program for the main welding to be performed by the welding robot MC1, and causes the welding robot MC1 to perform the main welding according to the main welding program (St3). When the robot control device 2 determines the completion of the main welding by the welding robot MC1 using various known methods, it generates a main welding completion notice indicating that the main welding has been completed and sends it to the upper device 1 (St4). When the upper device 1 receives the main welding completion notice, it generates an execution command for an appearance inspection program including a work appearance inspection program and sends it to the robot control device 2 (St5), and also generates an execution command for a bead appearance inspection of the workpiece and sends it to the inspection control device 3 (St6). When the bead appearance inspection starts, the robot control device 2 executes the appearance inspection program received from the upper device 1, and moves the sensor 4 attached to the welding robot MC1 along the weld line (St7). The sensor 4 acquires point cloud data capable of identifying the three-dimensional shape of the workpiece while being moved by the robot control device 2 so as to be able to scan the welding spot of the workpiece (St7).
[0076] The inspection control device 3 uses point cloud data capable of identifying the three-dimensional shape of the weld bead acquired by the sensor 4 as input data, performs preprocessing (see above) on this input data, and performs the above-mentioned master inspection judgment and AI inspection judgment individually (in parallel) (St7). In particular, the inspection control device 3 performs preprocessing (e.g., flattening processing) on the input data to convert it into a weld bead having a predetermined shape (e.g., a linear shape) and then performs AI inspection judgment (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., master inspection judgment and AI inspection judgment) (St8).
[0077] When the inspection control device 3 determines that the workpiece has a welding defect and therefore needs repair welding (St9) as a result of the overall determination in step St8, the inspection control device 3 obtains the actual welding program from the robot control device 2 and creates a repair welding program by modifying a part of the actual welding program (St9). The modified part is, for example, a content indicating a location (range) where repair welding is performed. Although detailed illustration is omitted in FIG. 3, the inspection control device 3 may request data of the actual welding program from the robot control device 2 in step St9 and obtain data of the actual welding program sent from the robot control device 2 in response to this request, or may obtain data of the actual welding program sent from the robot control device 2 after step St3 in advance. In this way, the inspection control device 3 can efficiently create data of the repair welding program by partially modifying data of the actual welding program obtained from the robot control device 2. The inspection control device 3 generates an appearance inspection report including the result of the overall determination in step St8 and the repair welding program, and sends it to the robot control device 2 (St10). The inspection control device 3 also sends the appearance inspection report generated in the same manner to the upper device 1 (St11).
[0078] Upon receiving the appearance inspection report in step St11, the upper device 1 generates an execution command for repair welding of the workpiece and sends it to the robot control device 2 (St12). When the robot control device 2 receives the execution command for repair welding sent from the upper device 1, it causes the welding robot MC1 to execute repair welding according to the repair welding program (received in step St10) for the workpiece specified in the execution command (St13). When the robot control device 2 determines the completion of repair welding by the welding robot MC1 by various known methods, it sends work information of the repair work (for example, the ID of the repair work, work information including the IDs of each of the multiple original workpieces used in the main welding (for example, the ID, name, and welding location of the original workpiece), and the welding conditions at the time of each of the main welding and repair welding) to the upper device 1 (St14).
[0079] When the upper device 1 receives the work information including the ID of the repair work sent from the robot control device 2, it sets a management ID suitable for the user corresponding to the ID of the repair work, and stores data indicating that the welding of the repair work corresponding to this management ID has been completed in the external storage ST (St15).
[0080] Next, the 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 the details of the master inspection judgment and the AI inspection judgment. For the sake of easy understanding of the explanation of Fig. 4, it is assumed that N=2.
[0081] 4, point cloud data OD1 capable of identifying the three-dimensional shape of the weld bead acquired by sensor 4 is used for both master inspection judgment and AI inspection judgment. Data processing unit 36 converts point cloud data OD1 from sensor 4 into a data format suitable for master 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 the ideal three-dimensional shape of the weld bead of a non-defective workpiece) from memory 32, and executes master inspection judgment in which the image data from data processing unit 36 is compared with master data MD1 (St21A).
[0082] The first inspection determination unit 371 determines whether the inspection score calculated for each inspection item (e.g., shape reliability, bead chipping, bead misalignment) is equal to or greater than a threshold value preset for each inspection item (St22A). That is, the first inspection determination unit 371 compares the image data based on the point cloud data OD1 with the master data MD1 to determine whether the inspection score for shape reliability is equal to or greater than a threshold value for shape reliability, whether the inspection score for the presence or absence of bead chipping is equal to or greater than a threshold value for bead chipping, and whether the inspection score for the presence or absence of bead misalignment is equal to or greater than a threshold value for bead misalignment (St22A). When the first inspection determination unit 371 determines that the inspection scores are equal to or greater than the threshold value for shape reliability, the threshold value for bead chipping, and the threshold value for bead misalignment, respectively (St22A, 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 position deviation (St22A, NO), it judges the inspection item as "NG" (i.e., the shape reliability is insufficient, or a bead chip or a bead position deviation has been detected) (St24A). The first inspection judgment unit 371 acquires the judgment result of step St23A or step St24A as the master inspection judgment result (St25A).
[0083] The data processing unit 36 performs planarization processing to convert the shape of the input data (i.e., the point cloud data OD1 of the weld bead) into a predetermined shape (e.g., a linear shape) as a preprocessing for AI inspection and judgment (St21B0), and sends the input data after the planarization processing to the inspection result judgment unit 37. In step St21B0, the data processing unit 36 may perform correction processing (e.g., processing to delete point cloud data that is clearly noise different from the position of the weld bead, processing to interpolate point cloud data that does not correspond to holes) in addition to the planarization processing. The Nth inspection judgment unit 37N inspects the presence or absence of welding defects in the weld bead by AI for the input data that has been preprocessed by the data processing unit 36 (St21B). The Nth inspection judgment unit 37N judges whether or not the defect probability value (i.e., the inspection score), which is the output value of the AI engine (e.g., a neural network) for each inspection item (e.g., holes, pits, undercuts, spatters, 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 that has received the point cloud data preprocessed by the data processing unit 36 is equal to or less than the hole detection threshold, pit detection threshold, undercut detection threshold, sputter detection threshold, and protrusion detection threshold (St22B). If 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 the hole detection threshold, pit detection threshold, undercut detection threshold, sputter detection threshold, and protrusion detection threshold (St22B, YES), it determines that the inspection item is "OK" (that is, no hole, pit, undercut, sputter, or protrusion is detected) (St23B). On the other hand, when the Nth inspection judgment unit 37N 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 (St22B, NO), it judges the inspection item as "NG" (i.e., any of holes, pits, undercuts, sputters, or protrusions has been detected) (St24B). The Nth inspection judgment unit 37N acquires the judgment result of step St23B or step St24B as the AI inspection judgment result (St25B).
[0084] The inspection result determination unit 37, which is an example of a comprehensive determination unit, performs a comprehensive determination of the bead appearance inspection using the master inspection determination result obtained in step St25A and the AI inspection determination result obtained in step St25B (St26). For example, when the inspection result determination unit 37 determines that both the master inspection determination result and the AI inspection determination 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 master inspection determination result or the AI inspection determination result indicates that any welding defect has been detected, it determines that the bead appearance inspection is failed (in other words, repair welding is required to repair the detected welding defect).
[0085] Next, a first pre-processing example of step St21B0 in Fig. 4 will be described with reference to Fig. 6. Fig. 6 is a diagram that illustrates a first pre-processing example of step St21B0 in Fig. 4. In the first pre-processing example, when point cloud data of weld bead BD1 formed by main welding has a curved shape CR1, data processing unit 36 performs flattening processing to change the curved shape to a linear shape LN1. Note that, to make the explanation of Fig. 6 easier to understand, only a part of the section of weld bead BD1 is partially illustrated in Fig. 6, but Fig. 6 may also show the entire section of weld bead BD1.
[0086] 6, the data processing unit 36 inputs and acquires point cloud data OD1 of a weld bead BD1 having points TG1, TG2, TG3, TG4, TG5, TG6, TG7, TG8, and TG9z (St21B0-1). The point cloud data OD1 includes data on the positions (coordinates) of the individual points TG1 to TG9z. Note that the point TG9z is different from the other points TG1 to TG8 and is acquired as noise. The data processing unit 36 calculates the curvature of a curve (for example, a circle or an ellipse) that passes through the center points C1, C2, C3, C4, C5, C6, C7, and C8 of the points TG1 to TG8, respectively.
[0087] The data processing unit 36 uses the inverse of the calculated value of the curvature to perform a planarization process so that all of the points TG1 to TG8 are located on the same straight line (for example, the intermediate points TG2 to TG7 other than the points TG1 and TG8 at both ends are moved to points TG2a, TG3a, TG4a, TG5a, TG6a, and TG7a, respectively) (St21B0-2). Note that in step St21B0-2, the point TG9 is not subject to the planarization process because it is noise. In addition, the data processing unit 36 creates point cloud data of the weld bead BD2 by performing a planarization process so that the weld bead has a straight line shape passing through the points TG1 and TG8 at both ends. However, the passing points of the straight line shape are not limited to the points TG1 and TG8, and as long as the weld bead after the planarization process has a straight line shape, the two passing points are not limited to the pair of points TG1 and TG8.
[0088] Data processing unit 36 deletes point TG9z regarded as noise by correction processing (St21B0-3). This allows data processing unit 36 to obtain point cloud data of weld bead BD2 having linear shape LN1 with high accuracy from point cloud data of weld bead BD1 having curved shape CR1. In other words, in welding system 100, the presence or absence of welding defects when a weld bead having a linear shape is input can be detected with high accuracy by AI, improving the accuracy of AI inspection judgment.
[0089] Next, a second pre-processing example of step St21B0 in Fig. 4 will be described with reference to Fig. 7. Fig. 7 is a diagram that illustrates the second pre-processing example of step St21B0 in Fig. 4. In the second pre-processing example, when point cloud data of weld bead BD4 formed by weaving during main welding has a curved shape CR2, data processing unit 36 performs flattening processing to change the curved shape to a linear shape LN2. Note that, to make the explanation of Fig. 7 easier to understand, only a part of the section of weld bead BD4 is partially illustrated in Fig. 7, but Fig. 7 may also show the entire section of weld bead BD2.
[0090] 7, data processing unit 36 inputs and acquires point cloud data OD1 of weld bead BD2 having points TG1, TG2, TG3, TG4, TG5, TG6, TG7, TG8, TG9, TG10, TG11, TG12, TG13, TG14, and TG15 (St21B0-1). Point cloud data OD1 includes data on the positions (coordinates) of individual points TG1 to TG15. Data processing unit 36 calculates the curvature of a curve (e.g., a circle or an ellipse) passing through center points C1 to C8, ..., C15 of each of points TG1 to TG15.
[0091] The data processing unit 36 uses the inverse of the calculated value of the curvature to perform a planarization process so that all of the points TG1 to TG15 are located on the same straight line (for example, the intermediate points TG2 to TG7, TG9 to TG14 other than the points TG1, TG8, and TG15 are moved to the points TG2a, TG3a, TG4a, TG5a, TG6a, TG7a, TG9a, TG10a, TG11a, TG12a, TG13a, and TG14a, respectively) (St21B0-2). In addition, the data processing unit 36 performs a planarization process so that the shape of the weld bead BD5 is a straight line passing through the points TG1, TG8, and TG15, thereby creating point cloud data of the weld bead BD5. However, the passing points of the straight line shape are not limited to the points TG1, TG8, and TG15, and as long as the weld bead after the planarization process has a straight line shape, the three passing points are not limited to the set of points TG1, TG8, and TG15. This allows data processing unit 36 to obtain with high accuracy the point cloud data of weld bead BD2 having linear shape LN2 from the point cloud data of weld bead BD4 having curved shape CR2. In other words, in welding system 100, the presence or absence of a welding defect when a weld bead having a linear shape is input can be detected with high accuracy by AI, thereby improving the accuracy of AI inspection judgment.
[0092] Next, a third pre-processing example of step St21B0 in Fig. 4 will be described with reference to Fig. 8. Fig. 8 is a diagram that illustrates the third pre-processing example of step St21B0 in Fig. 4. In the third pre-processing example, when point cloud data of weld bead BD6 formed by main welding has a circular shape (or an elliptical shape), data processing unit 36 divides the circular shape into a plurality of linear shapes L11, L12, L13, and L14, and performs planarization processing so as to have a plurality of linear shaped sections LN11, LN12, LN13, and LN14.
[0093] The weld bead BD6 is composed of, for example, a total of 16 point cloud data points arranged in a circumferential direction clockwise from the point TG11 to the point TG26. It should be noted that this number of points is merely an example and is not limited to the present embodiment. The data processing unit 36 executes a first planarization process (see FIG. 6) on the weld bead BD6, for example, on the point cloud from the point TG11 to the point TG14, to create point cloud data of the first linear section LN11. Similarly, the data processing unit 36 executes a second planarization process (see FIG. 6) on the point cloud from the point TG14 to the point TG18, a third planarization process (see FIG. 6) on the point cloud from the point TG18 to the point TG22, and a fourth planarization process (see FIG. 6) on the point cloud from the point TG22 to the point TG26, to create point cloud data of the second, third, and fourth linear sections LN12, LN13, and LN14, respectively. This allows data processing unit 36 to convert the point cloud data of circular weld bead BD6 into point cloud data of a weld bead having four linear sections LN11, LN12, LN13, and LN14. In other words, in welding system 100, the presence or absence of a welding defect when a linear weld bead is input can be detected with high accuracy by AI, so that the accuracy of AI inspection judgment is improved even when point cloud data of circular weld bead BD6 is input.
[0094] Next, a fourth pre-processing example of step St21B0 in FIG. 4 will be described with reference to FIG. 9. FIG. 9 is a diagram showing a schematic diagram of the fourth pre-processing example of step St21B0 in FIG. 4. In the fourth pre-processing example, the data processing unit 36 divides the point cloud data of the weld bead BD6 formed by the main welding, for example, displayed on the monitor MN2, into a plurality of linear shapes L11, L12, L13, and L14 designated by a user's designation operation, and performs planarization processing on the four curved point cloud data so as to have a plurality of linear sections LN11, LN12, LN13, and LN14. The point cloud data of the weld bead BD6 is displayed on the monitor MN2 by the data processing unit 36. The data processing unit 36 can accept a user operation on the monitor MN2 on which the point cloud data of the weld bead BD6 is displayed. Here, the four curved point cloud data constituting the weld bead BD6 are designated on the monitor MN2 by a user operation. When the data processing unit 36 detects this designation, it converts the four curved point cloud data constituting the weld bead BD6 into point cloud data of four straight-line sections LN11, LN12, LN13, and LN14, as described with reference to FIG. 6. This allows the data processing unit 36 to convert the point cloud data of the circular weld bead BD6 into point cloud data of a weld bead having four straight-line sections LN11, LN12, LN13, and LN14 by an intuitive and visual operation by the user. Therefore, even if the weld bead has a complicated shape such as a free curve, it can be replaced with point cloud data of a straight line shape by dividing it into a plurality of straight-line sections. In other words, in the welding system 100, the presence or absence of a welding defect when a straight-line weld bead is input can be detected with high accuracy by AI, so that the accuracy of the AI inspection judgment is improved even if point cloud data of a circular or elliptical weld bead BD6 is input.
[0095] In addition, in the above-mentioned FIG. 6 to FIG. 9, for the sake of simplicity, an example has been described in which the shape of the weld line (in other words, the shape of the weld bead) during main welding or repair welding by the welding robot MC1 is a planar (two-dimensional) curve, but the shape of the weld line (in other words, the weld bead) is not limited to a planar (two-dimensional) curve. For example, the weld line may be a spatial (three-dimensional) curve. In this case, the data processing unit 36 of the inspection control device 3 or the data processing unit 15 of the upper device 1A performs a planarization process on the point cloud data of the weld bead obtained along the weld line based on not only the curvature but also the twist rate (i.e., the amount indicating how far the planar curve deviates in the three-dimensional direction) so as to form a straight line (one-dimensional) shape. As a result, even when point cloud data of the weld bead constituting a spatial (three-dimensional) curve is input, not only the weld line planar (two-dimensional) curve, the artificial intelligence can accurately detect welding defects.
[0096] As described above, in welding system 100 according to the first embodiment, inspection control device 3 as an example of a bead appearance inspection device inputs input data (e.g., point cloud data OD1) related to a weld bead of a workpiece produced by welding in processor 31. Inspection control device 3 performs preprocessing on the input data to convert the shape of the weld bead into a predetermined shape (e.g., a linear shape), and is equipped with k (k: an integer of 1 or more) types of artificial intelligence, and determines whether or not there is a welding defect in the weld bead in each of second inspection and judgment unit 372 to Nth inspection and judgment unit 37N based on the processing of the k types of artificial intelligence on the preprocessed input data. k=(N-1), and so on.
[0097] As a result, inspection control device 3 can linearize the shape of the weld bead by performing planarization processing so that the weld bead has a common predetermined shape using data processing unit 36 regardless of the shape of the point cloud data of the weld bead input from sensor 4, so that the AI (i.e., second inspection and determination unit 372 to Nth inspection and determination unit 37N) can detect the presence or absence of welding defects in the weld bead with high accuracy. Therefore, inspection control device 3 can perform bead appearance inspection of workpieces produced by main welding more efficiently and with high accuracy.
[0098] Furthermore, the inspection control device 3 performs an inspection judgment (for example, a master inspection judgment) on the shape of the weld bead in the first inspection judgment unit 371 (an example of a second inspection judgment unit) based on a comparison between the input data and the master data MD1 of the non-defective workpiece. The inspection control device 3 outputs the result of the bead appearance inspection of the weld bead to an output device (for example, a monitor MN2) in the inspection result judgment unit 37 based on the judgment results of the first inspection judgment unit 371 and the second inspection judgment unit 372 to the Nth inspection judgment unit 37N. This allows the inspection control device 3 to execute the master inspection judgment based on the comparison between the input data indicating the three-dimensional shape of the weld bead and the master data MD1 in combination with the AI inspection judgment that detects the presence or absence of welding defects in the weld bead based on the AI processing, so that the appearance inspection of the weld bead of the workpiece produced by the main welding can be performed 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 user's bead appearance inspection. Therefore, the inspection control device 3 can improve the convenience of the user in visual inspection of weld beads.
[0099] In addition, the appearance inspection items related to welding defects of weld beads that are the subject of the k AI inspection judgments are different from the appearance inspection items related to the shape of the weld bead that are the subject of the second inspection judgment unit (i.e., master inspection judgment). This allows the inspection control device 3 to comprehensively inspect both the appearance inspection items related to welding defects of weld beads that are detected with high accuracy by the AI inspection judgment and the appearance inspection items related to the shape of the weld bead that are detected with high accuracy by the master inspection judgment.
[0100] Furthermore, when k is an integer equal to or greater than 2, the appearance inspection items related to welding defects of the weld bead performed by each of second inspection and judgment unit 372 to Nth inspection and judgment unit 37N (in other words, one example of k second inspection and judgment units) are different. For example, second inspection and judgment unit 372 detects the presence or absence of holes and spatters in the weld bead, and Nth inspection and 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 AI 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.
[0101] Furthermore, inspection control device 3 performs planarization processing on the input data to make the shape of the weld bead linear. As a result, by mounting AI (i.e., second inspection and determination unit 372 to Nth inspection and determination unit 37N described later) capable of detecting welding defects when the shape of the input weld bead is linear, inspection control device 3 can detect welding defects with high accuracy using point cloud data in which the weld bead shape has been linearized by planarization processing performed by data processing unit 36.
[0102] Furthermore, the inspection control device 3 performs a predetermined correction process on the input data after the planarization process. As a result, the inspection control device 3 can detect the presence or absence of welding defects with higher accuracy, for example, by deleting point cloud data that is clearly noise or by interpolating point cloud data that does not correspond to holes.
[0103] 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 determination unit 371 and the k inspection and determination units (for example, the second inspection and determination unit 372 to the Nth inspection and determination unit 37N) is defective, the inspection control device 3 sends to the welding robot MC1 an instruction to perform repair welding to correct the corresponding portion of the weld bead determined to be defective. As a result, when the inspection control device 3 determines that defective welding has been detected in any of the inspection items as a comprehensive determination based on the respective results of the master inspection and determination and the AI inspection and determination, 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.
[0104] Furthermore, the visual inspection items related to welding defects of the weld bead that are the subject of the k inspection judgments (AI inspection judgments) are holes, pits, undercuts, spatters, and protrusions in the weld bead. The visual inspection items related to the shape of the weld bead that are the subject of the second inspection judgment unit (master inspection judgment) are the shape of the weld bead, chipping of the weld bead, and displacement of the weld bead. This allows the inspection control device 3 to comprehensively inspect the visual inspection items of the weld bead that are detected with high accuracy by the master inspection judgment (e.g., the shape of the weld bead, chipping of the weld bead, and displacement of the weld bead) and the visual inspection items of the weld bead that are detected with high accuracy by the AI inspection judgment (e.g., holes, pits, undercuts, spatters, and protrusions in the weld bead).
[0105] (Embodiment 2) In the first embodiment, both the master inspection judgment and the AI inspection judgment are executed in the inspection control device 3. In the second embodiment, an example will be described in which the master inspection judgment and the AI inspection judgment are executed in different devices. In the following, it will be described that the master inspection judgment is executed in the inspection control device 3, and the AI inspection judgment is executed in the higher-level device 1. However, the AI inspection judgment may be executed in a device other than the higher-level device 1.
[0106] (Welding system configuration) Fig. 10 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. 10, 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. Also, 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).
[0107] 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.
[0108] 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.
[0109] In the upper device 1A as an example of a bead appearance inspection device, a processor 11A includes a cell control unit 13, a data processing unit 15, and a second inspection and determination unit 142 to an N-th inspection and determination unit 14N.
[0110] Data processing unit 15 performs planarization processing (St21B0) to convert the shape of the input data (i.e., point cloud data OD1 of the weld bead) into a predetermined shape (e.g., a linear shape) as preprocessing for AI inspection and judgment, and sends the input data after planarization processing to each of second inspection and judgment unit 142 to Nth inspection and judgment unit 14N. Note that in step St21B0, data processing unit 15 may perform correction processing (e.g., a process of deleting point cloud data that is clearly noise different from the position of the weld bead, and a process of interpolating point cloud data that does not correspond to holes) in addition to the planarization processing.
[0111] Second inspection and judgment unit 142 to Nth inspection and judgment unit 14N as an example of a second judgment unit, like second inspection and judgment unit 372 to Nth inspection and judgment unit 37N, perform AI inspection and judgment (i.e., form a neural network using k=(N-1) types of artificial intelligence, and perform bead appearance inspection based on AI to determine the presence or absence of defective welding points on input data regarding the shape of the weld bead that has been preprocessed by data processing unit 15) and inspect the weld bead for the presence or absence of holes, pits, undercuts, spatters, and protrusions (see Figure 5).
[0112] (Welding system operation) Next, a series of processing procedures including main welding, bead visual inspection, and repair welding by welding system 100A according to embodiment 2 will be described with reference to FIG. 11. FIG. 11 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 100A according to embodiment 2. In the explanation of FIG. 11, 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 visual inspection of a workpiece being rejected will be exemplified and explained. In the explanation of FIG. 11, 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.
[0113] In FIG. 11, 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). 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 welded portion of the workpiece (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 master inspection judgment described above (St7A). The inspection control device 3A also generates an execution instruction for the AI inspection judgment described above by the processor 31A and sends it to the higher-level device 1A (St31). This execution instruction for the AI inspection judgment includes, for example, input data (see above).
[0114] When the upper device 1A receives the execution instruction of the AI inspection judgment sent from the inspection control device 3A in step St31, it performs pre-processing (see above) on the input data included in the execution instruction (St32), and executes the AI inspection judgment 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 AI inspection judgment executed in step St32 are the same as those described in the first embodiment, so the explanation is omitted. The upper device 1A generates the processing result of the AI 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 of the results of the master inspection judgment by the inspection control device 3A in step St7A and the AI inspection judgment by the upper 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 explanation is omitted. The processing after step St8A is the same as that in FIG. 3, so the explanation is omitted.
[0115] 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, and performs a first inspection judgment (e.g., master inspection judgment) related to the shape of the weld bead based on a comparison between the input data and master data MD1 in inspection control device 3A. Welding system 100A performs preprocessing on the input data to convert the shape of the weld bead into a predetermined shape (e.g., a linear shape), and is equipped with k (k: an integer of 1 or more) types of artificial intelligence, and inspects and judges the presence or absence of welding defects in the weld bead in each of second inspection judgment unit 142 to Nth inspection judgment unit 14N of host device 1A based on processing by the k types of artificial intelligence on the preprocessed input data. The inspection control device 3A outputs the results of the bead appearance inspection of the weld bead to an output device (e.g., a monitor MN2) in the inspection result judgment unit 37 based on the respective judgment results of the first inspection judgment unit 371 of the inspection control device 3A and the second inspection judgment unit 142 to the Nth inspection judgment unit 14N of the higher-level device 1A.
[0116] As a result, in the welding system 100A, the inspection control device 3A performs a master inspection judgment based on a comparison between the input data indicating the three-dimensional shape of the weld bead and the master data MD1, and the upper device 1A performs an AI inspection judgment to detect the presence or absence of a welding defect in the weld bead based on the AI processing in a distributed manner. Therefore, the welding system 100A can reduce the processing load of the bead appearance inspection compared to the case where both the master inspection judgment and the AI inspection judgment are performed only by the inspection control device 3 as in the first embodiment. In addition, the welding system 100A can efficiently and highly accurately perform the appearance inspection of the weld bead of the workpiece produced by the main welding. In particular, when detecting the presence or absence of a welding defect by the AI processing, k (= (N-1)) different types of AI can be prepared according to the inspection items to be targeted in the user's bead appearance inspection. Therefore, the welding system 100A can improve the convenience of the weld bead appearance inspection for the user.
[0117] 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.
[0118] This application is based on a Japanese patent application (Patent Application No. 2020-038204) filed on March 5, 2020, the contents of which are incorporated by reference into this application. [Industrial Applicability]
[0119] 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 perform more efficiently and with higher accuracy appearance inspection of weld beads of workpieces produced by main welding. [Explanation of symbols]
[0120] 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 relating to the weld bead of the workpiece produced by welding; a preprocessing unit that performs preprocessing on the input data to convert the shape of the weld bead into a predetermined shape; k inspection and determination units each equipped with k (k: integer of 1 or more) types of artificial intelligence, each inspecting and determining whether or not there is a welding defect in the weld bead based on processing of the k types of artificial intelligence on the input data that has been subjected to the preprocessing, When the shape of the weld bead is a curve, the preprocessing unit performs a planarization process to straighten the shape of the weld bead by moving a point on the curve in the input data as a target. Bead appearance inspection device.
2. a second inspection and determination unit that performs an inspection and determination regarding the shape of the weld bead based on a comparison between the input data input by the input unit and master data of a non-defective workpiece; 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 k inspection judgment units and the second inspection judgment unit, The bead appearance inspection device according to claim 1.
3. an appearance inspection item regarding welding defects of the weld bead that is a target of the k inspection and judgment units is different from an appearance inspection item regarding the shape of the weld bead that is a target of the second inspection and judgment unit; The bead appearance inspection device according to claim 2.
4. When k is an integer equal to or greater than 2, the appearance inspection items regarding welding defects of the weld bead performed by each of the k inspection and determination units are different. The bead appearance inspection device according to claim 1.
5. the preprocessing unit performs a predetermined correction process on the input data after the flattening process; The bead appearance inspection device according to claim 1.
6. a communication unit that communicates with a welding robot capable of performing repair welding on a defective weld 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 k inspection judgment units and the second inspection judgment unit 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. The bead appearance inspection device according to claim 2.
7. The appearance inspection items related to welding defects of the weld bead that are the targets of the k inspection and determination units are holes, pits, undercuts, spatters, and protrusions of the weld bead, The appearance inspection items related to the shape of the weld bead that are the target of the second inspection and determination unit are the shape of the weld bead, chipping of the weld bead, and positional deviation of the weld bead. The bead appearance inspection device according to claim 2.
8. 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 step of performing pre-processing on the input data to convert the shape of the weld bead into a predetermined shape; and k inspection and determination processes each including k (k: integer of 1 or more) types of artificial intelligence, and inspecting and determining whether or not there is a welding defect in the weld bead based on processing of the k types of artificial intelligence on the input data that has been subjected to the preprocessing, In the pre-processing, when the shape of the weld bead is a curve, a flattening process is performed to make the shape of the weld bead a straight line by moving a point on the curve in the input data as a target. Bead appearance inspection method.
9. The bead appearance inspection device is a computer. inputting input data relating to a weld bead of a workpiece produced by welding; a step of performing pre-processing on the input data to convert the shape of the weld bead into a predetermined shape; and executing k inspection and determination steps, each step including k (k: an integer of 1 or more) types of artificial intelligence, for inspecting and determining whether or not there is a welding defect in the weld bead based on processing of the k types of artificial intelligence on the input data that has been subjected to the preprocessing; In the pre-processing, when the shape of the weld bead is a curve, a flattening process is performed to make the shape of the weld bead a straight line by moving a point on the curve in the input data as a target. program.
10. an input unit for inputting input data relating to the weld bead of the workpiece produced by welding; a first determination unit that uses the input data and master data of a non-defective workpiece to perform a first inspection determination on the shape of the weld bead based on a comparison between the input data and the master data; a preprocessing unit that performs preprocessing on the input data to convert the shape of the weld bead into a predetermined shape; k second determination units each equipped with k (k: integer of 1 or more) types of artificial intelligence and configured to inspect and determine whether or not there is a welding defect in the weld bead based on processing by the k types of artificial intelligence on the input data that has been subjected to the preprocessing; 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, When the shape of the weld bead is a curve, the preprocessing unit performs a planarization process to straighten the shape of the weld bead by moving a point on the curve in the input data as a target. Bead appearance inspection system.
Citation Information
Patent Citations
Body shape detection method and device, and automatic machining unit.
JP1997101120A
Shape inspection device and shape inspection method
JP2012037487A
Defect detection device
JP2017181263A
Inspection equipment and inspection method
JP2019196985A
