Welding appearance inspection apparatus and welding appearance inspection method

A portable welding inspection device using deep learning neural networks for image analysis addresses the limitations of existing laser-based systems by providing efficient and accurate defect detection in piping, suitable for on-site outdoor inspections.

JP2026185657APending Publication Date: 2026-11-27HITACHI PLANT SERVICES
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2025082922
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-05-16
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing welding defect inspection technologies, such as those using laser beams, lack portability and efficiency in battery consumption, making them unsuitable for on-site outdoor inspections of piping.

Method used

A portable welding appearance inspection device utilizing a processor and memory to analyze still images, employing deep learning neural networks for defect detection and determination, reducing computational load through segmentation and lightweight judgment processes.

Benefits of technology

Enables efficient, portable welding defect inspection with low power consumption, suitable for on-site use, and capable of accurate defect detection in piping systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026185657000001_ABST
    Figure 2026185657000001_ABST
Patent Text Reader

Abstract

The system can be mounted on highly portable equipment and enables inspection of weld appearance with low processing volume. [Solution] The welding appearance inspection device detects the welded area of ​​the pipe from a still image, extracts candidate defective locations from part or all of the still image according to the type of welding defect, generates a defect determination image from the still image based on the type of welding defect, the detected welded area, and the candidate defective locations, and determines whether the defect has occurred based on the determination method determined according to the type of welding defect and the defect determination image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a welding appearance inspection apparatus and a welding appearance inspection method.

Background Art

[0002] As a background art in this technical field, there is Japanese Patent Application Laid-Open No. 2011-191161 (Patent Document 1). This publication discloses a two-dimensional displacement meter for irradiating a spread strip-shaped laser beam to detect the shape of a portion to be inspected, a controller for calculating the cross-sectional outer shape of the portion to be inspected based on detection data, and a display for displaying a calculation result. This device detects an undercut occurring at a boundary portion between a base material and a weld bead from the cross-sectional outer shape of the portion to be inspected. The controller obtains a reference line from the base material line based on a base material line indicating the surface of the base material specified by the cross-sectional outer shape and a weld line indicating the surface of the weld bead, and calculates the maximum depth of the weld line in a normal direction with respect to the reference line. A welded portion undercut inspection apparatus configured as described above is described (refer to the abstract).

Prior Art Documents

Patent Documents

[0003]

Patent Document 1

Summary of Invention

Problems to be Solved by the Invention

[0004] Since inspection of welding defects in piping is often performed on site including outdoors, it is desirable that the welding defect inspection be performed by an apparatus having excellent portability, and it is desirable that the welding defect inspection be performed by a process with low battery consumption (that is, a small processing amount). The technique described in Patent Document 1 detects an undercut in a welded portion using a laser beam, but an apparatus using a laser beam cannot be said to have at least excellent portability. Therefore, an aspect of the present invention realizes a welding appearance inspection process that can be implemented in an apparatus having excellent portability and has a small processing amount. [Means for solving the problem]

[0005] To solve the above problems, one aspect of the present invention adopts the following configuration. The welding appearance inspection device comprises a processor and a memory, the memory holds a still image, the processor detects the welding area of ​​the pipe from the still image, selects a defect mode from one or more defect modes, each indicating a defect in the welding to be detected, extracts candidate defect locations from a part or all of the area of ​​the still image according to the defect indicated by the selected defect mode, generates a defect determination image from the still image based on the selected defect mode, the detected welding area, and the candidate defect locations, and determines whether a defect indicated by the selected defect mode has occurred based on a predetermined determination method according to the selected defect mode and the defect determination image. [Effects of the Invention]

[0006] According to one aspect of the present invention, it is possible to implement a welding appearance inspection process that can be mounted on a highly portable device and requires a small processing volume.

[0007] Other issues, configurations, and effects not mentioned above will be clarified by the following description of the embodiments. [Brief explanation of the drawing]

[0008] [Figure 1] This is a schematic diagram showing an example of a pipe weld shape used by the welding visual inspection device in Example 1 to determine the quality of the weld. [Figure 2] This is a schematic diagram showing the shooting direction when photographing the welding area of ​​the piping in Example 1 with a camera. [Figure 3] This is a block diagram showing an example of the functional configuration of the welding appearance inspection device in Example 1. [Figure 4] This is a block diagram showing an example of the hardware configuration of the welding appearance inspection device in Example 1. [Figure 5] This is a flowchart showing an example of the welding appearance inspection process in Example 1. [Figure 6] This is a flowchart showing an example of the welding area detection process in Example 1. [Figure 7] This flowchart shows an example of the welding defect location extraction process in Example 1. [Figure 8] This is a flowchart showing an example of the PH (Pit Hole) candidate position extraction process in Example 1. [Figure 9] This is a flowchart showing an example of the OL (OverLap) and UC (UnderCut) candidate position extraction process in Example 1. [Figure 10] This flowchart shows an example of the image generation process for judgment in Example 1. [Figure 11] This flowchart shows an example of the defect-prone area estimation process in Example 1. [Figure 12A] This figure shows an example of an input image in Example 1. [Figure 12B] This figure shows an example of a segmentation image in Example 1. [Figure 12C] This figure shows an example of an image of a candidate location for a defective area in Example 1. [Figure 12D] This figure shows an example of the image after screening and the image used for determination in Example 1. [Figure 13A] This figure shows an example of an input image in Example 1. [Figure 13B] This figure shows an example of an image of a candidate location for a defective area in Example 1. [Figure 13C] This figure shows an example of the image after screening and the image used for determination in Example 1. [Figure 14] This is a block diagram showing an example of the functional configuration of the welding appearance inspection device in Example 2. [Figure 15] This flowchart shows an example of the welding appearance inspection process in Example 2. [Figure 16A] This figure shows an example of a defect-prone area image indicating the area where overlap defects can occur in Example 2. [Figure 16B]FIG. 10 is a diagram illustrating an example of a defect-possible-region image showing a possible defect occurrence region of undercuts in Example 2. [Figure 16C] FIG. 12 is a diagram illustrating an example of a defect-possible-region image showing a possible defect occurrence region of pit holes in Example 2. [Figure 17] FIG. 14 is a diagram illustrating an example of a screening range image in Example 3. [Figure 18] FIG. 15 is a block diagram illustrating an example of a functional configuration of a weld appearance inspection device in Example 4. [Figure 19] FIG. 16 is an explanatory diagram illustrating an example of the outline of processing performed by the weld appearance inspection device in Example 4. [Figure 20] FIG. 17 is an example of a table defining the number of networks and the number of weight sets of a DNN (Deep Neural Network) for determination in Example 5. [Figure 21] FIG. 18 is an explanatory diagram illustrating an example of the outline of processing performed by a weld appearance inspection device in Example 6. [Modes for Carrying Out the Invention]

[0009] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the present embodiments, the same components are denoted by the same reference numerals in principle, and repeated descriptions will be omitted. It should be noted that the present embodiments are merely examples for implementing the present invention, and are not intended to limit the technical scope of the present invention. [Examples]

[0010] FIG. 1 is a schematic diagram illustrating an example of a pipe welding shape for which a weld appearance inspection device 100 determines whether welding is acceptable. FIG. 1 illustrates a pipe welding shape in which two cylindrical pipes 2 and 3 are welded in a welding region 1. The welding region 1 is a portion welded along the circumferential direction of the pipes 2 and 3, and continuously extends to the back side of the schematic diagram of FIG. 1, having a cylindrical (annular) shape.

[0011] The cylindrical height of welding area 1, that is, the horizontal length of welding area 1 (hatched area) in Figure 1, is called the width of welding area 1. The direction of the width, that is, the piping direction 4 (horizontal direction in Figure 1; the arrow for piping direction 4 is for illustrative purposes only and does not physically exist in actual piping), is called the width direction of welding area 1. If pipes 2 and 3 are placed vertically or diagonally, the width direction of welding area 1 will be vertical and diagonal, respectively.

[0012] Furthermore, when the welding area is captured in video or still images, the direction corresponding to pipe direction 4 within the screen corresponds to the direction of the weld width. In Figure 1, for explanatory purposes, an arrow is added to one side (to the left in Figure 1) in pipe direction 4.

[0013] The following explanation describes the process for cylindrical pipes with a circular cross-section, but the pipe's cross-section may also be rectangular or elliptical.

[0014] Figure 2 is a schematic diagram showing the camera's orientation when photographing the welding area 1 of the pipe in Figure 1. For explanatory purposes, five points A, B, C, D, and E are shown in the welding area 1, each located at the center of the width of the welding area 1 (point D is located on the back side of the pipe). Points A through E are actually located on the circumference of the same plane, with point P being its center.

[0015] Hereafter, the circle in three-dimensional space passing through points A to E will be called "circle P" (centered at point P), and the plane containing points A to E and point P will be called the "plane of circle P". The plane of circle P is perpendicular to the piping direction 4. In Figure 2, since the piping is viewed from an oblique angle, circle P is depicted as an ellipse.

[0016] The welding appearance inspection device 100 of this embodiment determines the quality of the weld using multiple images taken of the weld area 1 of the pipe from different positions and directions around it. The position and direction of shooting are the direction of point P on the plane of circle P. For example, the shooting direction is from point t1 on the extension of point A of line segment PA toward point P. In addition, the direction of point P may be photographed from points t2, t3, t4, t5, etc. In other words, each of the multiple images taken includes a different area of ​​the weld area 1 of the pipe, and is different from photographing the same place from various directions. In this embodiment, the appearance of the weld may be inspected from a single image of the pipe.

[0017] Figure 3 is a block diagram showing an example of the functional configuration of the welding appearance inspection device 100. The welding appearance inspection device 100 includes, for example, an image acquisition unit 111, a mode selection unit 112, a welding area detection unit 113, a welding defect candidate location extraction unit 114, a judgment image generation unit 115, and a judgment unit 116, all of which are functional units.

[0018] The image acquisition unit 111 acquires an input image (for example, a 1920 x 1080 pixel still image) that captures the external appearance of the piping. The mode selection unit 112 specifies a defect mode. Defect modes include, for example, an overlap detection mode for detecting overlap in the welding area, an undercut detection mode for detecting undercut in the welding area (periphery), and a pit hole detection mode for detecting pit holes in the welding area. Hereinafter, overlap, undercut, and pit hole may be abbreviated as OL, UC, and PH, respectively.

[0019] The welding area detection unit 113 inputs the input image acquired by the image acquisition unit 111 into a segmentation DNN (Deep Neural Network) to obtain information indicating the segmentation area, and detects the welding area within the input image based on the segmentation area. For example, U-Net is used as the segmentation DNN. A DNN is an example of a machine learning model and includes Convolutional Neural Network, Recurrent Neural Network, and Vision Transformer.

[0020] Segmentation is an example of deep learning, where the shape of objects to be detected, such as welding areas, is learned in advance from training images, and a specified target (welding area 1) is extracted from the input image on a pixel-by-pixel basis (as a region).

[0021] Segmentation is performed using a large number of pairs of training images, each containing a weld region 1 and a mask image that shows the shape of the weld region 1 within the training image (for example, an image where pixels in the weld area are set to level 0 and pixels outside the weld area are set to level 255).

[0022] The welding defect location candidate extraction unit 114 extracts welding defect location candidates corresponding to the mode specified by the mode specification unit 112 from the input image. For example, in the pit hole detection mode, the welding defect location candidate extraction unit 114 extracts candidates for the location and size of pit holes. Also, for example, in the overlap detection mode and the undercut detection mode, the welding defect location candidate extraction unit 114 extracts candidates for the location, direction, and size of overlaps and undercuts, respectively.

[0023] The judgment image generation unit 115 generates a judgment image by using the input image and the candidate welding defect locations extracted by the candidate welding defect location extraction unit 114 to extract a group of pixels containing the candidate welding defect locations from the input image. In other words, the judgment image is a still image containing the candidate welding defect locations (the candidate defect locations described later), and is a still image with fewer pixels than the input image (for example, 56 × 56 pixels).

[0024] The determination unit 116 inputs a determination image to the determination DNN and obtains a determination result indicating whether a defect corresponding to the specified defect mode has occurred in the determination image. As the determination DNN, a lightweight DNN is used, for example, one that requires less computation and fewer parameters for processing such as Mobilenet. The determination DNN is at least lighter than the segmentation DNN.

[0025] A DNN for judgment is generated, for example, by training with training data that includes judgment images in which each defect is known to occur in advance, and judgment images in which each defect is known to not occur in advance.

[0026] For example, DNNs for judgment are pre-generated for overlap detection mode, undercut detection mode, and pit hole detection mode. Therefore, the judgment image is input to the judgment DNN for overlap detection mode in overlap detection mode, to the judgment DNN for undercut detection mode in undercut detection mode, and to the judgment DNN for pit hole detection mode in pit hole detection mode, respectively, and the judgment result of whether or not there is a defect (defective / normal) is output. In each defect mode, the judgment image may be input to all judgment DNNs.

[0027] Figure 4 is a block diagram showing an example of the hardware configuration of the welding appearance inspection device 100. The welding appearance inspection device 100 is composed of a computer (for example, a highly portable notebook PC (Personal Computer), smartphone, or tablet terminal is preferable) having a CPU (Central Processing Unit) 101, memory 102, auxiliary storage device 103, communication device I / F (Interface), input I / F 105, and output I / F 106.

[0028] The CPU 101 is an example of a processor and executes programs stored in memory 102. Memory 102 includes non-volatile memory elements such as ROM (Read Only Memory) and volatile memory elements such as RAM (Random Access Memory). ROM stores immutable programs (e.g., BIOS (Basic Input / Output System)). RAM is a high-speed, volatile memory element such as DRAM (Dynamic Random Access Memory) and temporarily stores programs executed by the CPU 101 and data used during program execution.

[0029] The auxiliary storage device 103 is a high-capacity, non-volatile storage device such as a magnetic storage device (HDD (Hard Disk Drive)) or flash memory (SSD (Solid State Drive)), and stores the program executed by the CPU 101 and the data used when the program is executed. In other words, the program is read from the auxiliary storage device 103, loaded into memory 102, and executed by the CPU 101.

[0030] The communication device I / F104 is a network interface device that controls communication with external devices according to a predetermined protocol. The communication device I / F may also include a serial interface such as USB (Universal Serial Bus).

[0031] The input interface 105 is an interface device to which input devices such as a keyboard 107 and a mouse 108 are connected and which receives input from the operator. A camera 109 is also connected to the input interface to receive input of images captured by the camera 109. The output interface 106 is an interface device to which a display device 110 or a printer is connected and which outputs the program execution results in a format that the operator can view. Some or all of the input devices and the camera 109 may be built into the welding appearance inspection device 100. Similarly, some or all of the output devices may be built into the welding appearance inspection device 100.

[0032] Some or all of the program executed by the CPU 101 may be provided to the welding appearance inspection device 100 via a network from an external computer equipped with a non-temporary storage medium such as removable media (CD-ROM, flash memory, etc.) or non-temporary storage device, and stored in a non-volatile auxiliary storage device 103, which is also a non-temporary storage medium. For this reason, the welding appearance inspection device 100 may have an interface for reading data from the removable media.

[0033] The welding appearance inspection device 100 is a computer system that is configured on a single computer or on multiple computers configured logically or physically, and may operate in separate threads on the same computer, or on a virtual computer built on multiple physical computer resources.

[0034] The CPU 101 includes, for example, the functional units described above. For instance, the CPU 101 functions as an image acquisition unit 111 by operating according to an image acquisition program loaded into memory 102, and functions as a mode designation unit 112 by operating according to a mode designation program loaded into memory 102. The relationship between the other functional units included in the CPU 101 and the program is similar.

[0035] Furthermore, some or all of the functions provided by the functional units included in the CPU 101 may be implemented by dedicated hardware such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array).

[0036] The auxiliary storage device 103 holds, for example, the machine learning model used by the welding area detection unit 113 and the machine learning model used by the determination unit 116 (segmentation DNN and determination DNN). As will be described in detail later, if the welding area detection unit 113 requests the detection of the welding area 1 to an external server or the like, the auxiliary storage device 103 does not need to hold the segmentation DNN.

[0037] Furthermore, the auxiliary storage device 103 may store images acquired by the image acquisition unit 111, segmentation results by the welding area detection unit 113, judgment images generated by the judgment image generation unit 115, and judgment results by the judgment unit 116, etc.

[0038] In addition, some or all of the information stored in the auxiliary storage device 103 in the above description may be stored in the memory 102, or in an external database connected to the welding appearance inspection device 100.

[0039] In this embodiment, the information used by the welding appearance inspection device 100 is not dependent on the data structure and may be represented in any data structure. For example, a data structure appropriately selected from a table, list, database, or queue can store the information.

[0040] Figure 5 is a flowchart showing an example of a welding appearance inspection process. The image acquisition unit 111 acquires, for example, an input image captured by a camera 109, an input image pre-stored in memory 102 or auxiliary storage device 103, or an input image input from an external device (S501). The input image is, for example, a still image with 1920 x 1080 pixels.

[0041] The mode selection unit 112 selects one defect mode from the unspecified defect modes (S502). The modes to be selected may include all of the overlap detection mode, undercut detection mode, and pit hole detection mode described above, or only some of them. The order in which the defect modes are selected may be predetermined, for example, or it may be specified by input to the input device of the welding appearance inspection device 100 by the user.

[0042] The welding area detection unit 113 performs welding area detection processing (S503). Details of step S503 will be described later with reference to Figure 6. The welding defect location candidate extraction unit 114 performs welding defect location candidate extraction processing (S504). Details of step S504 will be described later with reference to Figures 7 to 9. Note that the processing in step S503 and the processing in step S504 may be executed in either order, or they may be executed in parallel.

[0043] The judgment image generation unit 115 executes the judgment image generation process (S505). Details of the judgment image generation process will be described later with reference to Figures 10 and 11. The judgment unit 116 performs a judgment regarding the defect indicated by the defect mode specified in the most recent step S502 (S506). Specifically, for example, the judgment unit 116 inputs the judgment image generated in step S505 to the judgment DNN to obtain a judgment result indicating whether or not the defect indicated by the defect mode has occurred. The judgment unit 116 may output the judgment result to an external device or display device 110.

[0044] The mode selection unit 112 determines whether all defect modes have been specified (S507). If the mode selection unit 112 determines that there are unspecified modes (S507: NO), it returns to step S502. If the mode selection unit 112 determines that all defect modes have been specified (S507: YES), it terminates the welding appearance inspection process.

[0045] Figure 6 is a flowchart showing an example of the welding area detection process in step S503. The welding area detection unit 113 segments the input image, determines the segmented region within the input image as the welding area (S601), and terminates the welding area detection process.

[0046] Specifically, for example, the welding area detection unit 113 inputs the input image to a segmentation DNN to obtain a segmentation result image indicating the segmentation area. This allows the welding area detection unit 113 to detect the welding area within the input image. The segmentation result image is a binary image in which the welding area is shown in black and the area outside the welding area is shown in white.

[0047] The welding area detection unit 113 may also transmit the input image to an external server connected to the welding appearance inspection device 100 and having a segmentation DNN, requesting segmentation, and then obtain a segmentation result image from the server. This allows the welding appearance inspection device 100 to reduce the computational load for segmentation and the storage capacity required to store the segmentation DNN.

[0048] Furthermore, the welding area detection unit 113 may perform predetermined corrections on the segmentation result image, including, for example, posture correction of the welding area 1 and detailed correction of the welding area contour. For example, the welding area detection unit 113 performs the posture correction by rotating the welding area 1 shown in the segmentation result image so that the direction of the welding width is in a predetermined direction (for example, upward) within the image.

[0049] Furthermore, for example, the welding area detection unit 113 corrects the distortion of the viewpoint caused by the shooting point being off the plane of circle P in Figure 2 in the image after posture correction, thereby obtaining an image from which the distortion has been removed.

[0050] Figure 7 is a flowchart showing an example of the welding defect location candidate extraction process in step S504. The welding defect location candidate extraction unit 114 determines the defect mode specified in step S502 (S701).

[0051] If the welding defect location candidate extraction unit 114 determines that the defect mode specified in step S502 is the pit hole detection mode (S701: pit hole), it executes the PH candidate location extraction process (S702) and terminates the welding defect location candidate location extraction process. Details of the PH candidate location extraction process will be described later with reference to Figure 8.

[0052] If the welding defect location candidate extraction unit 114 determines that the defect mode specified in step S502 is either overlap detection mode or undercut detection mode (S701: overlap or undercut), it executes the OL / UC candidate location extraction process (S703) and then terminates the welding defect location candidate location extraction process. Details of the OL / UC candidate location extraction process will be described later with reference to Figure 9.

[0053] Figure 8 is a flowchart showing an example of the PH candidate location extraction process in step S702. The welding defect candidate location extraction unit 114 detects circular regions from the input image, for example, using those with uniform gradient histograms in the Hough transform and / or SIFT (Scale Invariant Feature Transform) (S801). Here, a circular region is a region with a circular or nearly circular shape, including its periphery and interior (hereafter referred to simply as a circle).

[0054] The welding defect location candidate extraction unit 114 determines whether it has selected all the circles detected in step S801 (S802). If the welding defect location candidate extraction unit 114 determines that it has selected all the circles detected in step S801 (S802: YES), it terminates the PH candidate location extraction process. If the welding defect location candidate extraction unit 114 did not detect any circles in step S801, it determines in step S802 that there are no candidate defect locations (PH candidates) and terminates the PH candidate location extraction process.

[0055] If the welding defect location candidate extraction unit 114 determines that there are unselected circles among the circles detected in step S801 (S802: NO), it selects one of the unselected circles among the circles detected in step S801 (S803).

[0056] The welding defect location candidate extraction unit 114 determines whether the selected circle matches the characteristics of a pit hole (S804). Specifically, for example, if the radius of the selected circle is less than or equal to a predetermined value, the welding defect location candidate extraction unit 114 determines that the selected circle matches the characteristics of a pit hole, and if the radius of the selected circle exceeds the predetermined value, it determines that the selected circle does not match the characteristics of a pit hole.

[0057] If the welding defect location candidate extraction unit 114 determines that the selected circle does not match the characteristics of a pit hole (S804: NO), it returns to step S802. If the welding defect location candidate extraction unit 114 determines that the selected circle matches the characteristics of a pit hole (S804: YES), it sets the center coordinates of the selected circle as a candidate defect location (candidate PH) (S805) and returns to step S802.

[0058] Figure 9 is a flowchart showing an example of the OL / UC candidate location extraction process in step S703. The welding defect location candidate location extraction unit 114 detects edges from the input image using a predetermined algorithm (S901). The welding defect location candidate location extraction unit 114 determines whether the defect mode specified in step S502 is an overlap detection mode or an undercut detection mode (S902).

[0059] If the welding defect location candidate extraction unit 114 determines that the defect mode specified in step S502 is the overlap detection mode (S902: overlap), it determines whether all edges detected in step S901 have been selected (S903). If the welding defect location candidate extraction unit 114 determines that all edges detected in step S901 have been selected (S903: YES), it terminates the OL / UC candidate location extraction process. If the welding defect location candidate extraction unit 114 did not detect any edges in step S901, it determines in step S903 that there are no defect location candidate positions (OL candidates) and terminates the OL / UC candidate location extraction process.

[0060] If the welding defect candidate location extraction unit 114 determines that there are unselected edges among the edges detected in step S901 (S903: NO), it selects one of the unselected edges among the edges detected in step S901 (S904).

[0061] The welding defect location candidate extraction unit 114 determines whether the selected edge matches the overlap characteristics (S905). For example, if a thin shadow exists on the selected edge (for example, a part of the edge with low brightness or luminance (for example, a luminance value below a predetermined value)), the welding defect location candidate extraction unit 114 determines that the selected edge matches the overlap characteristics. If no thin shadow exists on the selected edge, the unit determines that the selected edge does not match the overlap characteristics.

[0062] If the welding defect location candidate extraction unit 114 determines that the selected edge does not match the overlap feature (S905: NO), it returns to step S903. If the welding defect location candidate extraction unit 114 determines that the selected edge matches the overlap feature (S905: YES), it approximates the part that matches the feature (the thin shadow part) with a straight line, sets the coordinates of both ends of the approximated line as candidate defect locations (OL candidates) (S906), and returns to step S903.

[0063] If the welding defect location candidate extraction unit 114 determines that the defect mode specified in step S502 is the undercut detection mode (S902: undercut), it determines whether all edges detected in step S901 have been selected (S907). If the welding defect location candidate extraction unit 114 determines that all edges detected in step S901 have been selected (S907: YES), it terminates the OL / UC candidate location extraction process. If the welding defect location candidate extraction unit 114 did not detect any edges in step S901, it determines in step S907 that there are no defect location candidate positions (UC candidates) and terminates the OL / UC candidate location extraction process.

[0064] If the welding defect candidate location extraction unit 114 determines that there are unselected edges among the edges detected in step S901 (S907: NO), it selects one of the unselected edges among the edges detected in step S901 (S908).

[0065] The welding defect location candidate extraction unit 114 determines whether the selected edge matches the characteristics of an undercut (S909). For example, if the selected edge has a thin shadow (for example, a part with low brightness or luminance (for example, a luminance value of less than or equal to a predetermined value)) or a bright area (for example, a part with high brightness or luminance (for example, a luminance value of more than or equal to a predetermined value)), the welding defect location candidate extraction unit 114 determines that the selected edge matches the characteristics of an undercut. If there is no thin shadow or bright area in the selected edge, the unit determines that the selected edge does not match the characteristics of an undercut.

[0066] If the welding defect location candidate extraction unit 114 determines that the selected edge does not match the characteristics of an undercut (S909: NO), it returns to step S907. If the welding defect location candidate extraction unit 114 determines that the selected edge matches the characteristics of an undercut (S909: YES), it approximates the part that matches the characteristics (the thin shadowed part or the bright part) with a straight line, sets the coordinates of both ends of the approximated straight line as candidate defect locations (candidates for UC) (S9010), and returns to step S907.

[0067] Figure 10 is a flowchart showing an example of the judgment image generation process in step S505. The judgment image generation unit 115 performs a defect-prone area setting process (S1001). Details of step S1001 will be described later using Figure 11. The defect-prone area setting process sets the defect-prone areas in the input image.

[0068] The judgment image generation unit 115 determines whether the defect mode specified in step S502 is a pit hole detection mode, an overlap detection mode, or an undercut detection mode (S1002).

[0069] If the judgment image generation unit 115 determines in step S502 that the defect mode specified is the pithole detection mode (S1002: pithole), it determines in step S805 whether all candidate defect locations set have been selected (S1003). If the judgment image generation unit 115 determines that all candidate defect locations set in step S805 have been selected (S1003: YES), it terminates the judgment image generation process. If the judgment image generation unit 115 did not set any candidate defect locations in step S805, it determines in step S1003 that there is no need to generate a judgment image and terminates the judgment image generation process.

[0070] If the judgment image generation unit 115 determines that there are unselected candidate defect locations among those set in step S805 (S1003: NO), it selects one of the unselected candidate defect locations (S1004). The judgment image generation unit 115 then determines whether the selected candidate defect location is within the defect-prone area set in step S1001 (S1006).

[0071] If the judgment image generation unit 115 determines that the selected candidate defect location is not within the defect-prone area set in step S1001 (S1006: NO), it returns to step S1004. If the judgment image generation unit 115 determines that the selected candidate defect location is within the defect-prone area set in step S1001 (S1006: YES), it generates a judgment image corresponding to the candidate defect location by cutting out an image of a predetermined number of pixels (an image with fewer pixels than the input image) centered on the coordinates of the selected candidate defect location from the input image (S1010), and returns to step S1004.

[0072] If the judgment image generation unit 115 determines that the defect mode specified in step S502 is either overlap detection mode or undercut detection mode (S1002: overlap or undercut), it determines whether all candidate defect locations set in step S906 or step S910 (step S906 if the defect mode specified in step S502 is overlap detection mode, or step S910 if the defect mode specified in step S502 is undercut detection mode) have been selected (S1008).

[0073] The judgment image generation unit 115 terminates the judgment image generation process when it determines that it has selected all candidate defect locations set in step S906 or step S910 (step S906 if the defect mode specified in step S502 is overlap detection mode, or step S910 if the defect mode specified in step S502 is undercut detection mode) (S1008: YES).

[0074] Furthermore, if no candidate defect locations are set in step S906 or step S910 (step S906 if the defect mode specified in step S502 is overlap detection mode, or step S910 if the defect mode specified in step S502 is undercut detection mode), the judgment image generation unit 115 determines in step S1008 that it is not necessary to generate a judgment image and terminates the judgment image generation process.

[0075] If the judgment image generation unit 115 determines that there are unselected candidate defect locations among those set in step S906 or step S910 (step S906 if the defect mode specified in step S502 is overlap detection mode, or step S910 if the defect mode specified in step S502 is undercut detection mode) (S1008: NO), it selects one of the unselected candidate defect locations (S1009). The judgment image generation unit 115 determines whether the selected candidate defect location is within the defect-prone area set in step S1001 (S1010).

[0076] If the judgment image generation unit 115 determines that the selected candidate location of the defective area is not within the defect-prone area set in step S1001 (S1010: NO), it returns to step S1008.

[0077] If the judgment image generation unit 115 determines that the selected candidate defect location is within the defect-prone area set in step S1001 (S1010: YES), it generates a judgment image corresponding to the candidate defect location by cutting out an image of a predetermined number of pixels (an image with fewer pixels than the input image) from the input image along the straight line indicated by the selected candidate defect location (S1011), and returns to step S1004. For example, if the straight line indicated by the selected candidate defect location does not fit within the predetermined number of pixels of the judgment image, the judgment image generation unit 115 divides the straight line at regular intervals and generates a judgment image that includes each of the divided straight lines (i.e., multiple judgment images are generated for one candidate defect location).

[0078] Figure 11 is a flowchart showing an example of the defect occurrence area estimation process in step S1001. The determination image generation unit 115 determines whether the defect mode specified in step S502 is a pit hole detection mode, an overlap detection mode, or an undercut detection mode (S1101).

[0079] If the judgment image generation unit 115 determines that the defect mode specified in step S502 is the pit hole detection mode (S1101: pit hole), it sets the welding area 1 determined in step S601 as a defect-prone area (S1102) and terminates the defect-prone area estimation process.

[0080] If the judgment image generation unit 115 determines that the defect mode specified in step S502 is either the overlap detection mode or the undercut detection mode (S1101: overlap or undercut), it calculates the direction of the segmentation region detected in step S601 according to a predetermined algorithm (S1103).

[0081] The judgment image generation unit 115 extracts the contour of the segmentation region detected in step S601 according to a predetermined algorithm (S1104). Using the results of the processing in steps S1103 and S1104, the judgment image generation unit 115 extracts portions of the segmentation region contour that are parallel to the welding direction (the perpendicular direction of the welding region 1 in Figure 1) (hereinafter also referred to as contour parallel portions) (S1105).

[0082] The judgment image generation unit 115 determines whether the defect mode specified in step S502 is the overlap detection mode or the undercut detection mode (S1106). If the judgment image generation unit 115 determines that the defect mode specified in step S502 is the overlap detection mode (S1106: overlap), it sets the area expanded by a predetermined number of pixels in the piping direction 4 centered on the parallel contour area extracted in step S1105 as the defect-prone area (S1107), and terminates the defect-prone area estimation process.

[0083] If the judgment image generation unit 115 determines that the defect mode specified in step S502 is the undercut detection mode (S1106: undercut), it sets a region that is expanded by a predetermined number of pixels outside the welding region 1 in the piping direction 4, centered on the contour parallel area extracted in step S1105, as the defect-prone region (S1108), and terminates the defect-prone region estimation process.

[0084] Figures 12A to 12D illustrate the image transitions when detecting overlap or undercut. Figure 12A shows an example of the input image 1210 acquired in step S501. The input image 1210 shows the state in which pipes 2 and 3 have been welded in welding area 1.

[0085] Figure 12B shows an example of a segmentation image 1220 obtained in step S601. In the segmentation image 1220, for example, the welding region 1 is detected. The segmentation image 1220 is a binary image in which the welding region 1 is black and the area outside the welding region is white, but for the sake of clarity in the drawing, the welding region 1 is shown with hatching.

[0086] Figure 12C is a diagram showing an example of a defect location candidate image 1230 that indicates the defect location candidate positions (overlap or undercut) set in step S906 or step S910. The black lines in the defect location candidate image 1230 (shown as black-filled rectangles in Figure 12C for clarity) indicate the defect location candidate positions set in step S906 or step S910.

[0087] Figure 12D shows an example of a post-screening image 1240, in which candidate defect locations set in step S1108 are screened by the defect-prone area, and judgment images 1251-1254 generated in step S1007 or step S1011.

[0088] The post-screening image 1240 shows the candidate defect locations (candidate defect locations A to C) that are located within the defect-prone area, as indicated by the candidate defect location image 1230 in Figure 12C. Since candidate defect location A is a straight line whose length does not fit within the number of pixels of the judgment image, the straight line indicated by candidate defect location A is divided into two straight lines, and judgment images 1251 and 1252 corresponding to these two straight lines are generated. Furthermore, judgment images 1253 and 1254 include candidate defect location B and candidate defect location C, respectively.

[0089] Figures 13A to 13C illustrate the image transitions when detecting pit holes. Figure 13A shows an example of the input image 1310 acquired in step S501. Input image 1310 includes the same welding area 1, pipe 2, and pipe 3 as input image 1210. In input image 1310, there are areas that are filled in black within the pipes and welding area 1.

[0090] A segmentation image 1220 similar to that in Figure 12B can be obtained from the input image 1310 in Figure 13A.

[0091] Figure 13B is a diagram showing an example of a defect location candidate image 1330 that indicates the defect location candidate position (pit hole) set in step S805. The black-filled circles in the defect location candidate image 1330 indicate circles centered on the defect location candidate position set in step S805.

[0092] Figure 13C shows an example of a post-screening image 1340, in which candidate defect locations are screened based on the defect-prone area set in step S1102, and judgment images 1351-1352, generated in step S1007.

[0093] The post-screening image 1340 shows the candidate defect locations (candidate defect locations D to E) that are located within the defect-prone area, as indicated in the candidate defect location image 1330 in Figure 13B. The judgment images 1351 and 1352 include candidate defect location D and candidate defect location E, respectively.

[0094] In summary, the welding appearance inspection device 100 of Example 1 does not input the input image itself into the DNN to determine the occurrence of each defect. Instead, it screens the input image with high accuracy using a computationally intensive method to generate a small judgment image containing the areas where each defect is presumed to have occurred. This judgment image is then input into a judgment DNN such as Mobilenet, which also requires low computation, to determine the occurrence of each defect.

[0095] As a result, the welding appearance inspection device 100 of Example 1 can perform judgments regarding the occurrence of each defect with a small amount of computation and with high accuracy. Furthermore, because the welding appearance inspection device 100 of Example 1 can perform judgments regarding the occurrence of each defect with a small amount of computation, the welding appearance inspection device 100 can be implemented in, for example, a low-cost and highly portable notebook PC, and the battery life when the welding appearance inspection device 100 is implemented in a notebook PC can also be improved. [Examples]

[0096] The welding appearance inspection device 100 of Example 1 extracts candidate defect locations from the entire input image, whereas the welding appearance inspection device 100 of Example 2 first sets a defect-prone area from the input image and then extracts candidate defect locations from that defect-prone area. The following mainly describes the differences from Example 1, and explanations of points that are the same as in Example 1 will be omitted as appropriate.

[0097] Figure 14 is a block diagram showing an example of the functional configuration of the welding appearance inspection device 100. The welding appearance inspection device 100 does not include a welding area detection unit 113, but includes a functional unit, the defect occurrence area estimation unit 117.

[0098] The defect-prone area estimation unit 117 detects the welding area from the input image. The defect-prone area estimation unit 117 sets the defect-prone area from the input image according to the defect mode specified by the mode specification unit 112, and outputs information indicating the defect-prone area to the welding defect location candidate extraction unit 114. The welding defect location candidate extraction unit 114 extracts candidate defect locations from the defect-prone area within the input image.

[0099] Figure 15 is a flowchart showing an example of a welding appearance inspection process. Steps S501 to S503 are the same as in Example 1. However, in Example 2, the process in step S503 is performed by the defect-prone area estimation unit 117.

[0100] Following step S503, the defect-prone area estimation unit 117 executes the defect-prone area setting process described with reference to Figure 11 (S1001). In step S1001, the defect-prone area estimation unit 117 outputs information indicating the set defect-prone area to the welding defect location candidate extraction unit 114.

[0101] In step S1001, the processes in steps S504 to S507 are executed. However, in the welding defect candidate location extraction process in step S504, the welding defect candidate location extraction unit 114 extracts defect candidate locations from the defect-prone area set in step S1001, rather than from the entire input image. Specifically, for example, in Embodiment 2, the source of circle detection in step S801 and the source of edge detection in step S901 are both the defect-prone area within the input image, rather than the input image itself.

[0102] Furthermore, in the judgment image generation process of step S505, the process for setting the area where defects can occur is omitted (i.e., the process of step S1001 is omitted in Figure 10).

[0103] Furthermore, in Example 2, the welding defect candidate location extraction unit 114 extracts defect candidate locations from the defect-prone area set in step S1001. Therefore, the process in step S504 is executed after the completion of the processes in step S503 and step S1001.

[0104] Figures 16A to 16C illustrate examples of defect-prone areas corresponding to each type of defect. Figure 16A is an example of defect-prone area image 1610 showing the defect-prone area for overlap. Figure 16B is an example of defect-prone area image 1620 showing the defect-prone area for undercut. Figure 16C is an example of defect-prone area image 1630 showing the defect-prone area for pit holes.

[0105] Images 1610, 1620, and 1630 of the defect-prone area were all obtained from the input image 1210 in Figure 12A. The dashed lines in Figures 16A to 16C indicate the boundaries of welding area 1. In Figures 16A to 16C, the areas hatched with dots indicate the defect-prone area corresponding to the defect in question.

[0106] As shown in Figure 16A, the area where overlap defects can occur is located on (around) the boundary of welding area 1. As shown in Figure 16B, the area where undercut defects can occur is located around (outside) the boundary of welding area 1. As shown in Figure 16C, the area where pit holes can occur is located inside welding area 1.

[0107] As described above, the welding appearance inspection apparatus 100 of Example 2 can reduce the processing load related to the welding defect location extraction process because it first narrows down the area where defects can occur and then extracts candidate welding defect locations from that area. [Examples]

[0108] The welding appearance inspection device 100 of Example 3 determines candidate locations of defective areas to be included in the judgment image by screening an expanded area in the piping direction 4 of the welding region detected by segmentation. The following mainly describes the differences from the above-mentioned examples, and explanations of points that are the same as in each example will be omitted as appropriate.

[0109] Figure 17 shows an example of a screening range image 1710, which indicates the screening range for determining the location of potential defective areas. The screening range image 1710 was obtained from the input image 1210 in Figure 12A.

[0110] The welding area 1 is detected by the welding area detection process in step S503. The welding appearance inspection device 100 uses a screening range 1711, which is an area obtained by expanding the welding area 1 in the piping direction 4 (for example, by a predetermined length or predetermined magnification), to determine candidate locations of defective areas to be included in the judgment image.

[0111] The welding appearance inspection device 100 may determine the amount by which the welding area 1 is expanded in the piping direction 4 to generate the screening range 1711, according to the reliability of the segmentation result (the reliability is output from the segmentation DNN). For example, the welding appearance inspection device 100 expands the welding area 1 in the piping direction 4 by a larger length or a larger magnification the lower the reliability.

[0112] Specifically, for example, the pit holes to be included in the judgment image are extracted from within the screening range 1711. In other words, the area where defects can occur, corresponding to the pit holes, is the screening range 1711.

[0113] Furthermore, for example, the overlap and undercuts to be included in the judgment image are extracted from the area between the edge of welding region 1 in the welding direction and the edge of screening range 1711 in the welding direction. In other words, the area where defects can occur corresponding to overlap and undercuts is the area between the edge of welding region 1 in the welding direction and the edge of screening range 1711 in the welding direction.

[0114] As described above, the welding appearance inspection device 100 of Example 3 can suppress the failure to detect defects even when the detected welding area 1 is narrower than the actual welding area 1 due to errors in the detection result of the welding area 1.

[0115] Furthermore, the welding appearance inspection device 100 may screen a reduced area of ​​the welding region detected by segmentation in the piping direction 4. In this case, the area where defects can occur corresponding to pit holes is the reduced area, and the area where defects can occur corresponding to overlap and undercut is the area between the edge of the welding region 1 in the welding direction and the edge of the reduced area in the welding direction. This makes it possible to suppress false detection of pit holes and to suppress missed detection of defects for overlap and undercut, even if the detected welding region 1 is wider than the actual welding region 1. [Examples]

[0116] The welding appearance inspection apparatus 100 of Example 4 standardizes the welding area detection process for each defect mode. Below, we will mainly explain the differences from the previously described examples, and explanations of points that are the same as in the examples will be omitted as appropriate.

[0117] Figure 18 is a block diagram showing an example of the functional configuration of a welding appearance inspection device 100. The welding appearance inspection device 100 differs from the welding appearance inspection device 100 of Embodiment 1 in that it has a welding area memory 118. The welding area memory 118 is implemented, for example, by the storage area of ​​memory 102 or auxiliary storage device 103. Alternatively, the welding area memory 118 may be implemented by an external database or the like connected to the welding appearance inspection device 100.

[0118] In step S503, the welding area detection unit 113 selects switch A in the figure for the fault mode initially specified in step S502, and stores the information indicating the welding area 1 detected in step S503 in the welding area memory 118. Note that the switch shown in the figure is virtual and not a physical mechanism.

[0119] For each of the failure modes specified for the second time or later in step S502, the switch in the figure is selected to B, the process in step S503 is omitted, and in the subsequent processes, the information indicating welding area 1 stored in the welding area memory 118 is used.

[0120] Figure 19 is an explanatory diagram showing an example of the processing overview by the welding appearance inspection device 100. The welding appearance inspection device 100 specifies a defect mode for each input image in the following order: overlap detection mode, undercut detection mode, and pit hole detection mode.

[0121] In overlap detection mode, the welding appearance inspection device 100 performs the welding area detection process in step S503 on input image A, writes information indicating the detected welding area 1 to the welding area memory 118, and detects overlap. In undercut detection mode and pit hole detection mode, the welding area detection process in step S503 is omitted, and the welding appearance inspection device 100 uses the information indicating the welding area 1 read from the welding area memory 118 to detect undercuts or pit holes. The same process is performed on input image B.

[0122] As described above, the welding appearance inspection apparatus 100 of Example 4 can reduce the processing load because it only needs to perform the welding area detection process using segmentation, which has a large processing load, once for each input image.

[0123] Furthermore, since the welding area memory 118 is connected to the defect occurrence area estimation unit 117 of Embodiment 2, the processing in step S503 can be omitted for each defect mode specified from the second time onward, similar to Embodiment 2. [Examples]

[0124] Example 5 shows another example of the number of networks and weight sets of the judgment DNN used by the welding appearance inspection device 100. The number of networks and weight sets of the judgment DNN may be set in advance, for example, or they may be set by the user of the welding appearance inspection device 100. The following mainly describes the differences from the above-described examples, and explanations of points that are the same as in the examples will be omitted as appropriate.

[0125] Figure 20 is an example of a table defining the number of networks and weight sets for a DNN used for decision-making. As shown in Figure 20, examples of DNN methods for decision-making include a method where each failure mode is independent, a method where the network is shared, and a method where the network and weights are shared.

[0126] The independent failure mode approach (as described in Example 1) defines a DNN network for judgment (i.e., three networks: one for overlap, one for undercut, and one for pithole) for each of the overlap detection mode, undercut detection mode, and pithole detection mode. Furthermore, since the judgment DNN differs for each failure mode, a weight set is defined for each network.

[0127] In the method where each defect mode is independent, the welding appearance inspection device 100 requires a larger memory capacity because it holds three judgment DNNs. However, since a different network is provided for each defect mode, the judgment accuracy is higher compared to other methods.

[0128] The network commonization method defines a single common DNN for all failure modes, and defines different weight sets for overlap detection mode, undercut detection mode, and pithole detection mode, respectively.

[0129] In the network-commonized method, a weight set corresponding to the specified defect mode is applied to the judgment DNN in step S506, and when the judgment image is input to the judgment DNN, the presence or absence of a defect (defective / normal) is output as the judgment result. Compared to the method where each defect mode is independent, the network-commonized method requires less memory capacity from the welding appearance inspection device 100 and has higher judgment accuracy than the network-weight commonization method described later.

[0130] The network and weight commonization method defines a single common network and a single common weight set as the DNN for determining all failure modes.

[0131] In the network and weight commonization method, when the judgment image is input to the judgment DNN (which shares a common network and weight set) in step S506, one of the following judgment results is output: OL failure / UC failure / PH failure / normal. Although the network and weight commonization method has lower judgment accuracy compared to other methods, it requires less memory capacity from the welding appearance inspection device 100 compared to other methods. [Examples]

[0132] The welding appearance inspection apparatus 100 of Example 6 acquires multiple input images from a series of moving images and outputs a final judgment result using the judgment results for each of the multiple input images. The following mainly describes the differences from the above-mentioned embodiments, and explanations of points that are the same as in the embodiments will be omitted as appropriate.

[0133] Figure 21 is an explanatory diagram showing an example of the processing performed by the welding appearance inspection device 100. The welding appearance inspection device 100 acquires multiple input images (for example, a predetermined number of frames) from a series of moving images. Preferably, the moving images are taken of the welding area 1 from multiple directions (for example, multiple directions shown in Figure 2) by rotating the pipe or camera 109.

[0134] Furthermore, the input images for these multiple frames may be consecutive frames or discrete frames (for example, at predetermined intervals). In the example in Figure 20, input images for frames N to N+5 are obtained.

[0135] In Examples 1 and 2, the welding appearance inspection device 100 performs the processing from steps S503 to S506 for each of the multiple input images. As a result, a defect determination result corresponding to the defect mode is obtained for each input image from frame N to frame N+5. In the example in Figure 20, the determination result is "defective" only for frame N+2, while the determination result is "normal" for the other frames.

[0136] The welding appearance inspection device 100 outputs "defective" as the final judgment result for the defect mode if, for example, even one of the judgment results for the multiple frames is "defective" for that defect mode, and outputs "normal" as the final judgment result for the defect mode only if all of the judgment results for the multiple frames are "normal" for that defect mode. In this way, the welding appearance inspection device 100 can suppress the failure to detect defects.

[0137] Furthermore, the welding appearance inspection device 100 outputs "defective" as the final judgment result for the defective mode if a predetermined percentage (for example, 50%) or more of the judgment results of the multiple frames are "defective" for the defective mode, and outputs "normal" as the final judgment result for the defective mode if less than the predetermined percentage of judgment results are "defective" for the defective mode.

[0138] Furthermore, for example, the welding appearance inspection device 100 outputs "defective" as the final judgment result for a defect mode if a predetermined number (e.g., 2) or more of the judgment results of the multiple frames are "defective" for that defect mode, and outputs "normal" as the final judgment result for that defect mode if fewer than the predetermined number of judgment results are "defective" for that defect mode. In this way, the welding appearance inspection device 100 can suppress both false detection of defects and failure to detect defects.

[0139] It should be noted that the present invention is not limited to the embodiments described above, and various modifications are included. For example, the embodiments described above are described in detail to make the present invention easier to understand, and are not necessarily limited to those having all the configurations described. It is also possible to replace parts of the configuration of one embodiment with the configuration of another embodiment, and it is also possible to add configurations from other embodiments to the configuration of one embodiment. Furthermore, it is possible to add, delete, or replace parts of the configuration of each embodiment with other configurations.

[0140] Furthermore, each of the above configurations, functions, processing units, and processing means may be implemented in hardware, either partially or entirely, by designing them as integrated circuits, for example. Alternatively, each of the above configurations and functions may be implemented in software by having the processor interpret and execute programs that implement each function. Information such as programs, tables, and files that implement each function can be stored in memory, a recording device such as a hard disk or SSD (Solid State Drive), or a recording medium such as an IC card, SD card, or DVD.

[0141] Furthermore, the control lines and information lines shown are those deemed necessary for explanatory purposes, and not all control lines and information lines are necessarily shown in the actual product. In reality, it is safe to assume that almost all components are interconnected. [Explanation of Symbols]

[0142] 100 Welding appearance inspection device, 101 CPU, 102 Memory, 103 Auxiliary storage device, 104 Communication device I / F, 105 Input I / F, 106 Output I / F, 111 Image acquisition unit, 112 Mode selection unit, 113 Welding area detection unit, 114 Welding defect location candidate extraction unit, 115 Judgment image generation unit, 116 Judgment unit, 117 Defect occurrence area estimation unit, 118 Welding area memory

Claims

1. A welding appearance inspection device, Equipped with a processor and memory, The memory holds still images, The aforementioned processor, The welding area of ​​the pipe is detected from the aforementioned still image, Each of the following failure modes indicates a defect in the weld being detected: Select a failure mode from the one or more failure modes. From a portion or all of the area of ​​the still image, candidate defective locations corresponding to the defects indicated by the specified defect mode are extracted. Based on the specified defect mode, the detected welding area, and the candidate defect location, a defect determination image is generated from the still image. A welding appearance inspection device that determines whether a defect indicating the specified defect mode has occurred, based on a predetermined determination method according to the specified defect mode and the defect determination image.

2. A welding appearance inspection apparatus according to claim 1, The aforementioned processor, Candidate defective areas are extracted from the aforementioned still image, Based on the detected welding area, the welding defect area corresponding to the specified defect mode is extracted from the still image. A welding appearance inspection apparatus that generates a defect determination image based on the specified defect mode and the candidate defect locations included in the defect-prone region.

3. A welding appearance inspection apparatus according to claim 1, The aforementioned processor, Based on the detected welding area, the welding defect area corresponding to the specified defect mode is extracted from the still image. A welding appearance inspection device that extracts candidate defect locations from the defect-prone region of the still image.

4. A welding appearance inspection apparatus according to claim 1, The memory holds a DNN for determination corresponding to the one or more failure modes. The aforementioned DNN for determination holds a DNN (Deep Neural Network) that, upon receiving an image, outputs a determination result indicating whether a defect corresponding to the defect mode has occurred. The welding appearance inspection apparatus includes a processor that determines whether a defect indicating the specified defect mode has occurred by inputting the defect determination image to the determination DNN corresponding to the specified defect mode.

5. A welding appearance inspection apparatus according to claim 4, The aforementioned one or more failure modes are multiple failure modes, The memory holds the determination DNN common to the plurality of failure modes, The welding appearance inspection apparatus includes a processor that inputs the defect detection image to the common determination DNN to determine whether a defect indicating the specified defect mode has occurred.

6. A welding appearance inspection apparatus according to claim 4, The memory holds the DNN for segmentation, The segmentation DNN, upon receiving an image, outputs information indicating the segmentation region within the image. The DNN for determination requires less computation than the DNN for segmentation, The aforementioned processor, By inputting the still image to the segmentation DNN, the segmentation region within the still image is obtained. A welding appearance inspection device that determines the welding area based on the acquired segmentation area.

7. A welding appearance inspection apparatus according to claim 1, The aforementioned processor, A screening range is generated by expanding the detected welding area based on predetermined criteria. Based on the screening range, the welding defect-prone region corresponding to the specified defect mode is extracted from the still image. A welding appearance inspection apparatus that generates a defect determination image based on the specified defect mode and the candidate defect locations included in the defect-prone region.

8. A welding appearance inspection apparatus according to claim 1, The aforementioned one or more failure modes are multiple failure modes, The aforementioned processor, The information indicating the detected welding area is stored in the memory. A welding appearance inspection device that uses the detected welding area in common to detect defects indicated by each of the aforementioned multiple defect modes.

9. A welding appearance inspection apparatus according to claim 1, The memory holds a plurality of still images obtained from a series of moving images, The aforementioned processor, From the aforementioned plurality of still images, the welding area of ​​the piping is detected, For each of the aforementioned multiple still images From a portion or all of the area of ​​the still image, candidate defective locations corresponding to the defects indicated by the specified defect mode are extracted. Based on the specified defect mode, the detected welding area, and the extracted candidate defect locations, a defect determination image is generated from the still image. Based on a predetermined determination method corresponding to the specified defect mode and the generated defect determination image, it is determined whether the defect indicated by the specified defect mode has occurred. A welding appearance inspection apparatus that performs a final determination of whether a defect indicating the specified defect mode has occurred, based on the determination result of whether a defect indicating the specified defect mode has occurred for the defect determination image generated from each of the plurality of still images.

10. A welding appearance inspection apparatus according to claim 1, A welding appearance inspection apparatus in which the one or more defect modes include at least one of a mode for detecting overlap, a mode for detecting undercut, and a mode for detecting pit holes.

11. A welding appearance inspection method using a welding appearance inspection device, The welding appearance inspection apparatus comprises a processor and memory, The memory holds still images, The aforementioned welding appearance inspection method is: The processor detects the welding area of ​​the pipe from the still image, The processor selects a defect mode from one or more defect modes, each indicating a defect in the welding to be detected. The processor extracts candidate defect locations from a part or all of the area of ​​the still image, corresponding to the defect indicated by the specified defect mode. The processor generates a defect determination image from the still image based on the specified defect mode, the detected welding area, and the candidate defect location. A welding appearance inspection method in which the processor determines whether a defect indicating the specified defect mode has occurred, based on a predetermined determination method according to the specified defect mode and the defect determination image.

Citation Information

Patent Citations

  • Weld zone undercut inspection device

    JP2011191161A