Weld line detection method and automatic welding method using the same

The weld line detection method improves accuracy by differentiating brightness and adjusting detection ranges, allowing precise automatic welding in materials with multiple weld beads, enhancing the precision of the welding process.

JP7564790B2Active Publication Date: 2024-10-09HITACHI ZOSEN CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021145074
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-09-07
Publication Date
2024-10-09
Estimated Expiration
2041-09-07

AI Technical Summary

Technical Problem

Existing weld line detection devices fail to accurately detect the position of weld beads in materials where multiple weld beads are already formed, due to interference from existing beads, leading to low accuracy.

Method used

A weld line detection method that includes temporary and main detection steps using brightness differentiation to accurately identify weld lines, adjusting detection ranges based on the position of weld beads, and an automatic welding method that calculates and moves the welding device to the detected weld line.

Benefits of technology

Enables high-accuracy detection and precise automatic welding even in fillet welding with multiple weld beads, without the need for additional sensors like lighting or distance sensors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007564790000001
    Figure 0007564790000001
  • Figure 0007564790000002
    Figure 0007564790000002
  • Figure 0007564790000003
    Figure 0007564790000003
Patent Text Reader

Abstract

To provide a weld line detecting method that can detect a weld line with high accuracy, in fillet welding for forming a plurality of weld beads.SOLUTION: A weld line detecting method, which detects a weld line in executing welding of fillets with one layer or multi layers formed therein having a plurality of weld beads on a corner part, comprises a photographing step, a temporarily detecting step, a primarily detecting-range setting step and a primarily detecting step. In the photographing step, the corner part is photographed, and in the temporarily detecting step, a weld line is temporarily detected based on brightness of an image. In the primarily detecting- range setting step, primarily detecting ranges 6 and 7 are set in the range 6 in a Y-axis direction and the range 7 in the opposite direction thereof, from the temporarily detected weld line. In the primarily detecting step, the weld line is primarily detected. When the weld bead is an initial bead of each layer, the range 6 is longer than the range 7 and portions at which primary differentials of brightness are maximum values in the primarily detecting ranges 6 and 7 are primarily detected as the weld lines. When the weld bead is other than the initial bead of each layer, the range 6 is shorter than the range 7, and portions at which primary differentials of brightness are minimum values in the primarily detecting ranges 6 and 7 are primarily detected as the weld lines.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a method for detecting a weld line when performing fillet welding in which a plurality of weld beads are overlapped, and an automatic welding method using the same. [Background technology]

[0002] In an automatic welding method, it is necessary to detect the position where a weld bead is to be formed, that is, the weld line. As a device for detecting a weld line, a weld line detection device that photographs a base material and detects a weld line from the brightness of the image of the photographed base material has been disclosed (see, for example, Patent Document 1). In the weld line detection device described in Patent Document 1, the detected weld line is appropriately corrected to improve accuracy. [Prior art documents] [Patent documents]

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

[0004] However, the weld line detection device described in Patent Document 1 is premised on a base material on which no weld bead has been formed, that is, is not premised on a base material on which a weld bead has already been formed, as is clear from Figures 1 and 2 of Patent Document 1. For this reason, if the weld line detection device described in Patent Document 1 is used on a base material on which a weld bead has already been formed, there is a risk that the weld line detection device will detect a weld line with low accuracy due to the influence of the weld bead that has already been formed.

[0005] Therefore, an object of the present invention is to provide a weld line detection method capable of detecting a weld line with high accuracy even in fillet welding that forms a plurality of weld beads, and an automatic welding method using the same. [Means for solving the problem]

[0006] In order to solve the above problems, a weld line detection method according to a first aspect of the present invention is a weld line detection method for detecting a weld line when performing a single-layer or multi-layer fillet weld having at least a first weld bead and a next weld bead at a corner formed by a surface of a first base metal and a surface of a second base metal, the method comprising: an imaging step of imaging the corner portion; a tentative detection step of tentatively detecting the weld line based on the brightness of the image obtained by the photographing; a main detection range setting process for setting a main detection range by a range set in a Y-axis direction, which is a direction from the provisionally detected weld line that is shifted from the first weld bead to the next weld bead, and a range set in an opposite direction to the Y-axis direction; a main detection step of main detecting the weld line in the main detection range, The detection range setting step includes: [1] When the weld bead formed along the weld line is the first bead of each layer in a fillet weld, a range from the provisionally detected weld line that is shorter in the opposite direction to the Y-axis direction than the Y-axis direction is set as an actual detection range; [2] When the weld bead formed along the weld line is other than the first bead of each layer in a fillet weld, a range from the provisionally detected weld line that is longer in the opposite direction to the Y-axis direction than the Y-axis direction is set as an actual detection range; The detection step comprises: [1] When a weld bead formed along the weld line is a first bead of each layer, a location in the detection range where the brightness has a maximum value obtained by first differentiating the brightness in a Y-axis direction is detected as the weld line; [2] When the weld bead formed along the weld line is other than the first bead of each layer, a location within the detection range where the brightness is first differentiated in the Y-axis direction to a minimum value is detected as the weld line.

[0007] In addition, a weld line detection method according to a second aspect of the present invention is a weld line detection method according to the first aspect of the present invention, wherein the tentative detection step comprises: A tentative detection range is set to a range set in the Y-axis direction from the expected weld line and a range set in the opposite direction to the Y-axis direction, This is a step of provisionally detecting, as a weld line, a location where the luminance becomes a minimum value within the provisional detection range.

[0008] Further, an automatic welding method according to a third aspect of the present invention includes the weld line detection method according to the first or second aspect of the present invention, a moving distance calculation step of calculating a distance from a device for forming a weld bead to a weld line detected by a weld line detection method; a moving step of moving the device for forming the weld bead to a weld line based on the distance calculated in the moving distance calculation step; and an automatic welding step of automatically forming a weld bead by a device for forming a weld bead that has been moved to the weld line in the moving step. Effect of the Invention

[0009] According to the above-described weld line detection method, a weld line can be detected with high accuracy even in fillet welding that forms a plurality of weld beads. [Brief description of the drawings]

[0010] [Figure 1] 1 is a schematic perspective view of a welding robot used in a weld line detection method according to an embodiment of the present invention and a corner where a fillet weld is performed by the welding robot; [Diagram 2] FIG. 2 is a side view of a welding robot and a corner, with a weld bead formed on the corner shown in dashed lines. [Diagram 3] 1 is a photograph showing an image of a corner taken with a digital camera of a welding robot before a first weld bead is formed. [Figure 4] 1 is a photograph showing an image of a corner where an initial weld bead has been formed, taken with a digital camera of a welding robot. [Diagram 5] The top row is a region cut out from the image of FIG. 3, the middle row is a graph showing the luminance of that region, and the bottom row is a graph showing the first derivative of the luminance. [Figure 6]The top row is a region cut out from the image in FIG. 4, the middle row is a graph showing the luminance of that region, and the bottom row is a graph showing the first derivative of the luminance. [Figure 7] 11 is a graph for explaining the first derivative of the luminance for the first bead and the fifth bead. [Figure 8] 13 is a graph for explaining the first derivative of the luminance for the second bead and the sixth bead. [Figure 9] FIG. 1 is a block diagram of an automatic welding method. [Figure 10] FIG. 4 is a side view showing the positional relationship between a welding robot and a corner portion. [Figure 11] FIG. 2 is a configuration diagram of an automatic welding system used in the automatic welding method. [Figure 12] 1 is a flow chart of an automatic welding method. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, a weld line detection method according to an embodiment of the present invention will be described, and then an automatic welding method using the weld line detection method will be described with reference to the drawings.

[0012] First, the premise for using the above-described weld seam detection method will be described.

[0013] As shown in Fig. 1, the weld line detection method is used, for example, when performing fillet welding on a tube body 1 (an example of a first base metal) and a backing plate 2 (an example of a second base metal) that are arranged one on top of the other. For performing the fillet welding, for example, a welding robot 40 is used that forms a weld bead according to inputted instructions. In the following description, the plate thickness direction from the tube body 1 to the backing plate 2 is defined as the Y-axis direction. This Y-axis direction is the direction of deviation from the first weld bead to the next weld bead.

[0014] The welding robot 40 has a welding torch 41 and a digital camera 43 attached to the welding torch 41. The welding torch 41 forms a weld bead by melting a welding wire 42 while feeding it out. The digital camera 43 has a lens 44. The digital camera 43 is not particularly limited as long as it is a camera that electronically obtains an image by photographing, but may be a CMOS camera or a CCD camera, and a CMOS camera is preferable from the viewpoint of cost.

[0015] As shown in FIG. 2, the place where the fillet welding is performed is specifically a corner 10, 20 formed by the outer surface 10 of the tube body 1 and the end surface 20 of the backing plate 2 overlapped on the outer surface 10 of the tube body 1. Hereinafter, in the end surface 20 of the backing plate 2, the edge on the tube body 1 side is referred to as an inner edge 21, and the edge on the opposite side to the tube body 1 is referred to as an outer edge 22. In the execution of the fillet welding, a plurality of weld beads are formed by the welding torch 41. In the example shown in FIG. 2, 13 weld beads are formed in the order of the numbers attached in FIG. 2 as the execution of the fillet welding. Hereinafter, the weld bead formed Nth is referred to as the Nth bead. The direction from the first bead (first weld bead) to the second bead (next weld bead) is the Y-axis direction. The fillet welding may be a single layer or a multi-layer weld, and in the example shown in FIG. 2, it is six layers L1 to L6. In the example shown in Fig. 2, the first to fourth beads constitute the first layer L1, the fifth to seventh beads constitute the second layer L2, the eighth and ninth beads constitute the third layer L3, the tenth and eleventh beads constitute the fourth layer L4, the twelfth bead constitutes the fifth layer L5, and the thirteenth bead constitutes the sixth layer L6. Hereinafter, the first weld bead of each layer will be referred to as the first bead of each layer. In the example shown in Fig. 2, the first bead of each layer is the first bead which is the first weld bead of the first layer L1, the fifth bead which is the first weld bead of the second layer L2, the eighth bead which is the first weld bead of the third layer L3, the tenth bead which is the first weld bead of the fourth layer L4, the twelfth bead which is the first weld bead of the fifth layer L5, and the thirteenth bead which is the first weld bead of the sixth layer L6.

[0016] As shown in Fig. 2, the weld lines for forming the first bead of each layer (first bead) in the first layer L1 are the inner edges 21, W1 between the tube body 1 and the back plate 2. The weld lines for forming the weld beads (second to fourth beads) other than the first bead of each layer in the first layer L1 are the boundaries W2 to W4 between the immediately preceding weld beads (first to third beads) and the back plate 2. The weld lines for forming the first beads of each layer (fifth bead, eighth bead, tenth bead, twelfth bead, and thirteenth bead) other than the first layer L1 are the boundaries W5, W8, W10, W12, and W13 between the tube body 1 and the non-immediately preceding weld beads (first bead, fifth bead, eighth bead, tenth bead, and twelfth bead). The weld lines for forming the weld beads (sixth, seventh, ninth and eleventh beads) other than the initial beads of each layer other than the first layer L1 are the boundaries W6, W7, W9 and W11 between the immediately preceding weld beads (fifth, sixth, eighth and tenth beads) and the non-immediately preceding weld beads (second, third, sixth and ninth beads). [Weld line detection method]

[0017] The weld line detection method will now be described in detail.

[0018] The weld line detection method includes a photographing step of photographing the corners 10, 20 (the outer surface 10 of the tube body 1 and the end surface 20 of the contact plate 2). The photographing step is performed, for example, by the digital camera 43. Here, FIG. 3 is an image obtained by photographing to detect the weld line of the first bead. As is clear from the image shown in FIG. 3, no weld bead is formed on the end surface 20 of the contact plate 2. On the other hand, FIG. 4 is an image obtained by photographing to detect the weld line of the second bead. As is clear from the image shown in FIG. 4, the first bead 11 has already been formed on the end surface 20 of the contact plate 2. As shown in FIG. 3 and FIG. 4, the image obtained by the photographing is cut out at a region 30 including the inner edge 21 and the outer edge 22 on the end surface 20 of the contact plate 2. Note that the Y axis shown in FIG. 3 and FIG. 4 is the Y axis shown in FIG. 1 and FIG. 2 photographed by the digital camera 43, and therefore the Y axis shown in FIG. 1 and FIG. 2 is viewed diagonally from above.

[0019] The weld line detection method further includes a tentative detection step of tentatively detecting the weld line based on the brightness of the image obtained by the photographing. Specifically, the image of the region 30 cut out in Fig. 3 and Fig. 4 is rotated 90° counterclockwise around an axis perpendicular to the paper surface (see the images shown in the upper parts of Fig. 5 and Fig. 6). Therefore, in Fig. 3 and Fig. 4, the inner edge 21 is on the upper side of the paper surface and the outer edge 22 is on the lower side of the paper surface, whereas in Fig. 5 and Fig. 6, the inner edge 21 is on the left side of the paper surface and the outer edge 22 is on the right side of the paper surface. The brightness at each white arrow (parallel to the Y-axis) of the images shown in the upper parts of Fig. 5 and Fig. 6 is shown in the graphs in the middle parts of Fig. 5 and Fig. 6.

[0020] For the graphs shown in the middle of each of Figures 5 and 6, raw data of brightness at each white arrow in the images shown in the upper parts of each of Figures 5 and 6 may be used as is, or the raw data may be used after noise processing. An example of the noise processing is a moving average of multiple points (e.g., three points) in the Y-axis direction. To provisionally detect a weld line from the graphs shown in the middle of each of Figures 5 and 6, provisional detection ranges 4 and 5 are set in the Y-axis direction. The provisional detection ranges 4 and 5 are composed of a plus-side provisional detection range 4 in the direction in which Y increases from the assumed weld line 31, and a minus-side provisional detection range 5 in the direction in which Y decreases from the assumed weld line 31. The assumed weld line 31 is the inner edge 21 at the end surface 20 of the contact plate 2 as shown in FIG. 5 when the first bead of each layer (for example, the first bead) is the target, and is the position obtained by adding the leg length 33 of the target weld bead (for example, the second bead) in the Y-axis direction to the weld line 32 of the immediately preceding weld bead (for example, the first bead) as shown in FIG. 6 when the first bead of each layer (for example, the first bead) is the target. Regarding the provisional detection ranges 4, 5, when the first bead of each layer (for example, the first bead) is the target, it is preferable to set the positive side provisional detection range 4 to be equal to or smaller than the negative side provisional detection range 5 as shown in FIG. 5. Moreover, regarding the provisional detection ranges 4, 5, when the other than the first bead of each layer (for example, the second bead) is the target, it is preferable to set the positive side provisional detection range 4 to be equal to or larger than the negative side provisional detection range 5 as shown in FIG. 6. In the provisional detection step, as shown in the middle of each of FIG. 5 and FIG. 6, the location where the brightness is the smallest in the set provisional detection ranges 4, 5 is provisionally detected as the weld line. It is preferable that the temporary detection ranges 4, 5 are proportional to the width of the target weld bead. As an example, of the temporary positive detection range 4 and the temporary negative detection range 5 shown in Fig. 5 and Fig. 6, the specific range of the longer one (the temporary negative detection range 5 in Fig. 5 and the temporary positive detection range 4 in Fig. 6) is 30% to 70% (more preferably, 40% to 60%) of the width of the target weld bead, and the specific range of the shorter one (the temporary positive detection range 4 in Fig. 5 and the temporary negative detection range 5 in Fig. 6) is 10% to the longer range (more preferably, 20% to the longer range) of the width of the target weld bead.As another example, if the width of the target weld bead is 80 pixels, a specific example of the longer range is 30 pixels or more and 50 pixels or less, and a specific example of the shorter range is 15 pixels or more and 40 pixels or less.

[0021] The weld line detection method further includes a final detection range 6,7 setting step of setting a range for the final detection of the weld line, that is, a final detection range 6,7. The final detection range 6,7 is composed of a plus-side final detection range 6 in a direction in which Y increases from the provisionally detected weld line, and a minus-side final detection range 7 in a direction in which Y decreases from the provisionally detected weld line. When the first bead of each layer (e.g., the first bead) is the target, the plus-side final detection range 6 is set to be greater than the minus-side final detection range 7 as shown in FIG. 5, and when the bead other than the first bead of each layer (e.g., the second bead) is the target, the plus-side final detection range 6 is set to be less than the minus-side final detection range 7 as shown in FIG. 6. As shown in FIG. 5 and FIG. 6, the final detection range 6,7 is set to be narrower than the provisional detection range 4,5. It is preferable that the final detection range 6,7 is proportional to the width of the target weld bead. As an example, of the positive side provisional detection range 6 and the negative side provisional detection range 7 shown in Figures 5 and 6, the specific range of the longer one (negative side provisional detection range 6 in Figure 5, and positive side provisional detection range 7 in Figure 6) is 15% to 50% (more preferably, 20% to 40%) of the width of the target weld bead, and the specific range of the shorter one (positive side provisional detection range 7 in Figure 5, and negative side provisional detection range 6 in Figure 6) is 5% to the longer range (more preferably, 5% to 20%) of the width of the target weld bead. As another example, if the width of the target weld bead is 80 pixels, for example, the specific example of the longer one of the positive side main detection range 6 and the negative side main detection range 7 shown in Figures 5 and 6 is 15 pixels to 30 pixels, and the specific example of the shorter one of the positive side main detection range 6 and the negative side main detection range 7 shown in Figures 5 and 6 is 5 pixels to 15 pixels.

[0022] The first derivative of the luminance of the graphs shown in the middle of Fig. 5 and Fig. 6 with respect to Y (hereinafter referred to as the first derivative of luminance) is shown in the graphs in the bottom of Fig. 5 and Fig. 6. In the weld line detection method, if the first bead of each layer (e.g., the first bead) is the target in the set main detection ranges 6 and 7, the location where the first derivative of luminance is largest is detected as the weld line, as shown in the bottom of Fig. 5. On the other hand, in the weld line detection method, if the target is something other than the first bead of each layer (e.g., the second bead) in the set main detection ranges 6 and 7, the location where the first derivative of luminance is smallest is detected as the weld line, as shown in the bottom of Fig. 6.

[0023] Meanwhile, as shown in FIG. 5, when the first bead is the target, a provisional edge detection range 8 is set for provisionally detecting the outer edge 22 on the end face 20 of the contact plate 2. As shown in the middle part of FIG. 5, in the set provisional edge detection range 8, a point where the brightness is greatest is provisionally detected as the outer edge 22. A provisional edge detection range 9 is set in the direction where Y increases and decreases from the provisionally detected outer edge 22. The provisional edge detection range 9 is set narrower than the provisional edge detection range 8. In the set provisional edge detection range 9, a point where the first derivative of brightness is smallest is finally detected as the outer edge 22. Since the position of the outer edge 22 is invariant, when the second bead and onwards are the target, the outer edge 22 that has already been finally detected when the first bead is the target is used, without provisionally detecting the outer edge 22 again and then finally detecting it.

[0024] Here, it has been explained that the location at which the weld line is actually detected from the first differential of the brightness differs depending on whether the target is the first bead of each layer or something other than the first bead of each layer. The reason for this will be explained below.

[0025] As shown in Figures 7 and 8, the brightness, from smallest to largest, is the gap (the gap between the barrel 1 and the contact plate 2), the base material (the barrel 1 or the contact plate 2), the non-previous bead (the weld bead immediately before the target weld bead), and the previous bead (the weld bead immediately before the target weld bead).

[0026] First, as shown in FIG. 2 and FIG. 7, when the first bead of each layer is the target, crossing the weld line W1 in the Y-axis direction leads from the gap to the base material (more precisely, the end surface 20 of the contact plate 2) which has a higher brightness. Therefore, when the first bead of each layer is the target, the change in brightness in the Y-axis direction at the weld line W1 is an increase (i.e., a positive slope), so the first derivative of the brightness is also positive. Also, when a bead other than the first bead of each layer (e.g., the fifth bead) is the target, crossing the weld line W5 in the Y-axis direction leads from the base material (more precisely, the outer surface 10 of the tube body 1) to the non-previous bead (e.g., the first bead) which has a higher brightness. Therefore, when a bead other than the first bead of each layer (e.g., the fifth bead) is the target, the change in brightness in the Y-axis direction at the weld line W5 is an increase (i.e., a positive slope), so the first derivative of the brightness is also positive. Therefore, when the first bead of each layer is the target, the location where the first derivative of the luminance is the largest within the set main detection ranges 6, 7 is finally detected as the weld line.

[0027] Next, as shown in Fig. 2 and Fig. 8, when a weld bead (e.g., the second bead) of the first layer L1 other than the first bead of each layer is the target, crossing the weld line W2 in the Y-axis direction leads from the immediately preceding bead (e.g., the first bead) to the base material (more precisely, the end surface 20 of the contact plate 2) which has a lower brightness. Therefore, when a weld bead (e.g., the second bead) of the first layer L1 other than the first bead of each layer is the target, the change in brightness in the Y-axis direction at the weld line W2 is downward (i.e., negative slope), so the first derivative of the brightness is also negative. Also, when a weld bead (e.g., the sixth bead) other than the first bead of each layer other than the first bead of each layer is the target, crossing the weld line W6 in the Y-axis direction leads from the immediately preceding bead (e.g., the fifth bead) to the non-immediately preceding bead (e.g., the second bead) which has a lower brightness. For this reason, when a weld bead other than the first bead of each layer and other than the first layer L1 (for example the sixth bead) is the target, the change in brightness in the Y-axis direction at the weld line W6 is downward (i.e., negative slope), so the first derivative of the brightness is also negative. Therefore, when a bead other than the first bead of each layer is the target, the point where the first derivative of the brightness is smallest within the set main detection ranges 6, 7 is detected as the weld line.

[0028] In this way, according to the weld line detection method, after the weld line is provisionally detected, the target weld beads are classified into the first bead of each layer and other than the first bead of each layer, and the actual detection ranges 6, 7 are set and the weld line is actually detected. Therefore, even in fillet welding that forms multiple weld beads, the weld line can be detected with high accuracy. [Automatic welding method]

[0029] An automatic welding method using the above-mentioned weld seam detection method will now be described in detail.

[0030] As shown in FIG. 9, the automatic welding method 101 includes the weld line detection method 51, a movement distance calculation step 61, a movement step 71, and an automatic welding step 72.

[0031] The travel distance calculation step 61 is a step of calculating a necessary travel distance (hereinafter, referred to as a necessary travel distance) from the welding torch 41 (a device for forming a weld line) to the weld line. The travel step 71 is a step of moving the welding torch 41 to the weld line based on the calculated necessary travel distance. The automatic welding step 72 is a step of automatically forming a weld bead by the welding torch 41 that has been moved to the weld line.

[0032] 10, the necessary travel distance calculated in the travel distance calculation step 61 is composed of a distance D1+D2 (hereinafter, first distance D1+D2) from the digital camera 43 to the weld line W1 and a distance d1+d2 (hereinafter, second distance d1+d2) from the welding torch 41 to the digital camera 43. Therefore, in the travel distance calculation step 61, the first distance D1+D2 is calculated and then added to the known second distance d1+d2.

[0033] The first distance D1+D2 is composed of a depth distance D1, which is the distance in the direction of the imaging axis A of the digital camera 43, and a planar distance D2, which is the distance perpendicular to the direction of the imaging axis A. The depth distance D1 and the planar distance D2 are calculated from the following formulas (1) and (2), respectively. D1=(F·T1·P) / (S·Pt)····(1) D2=(D1 S Pd2) / (F P) (2)

[0034] Here, F, T1, P, S, Pt and Pd2 in the formulas (1) and (2) are as follows. F: focal length of lens 44 of digital camera 43 T1: Actual size of the plate thickness T of the contact plate 2 as seen by the digital camera 43 P: The number of pixels of the digital camera 43 in a direction parallel to the plane distance D2 S: The sensor size of the digital camera 43 in a direction parallel to the plane distance D2 Pt: Number of pixels at thickness T of the contact plate 2 as seen by the digital camera 43 Pd2: Number of pixels at a plane distance D2 as seen from the digital camera 43

[0035] In addition, F (focal length of lens 44 of digital camera 43), P (number of pixels of digital camera 43 in a direction parallel to planar distance D2), and S (sensor size of digital camera 43 in a direction parallel to planar distance D2) are obtained from the specifications of digital camera 43 and lens 44. T1 (actual size of contact plate 2 at thickness T as seen from digital camera 43) is calculated by trigonometric functions from thickness T of contact plate 2 and angle θ between end face 20 of contact plate 2 and imaging axis A of digital camera 43. Pt (number of pixels at thickness T of contact plate 2 as seen from digital camera 43) is obtained from the number of pixels between detected weld line W1 (first bead is the target) and outer edge 22. Pd2 (number of pixels at planar distance D2 as seen from digital camera 43) is obtained from the number of pixels between the center of the image obtained by shooting (imaging axis A) and detected weld line. In the above formulas (1) and (2), F, T1, S, D1 and D2 have the same unit (for example, [mm]).

[0036] Next, an automatic welding system that uses the automatic welding method 101 will be described.

[0037] 11, the automatic welding system 100 includes, as devices using the weld line detection method 51, a welding robot 40 having the digital camera 43 and welding torch 41, and a personal computer 50 that detects a weld line from an image obtained by the photographing. The automatic welding system 100 also includes a PLC 60 (programmable logic controller) that calculates the required travel distance, and a robot control panel 70 that causes the welding robot 40 to move the welding torch 41 to the weld line based on the required travel distance.

[0038] The operation of the automatic welding system 100 will now be described.

[0039] 11, a digital camera 43 of the welding robot 40 photographs the outer surface 10 of the tube body 1 and the end surface 20 of the backing plate 2. The images obtained by photographing are transmitted to a personal computer 50 as data.

[0040] In the personal computer 50, the weld line is provisionally detected from the image and then finally detected. In addition, in the personal computer 50, when the first bead is the target, the outer edge 22 is also provisionally detected and then finally detected.

[0041] The PLC 60 receives information required for the formulas (1) and (2) from the personal computer 50. The required information, i.e., the information input from the personal computer 50 to the PLC 60, specifically includes the specifications of the digital camera 43 and the lens 44, the thickness T of the contact plate 2, the angle θ between the end face 20 of the contact plate 2 and the imaging axis A of the digital camera 43, the number of pixels between the actually detected weld line W1 (targeting the first bead) and the outer edge 22, the number of pixels between the center of the image (imaging axis A) and the actually detected weld line W1 (targeting the first bead), and the second distance d1+d2. The PLC 60 then calculates the first distance D1+D2 using the formulas (1) and (2), and adds the first distance D1+D2 to the second distance d1+d2 to calculate the required movement distance.

[0042] The robot control panel 70 causes the welding robot 40 to move the welding torch 41 to the weld line based on the required movement distance, and then causes the welding robot 40 to form a weld bead.

[0043] The automatic welding method 101 will now be described in detail with reference to the flow chart shown in FIG.

[0044] 12, digital camera 43 and welding torch 41 of welding robot 40 are moved to a position suitable for taking an image by digital camera 43 (hereinafter, shooting position) (S1). The shooting position is determined based on 3D-CAD data of barrel 1 and backing plate 2 inputted in advance to robot control panel 70.

[0045] Next, the outer surface 10 of the tube body 1 and the end surface 20 of the contact plate 2 are photographed by the digital camera 43. The images obtained by the photographing are transmitted as data to a personal computer 50 (PC) (S2).

[0046] The planned number of images to be taken is determined in advance, and it is determined whether the planned number has been reached in the current image taking (S3). If the planned number has not been reached in the current image taking, digital camera 43 and welding torch 41 of welding robot 40 are moved again to an image taking position adjacent to the current image taking position (S1). On the other hand, if the planned number has been reached in the current image taking, personal computer 50 (PC) provisionally detects the weld seam from the images obtained in the image taking and then actually detects it (S4).

[0047] When the weld line is finally detected by the personal computer 50, information required for the above formulas (1) and (2), including the weld line, is input from the personal computer 50 to the PLC 60 (S5). The PLC 60 calculates the first distance D1+D2 from the above formulas (1) and (2), and adds the first distance D1+D2 to the second distance d1+d2 to calculate the required movement distance (S6).

[0048] The robot control panel 70 causes the welding robot 40 to move the welding torch 41 to the weld line based on the required movement distance (S7). After the welding torch 41 has moved to the weld line, the robot control panel 70 causes the welding robot 40 to form a weld bead along the weld line (S8).

[0049] The number of weld beads for fillet welding is predetermined, and it is determined whether the number of weld beads for the current weld has reached the predetermined number (S9). If the number of weld beads for the current weld has not reached the predetermined number, it is necessary to detect the weld line for the next weld bead. Therefore, in order to detect the weld line, digital camera 43 and welding torch 41 of welding robot 40 are again moved to a position suitable for photographing (S1). On the other hand, if the number of weld beads for the current weld has reached the predetermined number, the process ends.

[0050] In this manner, according to the automatic welding method 101, the welding torch 41 is moved to the weld line detected with high accuracy, so that even fillet welding that forms a plurality of weld beads can be performed with high accuracy.

[0051] Furthermore, by using the configuration of the automatic welding system 100, automatic welding can be performed with high precision using a welding robot 40 having the digital camera 43 and welding torch 41, without using lighting, laser light, distance sensors, etc.

[0052] Incidentally, in the above embodiment, the erroneous detection of the weld line (or the outer edge 22) has not been described. Preferably, the personal computer 50 judges whether the weld line (or the outer edge 22) is an outlier (erroneous detection), and if it is judged to be an outlier, the outlier is corrected. As the correction, there is a method of using the average value of the weld line (or the outer edge 22) at a plurality of adjacent photographing positions when the end face 20 of the contact plate 2 is in a flat position. The interval between adjacent photographing positions is, for example, 2 to 8 mm, and preferably 5 mm. The number of photographing positions for using the average value may be more than one, and is, for example, 4 to 8, and preferably 6. If the weld line at the photographing position to be judged deviates significantly (for example, by 28 pixels or more or 2 mm or more) from the average value of the weld line at the adjacent photographing positions, it is judged to be an outlier (erroneous detection). In this case, the weld line at the photographing position to be judged is corrected so that it matches the average value of the weld line at the adjacent photographing positions. Another correction process is a method that uses the distance between the weld lines of the previous weld bead and the target weld bead in the same layer (hereinafter, the weld line distance). If the weld line distance at the photographing position that is the subject of judgment deviates significantly (for example, by 28 pixels or more or 2 mm or more) from the median value of the weld line distances at the adjacent photographing positions, it is determined to be an outlier (false detection). In this case, the weld line at the photographing position that is the subject of judgment is corrected so that the weld line distance at the photographing position that is the subject of judgment matches the median value of the weld line distances at the adjacent photographing positions. Note that the method that uses the weld line distance can be used not only when the end face 20 of the contact plate 2 is in a flat position, but also when the end face 20 of the contact plate 2 is in a curved position.

[0053] In addition, in the above embodiment, the location where the fillet weld is performed is described as the corners 10, 20 formed by the outer surface 10 of the tube body 1 and the end surface 20 of the support plate 2, but it is sufficient that the location be a corner formed by two base materials.

[0054] Furthermore, in the above embodiment, the outer edge 22 is finally detected by the weld line detection method 51. However, the outer edge 22 may be finally detected by a method independent of the weld line detection method 51.

[0055] In addition, the above embodiment is illustrative in all respects and is not restrictive. The scope of the present invention is indicated by the claims, not by the above description, and is intended to include all modifications within the meaning and scope of the claims. Among the configurations described in the above embodiment of the invention, those other than the configuration described as the first invention in "Means for solving the problem" are optional configurations and can be deleted and modified as appropriate. [Explanation of symbols]

[0056] A Shooting axis 1 barrel 2 Toban 4,5 Provisional detection range 6,7 Detection range 10 Exterior 20 End face 40 Welding Robot 41 Welding Torch 42 Welding Wire 43 Digital Camera 44 Lens 50 Personal Computers 60 PLC 70 Robot control panel

Claims

1. A weld line detection method for detecting a weld line when performing a single-layer or multi-layer fillet weld having at least a first weld bead and a next weld bead at a corner formed by a surface of a first base material and a surface of a second base material, the method comprising the steps of: an imaging step of imaging the corner portion; a tentative detection step of tentatively detecting the weld line based on the brightness of the image obtained by the photographing; a main detection range setting process for setting a main detection range with a range set in a Y-axis direction, which is a direction from the provisionally detected weld line that is shifted from the first weld bead to the next weld bead, and a range set in an opposite direction to the Y-axis direction; a main detection step of main detecting the weld line in the main detection range, The detection range setting step includes: [1] In the case where the weld bead formed along the weld line is the first bead of each layer in a fillet weld, a range from the provisionally detected weld line that is shorter in the opposite direction to the Y-axis direction than the Y-axis direction is set as an actual detection range; [2] When a weld bead formed along the weld line is other than a first bead of each layer in a fillet weld, a range from the provisionally detected weld line that is longer in the opposite direction to the Y-axis direction than the Y-axis direction is set as an actual detection range; The detection step comprises: [1] When a weld bead formed along the weld line is a first bead of each layer, a location in the main detection range where the brightness has a maximum value obtained by first differentiating the brightness in a Y-axis direction is detected as the weld line; [2] A weld line detection method, characterized in that, when a weld bead formed along the weld line is other than the first bead of each layer, a location in the detection range where the brightness is a minimum value obtained by first differentiation in the Y-axis direction is detected as the weld line.

2. The tentative detection step includes: A tentative detection range is set to a range set in the Y-axis direction from the assumed weld line and a range set in the opposite direction to the Y-axis direction; 2. The weld line detection method according to claim 1, further comprising the step of provisionally detecting, as the weld line, a location having a minimum brightness value in the provisional detection range.

3. The weld line detection method according to claim 1 or 2, a moving distance calculation step of calculating a distance from a device for forming a weld bead to a weld line detected by a weld line detection method; a moving step of moving the device for forming the weld bead to a weld line based on the distance calculated in the moving distance calculation step; and an automatic welding step of automatically forming a weld bead by a device for forming a weld bead that has been moved to the weld line in the moving step.

Citation Information

Patent Citations

  • Weld line detecting device

    JP1984125272A

  • Detection of groove by image processing

    JP1990021202A

  • Method for multilayer welding of fillet joint

    JP1994277844A

  • Control method for fillet multi-layer welding robot system

    JP1998080768A

  • Groove shape detecting device

    JP2000024777A