Processing device, welding system, processing method, program, and storage medium

The processing device employs a first model to directly detect molten pools and defects during welding, addressing the complexity and reliability issues of existing systems by validating detection results, thus enhancing user convenience and accuracy.

JP7566640B2Active Publication Date: 2024-10-15KK TOSHIBA
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021000171
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-01-04
Publication Date
2024-10-15
Estimated Expiration
2041-01-04

AI Technical Summary

Technical Problem

Existing defect detection systems during welding require complex database updates and suffer from reduced reliability due to the difficulty in directly detecting defects amidst blown-out highlights or crushed black areas, leading to incorrect quality data.

Method used

A processing device uses a first model to directly detect molten pools and defects from welding images, determining the appropriateness of defect detection results using integrated pixel values and threshold comparisons, thereby improving user convenience and reliability.

Benefits of technology

The system enhances user convenience by eliminating the need for feature-based database updates and improves the reliability of defect detection by validating detection results, ensuring accurate quality assessment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007566640000001
    Figure 0007566640000001
  • Figure 0007566640000002
    Figure 0007566640000002
  • Figure 0007566640000003
    Figure 0007566640000003
Patent Text Reader

Abstract

To provide a processing device, a welding system, a processing method, a program, and a storage medium which can improve convenience of a user related to defect detection.SOLUTION: A processing device acquires a first image related to a molten pool imaged in welding (S1), inputs the first image to a first model (S2), and acquires an output result (S3). First determination determines whether a first integral value is equal to or greater than a first threshold (S4). When it is less than the first threshold, it determines that it is "invalid" (S5). When it is equal to or greater than the first threshold, it determines whether a second integral value is equal to or greater than a second threshold (S6). When it is less than the second threshold, it determines that the quality is "good" (S7). When it is equal to or greater than the second threshold, third determination determines whether the number of determinations that a defect exists is equal to or greater than a third threshold (S8). When it is less than the third threshold, it does not recognize the existence of the defect, and determines that the quality is "good" (S7). When it is equal to or greater than the third threshold, the processing device recognizes the existence of the defect, and it determines that the quality is "defective" (S9). The processing device stores a result in a storage device (S10).SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] An embodiment of the present invention relates to a processing device, a welding system, a processing method, a program, and a storage medium. [Background technology]

[0002] There is a technology that extracts features from images captured during welding and detects defects based on the features. However, there is a demand for improving the convenience of this technology. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2019-195811 A Summary of the Invention [Problem to be solved by the invention]

[0004] An object of the present invention is to provide a processing device, a welding system, a processing method, a program, and a storage medium that can improve user convenience regarding defect detection. [Means for solving the problem]

[0005] The processing device according to the embodiment inputs a first image captured during welding to a first model, and obtains a first detection result related to a welding element and a second detection result related to a defect. The first model detects the welding element and the defect in response to the input of the welding image. The processing device uses the first detection result to determine whether the second detection result is appropriate. [Brief description of the drawings]

[0006] [Figure 1] 1 is a schematic diagram illustrating a configuration of a welding system including a processing device according to an embodiment; [Diagram 2] 5A and 5B are schematic diagrams for explaining the operation of the processing apparatus according to the embodiment. [Diagram 3] 5A and 5B are schematic diagrams for explaining the operation of the processing apparatus according to the embodiment. [Figure 4] 13 is an image showing an example output of the first model. [Diagram 5] 13 is an image showing an example output of the first model. [Figure 6] 4 is a flowchart showing a process performed by the processing device according to the embodiment. [Figure 7] FIG. 2 is a schematic diagram illustrating an example of an image used for learning a first model. [Figure 8] FIG. 2 is a schematic diagram illustrating an example of an image used for learning a first model. [Figure 9] 10 is a flowchart showing a process performed by a processing device according to a modified example of the embodiment. [Figure 10] FIG. 13 is a schematic diagram illustrating the configuration of another welding system including a processing device according to an embodiment. [Figure 11] 5A and 5B are schematic diagrams illustrating an example of output by the processing device according to the embodiment. [Figure 12] FIG. 2 is a schematic diagram illustrating a hardware configuration. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] Hereinafter, embodiments of the present invention will be described with reference to the drawings. The drawings are schematic or conceptual, and the relationship between the thickness and width of each part, the size ratio between parts, etc. are not necessarily the same as those in reality. Even when the same part is shown, the dimensions and ratios of each part may be different depending on the drawing. In this specification and each drawing, elements similar to those already explained are given the same reference numerals and detailed explanations are omitted as appropriate.

[0008] FIG. 1 is a schematic diagram illustrating the configuration of a welding system including a processing apparatus according to an embodiment. The welding system 1 includes a processing device 10, a welding device 20, and a storage device 30.

[0009] The welding device 20 welds two or more members together to form an integrated body. The welding device 20 performs, for example, arc welding or laser welding. Specific examples of arc welding include Tungsten Inert Gas (TIG) welding, Metal Inert Gas (MIG) welding, Metal Active Gas (MAG) welding, and carbon dioxide gas arc welding. Here, an example in which the welding device 20 performs TIG welding will be mainly described.

[0010] The welding device 20 includes, for example, a torch 21, an arm 22, a power supply unit 23, a gas supply unit 24, a wire 25, an imaging unit 26, an illumination unit 27, and a control unit 28.

[0011] A tungsten electrode 21a is provided in the torch 21. The tip of the electrode 21a is exposed from the torch 21. For example, the torch 21 is attached to a multi-joint arm 22 including a plurality of links. Alternatively, the torch 21 may be held by an operator.

[0012] The power supply unit 23 is electrically connected to at least one of the electrode 21a and the welding object S. A voltage is applied between the electrode 21a and the welding object S by the power supply unit 23, and an arc discharge occurs. One of the electrode 21a and the welding object S may be set to a common potential (e.g., ground potential), and the power supply unit 23 may control only the potential of the other of the electrode 21a and the welding object S. In the example of FIG. 1, the power supply unit 23 controls only the potential of the electrode 21a.

[0013] The gas supply unit 24 is connected to the torch 21. The gas supply unit 24 supplies an inert gas to the torch 21. Alternatively, the gas supply unit 24 may supply a mixed gas of an inert gas and an active gas. The gas supplied to the torch 21 is sprayed toward the welding object S from the tip of the torch 21 where the electrode 21a is exposed.

[0014] The tip of wire 25 is placed in the space where the arc discharge is occurring. The tip of wire 25 melts due to the arc discharge and drips onto the welding object S. The molten wire 25 solidifies, thereby welding the welding object S. Wire 25 is fixed to arm 22, for example, and is automatically fed as the melting progresses.

[0015] During welding, the imaging unit 26 images the location where welding is being performed. The imaging unit 26 images the welding location to obtain a still image. Alternatively, the imaging unit 26 may capture a moving image. The imaging unit 26 cuts out a part of the moving image to obtain a still image. The imaging unit 26 is, for example, a camera including a CCD image sensor or a CMOS image sensor.

[0016] The illumination unit 27 illuminates the welding point during welding so that a clearer image can be obtained by the imaging unit 26. If an image with sufficient brightness can be obtained without illuminating the welding point, the illumination unit 27 does not need to be provided.

[0017] Control unit 28 controls the operation of each of the above-mentioned components of welding device 20. For example, control unit 28 generates an arc discharge while driving arm 22, and welds welding object S along a predetermined direction. Control unit 28 may also control settings of imaging unit 26, lighting unit 27, and the like.

[0018] The control unit 28 stores the image acquired by the imaging unit 26 in the storage device 30. For example, the control unit 28 stores in the storage device 30 the captured image, the welding conditions at the time of capturing the image, the imaging conditions, and the position, in association with each other.

[0019] The welding conditions include at least one selected from the group consisting of, for example, the speed of torch 21 in the moving direction (first direction), the position of torch 21 in the width direction (second direction) perpendicular to the moving direction, the current supplied to torch 21, the voltage supplied to torch 21, and the feed speed of wire 25. The imaging conditions include, for example, settings of imaging unit 26 such as exposure time, aperture, or sensitivity (ISO). The imaging conditions may also include settings of illumination unit 27.

[0020] 2(a), 2(b), 3(a), and 3(b) are schematic views for explaining the operation of the processing apparatus according to the embodiment. The processing device 10 according to the embodiment checks whether there is a defect in a welded portion from an image captured during welding. First, the processing device 10 accesses the storage device 30 and acquires a first image captured during welding. The processing device 10 inputs the first image into a first model.

[0021] The first model detects defects and the molten pool shown in the welding image in response to an input of a welding image showing the molten pool. The molten pool is a pool of liquid metal formed by melting metal (wire 25). As an example, the defect is a circular hole defect, which is formed when the welding object S partially melts excessively during welding, penetrating the welding object S, and the molten metal falls into it. As another example, the defect is an overlap, an undercut, or a crack.

[0022] FIG. 2(a) is a schematic diagram showing an example of an image captured during welding. In the image 100 shown in FIG. 2(a), a first member 101 and a second member 102 are shown. The first member 101 and the second member 102 are joined by welding. A torch 21 and a wire 25 (not shown) are disposed close to the boundary between the first member 101 and the second member 102. The wire 25 is melted by discharge generated at the tip of the torch 21, and a molten pool 111 is formed. The metal of the molten pool 111 solidifies, and a bead 113 is formed. In the example of FIG. 2(a), the first member 101 or the second member 102 is partially melted down in a circular shape in the molten pool 111 due to excessive penetration, and a defect 112 is formed.

[0023] 2(a) is input, the first model detects a first feature indicating the outer edge of the molten pool 111 and a second feature indicating the outer edge of the defect 112. Detection of the first feature indicates the presence of the molten pool 111 in the image 100. Detection of the second feature indicates the presence of a defect in the image 100. In addition, the second feature indicates the severity of the defect 112. For example, the magnitude of the brightness of the second feature indicates the severity of the defect 112.

[0024] The processing device 10 obtains an output result from the first model. The output of the first model includes a first detection result related to the molten pool in the first image and a second detection result related to the defect in the first image. If a molten pool 111 is present in the image, the first detection result includes a first feature, i.e., the first detection result indicates the presence or absence of a molten pool. If a defect 112 is present, the second detection result includes a second feature, i.e., the second detection result indicates the presence or absence of a defect.

[0025] Fig. 2(b) is a schematic diagram showing the output result of the first model in response to the input of the image in Fig. 2(a). The output result 200 is an image including a first feature 211 indicating the molten pool 111 and a second feature 212 indicating the defect 112. In this example, the first feature 211 indicates the outer edge of the molten pool 111. The second feature 212 indicates the outer edge of the defect 112.

[0026] Fig. 3(a) is a schematic diagram showing another example of an image captured during welding. Similar to the image 100, the image 100a shown in Fig. 3(a) shows a first member 101, a second member 102, a torch 21, a molten pool 111, a defect 112, and a bead 113. However, due to light emission during discharge, a part of the image is blown out.

[0027] Fig. 3(b) is a schematic diagram showing the output result of the first model in response to the input of the image in Fig. 3(a). The image 100a shows only a portion of each of the molten pool 111 and the defect 112. Therefore, the output result 200a includes a first feature 211a showing a portion of the molten pool 111 and a second feature 212a showing a portion of the defect 112.

[0028] The processing device 10 executes the first to third determinations using the first and second detection results.

[0029] In the first judgment, the processing device 10 judges whether the second detection result is appropriate using the first detection result. Specifically, the processing device 10 judges whether the molten pool is properly detected in the first detection result. As shown in FIG. 2(b) and FIG. 3(b), the clearer the molten pool shown in the first image, the larger the area (number of pixels) of the first feature in the first detection result. The processing device 10 compares the number of pixels of the first feature with a first threshold value set in advance. The pixel value of each pixel included in the first feature may change according to the molten pool 111 shown in the welding image. In this case, the processing device 10 compares the integrated value (first integrated value) of the pixel values ​​of each pixel included in the first feature with a first threshold value set in advance.

[0030] For example, in the first detection result, the first feature is represented by red in the RGB color space. The pixel value of each pixel of the first feature represents the brightness of each of the RGB colors. The processing device 10 accumulates the brightness of the red color in the first feature to calculate a first accumulated value. This example is not limited to this example, and the pixel value of the first feature may represent hue, saturation, or lightness in the HSV color space.

[0031] If the first integrated value is equal to or greater than the first threshold, the processing device 10 determines that the second detection result is appropriate. That is, the first image is clear enough to detect the molten pool and the defect, and the detection result of the defect in the first image is determined to be appropriate. If the second detection result is determined to be appropriate, the processing device 10 performs a second judgment. If the first integrated value is less than the first threshold, the processing device 10 determines that the second detection result is inappropriate. For example, even if a defect is not detected, the defect may be hidden by whiteout in the first image. If the second detection result is determined to be inappropriate, the processing device 10 does not perform the second judgment.

[0032] In the second judgment, the processing device 10 uses the second detection result to determine the presence or absence of a defect in the first image. NoThe pixel value of each pixel of the second feature output from the first model varies depending on the likelihood of the defect. The larger the pixel value, the stronger the first model estimates that the pixel is part of the defect. The processing device 10 compares the integrated value (second integrated value) of each pixel value included in the second feature with a second threshold value set in advance. Note that if the second feature is not detected, the second integrated value is zero.

[0033] For example, in the second detection result, the second feature is represented by yellow in the RGB color space. The pixel value of each pixel of the second feature represents the luminance of each of the RGB colors. The processing device 10 integrates the luminance of red and the luminance of green in the first feature to calculate a second integrated value. This example is not limited to this, and the pixel value of the second feature may represent hue, saturation, or lightness in the HSV color space.

[0034] If the second integrated value is equal to or greater than the second threshold, the processing device 10 determines that a defect exists. If the second determination determines that a defect exists, the processing device 10 performs a third determination. If the second integrated value is less than the second threshold, the processing device 10 determines that a defect does not exist. If the second determination determines that a defect does not exist, the processing device 10 does not perform the third determination.

[0035] In the third determination, the processing device 10 counts the number of consecutive times that it is determined in the second determination that a defect exists. The processing device 10 compares the count with a preset third threshold. If the count is equal to or greater than the third threshold, the processing device 10 determines that a defect exists. If the count is less than the third threshold, the processing device 10 does not determine that a defect exists.

[0036] During welding, images are captured continuously. A plurality of first images are stored in the storage device 30. The processing device 10 acquires a first detection result and a second detection result and executes a first judgment for each of the plurality of first images. If the second detection result is judged to be appropriate in the first judgment, the processing device 10 further executes a second judgment. If it is judged in the second judgment that a defect exists, the processing device 10 refers to the most recent past judgment result. If it is judged that a defect exists consecutively in the latest judgment and the most recent judgment, and the number of consecutive judgments is equal to or greater than a third threshold, the existence of a defect is recognized.

[0037] For example, the presence of a defect is confirmed for a plurality of first images related to the consecutive judgments. If the presence of a defect is judged in the second judgment and then the second detection result is judged to be inappropriate in the first judgment, the count number is reset. Alternatively, if there are many images for which the second detection result is judged to be inappropriate in the first judgment, the count number does not need to be reset. In other words, the user can appropriately select whether or not to execute the reset depending on the required defect detection accuracy.

[0038] If a hole that could become a defect appears in the molten pool, metal may subsequently flow into the hole and repair the defect. If the existence of a defect is determined based on the results of a single second evaluation, the existence of a defect may be determined when in fact no defect exists.

[0039] When the above process is completed, the processing device 10 records the quality. Specifically, the processing device 10 stores the image capturing position of the first image in association with the quality of the image capturing position. For example, the control unit 28 refers to a storage area in which the position (coordinates) of the tip of the arm 22 is stored. The control unit 28 drives the arm 22 so that the tip of the arm 22 is located at the coordinates. The imaging unit 26 moves in conjunction with the torch 21. The coordinates of the tip of the arm 22 are used as the image capturing position. Alternatively, the imaging unit 26 may be driven by a drive system different from that of the arm 22. In this case, the position (coordinates) of the imaging unit 26 in the different drive system may be used as the image capturing position. Alternatively, the position of the tip of the electrode 21a in the first image or the position of the molten pool 111 in the first image may be calculated, and either of the positions may be used as the image capturing position.

[0040] For example, if it is determined in the second judgment that no defect exists, the processing device 10 determines the quality of the imaging position as "good" (first quality). If it is determined in the second judgment that a defect exists and the defect is not found in the third judgment, the processing device 10 determines the quality of the imaging position as "good". If a defect is found in the third judgment, the processing device 10 determines the quality of the imaging position as "poor" (third quality). If the second detection result is determined to be inappropriate in the first judgment, the processing device 10 determines the quality of the imaging position as "invalid" (second quality). The processing device 10 may generate and output quality data including a plurality of positions and the quality at each position.

[0041] The first to third thresholds are set in advance by a user. The first and second thresholds may be set automatically based on the size of the first image. The third threshold may be set automatically based on the period during which the first image is captured.

[0042] 4(a), 4(b), 5(a), and 5(b) are schematic diagrams showing examples of outputs of the first model. In Figures 4(a), 4(b), 5(a) and 5(b), the first feature 211 is represented by a dotted line segment. In Figure 5(b), the second feature 212 is represented by a dotted line segment. A higher dot density indicates a higher pixel value.

[0043] In the examples of Figures 4(a) and 4(b), the weld pool is clearly visible in the first image input to the first model. Therefore, in the output results 200b and 200c shown in Figures 4(a) and 4(b), the detected line segments of the first features 211b and 211c are sufficiently long. In other words, the areas of the first features 211b and 211c are sufficiently large. In the first judgment based on the output result of Figure 4(a) and the first judgment based on the output result of Figure 4(b), the second detection result is judged to be appropriate.

[0044] If the second detection result is determined to be appropriate, the presence or absence of a defect in the first image input to the first model is determined based on the second detection result. In the output results 200b and 200c of Fig. 4(a) and Fig. 4(b), the second feature 212 indicating a defect is not detected. Therefore, it is determined that no defect exists in the first image. The processing device 10 determines the quality of these first images at the imaging positions as "good".

[0045] In the output result 200d shown in Fig. 5(a), a part of the image input to the first model is blown out. Therefore, a plurality of disconnected line segments are detected as the first feature 211d. Also, the area of ​​the first feature 211d is smaller than that in the examples of Fig. 4(a) and Fig. 4(b). For example, in the first judgment based on the output result 200d in Fig. 5(a), the second detection result is judged to be inappropriate.

[0046] In the output result 200e shown in FIG. 5(b), the area of ​​the first feature 211e is sufficiently large, as in the examples of FIGS. 4(a) and 4(b). Therefore, the second detection result is determined to be appropriate. In the example of FIG. 5(b), the second feature 212e is detected. For example, in the second determination, it is determined that a defect exists based on this second feature 212e. In the third determination, if the number of consecutive times that it is determined that a defect exists is equal to or greater than a third threshold, the existence of a defect is recognized.

[0047] FIG. 6 is a flowchart showing the processing performed by the processing device according to the embodiment. The processing device 10 acquires a first image (step S1). The processing device 10 inputs the first image into a first model (step S2). The processing device 10 acquires an output result from the first model (step S3). In a first judgment, the processing device 10 judges that the first accumulated value is equal to or greater than a first threshold value (step S4). If the first accumulated value is less than the first threshold value, the processing device 10 judges the quality to be "invalid" (step S5).

[0048] If the first integrated value is equal to or greater than the first threshold, the processing device 10 determines in the second judgment that the second integrated value is equal to or greater than the second threshold (step S6). If the second integrated value is less than the second threshold, the processing device 10 determines the quality as "good" (step S7). If the second integrated value is equal to or greater than the second threshold, the processing device 10 determines in the third judgment that the number of consecutive times that a defect is determined to exist is equal to or greater than a third threshold (step S8). If the count number is less than the third threshold, the processing device 10 does not recognize the existence of a defect and determines the quality as "good" (step S7). If the count number is equal to or greater than the third threshold, the processing device 10 recognizes the existence of a defect and determines the quality as "bad" (step S9). The processing device 10 stores the results of the first to third judgments and the quality in the storage device 30 (step S10).

[0049] Advantages of the embodiment will be described. Conventionally, there have been attempts to extract features from images captured during welding and use those features to estimate the presence of defects. However, when using this method, it is necessary to prepare a database that shows the relationship between the extracted features and defects. For example, whenever the object to be welded, the welding conditions, or the imaging conditions change, the extracted features may change, so the database needs to be updated.

[0050] Regarding the first problem, in this embodiment, a first model is used that detects the molten pool and defects in response to the input of a welding image. That is, defects are directly detected from the image captured during welding. By using this first model, a database showing the relationship between features and defects becomes unnecessary. User convenience can be improved. The user does not need to perform conventional complicated defect detection based on the relationship between features and defects.

[0051] On the other hand, when defects are detected directly, the reliability may be lower than when defects are detected based on features. For example, defects are generally smaller than the molten pool, etc., and may not be displayed in the welding image due to whiteout or blackout. In this case, it may be possible to detect the defect based on features, but it is difficult to detect the defect directly. In this case, if it is determined that no defect exists, erroneous quality data will be generated.

[0052] Regarding the second problem, in this embodiment, the first detection result is used to determine whether the second detection result is appropriate. For example, if the second detection result is inappropriate, the processing device 10 does not adopt the second detection result. This can improve the reliability of the determination result regarding the defect. It can also improve the reliability of the quality data including the determination result regarding the defect.

[0053] 7(a), 7(b), 8(a), and 8(b) are schematic diagrams illustrating images used for learning the first model. The learning of the first model will now be described. The first model is learned using a plurality of learning data. Each of the learning data includes an input image and a teaching image.

[0054] Fig. 7(a) shows an input image 300. The input image 300 shows the torch 21, the molten pool 111, the bead 113, etc. Fig. 7(b) shows a teaching image 400. The teaching image 400 includes a line segment 411 that indicates the outer edge of the molten pool 111. For example, the pixel values ​​of the line segment 411 are set to (R,G,B)=(255,0,0).

[0055] In the input image of FIG. 7(a), there is no defect inside the molten pool 111. Therefore, in the teaching image of FIG. 7(b), no defect is taught. Even if a defect exists inside the molten pool 111, if the area of ​​the defect is small compared to the area of ​​the molten pool, the defect does not need to be taught. For example, if the area of ​​the defect is less than 10% of the area of ​​the molten pool, the defect is not taught. This is because small defects are more likely to be repaired. Also, in this example, defects outside the molten pool 111 are not taught. For example, the first model is trained so as not to detect defects outside the molten pool 111.

[0056] The first model uses the input image 300 as input data and the teaching image 400 as teaching data, and is trained to output a teaching image based on the input image.

[0057] 8(a) and 8(b) show another teaching image. The teaching image 400a in FIG. 8(a) includes a line segment 411a indicating the outer edge of the molten pool and a line segment 412a indicating the outer edge of the defect. The teaching image 400b in FIG. 8(b) includes a line segment 411b indicating the outer edge of the molten pool and a line segment 412b indicating the outer edge of the defect. In the example in FIG. 8(b), multiple defects exist. Therefore, multiple line segments 412b are shown. The first model is trained using the teaching images shown in FIG. 8(a) and 8(b).

[0058] (Modification) The processing device 10 may perform feedback to the welding device 20 based on the determination regarding the defect. When welding is performed, the processing device 10 obtains the welding conditions. If the third determination determines that a defect exists, the processing device 10 selects the welding conditions to be changed. The processing device 10 changes the selected welding conditions. The processing device 10 transmits the changed welding conditions to the control unit 28. If the third determination determines that a defect exists, the processing device 10 does not change the welding conditions. The processing device 10 transmits the original welding conditions to the control unit 28.

[0059] For example, welding is performed with a heat source moving along a first direction. The welding conditions that are changed include at least one selected from the group consisting of the speed of the heat source in the first direction, the position of the heat source in a second direction perpendicular to the first direction, and the power of the heat source. Changing the speed of the heat source in the first direction includes slowing down the speed in the direction of travel of the heat source, stopping the travel of the heat source, or moving the heat source in a direction opposite to the direction of travel.

[0060] When the welding is arc welding, the welding conditions that are changed include at least one selected from the group consisting of the speed of the torch 21 in a first direction, the position of the torch 21 in a second direction perpendicular to the first direction, the current supplied to the torch 21, the voltage supplied to the torch 21, and the feed speed of the wire 25.

[0061] When the welding is laser welding, the welding conditions that are changed include at least one selected from the group consisting of the speed of the laser light in a first direction, the position of the laser light in a second direction perpendicular to the first direction, and the intensity of the laser light.

[0062] By changing the welding conditions, it becomes easier to supply molten metal to the location of the defect, improving the possibility of repairing the defect.

[0063] The processing device 10 may calculate the position where the defect is detected and change the welding conditions according to the position. For example, the processing device 10 changes the welding conditions so that the heat source is closer to the defect. Based on the changed welding conditions, the heat source is moved in the opposite direction or in a second direction. The processing device 10 may increase the output of the heat source as the distance increases.

[0064] This can further improve the chances that the defect can be repaired.

[0065] After the welding conditions are changed, the processing device 10 may determine whether the defect has been repaired. For example, after welding based on the changed welding conditions is performed, a first image is acquired. The processing device 10 executes a determination process based on the output result of the first model for the first image, and determines whether the presence of a defect is again confirmed at the calculated position. If the presence of a defect is not confirmed at the calculated position, the processing device 10 determines that the defect has been repaired. If the defect has been repaired, the processing device 10 determines the quality of the imaging position as "acceptable" (fourth quality). If the defect has not been repaired, the processing device 10 determines the quality related to the defect position as "poor."

[0066] When the processing device 10 recognizes the presence of a defect, it may determine whether the defect is repairable. If the defect is too large, it is highly likely that the defect cannot be repaired by changing the welding conditions. If the welding conditions are changed even though the defect cannot be repaired, it may have a negative effect on other parts of good quality. In addition, the time required for welding will increase unnecessarily.

[0067] For example, whether or not the defect can be repaired is determined based on the size of the second feature. The size of the second feature is determined based on at least one of a first length in a first direction of the second feature and a second length in a second direction of the second feature. For example, the first length or the second length is used as the size of the second feature. The larger value of the first length and the second length may be used as the size of the second feature. The size of the second feature may be expressed as the product of the first length and the second length. When the defect is circular or elliptical, the size of the second feature may be expressed as the product of 0.5 times the first length, 0.5 times the second length, and π.

[0068] The processing device 10 compares the size of the second feature with a preset fourth threshold. If the size of the second feature is less than the fourth threshold, the processing device 10 changes the welding conditions. If the size of the second feature is equal to or greater than the fourth threshold, the processing device 10 determines that the defect is not repairable. The processing device 10 does not change the welding conditions, but continues welding under the same welding conditions as before the defect was identified.

[0069] FIG. 9 is a flowchart showing a process performed by a processing device according to a modified example of the embodiment. The processing device 10 executes steps S1 to S9 in the same manner as in the flowchart shown in FIG. 6. If the count number is equal to or greater than the third threshold in step S8, the processing device 10 determines whether the defect can be repaired (step S21). If the defect cannot be repaired, the processing device 10 does not change the welding conditions and determines the quality to be "defective" (step S9). If the defect can be repaired, the processing device 10 changes the welding conditions (step S22). As a result, welding based on the changed welding conditions is performed by the welding device 20.

[0070] The processing device 10 determines whether the recognized defects have been repaired (step S23). If the defects have been repaired, the processing device 10 determines the quality as "passable" (step S24). If the defects have not been repaired, the processing device 10 determines the quality as "poor" (step S9).

[0071] According to this modification, the welding conditions can be changed to improve the possibility of repairing defects, thereby improving the quality of the resulting joint.

[0072] In the above example, the torch 21 is held by the arm 22. The torch 21 may be held by an operator performing welding. In this case, the processing device 10 may output data indicating a change in the welding conditions to the operator.

[0073] FIG. 10 is a schematic diagram illustrating the configuration of another welding system including the processing apparatus according to the embodiment. 10 includes a processing device 10, a torch 21, and a control device 40. The torch 21 includes an electrode 21a, an imaging unit 21b, a position sensor 21c, a tilt sensor 21d, and a gas supply port 21e.

[0074] A user holds the torch 21 and performs welding. The imaging unit 21b images the molten pool during welding. The position sensor 21c detects the position of the torch 21. The tilt sensor 21d detects the tilt of the torch 21. For example, the position sensor 21c is an optical position sensor or an ultrasonic position sensor. The tilt sensor 21d is a gyro sensor or an acceleration sensor. An inert gas is sprayed from the gas supply port 21e toward the tip of the electrode 21a.

[0075] 1. The control device 40 functions as the power supply unit 23, the gas supply unit 24, the control unit 28, and the storage device 30 of the welding device 20 shown in Fig. 1. The control device 40 also includes a power source that supplies power to the processing device 10 and the torch 21. In this example, the control device 40 further includes a display device 41.

[0076] The processing device 10 executes each process using the first image captured by the imaging unit 21b. The processing device 10 transmits data obtained by the processes to the control device 40. The control device 40 causes the display device 41 to display the data.

[0077] 11(a) to 11(c) are schematic diagrams showing examples of display by a processing device according to a modified example of the embodiment. 11(a) shows an example of a display when it is determined in the second determination that no defect exists. A screen 500 displays a result of the determination 501 regarding the defect, a time 502, a position 503 of the torch 21, an inclination 504 of the torch 21, welding conditions 505, data regarding the defect 506, and instructions 507 to the user.

[0078] 11(b) and 11(c) show examples of displays when the presence of a defect is confirmed in the third judgment. In screens 500a and 500b, judgment result 501 indicates the detection of a defect and the size of the defect. Instructions 507 instruct the user to repair the defect. Screens 500a and 500b also display the position 508 of the defect.

[0079] The processing device 10 may determine the size of the defect based on the size of the second feature. The processing device 10 may output the determined size of the defect as shown in Figures 11(b) and 11(c). For example, the processing device 10 may compare the size of the second feature with one or more preset thresholds to determine the size of the defect.

[0080] When the processing device 10 determines that there is a defect, it sends an instruction to repair the defect to the control device 40 and changes the welding conditions. The processing device 10 may calculate the position of the tip of the torch 21 based on the detection results of the position sensor 21c and the tilt sensor 21d. The processing device 10 may change the welding conditions when the position of the tip of the torch 21 approaches the position of the defect. The control device 40 automatically changes the welding conditions based on the determination result by the processing device 10.

[0081] A button 509 is displayed on the screens 500a and 500b. For example, the display device 41 is a touch panel. When the user completes the repair of the defect, the user touches the button 509. The user may click the button 509 by operating a pointer with a mouse or the like.

[0082] Depending on the size of the defect, an icon 510 may be displayed to alert the user. In this example, when the size of the defect is large, the icon 510 is displayed.

[0083] In the above, examples related to arc welding have been mainly described. The invention according to the embodiment can be similarly applied to laser welding. Similarly, a molten pool and defects are also captured in an image captured during laser welding. The first model is trained to detect the molten pool and defects from the image captured during laser welding. The processing device 10 executes the first to third judgments using the output result of the first model.

[0084] In the above, an example has been described in which the first model detects a molten pool. The first model may detect other welding elements. A welding element is something that exists during welding and is specific to welding. The welding element is one or more elements selected from the group consisting of a molten pool, a groove, a wire, a torch, and a bead. Even if the first model detects a welding element other than a molten pool, the above-mentioned processing can be performed using the first feature that is the detection result of the welding element.

[0085] Preferably, the first model detects the molten pool. For example, the wire and torch may appear at a position distant from the defect. Even when the defect is blown out due to discharge in the welding image, the wire or torch may appear clearly. In this case, if it is determined that there is no defect, an erroneous quality is recorded. Since defects occur in the molten pool, when the molten pool is unclear, there is a high possibility that the defect will also be unclear. By detecting the molten pool, the quality can be determined more accurately. The reliability of the quality data can be improved.

[0086] FIG. 12 is a schematic diagram showing a hardware configuration. The processing device 10 can be realized by the hardware configuration shown in Fig. 12. A computer 90 shown in Fig. 12 includes a CPU 91, a ROM 92, a RAM 93, a storage device 94, an input interface 95, an output interface 96, and a communication interface 97.

[0087] The ROM 92 stores a program for controlling the operation of the computer 90. The ROM 92 stores a program necessary for causing the computer 90 to realize each of the above-mentioned processes. The RAM 93 functions as a storage area in which the programs stored in the ROM 92 are expanded.

[0088] The CPU 91 includes a processing circuit. The CPU 91 uses a RAM 93 as a working memory and executes a program stored in at least one of a ROM 92 and a storage device 94. During execution of the program, the CPU 91 controls each component via a system bus 98 and executes various processes.

[0089] The storage device 94 stores data necessary for executing the programs and data obtained by executing the programs.

[0090] The input interface (I / F) 95 connects the computer 90 and the input device 95a. The input I / F 95 is, for example, a serial bus interface such as USB. The CPU 91 can read various data from the input device 95a via the input I / F 95.

[0091] The output interface (I / F) 96 connects the computer 90 and the output device 96a. The output I / F 96 is, for example, a video output interface such as a Digital Visual Interface (DVI) or a High-Definition Multimedia Interface (HDMI: registered trademark). The CPU 91 transmits data to the output device 96a via the output I / F 96 and can cause the output device 96a to display an image.

[0092] A communication interface (I / F) 97 connects the computer 90 to a server 97a external to the computer 90. The communication I / F 97 is, for example, a network card such as a LAN card. The CPU 91 can read various data from the server 97a via the communication I / F 97. The camera 99 captures images of the molten pool and defects during welding and stores the images in the server 97a.

[0093] The storage device 94 includes one or more selected from a hard disk drive (HDD) and a solid state drive (SSD). The input device 95a includes one or more selected from a mouse, a keyboard, a microphone (audio input), and a touch pad. The output device 96a includes one or more selected from a monitor and a projector. A device having the functions of both the input device 95a and the output device 96a, such as a touch panel, may be used.

[0094] The computer 90 functions as the processing device 10. The storage device 94 and the server 97a function as the storage device 30. The camera 99 functions as the imaging unit 26 provided in the welding device 20. The output device 96a functions as the display device 41.

[0095] By using the processing device, welding system, or processing method described above, it is possible to improve the convenience of the user in terms of defect detection and to improve the reliability of the defect determination results. In addition, the same effects can be obtained by using a program for operating a computer as the processing device.

[0096] The various data processing operations described above may be recorded as a program that can be executed by a computer on a magnetic disk (such as a flexible disk or a hard disk), an optical disk (such as a CD-ROM, CD-R, CD-RW, DVD-ROM, DVD±R, DVD±RW), a semiconductor memory, or other non-transitory computer-readable storage medium.

[0097] For example, information recorded on a recording medium can be read by a computer (or an embedded system). The recording medium may have any recording format (storage format). For example, the computer reads a program from the recording medium and causes a CPU to execute instructions described in the program based on the program. The computer may acquire (or read) the program via a network.

[0098] Although some embodiments of the present invention have been illustrated above, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, modifications, etc. can be made without departing from the gist of the invention. These embodiments and their modifications are included in the scope and gist of the invention, and are included in the scope of the invention and its equivalents described in the claims. In addition, the above-mentioned embodiments can be implemented in combination with each other. [Explanation of symbols]

[0099] 1,1a: welding system, 10: processing device, 20: welding device, 21: torch, 21a: electrode, 22: arm, 23: power supply unit, 24: gas supply unit, 25: wire, 26: imaging unit, 27: lighting unit, 28: control unit, 30: storage device, 90: computer, 91: CPU, 92: ROM, 93: RAM, 94: storage device, 95: input interface, 95a: input device, 96: output interface, 96a: output device, 97: communication interface, 97a: server, 98: system bus, 99: camera, 100,100a: image, 101: first member, 102: second member, 111: molten pool, 112: defect, 113: bead, 200, 200a to 200e: output result, 211, 211a to 211e: first feature, 212, 212a, 212e: second feature

Claims

1. A plurality of first images captured during welding are sequentially input to a first model that detects welding elements and defects in response to the input of the welding images, and a plurality of first detection results related to the welding elements and a plurality of second detection results related to the defects are obtained; Using the plurality of first detection results, the propriety of each of the plurality of second detection results is determined; determining whether or not the defect exists in each of the first images based on the second detection results that are determined to be appropriate; The processing device determines the presence of the defect if the number of consecutive times that the defect is determined to exist is equal to or greater than a third threshold.

2. determining a quality of the imaging position of the first image at which it is determined that the defect does not exist as a first quality; The processing device according to claim 1 , further comprising: determining, as a second quality, a quality of the imaging position of the first image on which the second detection result determined to be inappropriate is based.

3. determining a quality of the position of the first image where it is determined that the defect does not exist as a first quality; determining a quality of the position of the first image on which the second detection result determined to be inappropriate is based as a second quality; The processing apparatus of claim 1 , further comprising: determining a quality of a position of the first image where the presence of the defect is determined as a third quality.

4. The processing device according to any one of claims 1 to 3, further comprising a processor for calculating positions of the identified defects.

5. 5. The processing apparatus according to claim 1, further comprising: a processing device for changing welding conditions based on the result of the defect determination.

6. The processing apparatus according to claim 5 , further comprising: determining whether the identified defect has been repaired by welding based on the changed welding conditions.

7. The welding is performed by moving a heat source along a first direction; 7. The processing apparatus according to claim 5, wherein the welding condition that is changed is at least one selected from the group consisting of a speed of the heat source in the first direction, a position of the heat source in a second direction perpendicular to the first direction, and an output of the heat source.

8. The processing apparatus according to any one of claims 1 to 7, wherein the welding element is a molten pool.

9. A first image captured during welding is input to a first model that detects welding elements and defects in response to an input of a welding image, and a first detection result regarding the welding elements and a second detection result regarding the defects are obtained; Using the first detection result, determine whether the second detection result is appropriate; A processing device that generates quality data including a plurality of positions on the welding object and a quality at each of the plurality of positions using a result of determining whether the second detection result is appropriate.

10. Sequentially inputting a plurality of first images obtained by capturing images of welding in which a heat source is moved along a first direction into a first model that detects welding elements and defects in response to the input of the welding images; obtaining a plurality of first detection results related to the weld element and a plurality of second detection results related to the defect from the first model; Using the plurality of first detection results, the propriety of each of the plurality of second detection results is determined; determining whether or not the defect exists in each of the first images based on the second detection results that are determined to be appropriate; determining that the defect exists if the number of consecutive times that the defect exists is equal to or greater than a third threshold; a processing device that calculates a position of the defect if the presence of the defect is determined, and modifies welding conditions according to the position of the defect.

11. The processing apparatus of claim 10 , wherein the welding conditions that are changed include at least one selected from the group consisting of a speed of the heat source in the first direction, a position of the heat source in a second direction perpendicular to the first direction, and a power of the heat source.

12. A processing device according to any one of claims 1 to 11, A welding device for performing the welding; A welding system comprising:

13. A plurality of first images captured during welding are sequentially input to a first model that detects welding elements and defects in response to the input of the welding images, and a plurality of first detection results related to the welding elements and a plurality of second detection results related to the defects are obtained; Using the plurality of first detection results, the propriety of each of the plurality of second detection results is determined; determining whether or not the defect exists in each of the first images based on the second detection results that are determined to be appropriate; determining that the defect exists if the number of consecutive times that the defect exists is equal to or exceeds a third threshold.

14. On the computer, A first model detects welding elements and defects in response to input of welding images, and sequentially inputs a plurality of first images captured during welding to obtain a plurality of first detection results related to the welding elements and a plurality of second detection results related to the defects; determining whether the second detection results are appropriate using the first detection results; determining the presence or absence of the defect in each of the plurality of first images based on the second detection results determined to be appropriate; If the number of consecutive times that it is determined that the defect exists is equal to or greater than a third threshold value, the presence of the defect is acknowledged. program.

15. A storage medium storing the program according to claim 14.

Citation Information

Patent Citations

  • Apparatus and method for analyzing welding condition using weld zone visualizing apparatus

    JP2007330987A

  • Welding control system

    JP2011005550A

  • Welding processing system and welding failure detection method

    JP2017148841A

  • Weld monitoring device, weld monitoring method, and program

    JP2019195811A

  • Weld control device, display controller, welding system, weld control method and program

    JP2020028889A