Method, device, processor and system for determining weld bead profile

By performing edge detection and area processing on the initial weld bead image, the weld bead contour is accurately extracted, which solves the problem of being unable to extract the contour in the existing technology and improves welding accuracy and efficiency.

CN112837307BActive Publication Date: 2024-09-06BEIJING BO TSING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110206789.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-24
Publication Date
2024-09-06
Estimated Expiration
2041-02-24

AI Technical Summary

Technical Problem

The existing technology cannot accurately extract the weld bead contour, resulting in inaccurate welding gun posture control and affecting welding accuracy.

Method used

By acquiring the initial weld bead image, the first edge detection is performed, false edges are removed, the area of ​​interest is determined, and the second edge detection and area growth algorithm are performed for repair to obtain an accurate weld bead profile.

Benefits of technology

A clear and accurate weld bead profile is obtained in a short time, which alleviates the problem of unclear edges caused by reflection of the base material during the welding process, and ensures the effect and accuracy of automatic welding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112837307B
    Figure CN112837307B
Patent Text Reader

Abstract

The present application provides a method, device, processor and system for determining a weld bead contour, the determination method comprising: obtaining an initial weld bead image; performing a first edge detection on the initial weld bead image to obtain an intermediate weld bead image; determining an area of ​​interest based on the intermediate weld bead image; performing a predetermined process on the area of ​​interest to obtain a weld bead contour, the predetermined process at least comprising a second edge detection. In the determination method, the first edge detection, the area of ​​interest determination and the second edge detection are sequentially performed on the acquired initial weld bead image, so that a relatively accurate weld bead contour can be obtained in a relatively short time, alleviating the problem of unclear and unobvious weld bead edge contour caused by reflection formed by grinding of the parent material during welding in the prior art, ensuring that the weld bead contour can be extracted from the weld bead image relatively quickly and accurately, thereby ensuring that the subsequent automatic welding according to the weld bead contour has a better effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of welds, and in particular, to a method, device, computer-readable storage medium, processor, and system for determining a weld profile. Background Art

[0002] The trackless guided crawling robot can automatically find the weld bead position by relying on external visual sensors, and adjust the position and posture of the robot body and welding gun accordingly. Vision-based weld bead detection is a very important module, which directly affects the accuracy of subsequent welding.

[0003] At present, welding robots based on visual servoing generally determine the center point of the weld by finding the left and right turning points of the weld, and directly adjust the robot body and welding gun according to the center point position. However, in actual application, it is impossible to accurately control the posture of the welding gun based only on the center point position of the weld. Therefore, a method for accurately extracting the weld contour is urgently needed to achieve the purpose of accurately controlling the welding gun.

[0004] The above information disclosed in the background technology section is only used to enhance the understanding of the background technology of the technology described in this article. Therefore, the background technology may contain certain information that does not form the prior art known in this country for those skilled in the art. Summary of the invention

[0005] The main purpose of the present application is to provide a method, device, computer-readable storage medium, processor and system for determining a weld bead profile, so as to solve the problem that the weld bead profile cannot be accurately extracted in the prior art.

[0006] According to one aspect of an embodiment of the present invention, a method for determining a weld bead contour is provided, comprising: acquiring an initial weld bead image; performing a first edge detection on the initial weld bead image to obtain an intermediate weld bead image; determining a region of interest based on the intermediate weld bead image; performing predetermined processing on the region of interest to obtain the weld bead contour, the predetermined processing comprising at least a second edge detection.

[0007] Optionally, performing a first edge detection on the initial weld bead image to obtain an intermediate weld bead image includes: performing the first edge detection on the initial weld bead image to determine a first weld bead image; and removing pseudo edges in the first weld bead image to obtain the intermediate weld bead image.

[0008] Optionally, the first weld bead image includes multiple sub-images, where the multiple sub-images are images of the weld bead acquired at different times, and removing pseudo edges in the first weld bead image to obtain the intermediate weld bead image includes: scaling the multiple sub-images at a predetermined ratio; acquiring grayscale values ​​of the multiple scaled sub-images; and removing the pseudo edges according to the multiple grayscale values ​​to obtain the intermediate weld bead image.

[0009] Optionally, according to the multiple grayscale values, the pseudo edges are removed to obtain the intermediate weld bead image, including: comparing the multiple grayscale values, determining that the sub-image with the smallest grayscale value is the second weld bead image, the second weld bead image including multiple edge lines; determining the pseudo edges in the second weld bead image according to the multiple edge lines; and removing the pseudo edges from the second weld bead image to obtain the intermediate weld bead image.

[0010] Optionally, determining the pseudo edge in the second weld bead image based on the multiple edge lines includes: obtaining the lengths and angles of the multiple edge lines; obtaining a length threshold and an angle threshold; determining whether the multiple edge lines are the pseudo edges based on the multiple lengths, the multiple angles, the length threshold and the angle threshold, and when the length is less than the length threshold or the angle is less than the angle threshold, determining the edge line corresponding to the length or the angle as the pseudo edge.

[0011] Optionally, the intermediate weld bead image includes a first edge line of the weld bead, an initial contour of the weld bead and a second edge line of the weld bead that are connected in sequence. Determining a region of interest based on the intermediate weld bead image includes: determining a first initial inflection point and a second initial inflection point in the intermediate weld bead image based on the first edge line of the weld bead, the initial contour of the weld bead and the second edge line of the weld bead, the first initial inflection point being the intersection of the first edge line of the weld bead and the initial contour of the weld bead, and the second initial inflection point being the intersection of the second edge line of the weld bead and the initial contour of the weld bead; and determining a region between the first initial inflection point and the second initial inflection point as the region of interest.

[0012] Optionally, performing predetermined processing on the region of interest to obtain the weld bead contour includes: performing the second edge detection on the contour of the region of interest to obtain the weld bead contour, wherein the second edge detection is an edge detection algorithm with an adaptive threshold.

[0013] Optionally, the region of interest is subjected to predetermined processing to obtain the weld bead contour, including: performing the second edge detection on the contour of the region of interest to obtain a processed region of interest, wherein the processed region of interest includes an incoherent weld bead contour line, and the second edge detection is an edge detection algorithm with an adaptive threshold; and using a regional growing algorithm to repair the incoherent weld bead contour line to obtain the weld bead contour.

[0014] Optionally, a region growing algorithm is used to repair the incoherent weld bead contour line to obtain the weld bead contour, including: using a region growing algorithm to repair the incoherent weld bead contour line to obtain a third weld bead image; using mathematical morphology to determine a first inflection point and a second inflection point of the third weld bead image; and obtaining a contour line between the first inflection point and the second inflection point, wherein the contour line is the weld bead contour.

[0015] Optionally, before acquiring the initial weld bead image and after performing a first edge detection on the initial weld bead image, the method further comprises: processing the initial weld bead image using an image enhancement algorithm to obtain a processed weld bead image.

[0016] According to another aspect of an embodiment of the present invention, a device for determining a weld bead contour is also provided, comprising: an acquisition unit for acquiring an initial weld bead image; a detection unit for performing a first edge detection on the initial weld bead image to obtain an intermediate weld bead image; a determination unit for determining a region of interest based on the intermediate weld bead image; and a first processing unit for performing a predetermined processing on the region of interest to obtain the weld bead contour, wherein the predetermined processing includes at least a second edge detection.

[0017] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein the program executes any one of the methods described.

[0018] According to yet another aspect of the embodiments of the present invention, a processor is provided, wherein the processor is used to run a program, wherein any one of the methods is executed when the program is run.

[0019] According to one aspect of an embodiment of the present invention, a system is also provided, comprising: a welding device and a device for determining a welding profile, wherein the device for determining a welding profile is communicatively connected to the welding device, and the device for determining a welding profile is used to execute any one of the methods described.

[0020] In an embodiment of the present invention, in the method for determining the weld bead contour, firstly, an initial weld bead image is obtained; then, a first edge detection is performed on the initial weld bead image to obtain an intermediate weld bead image; then, a region of interest is determined according to the intermediate weld bead image; finally, a predetermined process is performed on the region of interest to obtain the weld bead contour, and the predetermined process at least includes a second edge detection. In the determination method, the acquired initial weld bead image is at least sequentially subjected to a first edge detection, a region of interest determination, and a second edge detection. The first edge detection can remove most of the irrelevant information in the initial weld bead image, thereby ensuring that the obtained intermediate weld bead image is relatively clear and accurate. Then, the region of interest is determined, thereby ensuring that the amount of data is small when the region of interest is subjected to a second edge detection. In this way, a relatively accurate and clear weld bead contour can be obtained in a relatively short time, thereby alleviating the problem of unclear and unclear weld bead edge contour caused by reflection formed by grinding of the parent material during welding in the prior art, thereby ensuring that the weld bead contour can be extracted from the weld bead image more quickly and accurately, thereby ensuring that the subsequent automatic welding according to the weld bead contour has a better effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0022] Figure 1 A flow chart showing a method for determining a weld bead profile according to an embodiment of the present application is shown;

[0023] Figure 2 A schematic diagram of an intermediate weld bead image according to an embodiment of the present application is shown;

[0024] Figure 3 A schematic diagram of a device for determining a weld bead profile according to an embodiment of the present application is shown;

[0025] Figure 4 A flow chart of a method for determining a weld bead profile according to yet another embodiment of the present application is shown.

[0026] The above drawings include the following reference numerals:

[0027] 11. The first edge line of the weld bead; 12. The second edge line of the weld bead; 13. The first initial inflection point; 14. The second initial inflection point; 15. The initial contour of the weld bead. DETAILED DESCRIPTION

[0028] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] It should be understood that when an element (such as a layer, film, region, or substrate) is described as being "on" another element, the element may be directly on the other element, or there may be intermediate elements. Moreover, in the specification and claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element, or "connected" to the other element through a third element.

[0032] As mentioned in the background technology, the prior art cannot accurately extract the weld bead contour. In order to solve the above problem, in a typical embodiment of the present application, a method, device, computer-readable storage medium, processor and system for determining the weld bead contour are provided.

[0033] According to an embodiment of the present application, a method for determining a weld bead profile is provided.

[0034] Figure 1 is a flow chart of a method for determining a weld bead profile according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:

[0035] Step S101, obtaining an initial weld bead image;

[0036] Step S102, performing a first edge detection on the initial weld bead image to obtain an intermediate weld bead image;

[0037] Step S103, determining a region of interest based on the above-mentioned intermediate weld bead image;

[0038] Step S104, performing predetermined processing on the above-mentioned region of interest to obtain the above-mentioned weld bead contour, and the above-mentioned predetermined processing at least includes second edge detection.

[0039] In the above-mentioned method for determining the weld bead contour, firstly, an initial weld bead image is obtained; then, a first edge detection is performed on the above-mentioned initial weld bead image to obtain an intermediate weld bead image; then, a region of interest is determined according to the above-mentioned intermediate weld bead image; finally, a predetermined process is performed on the above-mentioned region of interest to obtain the above-mentioned weld bead contour, and the above-mentioned predetermined process at least includes a second edge detection. In this determination method, the acquired initial weld bead image is at least sequentially subjected to a first edge detection, a region of interest determination, and a second edge detection. The first edge detection can remove most of the irrelevant information in the initial weld bead image, thereby ensuring that the obtained intermediate weld bead image is relatively clear and accurate. Then, the region of interest is determined, thereby ensuring that the amount of data is small when the second edge detection is performed on the region of interest. In this way, a relatively accurate and clear weld bead contour can be obtained in a relatively short time, thereby alleviating the problem of unclear and unclear weld bead edge contour caused by reflection formed by grinding of the parent material during welding in the prior art, thereby ensuring that the weld bead contour can be extracted from the weld bead image relatively quickly and accurately, thereby ensuring that the subsequent automatic welding according to the weld bead contour has a better effect.

[0040] In actual application, those skilled in the art may select any edge detection method in the prior art to implement the above-mentioned first edge detection and the above-mentioned second edge detection.

[0041] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0042] In one embodiment of the present application, the first edge detection is performed on the initial weld image to obtain the intermediate weld image, including: performing the first edge detection on the initial weld image to determine the first weld image; removing the pseudo edge in the first weld image to obtain the intermediate weld image. In this embodiment, the first edge detection is performed on the acquired initial weld image, and then the pseudo edge formed by the arc in the first weld image is removed, which further overcomes the interference caused by the pseudo edge formed by the arc, further ensures that the obtained intermediate weld image is more accurate, and further alleviates the problem of the inability to accurately extract the weld contour in the prior art.

[0043] In a specific embodiment of the present application, the first edge detection algorithm may be a coarse edge detection algorithm, but is not limited to the coarse edge detection algorithm, and may be any edge detection algorithm in the prior art.

[0044] In another embodiment of the present application, the first weld bead image includes a plurality of sub-images, and the plurality of sub-images are images of weld bead acquired at different times. The pseudo edges in the first weld bead image are removed to obtain the intermediate weld bead image, including: scaling the plurality of sub-images at a predetermined ratio; acquiring the gray values ​​of the plurality of sub-images after scaling; and removing the pseudo edges according to the plurality of gray values ​​to obtain the intermediate weld bead image. In this embodiment, the plurality of sub-images are scaled at a predetermined ratio to acquire the gray values ​​of the plurality of sub-images after scaling. According to the plurality of gray values, the pseudo edges in the first weld bead image can be removed more accurately, further ensuring that the intermediate weld bead image obtained is more accurate.

[0045] In another embodiment of the present application, the pseudo edges are removed according to the plurality of gray values ​​to obtain the intermediate weld image, including: comparing the plurality of gray values ​​to determine that the sub-image with the smallest gray value is the second weld image, the second weld image including a plurality of edge lines; determining the pseudo edges in the second weld image according to the plurality of edge lines; removing the pseudo edges from the second weld image to obtain the intermediate weld image. In this embodiment, by comparing the plurality of gray values ​​to determine that the sub-image with the smallest gray value is the second weld image, it is further ensured that the edge lines in the obtained second weld image are clearer, and subsequently the pseudo edges in the second weld image are determined according to the plurality of edge lines, so that the pseudo edges in the second weld image can be determined more accurately, further avoiding the interference of the pseudo edges on the determination results.

[0046] In another embodiment of the present application, the pseudo edge in the second weld image is determined based on the plurality of edge lines, including: obtaining the lengths and angles of the plurality of edge lines; obtaining a length threshold and an angle threshold; determining whether the plurality of edge lines are the pseudo edges based on the plurality of lengths, the plurality of angles, the length threshold and the angle threshold, and determining the edge line corresponding to the length or the angle as the pseudo edge when the length is less than the length threshold or the angle is less than the angle threshold. In this embodiment, based on the plurality of lengths, the plurality of angles, the length threshold and the angle threshold in the second weld image, when the length is less than the length threshold or the angle is less than the angle threshold, determining the edge line corresponding to the length or the angle as the pseudo edge, the pseudo edge can be determined more accurately, further ensuring that the pseudo edge in the first weld image is substantially removed.

[0047] In a specific embodiment of the present application, removing the pseudo edges in the above-mentioned first weld bead image includes two steps. The first step is the preliminary filtering stage: the acquired current frame and the previous frame are synchronously scaled, and the length and width are reduced to 1 / 2 of the original size; then the current frame is compared with the previous frame pixel by pixel, and the pixels with lower grayscale values ​​are retained, thereby obtaining a new image. In the preliminary filtering stage, most of the pseudo edges caused by arc light are filtered out; the second step is the precise filtering stage, and the remaining edges in the new image are divided into valid edges, i.e., left and right laser line edges and weld bead contour edges, according to the geometric features of the edge features, wherein the valid edges are longer and continuous, and have a smaller inclination angle relative to the horizontal position; the pseudo edges are shorter and discontinuous, and have a larger inclination angle relative to the horizontal position.

[0048] In one embodiment of the present application, Figure 2 As shown, the intermediate weld bead image includes a first weld bead edge line 11, an initial weld bead contour 15 and a second weld bead edge line 12 which are connected in sequence. According to the intermediate weld bead image, determining the region of interest includes: determining a first initial inflection point 13 and a second initial inflection point 14 in the intermediate weld bead image according to the first weld bead edge line 11, the initial weld bead contour 15 and the second weld bead edge line 12, wherein the first initial inflection point 13 is an intersection point of the first weld bead edge line 11 and the initial weld bead contour 15, and the second initial inflection point 14 is an intersection point of the second weld bead edge line 12 and the initial weld bead contour 15; determining the region between the first initial inflection point 13 and the second initial inflection point 14 as the region of interest. In this embodiment, according to the above-mentioned weld first edge line 11, the above-mentioned weld initial contour 15 and the above-mentioned weld second edge line 12, the first initial inflection point 13 and the second initial inflection point 14 in the above-mentioned intermediate weld image can be determined more quickly and accurately, and the area between the first initial inflection point 13 and the second initial inflection point 14 is subsequently determined as the above-mentioned region of interest, which further ensures that the weld contour can be determined more quickly and accurately based on the region of interest, and further solves the problem that the weld contour cannot be accurately extracted in the prior art.

[0049] In another embodiment of the present application, the above-mentioned region of interest is subjected to predetermined processing to obtain the above-mentioned weld bead contour, including: performing the above-mentioned second edge detection on the contour of the above-mentioned region of interest to obtain the above-mentioned weld bead contour, and the above-mentioned second edge detection is an edge detection algorithm with an adaptive threshold. In this embodiment, the second edge detection is performed on the region of interest using an edge detection algorithm with an adaptive threshold, which further ensures that the above-mentioned weld bead contour obtained is relatively accurate.

[0050] In another embodiment of the present application, the above-mentioned region of interest is subjected to predetermined processing to obtain the above-mentioned weld bead contour, including: performing the above-mentioned second edge detection on the contour of the above-mentioned region of interest to obtain the processed region of interest, the above-mentioned processed region of interest includes an incoherent weld bead contour line, and the above-mentioned second edge detection is an edge detection algorithm with an adaptive threshold; and using a regional growing algorithm to repair the incoherent weld bead contour line to obtain the above-mentioned weld bead contour. In this embodiment, the contour of the region of interest is subjected to a second edge detection using an edge detection algorithm with an adaptive threshold, so that all edge lines of the weld bead contour in the region of interest can be accurately detected, and the region growing algorithm is subsequently used to repair the detected incoherent weld bead contour line, further ensuring that a continuous weld bead contour can be obtained, further solving the problem of discontinuous left and right edge contours of the weld bead caused by dirt on the surface of the parent material in the prior art, and further ensuring that a relatively complete and accurate weld bead contour is obtained.

[0051] In another embodiment of the present application, the incoherent weld bead contour line is repaired by a regional growing algorithm to obtain the weld bead contour line, including: repairing the incoherent weld bead contour line by a regional growing algorithm to obtain a third weld bead image; determining the first inflection point and the second inflection point of the third weld bead image by mathematical morphology; obtaining the contour line between the first inflection point and the second inflection point, the contour line being the weld bead contour line. In this embodiment, according to the weld bead contour line repaired by the regional growing algorithm and the first inflection point and the second inflection point determined by mathematical morphology, the first inflection point and the second inflection point are determined to be relatively accurate, and the contour line between the first inflection point and the second inflection point is subsequently determined to be the weld bead contour, further ensuring that the determined weld bead contour is relatively accurate, further solving the problem that the weld bead contour cannot be accurately extracted in the prior art, and subsequently realizing accurate control of the welding gun according to the extracted weld bead contour, further ensuring better welding accuracy and better effect during welding.

[0052] In a specific embodiment of the present application, the above-mentioned use of the regional growing algorithm to repair the incoherent weld contour line includes two stages, namely the first weld stage and the subsequent weld stage. In the first weld stage, i.e., the base stage, a straight line fitting method is used to randomly select a seed point on the left and right contour lines of the weld where the weld is not disconnected, and the slope of the straight line where the seed point is located is calculated. Finally, a straight line fitting is performed on the disconnected area based on the slope; in the subsequent weld stage, i.e., the covering stage, a curve fitting method is used to directly connect the disconnected contour lines in the weld contour with a straight line, and an exponential function is used to perform curve fitting on the newly added straight line contour.

[0053] In one embodiment of the present application, before acquiring the initial weld bead image, after performing the first edge detection on the initial weld bead image, the method further includes: processing the initial weld bead image using an image enhancement algorithm to obtain a processed weld bead image. In this embodiment, the initial weld bead image is processed using an image enhancement algorithm so that the edges in the initial weld bead image become clearly visible, which facilitates the subsequent edge extraction.

[0054] In a specific embodiment of the present application, the above-mentioned image enhancement algorithm may be a common Laplace image enhancement algorithm, but is not limited to the Laplace image enhancement algorithm, and may be any suitable image enhancement algorithm in the prior art.

[0055] The embodiment of the present application also provides a device for determining a weld bead profile. It should be noted that the device for determining a weld bead profile in the embodiment of the present application can be used to execute the method for determining a weld bead profile provided in the embodiment of the present application. The device for determining a weld bead profile provided in the embodiment of the present application is introduced below.

[0056] Figure 3 Schematic diagram of a device for determining a weld bead profile according to an embodiment of the present application. Figure 3 As shown, the device comprises:

[0057] An acquisition unit 10, used for acquiring an initial weld bead image;

[0058] A detection unit 20, configured to perform a first edge detection on the initial weld bead image to obtain an intermediate weld bead image;

[0059] A determination unit 30, configured to determine a region of interest based on the intermediate weld bead image;

[0060] The first processing unit 40 is used to perform predetermined processing on the above-mentioned region of interest to obtain the above-mentioned weld bead contour, and the above-mentioned predetermined processing at least includes second edge detection.

[0061] In the device for determining the weld bead contour, the acquisition unit is used to acquire the initial weld bead image; the detection unit is used to perform the first edge detection on the initial weld bead image to obtain the intermediate weld bead image; the determination unit is used to determine the region of interest based on the intermediate weld bead image; the first processing unit is used to perform predetermined processing on the region of interest to obtain the weld bead contour, and the predetermined processing at least includes the second edge detection. In the determination device, the acquired initial weld bead image is at least sequentially subjected to the first edge detection, the region of interest determination and the second edge detection. The first edge detection can remove most of the irrelevant information in the initial weld bead image, ensuring that the intermediate weld bead image obtained is relatively clear and accurate. Then the region of interest is determined, ensuring that the amount of data is small when the second edge detection is performed on the region of interest. In this way, a relatively accurate and clear weld bead contour can be obtained in a relatively short time, alleviating the problem of unclear and unclear weld bead edge contour caused by reflection formed by grinding of the parent material during welding in the prior art, ensuring that the weld bead contour can be extracted from the weld bead image more quickly and accurately, and thus ensuring that the subsequent automatic welding according to the weld bead contour has a better effect.

[0062] In actual application, those skilled in the art may select any edge detection method in the prior art to implement the above-mentioned first edge detection and the above-mentioned second edge detection.

[0063] In one embodiment of the present application, the detection unit further includes a first detection module and a first removal module, wherein the first detection module is used to perform the first edge detection on the initial weld image to determine the first weld image; the first removal module is used to remove the pseudo edge in the first weld image to obtain the intermediate weld image. In this embodiment, the first edge detection is performed on the acquired initial weld image, and then the pseudo edge formed by the arc in the first weld image is removed, which further overcomes the interference caused by the pseudo edge formed by the arc, further ensures that the obtained intermediate weld image is more accurate, and further alleviates the problem of the inability to accurately extract the weld contour in the prior art.

[0064] In a specific embodiment of the present application, the first edge detection algorithm may be a coarse edge detection algorithm, but is not limited to the coarse edge detection algorithm, and may be any edge detection algorithm in the prior art.

[0065] In another embodiment of the present application, the first weld bead image includes a plurality of sub-images, and the plurality of sub-images are images of the weld bead acquired at different times. The first removal module also includes a first scaling sub-module, a first acquisition sub-module, and a first removal sub-module, wherein the first scaling sub-module is used to scale the plurality of sub-images at a predetermined ratio; the first acquisition sub-module is used to acquire the grayscale values ​​of the plurality of scaled sub-images; and the first removal sub-module is used to remove the pseudo-edges according to the plurality of grayscale values ​​to obtain the intermediate weld bead image. In this embodiment, the plurality of sub-images are scaled according to a predetermined ratio, and the grayscale values ​​of the plurality of scaled sub-images are acquired. According to the plurality of grayscale values, the pseudo-edges in the first weld bead image can be removed more accurately, and the obtained intermediate weld bead image is further ensured to be more accurate.

[0066] In another embodiment of the present application, the first removal submodule further includes a first determination submodule, a first determination submodule and a first elimination submodule, wherein the first determination submodule is used to compare the above-mentioned multiple grayscale values, and determine that the above-mentioned subimage with the smallest grayscale value is the second weld bead image, and the above-mentioned second weld bead image includes multiple edge lines; the second determination submodule is used to determine the above-mentioned pseudo edge in the above-mentioned second weld bead image according to the multiple edge lines; the first elimination submodule is used to eliminate the above-mentioned pseudo edge from the above-mentioned second weld bead image to obtain the above-mentioned intermediate weld bead image. In this embodiment, by comparing multiple grayscale values, it is determined that the subimage with the smallest grayscale value is the second weld bead image, which further ensures that the edge line in the obtained second weld bead image is clearer, and the pseudo edge in the second weld bead image is subsequently determined according to the multiple edge lines, so that the pseudo edge in the second weld bead image can be determined more accurately, and the interference of the pseudo edge on the determination result can be further avoided.

[0067] In another embodiment of the present application, the second determination submodule further includes a second acquisition submodule, a third acquisition submodule and a third determination submodule, wherein the second acquisition submodule is used to acquire the lengths and angles of the plurality of edge lines; the third acquisition submodule is used to acquire the length threshold and the angle threshold; the third determination submodule is used to determine whether the plurality of edge lines are the pseudo edges according to the plurality of lengths, the plurality of angles, the length threshold and the angle threshold, and when the length is less than the length threshold or the angle is less than the angle threshold, determine that the edge line corresponding to the length or the angle is the pseudo edge. In this embodiment, according to the plurality of lengths, the plurality of angles, the length threshold and the angle threshold in the second weld bead image, when the length is less than the length threshold or the angle is less than the angle threshold, determine that the edge line corresponding to the length or the angle is the pseudo edge, so that the pseudo edge can be determined more accurately, further ensuring that the pseudo edge in the first weld bead image is basically removed.

[0068] In a specific embodiment of the present application, removing the pseudo edges in the above-mentioned first weld bead image includes two steps. The first step is the preliminary filtering stage: the acquired current frame and the previous frame are synchronously scaled, and the length and width are reduced to 1 / 2 of the original size; then the current frame is compared with the previous frame pixel by pixel, and the pixels with lower grayscale values ​​are retained, thereby obtaining a new image. In the preliminary filtering stage, most of the pseudo edges caused by arc light are filtered out; the second step is the precise filtering stage, and the remaining edges in the new image are divided into valid edges, i.e., left and right laser line edges and weld bead contour edges, according to the geometric features of the edge features, wherein the valid edges are longer and continuous, and have a smaller inclination angle relative to the horizontal position; the pseudo edges are shorter and discontinuous, and have a larger inclination angle relative to the horizontal position.

[0069] In one embodiment of the present application, Figure 2 As shown, the above-mentioned intermediate weld bead image includes a first weld bead edge line 11, a weld bead initial contour 15 and a weld bead second edge line 12 connected in sequence, and the above-mentioned determination unit also includes a first determination module and a second determination module, wherein the first determination module is used to determine the first initial inflection point 13 and the second initial inflection point 14 in the above-mentioned intermediate weld bead image according to the above-mentioned weld bead first edge line 11, the above-mentioned weld bead initial contour 15 and the above-mentioned weld bead second edge line 12, the above-mentioned first initial inflection point 13 is the intersection of the above-mentioned weld bead first edge line 11 and the above-mentioned weld bead initial contour 15, and the above-mentioned second initial inflection point 14 is the intersection of the above-mentioned weld bead second edge line 12 and the above-mentioned weld bead initial contour 15; the second determination module is used to determine the area between the above-mentioned first initial inflection point 13 and the above-mentioned second initial inflection point 14 as the above-mentioned area of ​​interest. In this embodiment, according to the above-mentioned weld first edge line 11, the above-mentioned weld initial contour 15 and the above-mentioned weld second edge line 12, the first initial inflection point 13 and the second initial inflection point 14 in the above-mentioned intermediate weld image can be determined more quickly and accurately, and the area between the first initial inflection point 13 and the second initial inflection point 14 is subsequently determined as the above-mentioned region of interest, which further ensures that the weld contour can be determined more quickly and accurately based on the region of interest, and further solves the problem that the weld contour cannot be accurately extracted in the prior art.

[0070] In another embodiment of the present application, the processing unit further includes a second detection module for performing the second edge detection on the contour of the region of interest to obtain the weld bead contour, and the second edge detection is an edge detection algorithm with an adaptive threshold. In this embodiment, the second edge detection is performed on the region of interest using an edge detection algorithm with an adaptive threshold, further ensuring that the obtained weld bead contour is relatively accurate.

[0071] In another embodiment of the present application, the first processing unit further includes a third detection module and a repair module, the third detection module is used to perform the second edge detection on the contour of the region of interest to obtain the processed region of interest, the processed region of interest includes an incoherent weld contour line, and the second edge detection is an edge detection algorithm with an adaptive threshold; the repair module is used to repair the incoherent weld contour line using a regional growing algorithm to obtain the weld contour. In this embodiment, the contour of the region of interest is subjected to a second edge detection using an edge detection algorithm with an adaptive threshold, so that all edge lines of the weld contour in the region of interest can be accurately detected, and the detected incoherent weld contour line is subsequently repaired using a regional growing algorithm, further ensuring that a continuous weld contour can be obtained, further solving the problem of discontinuous left and right edge contours of the weld caused by dirt on the surface of the parent material in the prior art, and further ensuring that a relatively complete and accurate weld contour is obtained.

[0072] In another embodiment of the present application, the repair module further includes a third determination submodule and a fourth acquisition submodule, wherein the third determination submodule is used to repair the incoherent weld bead contour line by using a regional growing algorithm to obtain a third weld bead image; the first inflection point and the second inflection point of the third weld bead image are determined by using mathematical morphology; the fourth acquisition submodule is used to obtain the contour line between the first inflection point and the second inflection point, and the contour line is the weld bead contour. In this embodiment, according to the weld bead contour line repaired by using the regional growing algorithm and the first inflection point and the second inflection point are determined by mathematical morphology, the first inflection point and the second inflection point are determined to be relatively accurate, and the contour line between the first inflection point and the second inflection point is subsequently determined to be the weld bead contour, which further ensures that the determined weld bead contour is relatively accurate, further solves the problem that the weld bead contour cannot be accurately extracted in the prior art, and subsequently realizes accurate control of the welding gun according to the extracted weld bead contour, further ensuring better welding accuracy and better effect during welding.

[0073] In a specific embodiment of the present application, the above-mentioned use of the regional growing algorithm to repair the incoherent weld contour line includes two stages, namely the first weld stage and the subsequent weld stage. In the first weld stage, i.e., the base stage, a straight line fitting method is used to randomly select a seed point on the left and right contour lines of the weld where the weld is not disconnected, and the slope of the straight line where the seed point is located is calculated. Finally, a straight line fitting is performed on the disconnected area based on the slope; in the subsequent weld stage, i.e., the covering stage, a curve fitting method is used to directly connect the disconnected contour lines in the weld contour with a straight line, and an exponential function is used to perform curve fitting on the newly added straight line contour.

[0074] In one embodiment of the present application, before acquiring the initial weld bead image, after performing the first edge detection on the initial weld bead image, the device further includes a second processing unit for processing the initial weld bead image using an image enhancement algorithm to obtain a processed weld bead image. In this embodiment, the initial weld bead image is processed using an image enhancement algorithm so that the edges in the initial weld bead image become clearly visible, facilitating subsequent edge extraction.

[0075] In a specific embodiment of the present application, the above-mentioned image enhancement algorithm may be a common Laplace image enhancement algorithm, but is not limited to the Laplace image enhancement algorithm, and may be any suitable image enhancement algorithm in the prior art.

[0076] The device for determining the weld bead profile comprises a processor and a memory. The acquisition unit, the detection unit, the determination unit and the first processing unit are all stored in the memory as program units. The processor executes the program units stored in the memory to realize corresponding functions.

[0077] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the problem of the inability to accurately extract the weld bead contour in the prior art can be solved by adjusting the kernel parameters.

[0078] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0079] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the method for determining the weld bead profile is implemented.

[0080] An embodiment of the present invention provides a processor, and the processor is used to run a program, wherein the method for determining the weld bead profile is executed when the program is run.

[0081] An embodiment of the present invention provides a system, comprising: a welding device and a device for determining a welding profile, wherein the device for determining a welding profile is communicatively connected to the welding device, and the device for determining a welding profile is used to execute any one of the above methods.

[0082] The above system includes a welding device and a device for determining a welding profile, wherein the device for determining a welding profile is communicatively connected to the above welding device, and the device for determining a welding profile can execute any one of the above methods for determining a weld profile. In the above method for determining a weld profile, the acquired initial weld image is at least sequentially subjected to a first edge detection, a region of interest determination, and a second edge detection. The first edge detection can remove most of the irrelevant information in the initial weld image, thereby ensuring that the obtained intermediate weld image is relatively clear and accurate, and then the region of interest is determined, thereby ensuring that the amount of data is small when the second edge detection is performed on the region of interest. In this way, a relatively accurate and clear weld profile can be obtained in a relatively short time, thereby alleviating the problem in the prior art that the weld edge profile is unclear and not obvious due to the reflection formed by the grinding of the base material during the welding process, thereby ensuring that the weld profile can be extracted from the weld image relatively quickly and accurately, thereby ensuring that the subsequent automatic welding according to the weld profile has a better effect.

[0083] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, it will be described below in conjunction with specific embodiments.

[0084] Example

[0085] like Figure 4 As shown, firstly, an initial weld bead image is acquired, and the initial weld bead image is enhanced by using the Laplace image enhancement algorithm, and then a coarse edge detection algorithm is used to perform the first edge detection, and the pseudo edge, the left and right initial edges and the weld bead initial edge in the initial weld bead image are extracted, and then the detected pseudo edge is removed according to the edge characteristics, and the left and right initial edges and the weld bead initial edge are further obtained, and then the positions of the initial left and right inflection points are determined according to the positional relationship between the initial edges, and the region of interest of the weld bead contour line is determined according to the determined positions of the initial left and right inflection points, and the edge detection algorithm with an adaptive threshold is used again to perform a second edge detection on the region of interest to extract the weld bead contour line, and then the extracted incoherent weld bead contour line is repaired by using the regional growing algorithm, so as to obtain a continuous edge line, and the positions of the left and right inflection points and the final weld bead contour line are determined according to the obtained continuous edge line.

[0086] An embodiment of the present invention provides a device, the device including a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, at least the following steps are implemented:

[0087] Step S101, obtaining an initial weld bead image;

[0088] Step S102, performing a first edge detection on the initial weld bead image to obtain an intermediate weld bead image;

[0089] Step S103, determining a region of interest based on the above-mentioned intermediate weld bead image;

[0090] Step S104, performing predetermined processing on the above-mentioned region of interest to obtain the above-mentioned weld bead contour, and the above-mentioned predetermined processing at least includes second edge detection.

[0091] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0092] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:

[0093] Step S101, obtaining an initial weld bead image;

[0094] Step S102, performing a first edge detection on the initial weld bead image to obtain an intermediate weld bead image;

[0095] Step S103, determining a region of interest based on the above-mentioned intermediate weld bead image;

[0096] Step S104, performing predetermined processing on the above-mentioned region of interest to obtain the above-mentioned weld bead contour, and the above-mentioned predetermined processing at least includes second edge detection.

[0097] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0098] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0099] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0100] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0101] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0102] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:

[0103] 1) In the method for determining the weld bead contour of the present application, firstly, an initial weld bead image is obtained; then, a first edge detection is performed on the initial weld bead image to obtain an intermediate weld bead image; then, a region of interest is determined based on the intermediate weld bead image; finally, a predetermined process is performed on the region of interest to obtain the weld bead contour, and the predetermined process at least includes a second edge detection. In the determination method, the acquired initial weld bead image is at least sequentially subjected to a first edge detection, a region of interest determination, and a second edge detection. The first edge detection can remove most of the irrelevant information in the initial weld bead image, thereby ensuring that the obtained intermediate weld bead image is relatively clear and accurate. Then, the region of interest is determined, thereby ensuring that the amount of data is small when the second edge detection is performed on the region of interest. In this way, a relatively accurate and clear weld bead contour can be obtained in a relatively short time, thereby alleviating the problem of unclear and unclear weld bead edge contour caused by reflection formed by grinding of the parent material during welding in the prior art, thereby ensuring that the weld bead contour can be extracted from the weld bead image relatively quickly and accurately, thereby ensuring that the subsequent automatic welding according to the weld bead contour has a better effect.

[0104] 2) In the device for determining the weld bead contour of the present application, the acquisition unit is used to acquire the initial weld bead image; the detection unit is used to perform the first edge detection on the initial weld bead image to obtain the intermediate weld bead image; the determination unit is used to determine the region of interest based on the intermediate weld bead image; the first processing unit is used to perform predetermined processing on the region of interest to obtain the weld bead contour, and the predetermined processing at least includes the second edge detection. In the determination device, the acquired initial weld bead image is at least sequentially subjected to the first edge detection, the region of interest determination and the second edge detection. The first edge detection can remove most of the irrelevant information in the initial weld bead image, ensuring that the intermediate weld bead image obtained is relatively clear and accurate. Then the region of interest is determined, ensuring that the amount of data is small when the second edge detection is performed on the region of interest. In this way, a relatively accurate and clear weld bead contour can be obtained in a relatively short time, alleviating the problem of unclear and unclear weld bead edge contour caused by the reflection formed by the grinding of the parent material during the welding process in the prior art, ensuring that the weld bead contour can be extracted from the weld bead image more quickly and accurately, and thus ensuring that the subsequent automatic welding according to the weld bead contour has a better effect.

[0105] 3) The system of the present application includes a welding device and a device for determining a welding contour, wherein the device for determining a welding contour is connected to the welding device in communication, and the device for determining a welding contour can execute any of the above-mentioned methods for determining a weld bead contour. In the above-mentioned method for determining a weld bead contour, the acquired initial weld bead image is subjected to at least first edge detection, determination of a region of interest, and second edge detection in sequence. The first edge detection can remove most of the irrelevant information in the initial weld bead image, thereby ensuring that the obtained intermediate weld bead image is relatively clear and accurate, and then the region of interest is determined, thereby ensuring that the amount of data is small when the second edge detection is performed on the region of interest. In this way, a relatively accurate and clear weld bead contour can be obtained in a relatively short time, thereby alleviating the problem of unclear and unclear weld bead edge contour caused by reflection formed by grinding of the base material during welding in the prior art, thereby ensuring that the weld bead contour can be extracted from the weld bead image relatively quickly and accurately, thereby ensuring that the subsequent automatic welding according to the weld bead contour has a better effect.

[0106] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for determining a weld bead profile, characterized in that: include: Acquire an initial weld bead image; Performing a first edge detection on the initial weld bead image to obtain an intermediate weld bead image, wherein performing the first edge detection on the initial weld bead image to obtain an intermediate weld bead image further comprises: performing the first edge detection on the initial weld bead image to determine a first weld bead image; removing a pseudo edge in the first weld bead image to obtain the intermediate weld bead image; Determine the region of interest according to the intermediate weld bead image, wherein the intermediate weld bead image includes a first edge line of the weld bead, an initial contour of the weld bead, and a second edge line of the weld bead that are sequentially connected, and determine the region of interest according to the intermediate weld bead image further includes: determining a first initial inflection point and a second initial inflection point in the intermediate weld bead image according to the first edge line of the weld bead, the initial contour of the weld bead, and the second edge line of the weld bead, the first initial inflection point being an intersection point of the first edge line of the weld bead and the initial contour of the weld bead, and the second initial inflection point being an intersection point of the second edge line of the weld bead and the initial contour of the weld bead; and determine the region between the first initial inflection point and the second initial inflection point as the region of interest; The predetermined processing is performed on the region of interest to obtain the weld bead contour, and the predetermined processing at least includes a second edge detection, wherein the predetermined processing is performed on the region of interest to obtain the weld bead contour further includes: performing the second edge detection on the contour of the region of interest to obtain a processed region of interest, the processed region of interest includes an incoherent weld bead contour line, and the second edge detection is an edge detection algorithm with an adaptive threshold; and using a regional growing algorithm to repair the incoherent weld bead contour line to obtain the weld bead contour.

2. The method according to claim 1, characterized in that The first weld bead image includes a plurality of sub-images, where the plurality of sub-images are images of weld bead acquired at different times, and the pseudo edges in the first weld bead image are removed to obtain the intermediate weld bead image, including: Scaling the plurality of sub-images according to a predetermined ratio; Obtaining grayscale values ​​of the plurality of scaled sub-images; The pseudo edges are removed according to the plurality of grayscale values ​​to obtain the intermediate weld bead image.

3. The method according to claim 2, characterized in that According to the plurality of grayscale values, removing the pseudo edge to obtain the intermediate weld bead image comprises: Comparing the plurality of grayscale values, determining the sub-image with the smallest grayscale value as a second weld bead image, wherein the second weld bead image includes a plurality of edge lines; Determining the pseudo edge in the second weld bead image according to the plurality of edge lines; The pseudo edge is removed from the second weld bead image to obtain the intermediate weld bead image.

4. The method according to claim 3, characterized in that Determining the pseudo edge in the second weld bead image according to the plurality of edge lines comprises: Obtaining the lengths and angles of the plurality of edge lines; Get the length threshold and angle threshold; According to the multiple lengths, the multiple angles, the length threshold and the angle threshold, determine whether the multiple edge lines are the pseudo edges; when the length is less than the length threshold or the angle is less than the angle threshold, determine that the edge line corresponding to the length or the angle is the pseudo edge.

5. The method according to claim 1, characterized in that Performing predetermined processing on the region of interest to obtain the weld bead profile includes: The second edge detection is performed on the contour of the region of interest to obtain the weld bead contour, and the second edge detection is an edge detection algorithm with an adaptive threshold.

6. The method according to claim 1, characterized in that The incoherent weld bead contour line is repaired by using a regional growing algorithm to obtain the weld bead contour, including: Using a region growing algorithm to repair the incoherent weld bead contour line to obtain a third weld bead image; Determine a first inflection point and a second inflection point of the third weld bead image by using mathematical morphology; A contour line between the first inflection point and the second inflection point is obtained, where the contour line is the weld bead contour.

7. The method according to any one of claims 1 to 6, characterized in that Before acquiring the initial weld bead image, after performing a first edge detection on the initial weld bead image, the method further includes: The initial weld bead image is processed by using an image enhancement algorithm to obtain a processed weld bead image.

8. A device for determining a weld bead profile, characterized in that: include: An acquisition unit, used for acquiring an initial weld bead image; A detection unit, configured to perform a first edge detection on the initial weld bead image to obtain an intermediate weld bead image, wherein the detection unit further comprises a first detection module and a first removal module, wherein the first detection module is configured to perform the first edge detection on the initial weld bead image to determine a first weld bead image; and the first removal module is configured to remove a pseudo edge in the first weld bead image to obtain the intermediate weld bead image; A determination unit, used to determine a region of interest according to the intermediate weld bead image, wherein the intermediate weld bead image includes a first edge line of the weld bead, an initial contour of the weld bead, and a second edge line of the weld bead that are sequentially connected, and the determination unit further includes a first determination module and a second determination module, the first determination module is used to determine a first initial inflection point and a second initial inflection point in the intermediate weld bead image according to the first edge line of the weld bead, the initial contour of the weld bead, and the second edge line of the weld bead, the first initial inflection point is an intersection point of the first edge line of the weld bead and the initial contour of the weld bead, and the second initial inflection point is an intersection point of the second edge line of the weld bead and the initial contour of the weld bead; the second determination module is used to determine a region between the first initial inflection point and the second initial inflection point as the region of interest; The first processing unit is used to perform predetermined processing on the region of interest to obtain the weld bead contour, the predetermined processing at least includes a second edge detection, wherein the first processing unit also includes a third detection module and a repair module, the third detection module is used to perform the second edge detection on the contour of the region of interest to obtain a processed region of interest, the processed region of interest includes an incoherent weld bead contour line, and the second edge detection is an edge detection algorithm with an adaptive threshold; the repair module is used to repair the incoherent weld bead contour line using a regional growing algorithm to obtain the weld bead contour.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method of any one of claims 1 to 7.

10. A processor, characterized in that: The processor is used to run a program, wherein the program executes the method according to any one of claims 1 to 7 when running.

11. A system, characterized in that: include: Welding equipment; A device for determining a welding profile is communicatively connected to the welding device, and the device for determining a welding profile is used to execute the method described in any one of claims 1 to 7.