A welding task automatic generation method and system
Through the automatic generation method of welding tasks, the target image and the initial point table are used to determine the properties of the welding seam, generate the welding task, and control the welding robot to complete the welding. This solves the problems of low welding seam identification efficiency and unstable quality in the existing welding process, and achieves Efficient and precise welding process.
Patent Information
- Application Number
- CN202410997640.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-07-24
AI Technical Summary
In existing welding processes, weld seam identification and task allocation rely on manual operations or traditional scanning identification, resulting in low welding efficiency and unstable quality, especially in complex structures that are time-consuming and susceptible to human factors.
By obtaining the initial point table based on the target image, determining the weld seam and its attributes, correcting the position data, generating welding tasks, controlling the welding robot to complete the welding, and realizing automatic generation of welding tasks.
It improves the welding seam identification efficiency and welding quality, reduces manual intervention, and improves welding efficiency and accuracy.
Smart Images

Figure CN118513722B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of welding technology, and in particular to a method and system for automatically generating welding tasks. Background Art
[0002] In industries such as shipbuilding and heavy machinery manufacturing, welding technology is a core and crucial process. In these industries, ribs are usually welded to flat base plates. In order to improve production efficiency, the ribs are usually initially spot-welded to the base plates before leaving the factory, but this welding method cannot meet the requirements of structural strength, so complete welding is required. However, in the current welding process, the identification of welds and the allocation of welding tasks mostly rely on manual operation or traditional scanning and recognition technology, that is, the method of identifying single welds one by one. When welding complex structures composed of multiple plates, due to the large number of welds and complex shapes, scanning and identifying each weld will consume a lot of time and manpower. In addition, manual operation is also easily affected by human factors, resulting in unstable welding quality.
[0003] Therefore, there is an urgent need for a method and system for automatically generating welding tasks to improve the efficiency of weld recognition and ensure welding quality. Summary of the invention
[0004] One of the embodiments of the present specification provides a method for automatically generating a welding task, comprising: obtaining an initial point table based on a target image; wherein the target image is an image including an object to be welded; the initial point table includes at least one key point on the surface of the object to be welded, and a first position where the key point is located; determining at least one weld and its corresponding weld attributes based on the initial point table; wherein the weld attributes include weld types; correcting position data in the initial point table to determine a target point table; the target point table includes at least one welding point on the surface of the object to be welded, and a second position where the welding point is located; determining welding parameters based on the target point table and a target parameter package; the target parameter package is determined based on the weld type; generating a welding task based on the target point table and the welding parameters, and generating a welding instruction based on the welding task to control a welding robot to complete welding.
[0005] One of the embodiments of the present specification provides a welding task automatic generation system, including: an acquisition module, configured to acquire an initial point table based on a target image; wherein the target image is an image including an object to be welded; the initial point table includes at least one key point on the surface of the object to be welded, and a first position where the key point is located; a first determination module, configured to determine at least one weld and its corresponding weld attributes based on the initial point table; wherein the weld attributes include weld types; a correction module, configured to correct the position data in the initial point table to determine a target point table; the target point table includes at least one welding point on the surface of the object to be welded, and a second position where the welding point is located; a second determination module, configured to determine welding parameters based on the target point table and a target parameter package; the target parameter package is determined based on the weld type; a control module, configured to generate a welding task based on the target point table and the welding parameters, and generate a welding instruction based on the welding task to control a welding robot to complete welding.
[0006] One of the embodiments of the present specification provides a device for automatically generating a welding task, including a processor, wherein the processor is used to execute the aforementioned method for automatically generating a welding task.
[0007] One of the embodiments of the present specification provides a computer-readable storage medium, wherein the storage medium stores computer instructions. When a computer reads the computer instructions in the storage medium, the computer automatically generates the aforementioned welding task method. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:
[0009] Figure 1 is an exemplary module diagram of a welding task automatic generation system according to some embodiments of this specification;
[0010] Figure 2 is an exemplary flow chart of a method for automatically generating welding tasks according to some embodiments of this specification;
[0011] Figure 3 is a schematic diagram of determining an initial point table according to some embodiments of this specification;
[0012] Figure 4 is a schematic diagram of determining a target point table according to some embodiments of this specification;
[0013] Figure 5 is a schematic diagram of determining welding parameters according to some embodiments of this specification;
[0014] Figure 6 is a schematic diagram of determining a target parameter package according to some embodiments of this specification;
[0015] Figure 7 It is a schematic diagram of key point connections shown in some embodiments of this specification. DETAILED DESCRIPTION
[0016] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.
[0017] It should be understood that the "system", "device", "unit" and / or "module" used herein are a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.
[0018] As shown in this specification and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "comprise" and "include" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0019] Flowcharts are used in this specification to illustrate the operations performed by the system according to the embodiments of this specification. It should be understood that the preceding or following operations are not necessarily performed precisely in order. Instead, the steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.
[0020] Figure 1 is an exemplary module diagram of a welding task automatic generation system according to some embodiments of this specification. Figure 1 As shown, in some embodiments, the welding task automatic generation system 100 may include an acquisition module 110 , a first determination module 120 , a correction module 130 , a second determination module 140 and a control module 150 .
[0021] The acquisition module 110 is configured to acquire an initial point table based on a target image; wherein the target image is an image including an object to be welded; the initial point table includes at least one key point on the surface of the object to be welded, and a first position where the key point is located.
[0022] In some embodiments, the acquisition module 110 is further configured to determine key point data in the target image; and determine an initial point table based on the key point data.
[0023] The first determination module 120 is configured to determine at least one weld and its corresponding weld attributes based on the initial point table; wherein the weld attributes include weld types.
[0024] In some embodiments, the first determination module 120 is further configured to determine the weld type based on the number of key points in the initial point table and the distance between the key points; if the weld type is a vertical weld, the validity of the weld is judged based on the distance between the relevant key points corresponding to the weld.
[0025] The correction module 130 is configured to correct the position data in the initial point table and determine a target point table; the target point table includes at least one welding point on the surface of the object to be welded and a second position where the welding point is located.
[0026] In some embodiments, the correction module 130 is further configured to obtain point cloud data of the object to be welded; perform plane fitting based on the point cloud data to obtain position information of multiple welding points, the welding points including at least one of end welds, corner welds, vertical weld start points and vertical weld end points; match the multiple welding points with the key points in the initial point table to determine the matching results; based on the matching results and the position information of the multiple welding points, correct the first position corresponding to the key point in the initial point table to obtain the target point table.
[0027] The second determination module 140 is configured to determine welding parameters based on the target point table and the target parameter package; the target parameter package is determined based on the weld type.
[0028] In some embodiments, the second determination module 140 is further configured to obtain welding point coordinates based on the target point table; determine welding parameters according to the welding point coordinates, welding gun posture, target parameter package and additional axis coordinates, and the additional axis coordinates represent the position of the welding robot.
[0029] In some embodiments, the second determination module 140 is further configured to determine the welding length based on the welding drawing according to preset rules; wherein the preset rules include at least one of special requirements, special structures or special heights at the welding position.
[0030] In some embodiments, the second determination module 140 is further configured to add a vertical weld to be welded based on the positions of the end welds in response to the distance between the two end welds in the target point table not satisfying the second preset condition.
[0031] The control module 150 is configured to generate a welding task based on the target point table and the welding parameters, and generate a welding instruction based on the welding task to control the welding robot to complete welding.
[0032] In some embodiments, each module of the welding task automatic generation system can be integrated into a processor. For more information about each module and its execution function, please refer to this specification. Figure 2-Figure 7 Related description in .
[0033] It should be noted that the above description of the welding task automatic generation system and its modules is only for the convenience of description and cannot limit the present specification to the scope of the embodiments. It is understandable that for those skilled in the art, after understanding the principle of the system, it is possible to arbitrarily combine the modules or form a subsystem to connect with other modules without deviating from the principle.
[0034] Figure 2 FIG. 1 is an exemplary flow chart of a method for automatically generating a welding task according to some embodiments of this specification. Figure 2 As shown, the process 200 includes the following steps. In some embodiments, the process 200 can be executed by a processor of the welding task automatic generation system.
[0035] Step 210: Obtain an initial point table based on the target image.
[0036] The target image refers to an image containing the object to be welded. In some embodiments, the processor can obtain the target image through a visual robot.
[0037] The object to be welded refers to the plate to be welded. In some embodiments, the object to be welded may include a base plate and a rib plate. The base plate is a large or main plate used as a welding foundation, usually as a fixed foundation for other parts (such as rib plates). Rib plates are plates used to enhance structural strength and stability, and can be designed in different shapes and sizes to meet various welding and engineering requirements. During the welding process, the rib plates are precisely welded to the floor to form a complete and solid structure.
[0038] The initial point table refers to a point table consisting of key points that need to be welded on the object to be welded. The initial point table includes at least one key point on the surface of the object to be welded and the first position where the key point is located. In some embodiments, the initial point table can also reflect the connection order of at least one of the key points, usually starting with the starting key point and ending with the ending key point.
[0039] The key points refer to the points used to reflect the plate shape. Among them, the plate shape refers to the structure formed by the object to be welded, such as the "well" shape, the "work" shape, etc.
[0040] Only as an example, a "well" - shaped plate shape can be considered to be formed by the intersection of four plates. The four plates form eight intersection points, and these eight intersection points are the key points.
[0041] In some embodiments, the key points can be represented by position coordinates in a preset coordinate system. Among them, the preset coordinate system can be determined based on the coordinate system of the vision robot.
[0042] In some embodiments, the processor can obtain the initial point table based on multiple methods. Only as an example, the processor can determine the initial point table based on historical welding data. For example, the processor can perform image matching in the historical welding data based on the target plate shape corresponding to the current object to be welded, and determine the initial point table based on the historical data that matches the target plate shape.
[0043] In some embodiments, the processor can determine the key - point data in the target image and determine the initial point table based on the key - point data.
[0044] In some embodiments, the processor can obtain user input through interactive software. The user input can include the key points successively selected by the user in the aforementioned target image and their corresponding position coordinates, starting from the starting key point and ending with the ending key point. The interactive software can automatically read the position coordinates of the key points based on the key points selected by the user.
[0045] In some embodiments, in response to receiving the confirmation information sent by the user, the processor will generate a corresponding initial point table according to the key points selected by the user and their position coordinates. Among them, the confirmation information refers to the information indicating the completion of key - point extraction. In some embodiments, the confirmation information can be sent by the user after selecting all the key points by clicking the "confirm" button of the interactive software.
[0046] In some embodiments, each initial point table can correspond to a closed or semi - closed gusset plate pattern. For example, each initial point table can represent the welding situation of an independent gusset plate and the base plate, or the welding situation of multiple continuous gusset plates and the base plate, where multiple continuous gusset plates can be connected end to end to form a closed structure.
[0047] The key - point data refers to the data recording the information related to the key points. For example, the key - point data can include the position of the key points, the number of key points, etc.
[0048] In some embodiments, the processor may also generate a welding model based on the target image and welding drawing information; determine key points based on the welding model and pre-set key point attributes; and determine an initial point table based on the position information of the key points and the welding model. For more information about this embodiment, see Figure 3 and its related description.
[0049] Step 220, determining at least one weld and its corresponding weld properties based on the initial point table.
[0050] A weld is a joint formed by joining two or more plates together through a welding process.
[0051] Weld attributes refer to parameters and features related to weld characteristics. For example, weld attributes may include at least one of weld type, welding gun posture, and weld effectiveness.
[0052] In some embodiments, the technical solution provided in the embodiments of this specification is applicable to the situation where at least one rib plate needs to be welded to the base plate.
[0053] Weld type refers to the connection form of welded structures. Different weld types can be classified according to different classification standards. For example, according to the number of ribs contained in the weld, the weld type can include single rib weld and multi-rib angle weld. For another example, according to the direction of the weld, the weld type can include flat weld and vertical weld.
[0054] The single stiffener weld is a weld used to connect a single stiffener and a base plate, and the multi-stiffener angle weld is a weld used to connect multiple stiffeners and a base plate.
[0055] Flat welds refer to welds that are welded above the horizontal position with a horizontal plane inclination angle of 0 to 5 degrees and a weld rotation angle of 0 to 10 degrees. Vertical welds refer to welds that are welded in a vertical welding position with a weld inclination angle of 80 to 90 degrees and a weld rotation angle of 0 to 180 degrees.
[0056] Among them, the weld types classified according to different classification standards may overlap. For example, single-stiffener welds often correspond to flat welds, and multi-stiffener angle welds can often include flat welds and vertical welds.
[0057] In some embodiments, the processor may determine the weld type based on at least one of the number of key points and the spacing between key points in the initial point table.
[0058] In some embodiments, if the number of key points in the initial point table is 2, and the distance between two key points is not greater than the preset distance threshold, it means that only one rib plate needs to be welded to the base plate, and the weld at this time is a single rib plate weld.
[0059] In some embodiments, if the number of key points in the initial point table is 2, and the distance between the two key points is greater than the preset distance threshold, it means that the distance between the two key points exceeds the size of a rib plate, and the two key points should belong to different rib plates. At this time, it is necessary to reposition the photo through the aforementioned two key points to obtain more accurate key points. In some embodiments, the processor can re-determine the key points based on the image obtained by repositioning the photo, and determine the weld type based on the re-determined key points.
[0060] In some embodiments, the preset distance threshold can be determined based on the size of the rib plate, and can be adjusted according to the actual situation of the rib plate to be welded. For example, if the length of the side where the rib plate to be welded intersects with the bottom plate is 250MM, the preset distance threshold can be set to 250MM.
[0061] In some embodiments, if the number of key points in the initial point table is greater than 2, it means that multiple ribs need to be welded to the bottom plate, and the weld at this time is a multi-rib angle weld, the rib and the bottom plate are flat welds, and the two ribs are vertical welds. In some embodiments, in response to the number of key points in the initial point table being greater than 2, the processor may determine the key point in the middle as the angle point according to the order of the key points in the initial point table, and determine the weld in the vertical direction or approximately vertical direction with the angle point as the endpoint as the vertical weld.
[0062] The welding gun posture refers to the angle between the welding gun and the base plate or rib plate during welding.
[0063] In some embodiments, the welding gun posture of the flat weld is relatively fixed, and a 45° welding gun posture is usually adopted, that is, the welding gun is on either side of the rib plate and welded at a 45° angle to the bottom plate.
[0064] In some embodiments, the welding gun posture of the vertical weld needs to be determined based on the actual situation. For example, the processor can determine two intersecting lines formed by connecting three adjacent welding points clockwise, and determine the vertical welding direction based on the angle between the two intersecting lines. If the angle is less than 180 degrees, the center line of the current angle is taken as the welding gun posture corresponding to the vertical weld; if the clockwise angle is greater than 180 degrees, the center line of the other side angle is taken in counterclockwise order as the welding gun posture of the vertical weld.
[0065] In some embodiments, the welding joint of the vertical weld has a groove, and the welding gun posture needs to be adjusted to better perform welding. The groove refers to the connection of the plates to be welded being processed into an inclined wedge shape to better connect the plates to be welded.
[0066] In some embodiments, the processor can determine the welding gun posture of the vertical weld with groove based on the historical welding data. For example, the historical gun posture with the most historical usage times when welding the vertical weld with groove is used as the welding gun posture.
[0067] In some embodiments, if the weld type is a vertical weld, the processor can judge the validity of the weld based on the distance between relevant key points corresponding to the weld; in response to the distance between the relevant key points not satisfying the first preset condition, the weld is judged to be invalid.
[0068] The effectiveness of a weld refers to the judgment result of whether a weld actually exists between two key points, and the invalidity of a weld refers to the fact that no weld actually exists between two key points.
[0069] In some embodiments, the first preset condition may be that the distance between the key points is greater than a minimum distance threshold. As an example only, the minimum distance threshold may be 50 mm.
[0070] In some embodiments, the minimum distance threshold can be determined based on the space required for the welding gun to work and the size of the plate to be welded. For example, the minimum distance threshold is proportional to the space required for the welding gun to work and proportional to the thickness of the plate to be welded.
[0071] like Figure 7 As shown in the figure, the first point, the second point, the third point, ..., the nth point are key points obtained in sequence based on user input. The distance between key points B and C is less than 50 mm, indicating that key points B and C are the end corners of the rib plate, and BC is the plate thickness. There is actually no weld between BC, and the weld here is invalid.
[0072] Step 230, correct the position data in the initial point table to determine the target point table.
[0073] The target point table refers to a point table consisting of points to be welded. The target point table includes at least one welding point on the surface of the object to be welded and a second position where the welding point is located. The second position can be represented by a position coordinate.
[0074] In some embodiments, the processor can correct the position data in the initial point table in a variety of ways to determine the target point table. As an example only, the processor can correct the position data in the initial point table based on the target image according to historical experience. For example, the average error of the historical initial point table is calculated based on historical welding data, and the initial point table is corrected based on the average error.
[0075] In some embodiments, the processor can obtain the point cloud data of the object to be welded, perform plane fitting based on the point cloud data, obtain the position information of multiple welding points, match the multiple welding points with the key points in the initial point table, and determine the matching results; based on the matching results and the position information of the multiple welding points, correct the first position corresponding to the key point in the initial point table to obtain the target point table. For more detailed descriptions, please refer to this manual Figure 4 and its related description.
[0076] Step 240 , determining welding parameters based on the target point table and the target parameter package.
[0077] The target parameter package refers to a set of welding parameters that need to be used during the welding process. In some embodiments, the processor can determine the target parameter package based on the weld type. For detailed instructions on determining the target parameter package, please refer to this specification. Figure 5 and its related description.
[0078] Welding parameters refer to the parameters used to control welding equipment and welding operations during the welding process, such as welding gun position, welding gun posture, welding voltage, welding current, etc.
[0079] In some embodiments, the processor can determine the welding parameters based on the target point table and the target parameter package. For detailed instructions on determining the welding parameters, please refer to the specification. Figure 5 and its related description.
[0080] Step 250, generating a welding task based on the target point table and the welding parameters, and generating a welding instruction based on the welding task to control the welding robot to complete the welding.
[0081] In some embodiments, the processor can generate a welding task based on the target point table and welding parameters, and convert the welding task into welding instructions through interactive software and upload them to the welding robot to control the welding robot to complete the welding.
[0082] The welding task includes the weld to be welded and the corresponding welding parameters. For example, the welding task may include a welding path from a welding start point to a welding end point, and welding parameters to be adopted.
[0083] In some embodiments of the present specification, an initial point table is determined through a target image to thereby determine a welding seam and weld properties, and corresponding welding parameters are determined based on the weld properties, which can effectively improve the efficiency and accuracy of weld identification during the welding process, thereby improving the efficiency and quality of welding.
[0084] It should be noted that the above description of the process 200 is only for example and illustration, and does not limit the scope of application of this specification. For those skilled in the art, various modifications and changes can be made to the process 200 under the guidance of this specification. However, these modifications and changes are still within the scope of this specification.
[0085] Figure 3 It is a schematic diagram of determining an initial point table according to some embodiments of this specification.
[0086] In some embodiments, the processor can generate a welding model 320 based on the target image 310 and the welding drawing information 311; determine the key point 330 based on the welding model 320 and pre-set key point attributes 321; and determine the initial point table 340 based on the first position 331 of the key point and the welding model 320.
[0087] The welding drawing information 311 refers to drawings or documents used in the welding process that describe the welding structure, connection method and process requirements in detail. In some embodiments, the welding drawing information can be presented through electronic drawings, such as CAD drawings, or other methods.
[0088] The welding model 320 refers to a three-dimensional welding model of the ribs to be welded under the visual robot coordinates, and is used to characterize the shape of the ribs to be welded after welding, as well as the connection relationship between different ribs to be welded.
[0089] The target image 310 may include an initial frame formed by the initial position fixation of the ribs to be welded. For more information about the target image, please refer to this specification. Figure 2 Related description in .
[0090] In some embodiments, the processor can obtain a target image containing the ribs to be welded from multiple angles through a visual robot; based on the welding drawing information, a preliminary three-dimensional model of the ribs after welding is constructed through BIM (Building Information Modeling) technology; the preliminary three-dimensional model is aligned with the target image according to the shape. As an example only, the target image contains an initial frame of the ribs to be welded, and the initial frame roughly matches the shape of the aforementioned preliminary three-dimensional model, with only a difference in direction or angle. The processor can align the initial frame in the target image with the preliminary three-dimensional model through feature point matching, deep learning-based image alignment methods, or other methods.
[0091] In some embodiments, the processor can deconstruct the aligned preliminary three-dimensional model according to the rib plate and the bottom plate in the visual robot coordinate system to obtain a rib plate sub-model; the rib plate sub-model refers to a single rib plate or bottom plate model obtained after disassembling the preliminary three-dimensional model according to the rib plate and the bottom plate.
[0092] In some embodiments, the processor aligns the split rib plate sub-model with the nearest rib plate in the target image to obtain a welding model. The alignment method can refer to the method of aligning the initial frame with the preliminary three-dimensional model mentioned above.
[0093] Affected by actual processing errors, the initial frame after position alignment cannot completely overlap with the preliminary three-dimensional model. In some embodiments of this specification, by deconstructing the preliminary three-dimensional model into multiple rib plate sub-models, and then aligning the rib plate sub-models with the nearest rib plate in the target image, the welding model is determined, which can improve the accuracy of subsequent automatic recognition of key points.
[0094] In some embodiments, the processor can determine the key point 330 based on the welding model 320 and the pre-set key point attributes 321.
[0095] Key point attributes 321 refer to the characteristics of different types of key points. For example, a corner key point is the intersection of two ribs, and an end key point is only connected to one rib.
[0096] In some embodiments, key point attributes may be pre-set based on historical experience, and the processor may determine the key point attributes by obtaining manual input or analyzing historical welding data.
[0097] In some embodiments, the processor may screen all corner points in the welding model, compare the attributes of the corner points with the pre-set key point attributes, and determine the corner points whose attributes meet one or more of the pre-set key point attributes as key points. The corner points refer to the endpoints of all ribs and the intersections between ribs in the welding model.
[0098] In some embodiments, the processor may determine an initial point table 340 based on the first position 331 of the key point and the welding model 320 .
[0099] In some embodiments, the processor may determine a connectivity relationship 332 between key points based on a first position 331 of the key points on the welding model; and determine a type 333 of the key points in the initial point table based on the connectivity relationship 332 .
[0100] The connectivity relationship refers to whether two key points are connected by a weld. In some embodiments, the connectivity relationship between two key points may include connectivity or non-connectivity.
[0101] In some embodiments, for any two key points, the processor can determine whether they are points on the same plate intersection line based on the information contained in the welding model. If the two key points are on the same plate intersection line, the two points are connected, otherwise, the two points are not connected. The plate intersection line refers to the intersection line between the plates to be welded, such as the intersection line between the ribs and the ribs, the intersection line between the ribs and the bottom plate, etc.
[0102] In some embodiments, if at a key point, there are at least two intersection lines of plates converging there, then the key point is a corner key point; if only one plate intersection line passes through the key point, then the key point is an end key point.
[0103] In some embodiments, the processor can determine the connection order between the key points based on the aforementioned end key points and the corner key points according to the direction of the intersection line, and then determine the initial point table. For example, the processor can use the end key points as the starting point and the end point, and construct the initial point table in the order from the starting point to the end point according to the direction of the intersection line.
[0104] In some embodiments of the present specification, the processor determines the key points by analyzing and processing the target image and the welding drawing, and determines the connection order of the key points based on the intersection lines where the key points are located and the directions of the intersection lines, and then determines the initial point table. In an automated manner, the initial point table can be determined more accurately and efficiently, avoiding errors that may exist in manual input, which is conducive to improving the efficiency of determining weld points and generating welding tasks.
[0105] Figure 4 It is a schematic diagram of determining a target point table according to some embodiments of this specification.
[0106] In some embodiments, the processor can obtain point cloud data 410 of the object to be welded, perform plane fitting based on the point cloud data 410, obtain position information 421 of multiple welding points 420, match the multiple welding points 420 with the key points 330 in the initial point table 340, and determine the matching result 430; based on the matching result 430 and the position information 421 of the multiple welding points 420, correct the first position 331 corresponding to the key point in the initial point table to obtain the target point table 440.
[0107] Since the key position accuracy of the initial point table does not meet the accuracy requirements of the welding robot, it is necessary to obtain data with higher accuracy. In some embodiments, the processor can obtain point cloud data with higher accuracy and determine a more accurate target point table based on the point cloud data.
[0108] Point cloud data refers to a collection of data recorded in the form of points. For example, point cloud data can be a collection of three-dimensional data of points in a target image. In some embodiments, point cloud data can include attribute information such as the three-dimensional coordinates, color, intensity value, and incident direction of the target. In some embodiments, the processor can obtain a depth image through a visual robot with a laser radar and 3D vision, and perform coordinate conversion on the depth image to obtain point cloud data.
[0109] In some embodiments, the plurality of welding points may include at least one of an end welding point, a corner welding point, a vertical weld start point, and a vertical weld end point. The end welding point refers to a welding point located at the edge of the rib plate; the corner point refers to a welding point where the gun posture or welding angle needs to be changed; the vertical weld start point refers to the starting point of a weld; and the vertical weld end point refers to the end point of a weld.
[0110] In some embodiments, the processor may perform plane fitting based on the point cloud data to determine at least one plane of the object to be welded.
[0111] In some embodiments, the processor can determine multiple welding points based on the point cloud data and / or the plane obtained by fitting. As an example only, for an "I"-shaped rib plate, there are two different planes, and four end key points need to be determined. The processor can determine the first point and the last point in the initial point table as two end key points. At the same time, the processor can also obtain the intersection line of the two planes based on the point cloud data, use the endpoints of the intersection line as the other two end key points, and use the points other than the endpoints on the intersection line as corner points.
[0112] In some embodiments, after plane fitting of the point cloud data, two rib plate planes and one bottom plate plane can be obtained, and the end of the intersection line of the two rib plate planes is connected to the bottom plate plane. At this time, the processor can use the intersection line of the two rib plate planes as the vertical weld, and the intersection point of the vertical weld and the bottom plate plane as the weld start point, and the point with the largest Z direction value in the three-dimensional coordinates (X, Y, Z) corresponding to the vertical weld (that is, the point on the top of the vertical weld relative to the bottom plate) as the weld end point. For another example, if the intersection line of the two rib plate planes passes through the bottom plate plane, and the intersection of the intersection line and the bottom plate plane is a point rather than a line segment, the processor can determine the intersection point as the corner point.
[0113] In some embodiments, the processor may match multiple welding points with key points in the initial point table, determine the matching results, and based on the matching results and the position information of the multiple welding points, correct the first position corresponding to the key point in the initial point table to obtain a target point table.
[0114] For example, the processor can match the position information of multiple welds with the first position corresponding to the key point to determine at least one set of correspondences, where the aforementioned correspondences include welds and key points closest to their positions; the processor can replace the first position corresponding to the key point with the coordinates of the corresponding weld point, and use the replaced point table as the target point table, where the coordinate position of the weld point can be expressed in the form of a three-dimensional vector, such as (X, Y, Z).
[0115] For example, the processor may calculate the distance between multiple welding points and the key point in the initial point table, and if the distance is less than the difference threshold, it is considered a successful match. For a group of successfully matched welding points and key points, the processor may determine the coordinate position of the welding point as the second position, and replace the first position corresponding to the key point in the initial point table with the second position to obtain the target point table. At this time, the position corresponding to the key point in the target point table is updated to a more accurate value.
[0116] The aforementioned difference threshold represents the maximum value of the distance between the welding point and the key point, and can be preset based on prior experience or actual needs.
[0117] In some embodiments of the present specification, by acquiring point cloud data and determining multiple welding points, the first position of the initial point table is corrected based on the coordinate positions corresponding to the machines of the multiple welding points, so that a more accurate target point table can be obtained, thereby improving the operating accuracy of the welding robot.
[0118] Figure 5 It is a schematic diagram of determining welding parameters according to some embodiments of this specification.
[0119] In some embodiments, the processor can obtain welding point coordinates 510 based on the target point table 450; determine welding parameters 550 according to the welding point coordinates 510, welding gun posture 520, target parameter package 530 and additional axis coordinates 540. For a description of welding gun posture, see Figure 2 and its contents.
[0120] The welding point coordinates refer to the position points where the welding robot performs welding work. In some embodiments, the processor can extract the position coordinates of the key points in the target point table and use them as the welding point coordinates.
[0121] The target parameter package refers to the parameter set package corresponding to the target welding process. For example, the target parameter package can be a set of control parameters required for welding flat welds, vertical welds and other processes, including relevant welding control process parameters such as gun posture, welding current, voltage, welding speed, etc. For instructions on obtaining the target parameter package, see the relevant content below.
[0122] The additional axis coordinates refer to the coordinates of the additional degrees of freedom for the welding robot, which can characterize the position of the welding robot. The degrees of freedom refer to the degree of mobility of the welding robot. In some embodiments, the processor can add degrees of freedom to the welding robot, for example, adding a ground rail to the welding robot so that it can move on the workbench. The ground rail is the additional degree of freedom, and the processor can use the coordinates of the welding robot on the ground rail as the additional axis coordinates.
[0123] Welding parameters refer to the control parameters required for the robot to perform the welding process. For example, the welding posture, angle, duration, the starting position of the welding robot, etc. In some embodiments, the modification permission of some welding parameters can be opened to the user, so that the user can adjust the welding parameters according to the needs. For example, the user can delete the welding parameters of a certain weld to cancel the welding requirement of the weld.
[0124] In some embodiments, the processor can determine the welding parameters based on the welding point coordinates, welding gun posture, target parameter package and additional axis coordinates. For example, the processor can adjust the position of the welding robot based on the additional axis coordinates to determine the position of the robot at the start of welding; and obtain the welding point coordinates to determine the weld position and weld type, and then call the corresponding target parameter package based on the weld position and weld type to determine the welding gun posture, welding angle and other parameters during welding. For detailed instructions on determining the weld position and weld type, please refer to this manual Figure 2 Related content in .
[0125] In some embodiments of the present specification, by determining the welding parameters according to the welding point coordinates, welding gun posture, target parameter package and additional axis coordinates, the welding robot can automatically complete the welding work based on the welding parameters, thereby improving work accuracy and work efficiency; by opening up the user's right to modify the welding parameters, the user's demand for welding work can be responded to in a timely manner. Changes.
[0126] In some embodiments, welding parameters 550 also include welding length 551 of continuous welding. In some embodiments, the processor can determine welding length 551 based on welding drawing 560 according to preset rules.
[0127] Among them, continuous welding refers to the process of completing a welding action, such as the welding gun starts to act on the surface of the object to be welded and moves along the weld until the welding gun stops acting on the object to be welded.
[0128] In some embodiments, completing the welding of a weld seam may include at least one continuous welding. For example, when the weld seam does not need to be welded in sections, then only one continuous welding is required to complete the welding of the weld seam. For another example, when the weld seam needs to be welded in sections, then at least one continuous welding is required to complete the welding of the weld seam.
[0129] The welding length refers to the length of the weld completed in one continuous welding. For example, for one continuous welding, the welding length can be set to 3cm or 1.5cm.
[0130] The welding drawing 560 refers to a drawing recording welding requirements, for example, the welding drawing may include data such as symbols corresponding to the welding method, gas required for welding, and weld length.
[0131] In some embodiments, the welding length can be determined directly based on the welding drawing, but because there may be special requirements or special circumstances at the welding position, the weld needs to be completed in sections, that is, the weld needs to be completed by at least one continuous welding. At this time, the processor can determine the welding length of the continuous welding based on preset rules.
[0132] The preset rule 570 refers to a preset rule for determining the welding length. In some embodiments, the preset rule may include at least one of special requirements, special structures, or special heights at the welding location. The preset rule may be determined based on user input.
[0133] In some embodiments, there may be special requirements for the position to be welded, so the welding of the weld needs to be completed in sections. For example, if there is a need for drainage, it is necessary to set a through-weld hole on the welded part, so the welding needs to be completed in sections.
[0134] In some embodiments, there may be special structures at the welding location, so welding needs to be completed in sections. For example, when the weld seam after welding the main rib plate is large, the arc opening cut by the secondary rib plate may also be correspondingly large, and the welding location cannot be continuously welded, so welding needs to be completed in sections.
[0135] In some embodiments, the actual weld height may be inconsistent with the weld height identified by the processor, resulting in the length required to be welded being different from the preset length, or even the weld height being too low, so that the weld is actually unweldable. In this case, the welding condition of the weld needs to be adjusted according to the special height. The special height may refer to the limit value of the height of the unweldable weld. For example, when the weld height is lower than the special height, the processor determines that the weld is unweldable.
[0136] In some embodiments, the processor can determine the welding length based on the welding drawing. For example, when the preset rule is that segmented welding is required, the processor can determine the welding length of continuous welding based on the weld length mark on the preset drawing, so as to facilitate the welding robot to perform segmented welding according to the welding length of each section. For another example, when there is a gap between the actual height of the weld and the weld height on the preset drawing, for welds whose actual height is lower than a special height, the processor can filter out such welds and set their corresponding welding length to 0; for welds whose actual height is greater than the special height, the processor can use the actual height as the welding length.
[0137] In some embodiments of the present specification, by determining the welding length according to preset rules based on welding drawings, the welding length can be adjusted according to requirements such as segmented welding, and the welding length can be adjusted in time according to actual conditions, thereby enhancing the safety of automatic welding work.
[0138] In some embodiments, in response to the distance between the two end welds in the target point table not satisfying the second preset condition, the processor may add a vertical weld to be welded based on the positions of the end welds.
[0139] The second preset condition refers to a condition for determining whether to add a vertical weld to be welded. For example, the second preset condition may be that the distance between the two end welds is greater than a preset value, wherein the preset value may be determined based on experience. For a weld of a closed rib plate, the starting point and the end point of the weld should be the same point, so when the distance between the two end welds does not meet the second preset condition, it reflects that the starting point and the end point of the weld coincide, and the processor may determine that the rib plate is a closed rib plate.
[0140] The vertical weld to be welded refers to the vertical weld of the closed rib plate automatically marked by the processor. For the closed rib plate, since the starting point and the end point of the weld coincide, it is difficult for the user to manually select two end welds to construct the vertical weld. Therefore, the processor needs to obtain the distance between the two end welds according to the point cloud data, and automatically add the vertical weld to be welded based on the distance and the second preset condition.
[0141] In some embodiments, the processor can obtain the distance and position between the two end welds based on the point cloud data. In response to the distance between the two end welds not satisfying the second preset condition, the processor determines that the rib plate is a closed rib plate, and adds a vertical weld to be welded based on the position of the end weld.
[0142] In some embodiments of the present specification, by determining that the distance between the two end welds does not satisfy the second preset condition, vertical welds to be welded are added based on the positions of the end welds. This can solve the problem that vertical welds of closed ribs are difficult to add manually and enable automated addition of vertical welds.
[0143] Figure 6 It is a schematic diagram of determining a target parameter package according to some embodiments of this specification.
[0144] In some embodiments, the processor can perform preliminary matching of parameter packages based on the weld type 610 and parameter package data 620 to obtain parameter packages 630 of different weld types; in response to the number of parameter packages of more than one weld type, obtain associated welds 640 of the weld; based on the positional relationship between the associated welds and the current weld, determine welding restriction information 650; based on the depth image 660 of the current weld, the welding restriction information 650, and the parameter package 620, determine the degree of matching 680 between the weld and different parameter packages through an analysis model 670; based on the degree of matching 680, determine the target parameter packages 530 corresponding to different weld types.
[0145] A parameter package refers to a set of control parameters for a welding process. For example, a parameter package may be a set of welding control process parameters such as welding posture, welding current, voltage, and welding speed. In some embodiments, different weld types require different welding processes, and thus different weld types have their own corresponding parameter packages. In some embodiments, welds of the same weld type may also require different parameter packages.
[0146] The parameter package data refers to the data set of all parameter packages corresponding to the ribs to be welded.
[0147] In some embodiments, the processor can perform preliminary matching of parameter packages based on weld types and parameter package data to obtain parameter packages of different weld types. For example, the processor selects corresponding parameter packages for flat welds, vertical welds, and other weld types from the parameter package data. If there is more than one parameter package corresponding to a single weld type, it is necessary to further judge this type of weld to determine the specific parameter package that each weld should correspond to.
[0148] The associated welds refer to other welds that affect the process parameter selection of the current weld. For example, the associated welds may include other welds whose distance from the current weld is less than a distance threshold, and welds directly connected to the current weld. The distance threshold may be pre-set based on experience.
[0149] Welding limitation information refers to the factors that limit the selection of welding process.
[0150] In some embodiments, the welding restriction information is related to the positional relationship between the associated weld and the current weld. For welds with special circumstances, the processor needs to change the selection of the parameter package according to the needs. For example, for welds at the center line of the angle, the vertical welding gun posture is usually selected, but when there is a groove at the weld, the gun posture needs to be changed. For another example, if the space between the associated weld and the current weld is small, the welding gun cannot be set at the center line of the corner, which will also limit the welding and affect the selection of the matching process package.
[0151] In some embodiments, the welding restriction information is also related to the welding sequence of adjacent welds. For example, the welding sequence of adjacent welds will affect the distribution of the heat-affected zone: if the welding sequence of adjacent welds is not arranged reasonably, the heat generated during the welding process may accumulate too much at the adjacent welds, thereby causing excessive welding deformation or cracks, etc., reducing the welding quality. For another example, the welding sequence of adjacent welds will affect the accumulation mode of residual stress and structural deformation: if the welding sequence of adjacent welds is not arranged reasonably, it may cause excessive accumulation of welding residual stress, thereby affecting the stability and strength of the structure.
[0152] In some embodiments, the processor can construct a restriction information database of different associated welds on the current weld based on historical welding experience, wherein the restriction information database contains historical welding restriction information related to the current weld in the historical records; the associated weld information of the current weld is retrieved in the restriction information database to obtain the historical welding restriction information corresponding to the key weld information, and the historical welding restriction information is determined as the welding restriction information. The associated weld information refers to the type of the associated weld and the relative position relationship (such as direction, distance, etc.) between the associated weld and the current weld.
[0153] The historical welding restriction information refers to the welding restriction information in the historical records. For example, the historical welding restriction information may include the adjustment of process parameters caused by different associated welds in the historical welding experience during actual welding, such as adjusting the welding gun posture from the midline of the angle to the side away from the associated weld, reducing the welding speed, etc.
[0154] The depth image refers to an image that uses the distance (depth) from the visual robot to each point on the surface of the object to be welded as a pixel value. In some embodiments, the depth image can be acquired by a visual robot with a laser radar.
[0155] In some embodiments, for some welds with special process requirements, the processor can use the depth image to determine the size of the weld, as well as whether there are grooves, through-weld holes, arc openings, etc., and thus select a parameter package suitable for the weld.
[0156] The matching degree refers to the appropriate degree of matching between the parameter package and the weld, and its value range is [0,1]. In some embodiments, the processor can determine the matching degree between the weld and different parameter packages through the analysis model based on the depth image, welding restriction information, and parameter package. Among them, the analysis model can determine the matching degree between a weld and a parameter package each time, so the processor needs to input each weld and each parameter package into the analysis model respectively to determine the combination with the best matching degree.
[0157] In some embodiments, the analysis model may be a machine learning model. In some embodiments, the analysis model may include an image feature layer and a process analysis layer.
[0158] In some embodiments, the image feature layer may be a convolutional neural network model (CNN). The input of the image feature layer may include a depth image, and the output may include image features, wherein the image features may include information such as the size of the weld and the presence of special structures.
[0159] In some embodiments, the process analysis layer may be a deep neural network model (DNN). The input of the process analysis layer may include image features, welding restriction information, and parameter packages, and the output may include a matching degree.
[0160] In some embodiments, the output of the image feature layer may be the input of the process analysis layer, and the image feature layer and the process analysis layer may be obtained by joint training.
[0161] In some embodiments, the sample data for joint training includes sample depth images, sample welding restriction information, and sample parameter packages in historical data, and the labels are label values pre-marked by technicians, where the label values are 0 or 1 (1 represents that the parameter package is suitable for the weld, and 0 represents that it is not suitable). The processor can input the sample depth image into the image feature layer to obtain the image features output by the image feature layer; the image features are used as training sample data, and the sample welding restriction information and sample parameter package are input into the process analysis layer to obtain the sample matching degree output by the process analysis layer. A loss function is constructed based on the sample matching degree and the matching degree output by the process analysis layer, and the parameters of the image feature layer and the process analysis layer are updated synchronously. Through parameter updating, a trained image feature layer and an image feature layer are obtained.
[0162] In some embodiments, for each weld, in response to the presence of a parameter package with a matching degree greater than a preset threshold, the processor may use the parameter package with the greatest matching degree as the target parameter package. If the parameter package data loaded in the system does not actually correspond to the rib plate to be welded, there may be a situation where the weld and the parameter package have a low matching degree, and therefore it is necessary to set the preset threshold according to the actual situation of the rib plate to be welded.
[0163] In some embodiments, in response to the matching degree between all parameter packages and the weld being lower than a preset threshold, the processor may send a parameter warning to the user to remind the user to change the parameter package data.
[0164] In some embodiments of the present specification, by determining the degree of matching between the weld and different parameter packages through an analysis model based on depth images, welding restriction information, and parameter packages, the weld can be quickly and accurately matched to a parameter package that meets the requirements, thereby improving the matching efficiency; by sending parameter warnings to users, it is possible to prevent the occurrence of reduced welding accuracy or welding accidents due to errors in parameter package matching.
[0165] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only for example and does not constitute a limitation of this specification. Although not explicitly stated here, those skilled in the art may make various modifications, improvements and corrections to this specification. Such modifications, improvements and corrections are suggested in this specification, so such modifications, improvements and corrections still belong to the spirit and scope of the exemplary embodiments of this specification.
[0166] At the same time, this specification uses specific words to describe the embodiments of this specification. For example, "one embodiment", "an embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of this specification. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different positions in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures or characteristics in one or more embodiments of this specification can be appropriately combined.
[0167] In addition, unless explicitly stated in the claims, the order of the processing elements and sequences described in this specification, the use of alphanumeric characters, or the use of other names are not intended to limit the order of the processes and methods of this specification. Although the above disclosure discusses some invention embodiments that are currently considered useful through various examples, it should be understood that such details are only for illustrative purposes, and the attached claims are not limited to the disclosed embodiments. On the contrary, the claims are intended to cover all modifications and equivalent combinations that are consistent with the essence and scope of the embodiments of this specification. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing server or mobile device.
[0168] Similarly, it should be noted that in order to simplify the description disclosed in this specification and thus help understand one or more embodiments of the invention, in the above description of the embodiments of this specification, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the subject matter of this specification are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.
[0169] In some embodiments, numbers describing the number of components and attributes are used. It should be understood that such numbers used in the description of the embodiments are modified by the modifiers "about", "approximately" or "substantially" in some examples. Unless otherwise specified, "about", "approximately" or "substantially" indicate that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, which may change according to the required features of individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and adopt the general method of retaining the digits. Although the numerical domains and parameters used to confirm the breadth of the range in some embodiments of this specification are approximate values, in specific embodiments, the setting of such numerical values is as accurate as possible within the feasible range.
[0170] Each patent, patent application, patent application publication, and other materials, such as articles, books, specifications, publications, documents, etc., cited in this specification is hereby incorporated by reference in its entirety. Except for application history documents that are inconsistent with or conflicting with the contents of this specification, documents that limit the broadest scope of the claims of this specification (currently or later attached to this specification) are also excluded. It should be noted that if the descriptions, definitions, and / or use of terms in the materials attached to this specification are inconsistent or conflicting with the contents described in this specification, the descriptions, definitions, and / or use of terms in this specification shall prevail.
[0171] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, as an example and not a limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly introduced and described in this specification.
Claims
1. A method for automatically generating welding tasks, characterized in that: include: Based on the target image, an initial point table is obtained, including: determining key point data in the target image; determining the initial point table based on the key point data; wherein the target image is an image including the object to be welded; the initial point table includes at least one key point on the surface of the object to be welded, and a first position where the key point is located; the initial point table refers to a point table composed of the key points that need to be welded on the object to be welded; Determine at least one weld and its corresponding weld attributes based on the initial point table; wherein the weld attributes include weld type; Correcting the position data in the initial point table to determine the target point table includes: acquiring point cloud data of the object to be welded; performing plane fitting based on the point cloud data to obtain position information of multiple welding points, wherein the welding points include at least one of end welding points, corner welding points, vertical weld start points and vertical weld end points; matching the multiple welding points with the key points in the initial point table to determine a matching result; based on the matching result and the position information of the multiple welding points, correcting the first position corresponding to the key point in the initial point table to obtain the target point table; the target point table includes the at least one welding point on the surface of the object to be welded, and the second position where the welding point is located; the target point table refers to a point table composed of the points to be welded; Determining welding parameters based on the target point table and the target parameter package; the target parameter package is determined based on the weld type; A welding task is generated based on the target point table and the welding parameters, and a welding instruction is generated based on the welding task to control a welding robot to complete welding.
2. The method for automatically generating welding tasks according to claim 1, characterized in that: The step of determining at least one weld and its corresponding weld attributes based on the initial point table further includes: Determining the weld type of the weld based on the number of key points in the initial point table and the distances between the key points; If the weld type is a vertical weld, the validity of the weld is judged based on the distances between relevant key points corresponding to the weld.
3. The automatic generation method of welding tasks according to claim 1, characterized in that: The weld attributes include the welding gun posture corresponding to the weld; The step of determining welding parameters based on the target point table and the target parameter package includes: Based on the target point table, obtaining welding point coordinates; Welding parameters are determined according to the welding point coordinates, the welding gun posture, the target parameter package and the additional axis coordinates, wherein the additional axis coordinates represent the position of the welding robot.
4. The automatic generation method of welding tasks according to claim 3, characterized in that: The welding parameters include the welding length of the continuous welding; The method further comprises: Based on the welding drawing, the welding length is determined according to a preset rule; wherein, The preset rule includes at least one of a need for drainage at the position to be welded, the position to be welded cannot be welded continuously, or the weld cannot be welded.
5. The method for automatically generating welding tasks according to claim 3, characterized in that: The method further comprises: In response to the fact that the distance between the two end weld points in the target point table does not satisfy the second preset condition, a vertical weld to be welded is added based on the positions of the end weld points.
6. A welding task automatic generation system, characterized in that: include: The acquisition module is configured to acquire an initial point table based on a target image, including: determining key point data in the target image; determining the initial point table based on the key point data; wherein the target image is an image including an object to be welded; the initial point table includes at least one key point on the surface of the object to be welded, and a first position where the key point is located; the initial point table refers to a point table composed of the key points that need to be welded on the object to be welded; A first determination module is configured to determine at least one weld and its corresponding weld attributes based on the initial point table; wherein the weld attributes include a weld type; The correction module is configured to correct the position data in the initial point table and determine the target point table, including: acquiring the point cloud data of the object to be welded; performing plane fitting based on the point cloud data to obtain the position information of multiple welding points, wherein the welding points include at least one of end welding points, corner welding points, vertical weld start points and vertical weld end points; matching the multiple welding points with the key points in the initial point table to determine the matching results; based on the matching results and the position information of the multiple welding points, correcting the first position corresponding to the key point in the initial point table to obtain the target point table; the target point table includes the at least one welding point on the surface of the object to be welded and the second position where the welding point is located; the target point table refers to a point table composed of the points to be welded; A second determination module is configured to determine welding parameters based on the target point table and the target parameter package; the target parameter package is determined based on the weld type; The control module is configured to generate a welding task based on the target point table and the welding parameters, and to generate a welding instruction based on the welding task to control the welding robot to complete welding.
7. A device for automatically generating welding tasks, comprising a processor, wherein the processor is used to execute the method for automatically generating welding tasks according to any one of claims 1 to 5.
8. A computer-readable storage medium, wherein the storage medium stores computer instructions. When a computer reads the computer instructions in the storage medium, the computer executes the welding task automatic generation method as described in any one of claims 1 to 5.
