CN114119611B - Weld parameter identification method and device, electronic equipment and storage medium - Google Patents

Weld parameter identification method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114119611B
CN114119611B CN202210085063.6A CN202210085063A CN114119611B CN 114119611 B CN114119611 B CN 114119611B CN 202210085063 A CN202210085063 A CN 202210085063A CN 114119611 B CN114119611 B CN 114119611B
Authority
CN
China
Prior art keywords
welding
line segment
weld
dimensional model
candidate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210085063.6A
Other languages
Chinese (zh)
Other versions
CN114119611A (en
Inventor
赵天光
文享龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN202210085063.6A priority Critical patent/CN114119611B/en
Publication of CN114119611A publication Critical patent/CN114119611A/en
Priority to PCT/CN2022/079635 priority patent/WO2023142229A1/en
Application granted granted Critical
Publication of CN114119611B publication Critical patent/CN114119611B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/04Indexing scheme for image data processing or generation, in general involving 3D image data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • G06T2207/10012Stereo images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30152Solder

Abstract

The application belongs to the technical field of automatic welding, and discloses a welding seam parameter identification method, a welding seam parameter identification device, electronic equipment and a storage medium, wherein a three-dimensional model of a workpiece to be welded is loaded; identifying a weld line segment on the three-dimensional model; selecting a plurality of welding track points on the welding line segment, and extracting position data of the welding track points; identifying groove information and two welding connection surfaces of a welding line segment on the three-dimensional model; acquiring normal vector data of two welding connection surfaces at each welding track point; acquiring attitude vector data of the welding gun at each welding track point according to the normal vector data; and recording groove information, position data at each welding track point and attitude vector data at each welding track point to obtain the welding line parameters of the welding line segment, thereby efficiently realizing the welding line parameter identification of the workpiece model and having good applicability.

Description

Weld parameter identification method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of automatic welding, in particular to a welding seam parameter identification method and device, electronic equipment and a storage medium.
Background
When the robot is used for automatic welding, a teaching mode is generally adopted to determine a welding path, and the method is not flexible enough and is not suitable for small-batch and diversified workpiece welding tasks.
At present, some welding seam identification systems can identify welding seams by scanning workpieces, complete scanning images are difficult to obtain for complex shielded workpieces by the aid of the identification systems, incomplete and inaccurate welding seam identification is easy to cause, and for welding seam types with different groove types or different three-dimensional curves, a visual scanning program needs to be specifically programmed according to different welding seam characteristics, so that a set of software system cannot be suitable for wide welding seam type identification and positioning.
In addition, at present, a plurality of welding seam identification programs based on three-dimensional models exist, the welding seam identification programs cannot intelligently identify the positions of welding seams for the introduced three-dimensional models, operators are required to mark welding seam paths, and time and labor are wasted.
Therefore, a method which has good applicability and can efficiently realize the weld parameter recognition of the workpiece model is required.
Disclosure of Invention
The application aims to provide a welding seam parameter identification method, a welding seam parameter identification device, electronic equipment and a storage medium, which are good in applicability and capable of efficiently realizing welding seam parameter identification of a workpiece model.
In a first aspect, the present application provides a weld parameter identification method for obtaining weld parameters according to a three-dimensional model of a workpiece to be welded, including the steps of:
A1. loading a three-dimensional model of a workpiece to be welded; the three-dimensional model is a combined model comprising at least two part entities;
A2. identifying a weld line segment on the three-dimensional model;
A3. selecting a plurality of welding track points on the welding line segment, and extracting position data of the welding track points;
A4. identifying groove information and two welding connection surfaces of the welding line segment on the three-dimensional model;
A5. acquiring normal vector data of the two welding connection surfaces at each welding track point;
A6. acquiring attitude vector data of the welding gun at each welding track point according to the normal vector data;
A7. and recording the groove information, the position data at each welding track point and the attitude vector data at each welding track point to obtain the welding line parameters of the welding line segment.
The welding seam parameter identification method can automatically identify the welding seam line segment on the three-dimensional model after loading the three-dimensional model of the workpiece to be welded, and automatically complete the selection of welding track points, the identification of groove information and the attitude vector data of a welding gun at each welding track point to obtain the welding seam parameter of the welding seam line segment; the welding robot can subsequently control the welding gun to weld at each welding track point of the welding line at a corresponding attitude angle according to the welding line parameters; therefore, the welding seam parameter identification of the workpiece model can be efficiently realized, and the applicability is good.
Preferably, after the step A6 and before the step A7, the method further comprises the steps of:
A8. and performing collision detection on the welding gun model of the welding gun and the three-dimensional model according to the position data and the attitude vector data at each welding track point, and deleting the welding track points with collision conditions or adjusting the attitude vector data according to the detection result.
Therefore, the welding failure caused by interference between the welding gun and the workpiece when the welding robot performs welding according to the welding seam parameters can be avoided.
Preferably, step a2 includes:
A201. when the three-dimensional model contains welding seam marking information, identifying a welding seam line segment according to the welding seam marking information of the three-dimensional model;
A202. when the three-dimensional model does not contain welding seam marking information, extracting a surface forming surface set of each part entity;
A203. determining a target entity, a first candidate welding seam overlapping surface and a second candidate welding seam overlapping surface according to the intersection condition of each part entity and each surface of other part entities; the target entity is one of the part entities; the first candidate welding seam overlapping surface is one surface which does not belong to the target entity, and the first candidate welding seam overlapping surface is attached to one surface of the target entity; the second candidate welding seam overlapping surface is one surface of the target entity, and the second candidate welding seam overlapping surface is attached to the first candidate welding seam overlapping surface;
A204. extracting edge line segments of the first candidate welding seam overlapping surface and the second candidate welding seam overlapping surface;
A205. and extracting a part of the edge line segment of the first candidate weld joint coincidence plane intersected with the second candidate weld joint coincidence plane and falling into the second candidate weld joint coincidence plane as the weld line segment, or extracting a part of the edge line segment of the second candidate weld joint coincidence plane intersected with the first candidate weld joint coincidence plane and falling into the first candidate weld joint coincidence plane as the weld line segment.
Therefore, whether the three-dimensional model contains the welding seam marking information or not, the automatic identification of the welding seam line segment can be realized, and the applicability is further improved.
In some embodiments, the weld marking information is color information;
step a201 includes:
identifying the color of each line segment of the three-dimensional model;
and judging the line segment with the color of the designated color as the weld line segment.
In other embodiments, the weld marking information is a specific identification character recorded in a source file of the three-dimensional model;
step a201 includes:
reading a source file of the three-dimensional model;
searching a specific identification character in the source file;
and judging the line segment corresponding to the coordinate sequence after the specific identification character as a welding line segment.
Preferably, step a3 includes:
A301. when the welding line segment is a straight line segment, selecting a plurality of welding track points at equal intervals on the welding line segment, and extracting position data of each welding track point;
A302. when the welding line segment is a curved line segment, selecting a plurality of welding track points on the welding line segment according to the curvatures of all parts of the welding line segment, enabling the height error between a straight line connecting line and a curved line connecting line between any adjacent welding track points to be not larger than a preset error threshold value, and extracting the position data of each welding track point; the curved connecting lines are the parts of the welding line segments located between the adjacent welding track points.
Preferably, step a302 comprises:
evenly dividing the welding line segment into a plurality of arc segments according to the length of the arc length, and taking the end point of each arc segment as the welding track point;
calculating the height error between a straight line connecting line between two adjacent welding track points and the corresponding arc section;
if at least one bow height error is larger than a preset error threshold value, inserting a new welding track point into the corresponding arc section of which the bow height error is larger than the preset error threshold value, so that the corresponding bow height error of the newly divided arc section is not larger than the error threshold value;
and extracting the position data of each welding track point.
Preferably, the groove information includes groove type information and groove size information indicating a groove at the corresponding weld line segment;
step a4 includes:
generating a sphere with a preset radius by taking one of the welding track points as a sphere center;
acquiring the number of the surfaces having collision interference with the sphere;
judging whether a groove is formed at the welding line section according to the number;
if so, acquiring groove type information and groove size information of the groove;
and if not, the groove information of the welding line segment is set to be empty.
Preferably, step a6 includes:
calculating attitude vector data of the welding gun at each welding track point according to the following formula:
Figure 134716DEST_PATH_IMAGE002
wherein the content of the first and second substances,
Figure 568015DEST_PATH_IMAGE004
is as follows
Figure 49812DEST_PATH_IMAGE006
The pose vector data at each of the weld trajectory points,
Figure 338842DEST_PATH_IMAGE008
for the first one of said welded joints to be in the second
Figure 222484DEST_PATH_IMAGE006
The normal vector data at each of the weld trajectory points,
Figure DEST_PATH_IMAGE010
for the second said welded joint face at
Figure 86404DEST_PATH_IMAGE006
The normal vector data at each of the weld trajectory points,
Figure DEST_PATH_IMAGE012
and
Figure DEST_PATH_IMAGE014
a weight value greater than zero and less than 1,
Figure DEST_PATH_IMAGE016
the total number of the welding track points.
In a second aspect, the present application provides a weld parameter identification apparatus for obtaining weld parameters according to a three-dimensional model of a workpiece to be welded, including:
the loading module is used for loading the three-dimensional model of the workpiece to be welded; the three-dimensional model is a combined model comprising at least two part entities;
the first identification module is used for identifying a welding line segment on the three-dimensional model;
the first execution module is used for selecting a plurality of welding track points on the welding line segment and extracting the position data of the welding track points;
the second identification module is used for identifying groove information and two welding connection surfaces of the welding line segment on the three-dimensional model;
the first acquisition module is used for acquiring normal vector data of the two welding connection surfaces at each welding track point;
the second acquisition module is used for acquiring attitude vector data of the welding gun at each welding track point according to the normal vector data;
and the recording module is used for recording the groove information, the position data at each welding track point and the attitude vector data at each welding track point to obtain the welding line parameters of the welding line segment.
The welding seam parameter identification device can automatically identify the welding seam line segment on the three-dimensional model after loading the three-dimensional model of the workpiece to be welded, and automatically complete the selection of welding track points, the identification of groove information and the posture vector data of a welding gun at each welding track point to obtain the welding seam parameter of the welding seam line segment; the welding robot can subsequently control the welding gun to weld at each welding track point of the welding line at a corresponding attitude angle according to the welding line parameters; therefore, the welding seam parameter identification of the workpiece model can be efficiently realized, and the applicability is good.
In a third aspect, the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor executes the computer program to perform the steps of the weld parameter identification method as described above.
In a fourth aspect, the present application provides a storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of the weld parameter identification method as described above.
Has the advantages that:
according to the welding seam parameter identification method, the welding seam parameter identification device, the electronic equipment and the storage medium, a three-dimensional model of a workpiece to be welded is loaded; the three-dimensional model is a combined model comprising at least two part entities; identifying a weld line segment on the three-dimensional model; selecting a plurality of welding track points on the welding line segment, and extracting position data of the welding track points; identifying groove information and two welding connection surfaces of the welding line segment on the three-dimensional model; acquiring normal vector data of the two welding connection surfaces at each welding track point; acquiring attitude vector data of the welding gun at each welding track point according to the normal vector data; and recording the groove information, the position data at each welding track point and the attitude vector data at each welding track point to obtain the welding line parameters of the welding line segment, thereby efficiently realizing the welding line parameter identification of the workpiece model and having good applicability.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application.
Drawings
Fig. 1 is a flowchart of a weld parameter identification method provided in an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a weld parameter identification device provided in an embodiment of the present application.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
FIG. 4 is a three-dimensional model of an exemplary workpiece to be welded.
Fig. 5 is a schematic diagram of the bow height error.
FIG. 6 is a three-dimensional model of a workpiece to be welded with weld marks.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 is a weld parameter identification method in some embodiments of the present application, for obtaining weld parameters according to a three-dimensional model of a workpiece to be welded, including the steps of:
A1. loading a three-dimensional model of a workpiece to be welded; the three-dimensional model is a combined model comprising at least two part entities;
A2. identifying a weld line segment on the three-dimensional model;
A3. selecting a plurality of welding track points on the welding line segment, and extracting position data of the welding track points;
A4. identifying groove information and two welding connection surfaces of a welding line segment on the three-dimensional model;
A5. acquiring normal vector data of two welding connection surfaces at each welding track point;
A6. acquiring attitude vector data of the welding gun at each welding track point according to the normal vector data;
A7. and recording the groove information, the position data of each welding track point and the attitude vector data of each welding track point to obtain the welding line parameters of the welding line segment.
The welding seam parameter identification method can automatically identify the welding seam line segment on the three-dimensional model after loading the three-dimensional model of the workpiece to be welded, and automatically complete the selection of welding track points, the identification of groove information and the attitude vector data of a welding gun at each welding track point to obtain the welding seam parameter of the welding seam line segment; the welding robot can subsequently control the welding gun to weld at each welding track point of the welding line at a corresponding attitude angle according to the welding line parameters; therefore, the welding seam parameter identification of the workpiece model can be efficiently realized, and the applicability is good.
The welding seam parameter identification method can be applied to a control system of a welding robot, after welding seam parameters are obtained through identification, in the subsequent welding process, appropriate welding process parameters can be automatically matched according to groove information of the welding seam, and a welding gun is controlled to weld at a corresponding attitude angle according to attitude vector data of each welding track point. Therefore, the welding seam parameters of the welding seam line segment are identified and obtained through the welding seam parameter identification method, a good data information basis is laid for the automatic matching of proper welding process parameters for subsequent welding, and the high-efficiency acquisition of the welding seam and the posture data of a welding gun can be realized.
In some preferred embodiments, after step a6 and before step a7, further comprising the steps of:
A8. and performing collision detection on a welding gun model and a three-dimensional model of the welding gun according to the position data and the attitude vector data of each welding track point, and deleting the welding track points with collision conditions or adjusting the attitude vector data according to the detection result.
Therefore, the welding failure caused by interference between the welding gun and the workpiece when the welding robot performs welding according to the welding seam parameters can be avoided.
Specifically, step A8 includes:
A801. leading in a welding gun model of a welding gun;
A802. sequentially moving the end part of the welding gun model to each welding track point, and enabling the attitude angle of the welding gun model (namely the attitude angle of the axis of the welding gun model) to be the attitude angle corresponding to the attitude vector data at each welding track point;
A803. detecting whether a collision condition exists between the welding gun model and the three-dimensional model of the workpiece to be welded through a collision detection algorithm;
A804. if the collision condition exists, keeping the end part of the welding gun model at the corresponding welding track point, and searching a target attitude angle capable of avoiding collision between the welding gun model and the three-dimensional model of the workpiece to be welded by changing the attitude angle of the welding gun model (the attitude angle changing mode can be set according to actual needs, and the mode is not limited in the process);
A805. when a target attitude angle is searched, calculating new attitude vector data according to the target attitude angle to update the attitude vector data at the welding track point;
A806. and when the target attitude angle cannot be searched, deleting the welding track point.
Generally, the attitude vector data includes three coordinate values of x, y and z, the coordinate values are coordinate values in the workpiece coordinate system, each attitude vector data corresponds to an attitude angle, and the attitude vector data and the corresponding attitude angle can be converted with each other (the conversion method is prior art, and the details thereof are not described here).
It should be noted that, in the subsequent welding process, the welding robot does not perform automatic welding on the position without the welding track point, and the position without the welding track point can be subjected to repair welding manually or in other manners.
And detecting whether the welding gun model and the three-dimensional model have collision conditions or not through an intersection algorithm in Boolean operation. And when the intersection between the welding gun model and the three-dimensional model is detected through an intersection algorithm in Boolean operation, the collision condition is indicated.
The three-dimensional model of the workpiece to be welded and the welding gun model can be CAD three-dimensional models with intermediate formats commonly used by step, iges, brep and the like.
In some preferred embodiments, step a2 includes:
A201. when the three-dimensional model contains welding seam marking information, identifying a welding seam line segment according to the welding seam marking information of the three-dimensional model;
A202. when the three-dimensional model does not contain the welding seam marking information, extracting the surfaces of each part entity (each surface of the outer surface of each part entity) to form a surface set;
A203. determining a target entity, a first candidate welding seam superposed surface and a second candidate welding seam superposed surface according to the intersection condition of each part entity and each surface of other part entities; the target entity is one of the part entities; the first candidate welding seam overlapping surface is a surface which does not belong to the target entity, and the first candidate welding seam overlapping surface is attached to one surface of the target entity; the second candidate welding seam overlapping surface is one surface of the target entity, and the second candidate welding seam overlapping surface is attached to the first candidate welding seam overlapping surface;
A204. extracting edge line segments of the first candidate welding seam coincident face and the second candidate welding seam coincident face;
A205. and extracting a part falling into the second candidate weld joint coincidence face in an edge line segment of the first candidate weld joint coincidence face intersected with the second candidate weld joint coincidence face as a weld line segment, or extracting a part falling into the first candidate weld joint coincidence face in an edge line segment of the second candidate weld joint coincidence face intersected with the first candidate weld joint coincidence face as a weld line segment.
In practical application, sometimes a seam is marked when a three-dimensional model of a workpiece to be welded is established, and sometimes the seam is not marked when the three-dimensional model of the workpiece to be welded is established; for the three-dimensional model which marks the welding seam, the welding seam line segment is directly identified according to the welding seam marking information, the efficiency is high, and for the three-dimensional model which does not mark the welding seam, the welding seam line segment is identified through the method, so that the welding seam line segment can be reliably identified. Therefore, whether the three-dimensional model contains the welding seam marking information or not can be automatically identified, and the applicability is further improved.
The weld labeling information may be color information, for example, the weld segment in the three-dimensional model is set to a designated color (e.g., red), the other segments in the three-dimensional model are set to other colors (e.g., yellow), and when the weld segment is identified according to the weld labeling information of the three-dimensional model, the segment with the designated color is directly determined as the weld segment (e.g., the weld segment in the three-dimensional model shown in fig. 6 is labeled with the designated color). Thus, step a201 includes:
identifying the color of each line segment of the three-dimensional model;
and judging the line segment with the color of the designated color as the weld line segment.
The welding seam marking information can also be a specific identification character recorded in a source file of the three-dimensional model, a specific identification character is arranged in front of a coordinate sequence formed by coordinates of each position point of each welding seam line segment in the source file of the three-dimensional model, so that the line segment corresponding to the coordinate sequence after the specific identification character is the welding seam line segment, when the welding seam line segment is identified according to the welding seam marking information of the three-dimensional model, the specific identification character can be searched from the source file of the three-dimensional model, and the line segment corresponding to the coordinate sequence after the specific identification character is determined as the welding seam line segment. Thus, step a201 includes:
reading a source file of the three-dimensional model;
searching a specific identification character in the source file;
and judging the line segment corresponding to the coordinate sequence after the specific identification character as a welding line segment.
Wherein, step a203 comprises:
sequentially taking each part entity as a first part entity, taking the surface belonging to the first part entity in the surface set as a first surface, and taking the surfaces belonging to other part entities as second surfaces, and respectively obtaining the intersection of the first part entity and each second surface through an intersection algorithm in Boolean operation;
if the intersection of the second surface and the first part entity is a surface intersection, judging that the first part entity is a target entity, and judging that the second surface is a first candidate welding seam overlapping surface;
respectively obtaining the intersection of each surface of the target entity and the first candidate welding seam coincident surface through an intersection algorithm in Boolean operation;
and determining the intersection of the target entity and the first candidate weld joint coincidence plane as a plane intersection as a second candidate weld joint coincidence plane.
For example, an exemplary three-dimensional model of a workpiece to be welded shown in fig. 4 includes two entity pieces, namely a bottom plate 90 and a side plate 91, a lower surface of the side plate 91 is attached to an upper surface of the bottom plate 90, when the bottom plate 90 is used as a first entity piece, six faces on the side plate 91 are second faces, an intersection of a bottom face of the side plate 91 and the first entity piece (the bottom plate 90) is detected as a face intersection by an intersection algorithm in boolean operation, intersections of other second faces and the first entity piece (the bottom plate 90) are all empty, so that the bottom plate 90 is used as a target entity, a bottom face of the side plate 91 is used as a first candidate weld seam intersection face, then an intersection of a top face of the target entity (the bottom plate 90) and the first candidate weld seam intersection face (the bottom face of the side plate 91) is detected as a face intersection by an intersection algorithm in boolean operation, intersections of other intersection faces of the target entity piece and the first candidate weld seam intersection face (the bottom face of the side plate 91) are all empty, thereby using the top surface of the bottom plate 90 as a second candidate weld overlap surface.
Wherein, the weld is at the edge of the joint part of the two surfaces which are jointed with each other, and for the condition that the first candidate weld joint coincident surface and the second candidate weld joint coincident surface are partially coincident, the weld line segment is generally at the edge of the first candidate weld joint coincident surface or the second candidate weld joint coincident surface, and is a part or all of the edge (so that the weld line segment is a part which falls into the second candidate weld joint coincident surface in the edge line segment of the first candidate weld joint coincident surface which has intersection with the second candidate weld joint coincident surface, or a part which falls into the second candidate weld joint coincident surface in the edge line segment of the second candidate weld joint coincident surface which has intersection with the first candidate weld joint coincident surface); for the case where the first candidate weld seam overlapping surface and the second candidate weld seam overlapping surface are partially completely overlapped, the weld seam line segment is generally at the edge of the first candidate weld seam overlapping surface and the second candidate weld seam overlapping surface (at this time, each edge of the first candidate weld seam overlapping surface and the second candidate weld seam overlapping surface is overlapped), and is all of the edge (in this case, it is also satisfied that the weld seam line segment is a portion falling into the second candidate weld seam overlapping surface in an edge line segment of the first candidate weld seam overlapping surface intersecting with the second candidate weld seam overlapping surface, or a portion falling into the second candidate weld seam overlapping surface in an edge line segment of the second candidate weld seam overlapping surface intersecting with the first candidate weld seam overlapping surface).
In some more preferred embodiments, step a205 is further followed by:
A206. displaying the recognition result of the weld line segment (for example, but not limited to, changing the color of the recognized weld line segment to a designated color in the three-dimensional model);
A207. when a weld line segment deletion instruction is received, the specified weld line segment is determined to be a non-weld line segment (for example, a user can select the weld line segment to be deleted by a mouse and generate a weld line segment deletion instruction by pressing a Delete key, and after the weld line segment deletion instruction is received, the weld line segment to be deleted by the user is determined to be the non-weld line segment).
In practical applications, some edge line segments satisfy the determination rule of the seam line segment, but actually no welding is performed at the edge line segment, for example, the first edge line segment 92 and the second edge line segment 93 in fig. 4 both satisfy the determination rule of the seam line segment, so that the seam line segment is determined, but actually no welding is performed at the second edge line segment 93, and only the first edge line segment 92 is an actual seam line segment; here, by displaying the recognition result, the weld line segment except the non-weld is manually deleted by hand, so that the accuracy of the final weld line segment recognition result can be ensured.
Wherein, the weld line segment may be a straight line segment, and may also be a curved line segment (an arc line segment, a spline curved line segment, etc.), in this embodiment, step a3 includes:
A301. when the welding line segment is a straight line segment, selecting a plurality of welding track points at equal intervals on the welding line segment, and extracting the position data of each welding track point;
A302. when the welding line segment is a curve segment, selecting a plurality of welding track points on the welding line segment according to the curvatures of all parts of the welding line segment, so that the height error between a straight line connecting line and a curve connecting line between any adjacent welding track points is not larger than a preset error threshold value, and extracting the position data of each welding track point; the curved connecting lines are the portions of the weld line segments that lie between adjacent weld locus points.
When a plurality of welding track points are selected at equal intervals, the welding track points can be selected at equal intervals according to preset intervals, and the preset intervals can be set according to actual needs.
Wherein, step a302 includes:
A3021. evenly dividing the welding line segment into a plurality of arc segments according to the length of the arc length, and taking the end point of each arc segment as a welding track point;
A3022. calculating the height error between a straight line connecting line between two adjacent welding track points and the corresponding arc section;
A3023. if at least one arch height error is larger than a preset error threshold value, inserting a new welding track point into the corresponding arc section with the arch height error larger than the preset error threshold value, and enabling the corresponding arch height error of the newly divided arc section to be not larger than the error threshold value;
A3024. and extracting the position data of each welding track point.
Wherein, step a3021 includes:
calculating the segment arc length step according to the following formula:
Figure DEST_PATH_IMAGE018
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE020
in order to segment the arc length step length,
Figure DEST_PATH_IMAGE022
is the total arc length of the weld line segment,
Figure DEST_PATH_IMAGE024
is a preset arc length step length,
Figure DEST_PATH_IMAGE026
is an upward rounding function;
the welding line segment is divided into a plurality of arc segments on average, the arc length of each arc segment is equal to the step length of the arc length of the segment, and the end point of each arc segment is taken as a welding track point.
Wherein, step a3022 includes:
calculating the height error between a straight line connecting line between two adjacent welding track points and the corresponding arc segment according to the following formula:
Figure DEST_PATH_IMAGE028
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE030
is as follows
Figure DEST_PATH_IMAGE032
A welding track point and a second welding track point
Figure DEST_PATH_IMAGE034
The height error between the straight line connecting line between the welding track points and the corresponding arc segment,
Figure DEST_PATH_IMAGE036
the total number of the welding track points of the welding line segment,
Figure DEST_PATH_IMAGE038
is as follows
Figure 288453DEST_PATH_IMAGE032
A welding track point and a second welding track point
Figure 850015DEST_PATH_IMAGE034
The length of the straight line connecting the trace points,
Figure DEST_PATH_IMAGE040
is as follows
Figure 40694DEST_PATH_IMAGE032
A welding track point and a second welding track point
Figure 357406DEST_PATH_IMAGE034
The equivalent radius of curvature of the arc segments between the individual welding track points, wherein,
Figure DEST_PATH_IMAGE042
or
Figure DEST_PATH_IMAGE044
Or
Figure DEST_PATH_IMAGE046
Figure DEST_PATH_IMAGE048
For the weld lineSegment at
Figure 407270DEST_PATH_IMAGE032
The radius of curvature at each point of the weld trace,
Figure DEST_PATH_IMAGE050
for the weld line segment in
Figure 15932DEST_PATH_IMAGE034
Radius of curvature at each weld trace point.
For example, in fig. 5, one of the arc segments of the weld line segment is an arc segment AB in the figure (a solid curve in fig. 5), two end points a and B of the arc segment AB are two adjacent welding track points, a straight line connecting line between the two welding track points is a straight line segment AB (a dot-dash line in fig. 5), and a dimension E in the figure is an arch height error between the arc segment AB and the straight line segment AB; in fig. 5, the arc segment AB is an arc, and therefore, the radii of curvature at the points a and B are equal (the radius of curvature at the point a is the length of OA, the radius of curvature at the point B is the length of OB, and O is the center of the arc, where OA = OB).
In some embodiments, step a3023 comprises:
the method comprises the steps of taking an arc section with a corresponding height error larger than a preset error threshold as a target arc section, inserting a new welding track point at the midpoint of the target arc section, dividing the target arc section into two new arc sections again, calculating the height error corresponding to the newly divided new arc section, judging whether the height error is larger than the preset error threshold, if the height error corresponding to the newly divided new arc section is still larger than the preset error threshold, inserting a new welding track point at the midpoint of the new arc section with the corresponding height error larger than the preset error threshold again, and repeating the steps until the height errors corresponding to all the new arc sections divided into the target arc section are not larger than the preset error threshold.
Wherein, the preset error threshold value can be set according to the implementation requirement. Because when welding in follow-up, welding robot can control welder from a welding track point rectilinear movement to next welding track point department, through the welding track point of above-mentioned mode determination, can guarantee that the deviation between welder's orbit and the target weld in follow-up welding process is in the allowed range to guarantee welding quality.
In practical applications, sometimes a weld line segment may have both a straight line portion and a curved line portion, and at this time, a plurality of welding trace points are selected at equal intervals in the straight line portion (specifically refer to step a 301), and a plurality of welding trace points are selected in the curved line portion according to curvatures at each position of the curved line portion, so that a bow height error between a straight line connecting line and a curved line connecting line between any adjacent welding trace points is not greater than a preset error threshold (specifically refer to step a 302).
Preferably, the groove information includes groove type information and groove size information indicating a groove at the corresponding weld line segment;
step a4 includes:
A401. generating a sphere with a preset radius (the preset radius can be set according to actual requirements) by taking one of the welding track points as a sphere center;
A402. acquiring the number of surfaces having collision interference with the sphere;
A403. judging whether a groove is formed at the welding line section according to the number;
A404. if so, acquiring groove type information and groove size information of the groove;
A405. and if not, the groove information of the welding line segment is set to be empty.
The groove type information is information indicating the type of a groove, and the type of the groove is generally an I-shaped groove, a V-shaped groove, a U-shaped groove, an X-shaped groove or a Y-shaped groove; the groove size information comprises included angle information of the groove, width information of the upper side and the lower side of the section of the groove and the like.
Generating a sphere with a preset radius by taking a welding track point closest to the middle point of the welding line segment as a sphere center; a welding track point can also be randomly selected as a sphere center to generate a sphere with a preset radius; but is not limited thereto.
Whether collision interference exists between the sphere and each surface can be detected through an intersection algorithm in Boolean operation, and therefore the number of the surfaces which have collision interference with the sphere is obtained.
Wherein, step a403 includes: if the number is not larger than the preset number threshold value, judging that the welding line section has no groove, otherwise, judging that the welding line section has the groove. The number threshold is typically 3.
The groove type information and the groove size information may be obtained by a shape feature matching method in the prior art, but is not limited thereto. And obtaining the groove type information and the groove size information, finally recording the groove type information and the groove size information as a part of welding line parameters of a welding line segment, and automatically matching welding process parameters according to the groove type information and the groove size information in the subsequent welding process so as to ensure the welding quality.
Wherein, the welding is connected the face that the face is located the welding seam both sides and is connected with this welding seam after two part entities are welded, and further, step A4 still includes:
A406. if the welding line segment has no groove, performing parent characteristic reverse topology on the welding line segment to obtain two welding connection surfaces of the welding line segment (specifically, each surface of a part entity is surrounded by a wire frame which is formed by a plurality of line segments and is connected end to end, and each line segment in one part entity is commonly shared by two surfaces, so that the welding connection surfaces of the welding line segment can be traversed by traversing whether each surface of the part entity contains the welding line segment or not);
A407. if the welding line section is provided with a groove, the bevel face is removed from the face which has collision interference with the ball body, and two welding connection faces of the welding line section are obtained.
In practical application, a normal vector of a point on a welding connection surface refers to a vector perpendicular to the welding connection surface at the point, normal vector data includes three coordinate values of x, y and z, and the coordinate values are coordinate values in a workpiece coordinate system.
For planar welding connection surface, its normal vector of any point is identical, and it can be used for weldingThe vector data corresponding to two crossed line segments on the connecting surface are cross-multiplied to obtain the normal vector data, and the formula is expressed as follows:
Figure DEST_PATH_IMAGE052
Figure DEST_PATH_IMAGE054
in order to be the normal vector data,
Figure DEST_PATH_IMAGE056
Figure DEST_PATH_IMAGE058
vector data corresponding to two intersecting line segments.
For analyzing a curved surface-shaped welded joint surface, normal vector data at a point (hereinafter, denoted by point P) on the welded joint surface can be calculated according to the following formula:
Figure DEST_PATH_IMAGE060
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE062
a shaft,
Figure DEST_PATH_IMAGE064
The axes are two preset reference coordinate axes which are perpendicular to each other,
Figure 592276DEST_PATH_IMAGE062
Figure 407785DEST_PATH_IMAGE064
the values of (A) are coordinate values of two reference coordinate axes, and the coordinate values of x, y and z can be expressed as
Figure 226837DEST_PATH_IMAGE062
And
Figure 989256DEST_PATH_IMAGE064
as a function of (a) or (b),
Figure DEST_PATH_IMAGE066
is at point P
Figure 357789DEST_PATH_IMAGE062
A differential function in the axial direction (with a fixed calculation formula, which can be calculated by the calculation formula, which is prior art),
Figure DEST_PATH_IMAGE068
is at point P
Figure 750725DEST_PATH_IMAGE064
A differential function in the axial direction (there is a fixed calculation formula by which it can be calculated, which is prior art).
In some preferred embodiments, step a6 includes:
calculating attitude vector data of the welding gun at each welding track point according to the following formula:
Figure 181706DEST_PATH_IMAGE002
wherein the content of the first and second substances,
Figure 482237DEST_PATH_IMAGE004
is as follows
Figure 439698DEST_PATH_IMAGE006
The attitude vector data at each welding trajectory point,
Figure 331431DEST_PATH_IMAGE008
for the first welded joint face at the second
Figure 125074DEST_PATH_IMAGE006
Normal vector data (normalized, modulo 1) at each weld locus point,
Figure 26034DEST_PATH_IMAGE010
for the second welding to join the surface at
Figure 572422DEST_PATH_IMAGE006
Normal vector data (normalized, modulo 1) at each weld locus point,
Figure 166214DEST_PATH_IMAGE012
and
Figure 181575DEST_PATH_IMAGE014
a weight value greater than zero and less than 1,
Figure 886226DEST_PATH_IMAGE016
the total number of welding trace points.
Wherein the content of the first and second substances,
Figure 552699DEST_PATH_IMAGE012
and
Figure 255076DEST_PATH_IMAGE014
the value of (b) can be set according to actual needs, generally, the vector on the angular bisector of the angle between the normal vectors of the first welding connection surface and the second welding connection surface at the welding track point can be used as the attitude vector of the welding gun at the welding track point, and at this moment, the attitude vector of the welding gun at the welding track point can be used as the vector of the angle between the normal vectors of the first welding connection surface and the second welding connection surface
Figure 882366DEST_PATH_IMAGE012
And
Figure 495DEST_PATH_IMAGE014
equal; but is not limited thereto.
According to the method for identifying the welding seam parameters, the three-dimensional model of the workpiece to be welded is loaded; the three-dimensional model is a combined model comprising at least two part entities; identifying a weld line segment on the three-dimensional model; selecting a plurality of welding track points on the welding line segment, and extracting position data of the welding track points; identifying groove information and two welding connection surfaces of a welding line segment on the three-dimensional model; acquiring normal vector data of two welding connection surfaces at each welding track point; acquiring attitude vector data of the welding gun at each welding track point according to the normal vector data; and recording groove information, position data at each welding track point and attitude vector data at each welding track point to obtain the welding line parameters of the welding line segment, thereby efficiently realizing the welding line parameter identification of the workpiece model and having good applicability. Specifically, the weld parameter identification method has the following advantages:
1. the weld joint identification can be carried out on two workpiece three-dimensional models of marked weld joints and unmarked weld joints, and the adaptability is better; the welding line can be intelligently identified by one key, so that time and labor are saved, the working efficiency is high, and the labor cost is saved;
2. for welding seams with complex shapes such as spline curves and the like, selecting a welding seam track point through a bow height error, so that the bow height error of each discrete small line segment is not higher than the offset error required by the welding quality, and the problem that the welding quality of the complex curve welding seam line segment does not reach the standard due to the error of the welding track in the subsequent welding process can be effectively avoided;
3. whether a groove exists in each welding line segment and the type and size data of the groove can be automatically judged according to the parameterized characteristics of the three-dimensional model of the workpiece, and a good data information basis is laid for the automatic matching of proper welding process parameters in the subsequent groove welding;
4. compared with the prior art which only can identify the position of a welding seam and cannot generate the posture data of the welding gun, the scheme really realizes the one-key intelligent acquisition and generation of the welding seam and the posture data of the welding gun by automatically identifying the welding connection surface and automatically generating the posture vector data of the welding gun;
5. whether interference collision can occur at each welding track point in the welding process can be judged in advance by performing collision detection on the welding gun model and the three-dimensional model of the workpiece to be welded, and then the posture vector data is adjusted or the welding track points are deleted, so that the subsequent welding process is safer, more efficient and more intelligent.
Referring to fig. 2, the present application provides a weld parameter identification apparatus for obtaining weld parameters from a three-dimensional model of a workpiece to be welded, including:
the loading module 1 is used for loading a three-dimensional model of a workpiece to be welded; the three-dimensional model is a combined model comprising at least two part entities;
the first identification module 2 is used for identifying a welding line segment on the three-dimensional model;
the first execution module 3 is used for selecting a plurality of welding track points on the welding line segment and extracting the position data of the welding track points;
the second identification module 4 is used for identifying groove information of the welding line segment and two welding connection surfaces on the three-dimensional model;
the first acquisition module 5 is used for acquiring normal vector data of two welding connection surfaces at each welding track point;
the second acquisition module 6 is used for acquiring attitude vector data of the welding gun at each welding track point according to the normal vector data;
and the recording module 7 is used for recording groove information, position data at each welding track point and attitude vector data at each welding track point to obtain welding seam parameters of a welding seam line segment.
The welding seam parameter identification device can automatically identify the welding seam line segment on the three-dimensional model after loading the three-dimensional model of the workpiece to be welded, and automatically complete the selection of welding track points, the identification of groove information and the posture vector data of a welding gun at each welding track point to obtain the welding seam parameter of the welding seam line segment; the welding robot can subsequently control the welding gun to weld at each welding track point of the welding line at a corresponding attitude angle according to the welding line parameters; therefore, the welding seam parameter identification of the workpiece model can be efficiently realized, and the applicability is good.
The welding seam parameter identification device can be applied to a control system of a welding robot, after welding seam parameters are obtained through identification, in the subsequent welding process, appropriate welding process parameters can be automatically matched according to groove information of a welding seam, and a welding gun is controlled to weld at a corresponding attitude angle according to attitude vector data of each welding track point. Therefore, the welding seam parameter of the welding seam line segment is identified and obtained through the welding seam parameter identification device, a good data information basis is laid for the automatic matching of proper welding process parameters of subsequent welding, and the high-efficiency acquisition of the welding seam and the posture data of a welding gun can be realized.
In some preferred embodiments, the weld parameter identification apparatus further includes:
and the detection module is used for carrying out collision detection on the welding gun model and the three-dimensional model of the welding gun according to the position data and the attitude vector data of each welding track point, and deleting the welding track points with collision conditions or adjusting the attitude vector data according to the detection result.
Therefore, the welding failure caused by interference between the welding gun and the workpiece when the welding robot performs welding according to the welding seam parameters can be avoided.
Specifically, the detection module is configured to perform collision detection on a welding gun model and a three-dimensional model of a welding gun according to position data and attitude vector data at each welding track point, and perform, when deleting a welding track point having a collision condition or adjusting attitude vector data according to a detection result:
leading in a welding gun model of a welding gun;
sequentially moving the end part of the welding gun model to each welding track point, and enabling the attitude angle of the welding gun model (namely the attitude angle of the axis of the welding gun model) to be the attitude angle corresponding to the attitude vector data at each welding track point;
detecting whether a collision condition exists between the welding gun model and the three-dimensional model of the workpiece to be welded through a collision detection algorithm;
if the collision condition exists, keeping the end part of the welding gun model at the corresponding welding track point, and searching a target attitude angle capable of avoiding collision between the welding gun model and the three-dimensional model of the workpiece to be welded by changing the attitude angle of the welding gun model (the attitude angle changing mode can be set according to actual needs, and the mode is not limited in the process);
when a target attitude angle is searched, calculating new attitude vector data according to the target attitude angle to update the attitude vector data at the welding track point;
and when the target attitude angle cannot be searched, deleting the welding track point.
Generally, the attitude vector data includes three coordinate values of x, y and z, the coordinate values are coordinate values in the workpiece coordinate system, each attitude vector data corresponds to an attitude angle, and the attitude vector data and the corresponding attitude angle can be converted with each other (the conversion method is prior art, and the details thereof are not described here).
It should be noted that, in the subsequent welding process, the welding robot does not perform automatic welding on the position without the welding track point, and the position without the welding track point can be subjected to repair welding manually or in other manners.
And detecting whether the welding gun model and the three-dimensional model have collision conditions or not through an intersection algorithm in Boolean operation. And when the intersection between the welding gun model and the three-dimensional model is detected through an intersection algorithm in Boolean operation, the collision condition is indicated.
The three-dimensional model of the workpiece to be welded and the welding gun model can be CAD three-dimensional models with intermediate formats commonly used by step, iges, brep and the like.
In some preferred embodiments, the first identification module 2 is configured to perform, when identifying a weld line segment on the three-dimensional model:
when the three-dimensional model contains welding seam marking information, identifying a welding seam line segment according to the welding seam marking information of the three-dimensional model;
when the three-dimensional model does not contain the welding seam marking information, extracting the surfaces of each part entity (each surface of the outer surface of each part entity) to form a surface set;
determining a target entity, a first candidate welding seam superposed surface and a second candidate welding seam superposed surface according to the intersection condition of each part entity and each surface of other part entities; the target entity is one of the part entities; the first candidate welding seam overlapping surface is a surface which does not belong to the target entity, and the first candidate welding seam overlapping surface is attached to one surface of the target entity; the second candidate welding seam overlapping surface is one surface of the target entity, and the second candidate welding seam overlapping surface is attached to the first candidate welding seam overlapping surface;
extracting edge line segments of the first candidate welding seam coincident face and the second candidate welding seam coincident face;
and extracting a part falling into the second candidate weld joint coincidence face in an edge line segment of the first candidate weld joint coincidence face intersected with the second candidate weld joint coincidence face as a weld line segment, or extracting a part falling into the first candidate weld joint coincidence face in an edge line segment of the second candidate weld joint coincidence face intersected with the first candidate weld joint coincidence face as a weld line segment.
In practical application, sometimes a seam is marked when a three-dimensional model of a workpiece to be welded is established, and sometimes the seam is not marked when the three-dimensional model of the workpiece to be welded is established; for the three-dimensional model which marks the welding seam, the welding seam line segment is directly identified according to the welding seam marking information, the efficiency is high, and for the three-dimensional model which does not mark the welding seam, the welding seam line segment is identified through the method, so that the welding seam line segment can be reliably identified. Therefore, whether the three-dimensional model contains the welding seam marking information or not can be automatically identified, and the applicability is further improved.
The weld mark information may be color information, for example, the weld line segment in the three-dimensional model is set to a designated color (e.g., red), other segments in the three-dimensional model are set to other colors (e.g., yellow), and when the weld line segment is identified according to the weld mark information of the three-dimensional model, the segment having the designated color is directly determined as the weld line segment. Thus, the first recognition module 2 executes, when recognizing the weld line segment according to the weld labeling information of the three-dimensional model:
identifying the color of each line segment of the three-dimensional model;
and judging the line segment with the color of the designated color as the weld line segment.
The welding seam marking information can also be a specific identification character recorded in a source file of the three-dimensional model, a specific identification character is arranged in front of a coordinate sequence formed by coordinates of each position point of each welding seam line segment in the source file of the three-dimensional model, so that the line segment corresponding to the coordinate sequence after the specific identification character is the welding seam line segment, when the welding seam line segment is identified according to the welding seam marking information of the three-dimensional model, the specific identification character can be searched from the source file of the three-dimensional model, and the line segment corresponding to the coordinate sequence after the specific identification character is determined as the welding seam line segment. Thus, the first recognition module 2 executes, when recognizing the weld line segment according to the weld labeling information of the three-dimensional model:
reading a source file of the three-dimensional model;
searching a specific identification character in the source file;
and judging the line segment corresponding to the coordinate sequence after the specific identification character as a welding line segment.
When determining a target entity, a first candidate weld joint coincidence plane and a second candidate weld joint coincidence plane according to the intersection condition of each part entity and each plane of other part entities, the first recognition module 2 executes:
sequentially taking each part entity as a first part entity, taking the surface belonging to the first part entity in the surface set as a first surface, and taking the surfaces belonging to other part entities as second surfaces, and respectively obtaining the intersection of the first part entity and each second surface through an intersection algorithm in Boolean operation;
if the intersection of the second surface and the first part entity is a surface intersection, judging that the first part entity is a target entity, and judging that the second surface is a first candidate welding seam overlapping surface;
respectively obtaining the intersection of each surface of the target entity and the first candidate welding seam coincident surface through an intersection algorithm in Boolean operation;
and determining the intersection of the target entity and the first candidate weld joint coincidence plane as a plane intersection as a second candidate weld joint coincidence plane.
For example, an exemplary three-dimensional model of a workpiece to be welded shown in fig. 4 includes two entity pieces, namely a bottom plate 90 and a side plate 91, a lower surface of the side plate 91 is attached to an upper surface of the bottom plate 90, when the bottom plate 90 is used as a first entity piece, six faces on the side plate 91 are second faces, an intersection of a bottom face of the side plate 91 and the first entity piece (the bottom plate 90) is detected as a face intersection by an intersection algorithm in boolean operation, intersections of other second faces and the first entity piece (the bottom plate 90) are all empty, so that the bottom plate 90 is used as a target entity, a bottom face of the side plate 91 is used as a first candidate weld seam intersection face, then an intersection of a top face of the target entity (the bottom plate 90) and the first candidate weld seam intersection face (the bottom face of the side plate 91) is detected as a face intersection by an intersection algorithm in boolean operation, intersections of other intersection faces of the target entity piece and the first candidate weld seam intersection face (the bottom face of the side plate 91) are all empty, thereby using the top surface of the bottom plate 90 as a second candidate weld overlap surface.
Wherein, the weld is at the edge of the joint part of the two surfaces which are jointed with each other, and for the condition that the first candidate weld joint coincident surface and the second candidate weld joint coincident surface are partially coincident, the weld line segment is generally at the edge of the first candidate weld joint coincident surface or the second candidate weld joint coincident surface, and is a part or all of the edge (so that the weld line segment is a part which falls into the second candidate weld joint coincident surface in the edge line segment of the first candidate weld joint coincident surface which has intersection with the second candidate weld joint coincident surface, or a part which falls into the second candidate weld joint coincident surface in the edge line segment of the second candidate weld joint coincident surface which has intersection with the first candidate weld joint coincident surface); for the case where the first candidate weld seam overlapping surface and the second candidate weld seam overlapping surface are partially completely overlapped, the weld seam line segment is generally at the edge of the first candidate weld seam overlapping surface and the second candidate weld seam overlapping surface (at this time, each edge of the first candidate weld seam overlapping surface and the second candidate weld seam overlapping surface is overlapped), and is all of the edge (in this case, it is also satisfied that the weld seam line segment is a portion falling into the second candidate weld seam overlapping surface in an edge line segment of the first candidate weld seam overlapping surface intersecting with the second candidate weld seam overlapping surface, or a portion falling into the second candidate weld seam overlapping surface in an edge line segment of the second candidate weld seam overlapping surface intersecting with the first candidate weld seam overlapping surface).
In some more preferred embodiments, the first identification module 2 is configured to, when identifying a weld line segment on the three-dimensional model, further perform:
displaying the recognition result of the weld line segment (for example, but not limited to, changing the color of the recognized weld line segment to a designated color in the three-dimensional model);
when a weld line segment deletion instruction is received, the specified weld line segment is determined to be a non-weld line segment (for example, a user can select the weld line segment to be deleted by a mouse and generate a weld line segment deletion instruction by pressing a Delete key, and after the weld line segment deletion instruction is received, the weld line segment to be deleted by the user is determined to be the non-weld line segment).
In practical applications, some edge line segments satisfy the determination rule of the seam line segment, but actually no welding is performed at the edge line segment, for example, the first edge line segment 92 and the second edge line segment 93 in fig. 4 both satisfy the determination rule of the seam line segment, so that the seam line segment is determined, but actually no welding is performed at the second edge line segment 93, and only the first edge line segment 92 is an actual seam line segment; here, by displaying the recognition result, the weld line segment except the non-weld is manually deleted by hand, so that the accuracy of the final weld line segment recognition result can be ensured.
Wherein, the welding seam line segment may be the straight line segment, also may be the curve line segment (circular arc line segment, spline curve line segment etc.), and in this embodiment, a plurality of welding track points are selected on the welding seam line segment to first execution module 3 to when extracting the position data of welding track point, carry out:
when the welding line segment is a straight line segment, selecting a plurality of welding track points at equal intervals on the welding line segment, and extracting the position data of each welding track point;
when the welding line segment is a curve segment, selecting a plurality of welding track points on the welding line segment according to the curvatures of all parts of the welding line segment, so that the height error between a straight line connecting line and a curve connecting line between any adjacent welding track points is not larger than a preset error threshold value, and extracting the position data of each welding track point; the curved connecting lines are the portions of the weld line segments that lie between adjacent weld locus points.
When a plurality of welding track points are selected at equal intervals, the welding track points can be selected at equal intervals according to preset intervals, and the preset intervals can be set according to actual needs.
Wherein, a plurality of welding track points are selected to first execution module 3 on the welding seam line segment according to the everywhere camber of welding seam line segment, make the bow height error between the straight line between the arbitrary adjacent welding track point and the curve line be not more than preset error threshold to when extracting the position data of each welding track point, carry out:
evenly dividing the welding line segment into a plurality of arc segments according to the length of the arc length, and taking the end point of each arc segment as a welding track point;
calculating the height error between a straight line connecting line between two adjacent welding track points and the corresponding arc section;
if at least one arch height error is larger than a preset error threshold value, inserting a new welding track point into the corresponding arc section with the arch height error larger than the preset error threshold value, and enabling the corresponding arch height error of the newly divided arc section to be not larger than the error threshold value;
and extracting the position data of each welding track point.
The first execution module 3 equally divides the welding line segment into a plurality of arc segments according to the arc length, and executes when the end points of the arc segments are welding track points:
calculating the segment arc length step according to the following formula:
Figure 396841DEST_PATH_IMAGE018
wherein the content of the first and second substances,
Figure 457070DEST_PATH_IMAGE020
in order to segment the arc length step length,
Figure 571657DEST_PATH_IMAGE022
is the total arc length of the weld line segment,
Figure 555793DEST_PATH_IMAGE024
is a preset arc length step length,
Figure 947591DEST_PATH_IMAGE026
is an upward rounding function;
the welding line segment is divided into a plurality of arc segments on average, the arc length of each arc segment is equal to the step length of the arc length of the segment, and the end point of each arc segment is taken as a welding track point.
When calculating the height error between the straight line connecting line between two adjacent welding track points and the corresponding arc segment, the first execution module 3 executes:
calculating the height error between a straight line connecting line between two adjacent welding track points and the corresponding arc segment according to the following formula:
Figure 788509DEST_PATH_IMAGE028
wherein the content of the first and second substances,
Figure 520884DEST_PATH_IMAGE030
is as follows
Figure 105449DEST_PATH_IMAGE032
A welding track point and a second welding track point
Figure 351754DEST_PATH_IMAGE034
The height error between the straight line connecting line between the welding track points and the corresponding arc segment,
Figure 629152DEST_PATH_IMAGE036
the total number of the welding track points of the welding line segment,
Figure 577385DEST_PATH_IMAGE038
is as follows
Figure 965641DEST_PATH_IMAGE032
A welding track point and a second welding track point
Figure 66452DEST_PATH_IMAGE034
The length of the straight line connecting the trace points,
Figure 452434DEST_PATH_IMAGE040
is as follows
Figure 28909DEST_PATH_IMAGE032
A welding track point and a second welding track point
Figure 79911DEST_PATH_IMAGE034
The equivalent radius of curvature of the arc segments between the individual welding track points, wherein,
Figure 425441DEST_PATH_IMAGE042
or
Figure 920008DEST_PATH_IMAGE044
Or
Figure 718199DEST_PATH_IMAGE046
Figure 572892DEST_PATH_IMAGE048
For the weld line segment in
Figure 710612DEST_PATH_IMAGE032
The radius of curvature at each point of the weld trace,
Figure 500713DEST_PATH_IMAGE050
for the weld line segment in
Figure 661568DEST_PATH_IMAGE034
Radius of curvature at each weld trace point.
For example, in fig. 5, one of the arc segments of the weld line segment is an arc segment AB in the figure (a solid curve in fig. 5), two end points a and B of the arc segment AB are two adjacent welding track points, a straight line connecting line between the two welding track points is a straight line segment AB (a dot-dash line in fig. 5), and a dimension E in the figure is an arch height error between the arc segment AB and the straight line segment AB; in fig. 5, the arc segment AB is an arc, and therefore, the radii of curvature at the points a and B are equal (the radius of curvature at the point a is the length of OA, the radius of curvature at the point B is the length of OB, and O is the center of the arc, where OA = OB).
In some embodiments, when the first execution module 3 executes an operation that, if at least one bow height error is greater than a preset error threshold, a new welding track point is inserted into a corresponding arc segment whose bow height error is greater than the preset error threshold, so that the corresponding bow height error of the newly divided arc segment is not greater than the error threshold, the following steps are specifically executed:
the method comprises the steps of taking an arc section with a corresponding height error larger than a preset error threshold as a target arc section, inserting a new welding track point at the midpoint of the target arc section, dividing the target arc section into two new arc sections again, calculating the height error corresponding to the newly divided new arc section, judging whether the height error is larger than the preset error threshold, if the height error corresponding to the newly divided new arc section is still larger than the preset error threshold, inserting a new welding track point at the midpoint of the new arc section with the corresponding height error larger than the preset error threshold again, and repeating the steps until the height errors corresponding to all the new arc sections divided into the target arc section are not larger than the preset error threshold.
Wherein, the preset error threshold value can be set according to the implementation requirement. Because when welding in follow-up, welding robot can control welder from a welding track point rectilinear movement to next welding track point department, through the welding track point of above-mentioned mode determination, can guarantee that the deviation between welder's orbit and the target weld in follow-up welding process is in the allowed range to guarantee welding quality.
In practical applications, sometimes a weld line segment may have both a straight line portion and a curved line portion, and at this time, a plurality of welding trace points are selected at equal intervals in the straight line portion (specifically, refer to the foregoing operation step for the straight line weld line segment), and a plurality of welding trace points are selected in the curved line portion according to curvatures at various places of the curved line portion, so that a bow height error between a straight line connecting line and a curved line connecting line between any adjacent welding trace points is not greater than a preset error threshold (specifically, refer to the foregoing operation step for the curved line weld line segment).
Preferably, the groove information includes groove type information and groove size information indicating a groove at the corresponding weld line segment;
the second recognition module 4 executes the following steps when recognizing the groove information and the two welding connection surfaces of the welding line segment on the three-dimensional model:
generating a sphere with a preset radius (the preset radius can be set according to actual requirements) by taking one of the welding track points as a sphere center;
acquiring the number of surfaces having collision interference with the sphere;
judging whether a groove is formed at the welding line section according to the number;
if so, acquiring groove type information and groove size information of the groove;
and if not, the groove information of the welding line segment is set to be empty.
The groove type information is information indicating the type of a groove, and the type of the groove is generally an I-shaped groove, a V-shaped groove, a U-shaped groove, an X-shaped groove or a Y-shaped groove; the groove size information comprises included angle information of the groove, width information of the upper side and the lower side of the section of the groove and the like.
Generating a sphere with a preset radius by taking a welding track point closest to the middle point of the welding line segment as a sphere center; a welding track point can also be randomly selected as a sphere center to generate a sphere with a preset radius; but is not limited thereto.
Whether collision interference exists between the sphere and each surface can be detected through an intersection algorithm in Boolean operation, and therefore the number of the surfaces which have collision interference with the sphere is obtained.
And if the number is not greater than the preset number threshold value, judging that the welding line segment has no groove, otherwise, judging that the welding line segment has the groove. The number threshold is typically 3.
The groove type information and the groove size information may be obtained by a shape feature matching method in the prior art, but is not limited thereto. And obtaining the groove type information and the groove size information, finally recording the groove type information and the groove size information as a part of welding line parameters of a welding line segment, and automatically matching welding process parameters according to the groove type information and the groove size information in the subsequent welding process so as to ensure the welding quality.
Further, when the second identification module 4 identifies the groove information of the weld line segment and the two welded connection surfaces on the three-dimensional model, the following steps are also performed:
if the welding line segment has no groove, performing parent characteristic reverse topology on the welding line segment to obtain two welding connection surfaces of the welding line segment (specifically, each surface of a part entity is surrounded by a wire frame which is formed by a plurality of line segments and is connected end to end, and each line segment in one part entity is commonly shared by two surfaces, so that the welding connection surfaces of the welding line segment can be traversed by traversing whether each surface of the part entity contains the welding line segment or not);
if the welding line section is provided with a groove, the bevel face is removed from the face which has collision interference with the ball body, and two welding connection faces of the welding line section are obtained.
In practical application, a normal vector of a point on a welding connection surface refers to a vector perpendicular to the welding connection surface at the point, normal vector data includes three coordinate values of x, y and z, and the coordinate values are coordinate values in a workpiece coordinate system.
For a planar welding connection surface, normal vectors of any point of the planar welding connection surface are the same, vector data corresponding to two crossed line segments on the welding connection surface can be subjected to cross multiplication to obtain normal vector data, and the normal vector data is expressed by a formula:
Figure 195317DEST_PATH_IMAGE052
Figure 374494DEST_PATH_IMAGE054
in order to be the normal vector data,
Figure 335497DEST_PATH_IMAGE056
Figure 45964DEST_PATH_IMAGE058
vector data corresponding to two intersecting line segments.
For analyzing a curved surface-shaped welded joint surface, normal vector data at a point (hereinafter, denoted by point P) on the welded joint surface can be calculated according to the following formula:
Figure 993192DEST_PATH_IMAGE060
wherein the content of the first and second substances,
Figure 167821DEST_PATH_IMAGE062
a shaft,
Figure 424359DEST_PATH_IMAGE064
The axes are two preset reference coordinate axes which are perpendicular to each other,
Figure 418860DEST_PATH_IMAGE062
Figure 904199DEST_PATH_IMAGE064
the values of (A) are coordinate values of two reference coordinate axes, and the coordinate values of x, y and z can be expressed as
Figure 198914DEST_PATH_IMAGE062
And
Figure 360774DEST_PATH_IMAGE064
as a function of (a) or (b),
Figure 108150DEST_PATH_IMAGE066
is at point P
Figure 725076DEST_PATH_IMAGE062
A differential function in the axial direction (with a fixed calculation formula, which can be calculated by the calculation formula, which is prior art),
Figure 484085DEST_PATH_IMAGE068
is at point P
Figure 957791DEST_PATH_IMAGE064
A differential function in the axial direction (there is a fixed calculation formula by which it can be calculated, which is prior art).
In some preferred embodiments, the second obtaining module 6 is configured to, when obtaining the attitude vector data of the welding gun at each welding track point according to the normal vector data, perform:
calculating attitude vector data of the welding gun at each welding track point according to the following formula:
Figure 51518DEST_PATH_IMAGE002
wherein the content of the first and second substances,
Figure 268873DEST_PATH_IMAGE004
is as follows
Figure 147967DEST_PATH_IMAGE006
The attitude vector data at each welding trajectory point,
Figure 526996DEST_PATH_IMAGE008
for the first welded joint face at the second
Figure 186647DEST_PATH_IMAGE006
Normal vector data (normalized, modulo 1) at each weld locus point,
Figure 84326DEST_PATH_IMAGE010
for the second welding to join the surface at
Figure 942560DEST_PATH_IMAGE006
Normal vector data (normalized, modulo 1) at each weld locus point,
Figure 899015DEST_PATH_IMAGE012
and
Figure 842700DEST_PATH_IMAGE014
a weight value greater than zero and less than 1,
Figure 260912DEST_PATH_IMAGE016
the total number of welding trace points.
Wherein the content of the first and second substances,
Figure 973653DEST_PATH_IMAGE012
and
Figure 835430DEST_PATH_IMAGE014
the value of (b) can be set according to actual needs, generally, the vector on the angular bisector of the angle between the normal vectors of the first welding connection surface and the second welding connection surface at the welding track point can be used as the attitude vector of the welding gun at the welding track point, and at this moment, the attitude vector of the welding gun at the welding track point can be used as the vector of the angle between the normal vectors of the first welding connection surface and the second welding connection surface
Figure 469674DEST_PATH_IMAGE012
And
Figure 566943DEST_PATH_IMAGE014
equal; but is not limited thereto.
According to the method, the welding seam parameter identification device loads the three-dimensional model of the workpiece to be welded; the three-dimensional model is a combined model comprising at least two part entities; identifying a weld line segment on the three-dimensional model; selecting a plurality of welding track points on the welding line segment, and extracting position data of the welding track points; identifying groove information and two welding connection surfaces of a welding line segment on the three-dimensional model; acquiring normal vector data of two welding connection surfaces at each welding track point; acquiring attitude vector data of the welding gun at each welding track point according to the normal vector data; and recording groove information, position data at each welding track point and attitude vector data at each welding track point to obtain the welding line parameters of the welding line segment, thereby efficiently realizing the welding line parameter identification of the workpiece model and having good applicability. Specifically, the welding seam parameter identification device has the following advantages:
1. the weld joint identification can be carried out on two workpiece three-dimensional models of marked weld joints and unmarked weld joints, and the adaptability is better; the welding line can be intelligently identified by one key, so that time and labor are saved, the working efficiency is high, and the labor cost is saved;
2. for welding seams with complex shapes such as spline curves and the like, selecting a welding seam track point through a bow height error, so that the bow height error of each discrete small line segment is not higher than the offset error required by the welding quality, and the problem that the welding quality of the complex curve welding seam line segment does not reach the standard due to the error of the welding track in the subsequent welding process can be effectively avoided;
3. whether a groove exists in each welding line segment and the type and size data of the groove can be automatically judged according to the parameterized characteristics of the three-dimensional model of the workpiece, and a good data information basis is laid for the automatic matching of proper welding process parameters in the subsequent groove welding;
4. compared with the prior art which only can identify the position of a welding seam and cannot generate the posture data of the welding gun, the scheme really realizes the one-key intelligent acquisition and generation of the welding seam and the posture data of the welding gun by automatically identifying the welding connection surface and automatically generating the posture vector data of the welding gun;
5. whether interference collision can occur at each welding track point in the welding process can be judged in advance by performing collision detection on the welding gun model and the three-dimensional model of the workpiece to be welded, and then the posture vector data is adjusted or the welding track points are deleted, so that the subsequent welding process is safer, more efficient and more intelligent.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, where the present disclosure provides an electronic device, including: the processor 301 and the memory 302, the processor 301 and the memory 302 are interconnected and communicate with each other through the communication bus 303 and/or other types of connection mechanisms (not shown), the memory 302 stores a computer program executable by the processor 301, and when the electronic device runs, the processor 301 executes the computer program to execute the weld parameter identification method in any alternative implementation manner of the above embodiment, so as to implement the following functions: loading a three-dimensional model of a workpiece to be welded; the three-dimensional model is a combined model comprising at least two part entities; identifying a weld line segment on the three-dimensional model; selecting a plurality of welding track points on the welding line segment, and extracting position data of the welding track points; identifying groove information and two welding connection surfaces of a welding line segment on the three-dimensional model; acquiring normal vector data of two welding connection surfaces at each welding track point; acquiring attitude vector data of the welding gun at each welding track point according to the normal vector data; and recording the groove information, the position data of each welding track point and the attitude vector data of each welding track point to obtain the welding line parameters of the welding line segment.
The embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method for identifying weld parameters in any optional implementation manner of the foregoing embodiment is executed, so as to implement the following functions: loading a three-dimensional model of a workpiece to be welded; the three-dimensional model is a combined model comprising at least two part entities; identifying a weld line segment on the three-dimensional model; selecting a plurality of welding track points on the welding line segment, and extracting position data of the welding track points; identifying groove information and two welding connection surfaces of a welding line segment on the three-dimensional model; acquiring normal vector data of two welding connection surfaces at each welding track point; acquiring attitude vector data of the welding gun at each welding track point according to the normal vector data; and recording the groove information, the position data of each welding track point and the attitude vector data of each welding track point to obtain the welding line parameters of the welding line segment. The storage medium may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM), a Read-Only Memory (ROM), a magnetic Memory, a flash Memory, a magnetic disk, or an optical disk.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. A weld parameter identification method is used for obtaining weld parameters according to a three-dimensional model of a workpiece to be welded, and is characterized by comprising the following steps:
A1. loading a three-dimensional model of a workpiece to be welded; the three-dimensional model is a combined model comprising at least two part entities;
A2. identifying a weld line segment on the three-dimensional model;
A3. selecting a plurality of welding track points on the welding line segment, and extracting position data of the welding track points;
A4. identifying groove information and two welding connection surfaces of the welding line segment on the three-dimensional model;
A5. acquiring normal vector data of the two welding connection surfaces at each welding track point;
A6. acquiring attitude vector data of the welding gun at each welding track point according to the normal vector data;
A7. and recording the groove information, the position data at each welding track point and the attitude vector data at each welding track point to obtain the welding line parameters of the welding line segment.
2. The weld seam parameter identification method according to claim 1, wherein after the step A6 and before the step A7, the method further comprises the steps of:
A8. and performing collision detection on the welding gun model of the welding gun and the three-dimensional model according to the position data and the attitude vector data at each welding track point, and deleting the welding track points with collision conditions or adjusting the attitude vector data according to the detection result.
3. The weld parameter identification method according to claim 1, wherein the step A2 comprises:
A201. when the three-dimensional model contains welding seam marking information, identifying the welding seam line segment according to the welding seam marking information of the three-dimensional model;
A202. when the three-dimensional model does not contain welding seam marking information, extracting a surface forming surface set of each part entity;
A203. determining a target entity, a first candidate welding seam overlapping surface and a second candidate welding seam overlapping surface according to the intersection condition of each part entity and each surface of other part entities; the target entity is one of the part entities; the first candidate welding seam overlapping surface is one surface which does not belong to the target entity, and the first candidate welding seam overlapping surface is attached to one surface of the target entity; the second candidate welding seam overlapping surface is one surface of the target entity, and the second candidate welding seam overlapping surface is attached to the first candidate welding seam overlapping surface;
A204. extracting edge line segments of the first candidate welding seam overlapping surface and the second candidate welding seam overlapping surface;
A205. and extracting a part of the edge line segment of the first candidate weld joint coincidence plane intersected with the second candidate weld joint coincidence plane and falling into the second candidate weld joint coincidence plane as the weld line segment, or extracting a part of the edge line segment of the second candidate weld joint coincidence plane intersected with the first candidate weld joint coincidence plane and falling into the first candidate weld joint coincidence plane as the weld line segment.
4. The weld parameter identification method according to claim 3, wherein the weld marking information is color information;
step a201 includes:
identifying the color of each line segment of the three-dimensional model;
and judging the line segment with the color of the designated color as the weld line segment.
5. The weld parameter identification method according to claim 3, wherein the weld marking information is a specific identification character recorded in a source file of the three-dimensional model;
step a201 includes:
reading a source file of the three-dimensional model;
searching a specific identification character in the source file;
and judging the line segment corresponding to the coordinate sequence after the specific identification character as a welding line segment.
6. The weld parameter identification method according to claim 1, wherein the step A3 comprises:
A301. when the welding line segment is a straight line segment, selecting a plurality of welding track points at equal intervals on the welding line segment, and extracting position data of each welding track point;
A302. when the welding line segment is a curved line segment, selecting a plurality of welding track points on the welding line segment according to the curvatures of all parts of the welding line segment, enabling the height error between a straight line connecting line and a curved line connecting line between any adjacent welding track points to be not larger than a preset error threshold value, and extracting the position data of each welding track point; the curved connecting lines are the parts of the welding line segments located between the adjacent welding track points.
7. The weld seam parameter identification method according to claim 6, wherein the step A302 comprises:
evenly dividing the welding line segment into a plurality of arc segments according to the length of the arc length, and taking the end point of each arc segment as the welding track point;
calculating the height error between a straight line connecting line between two adjacent welding track points and the corresponding arc section;
if at least one bow height error is larger than a preset error threshold value, inserting a new welding track point into the corresponding arc section of which the bow height error is larger than the preset error threshold value, so that the corresponding bow height error of the newly divided arc section is not larger than the error threshold value;
and extracting the position data of each welding track point.
8. The weld parameter identification method of claim 3, wherein the groove information includes groove type information and groove size information representing a groove at the corresponding weld line segment;
step a4 includes:
generating a sphere with a preset radius by taking one of the welding track points as a sphere center;
acquiring the number of the surfaces having collision interference with the sphere;
judging whether a groove is formed at the welding line section according to the number;
if so, acquiring groove type information and groove size information of the groove;
and if not, the groove information of the welding line segment is set to be empty.
9. The weld parameter identification method according to claim 1, wherein the step A6 comprises:
calculating attitude vector data of the welding gun at each welding track point according to the following formula:
Figure 546469DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure 133309DEST_PATH_IMAGE002
is as follows
Figure 356479DEST_PATH_IMAGE003
The pose vector data at each of the weld trajectory points,
Figure 827912DEST_PATH_IMAGE004
for the first one of said welded joints to be in the second
Figure 944773DEST_PATH_IMAGE003
The normal vector data at each of the weld trajectory points,
Figure 843459DEST_PATH_IMAGE005
for the second said welded joint face at
Figure 944139DEST_PATH_IMAGE003
The normal vector data at each of the weld trajectory points,
Figure 688104DEST_PATH_IMAGE006
and
Figure 925050DEST_PATH_IMAGE007
a weight value greater than zero and less than 1,
Figure 994637DEST_PATH_IMAGE008
the total number of the welding track points.
10. A weld parameter identification device for obtaining weld parameters from a three-dimensional model of a workpiece to be welded, comprising:
the loading module is used for loading the three-dimensional model of the workpiece to be welded; the three-dimensional model is a combined model comprising at least two part entities;
the first identification module is used for identifying a welding line segment on the three-dimensional model;
the first execution module is used for selecting a plurality of welding track points on the welding line segment and extracting the position data of the welding track points;
the second identification module is used for identifying groove information and two welding connection surfaces of the welding line segment on the three-dimensional model;
the first acquisition module is used for acquiring normal vector data of the two welding connection surfaces at each welding track point;
the second acquisition module is used for acquiring attitude vector data of the welding gun at each welding track point according to the normal vector data;
and the recording module is used for recording the groove information, the position data at each welding track point and the attitude vector data at each welding track point to obtain the welding line parameters of the welding line segment.
11. An electronic device, comprising a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor executes the computer program to perform the steps of the weld parameter identification method according to any one of claims 1 to 9.
12. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the weld parameter identification method according to any one of claims 1 to 9.
CN202210085063.6A 2022-01-25 2022-01-25 Weld parameter identification method and device, electronic equipment and storage medium Active CN114119611B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210085063.6A CN114119611B (en) 2022-01-25 2022-01-25 Weld parameter identification method and device, electronic equipment and storage medium
PCT/CN2022/079635 WO2023142229A1 (en) 2022-01-25 2022-03-08 Weld joint parameter identification method and apparatus, and electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210085063.6A CN114119611B (en) 2022-01-25 2022-01-25 Weld parameter identification method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114119611A CN114119611A (en) 2022-03-01
CN114119611B true CN114119611B (en) 2022-04-01

Family

ID=80361313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210085063.6A Active CN114119611B (en) 2022-01-25 2022-01-25 Weld parameter identification method and device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN114119611B (en)
WO (1) WO2023142229A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114119611B (en) * 2022-01-25 2022-04-01 季华实验室 Weld parameter identification method and device, electronic equipment and storage medium
CN114683283B (en) * 2022-03-25 2024-04-16 中铁科工集团有限公司 Teaching-free welding method and device for welding robot
CN114654139A (en) * 2022-04-21 2022-06-24 中铁第四勘察设计院集团有限公司 Butt welding equipment and butt welding method for contact rails
CN114603566B (en) * 2022-05-13 2022-08-16 季华实验室 Robot welding track generation method and device, electronic equipment and storage medium
CN114782526B (en) * 2022-06-22 2022-09-02 季华实验室 Welding seam track calculation method and device of H-shaped steel, electronic equipment and storage medium
CN116822098B (en) * 2023-08-18 2024-01-16 广州誉鑫精密部件有限公司 Intelligent monitoring control method and system for welding
CN117400267B (en) * 2023-12-12 2024-03-29 上海船舶工艺研究所(中国船舶集团有限公司第十一研究所) Robot welding path generation method, apparatus, computer device and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102672306A (en) * 2012-01-31 2012-09-19 昆山工研院工业机器人研究所有限公司 Method and system for automatic robot welding based on multilayer and multi-pass welding of curved surfaces
CN104384765A (en) * 2014-10-14 2015-03-04 江苏湃锐自动化科技有限公司 Automatic welding method based on three-dimensional model and machine vision and welding device based on three-dimensional model and machine vision
CN105171194A (en) * 2015-09-23 2015-12-23 深圳市研控自动化科技有限公司 Multi-type welding processing and manufacturing technological method for full-automatic welding robot
CN105195868A (en) * 2015-11-12 2015-12-30 上海电气核电设备有限公司 Robot welding system and welding method thereof
CN105678464A (en) * 2016-01-13 2016-06-15 上海振华重工(集团)股份有限公司 Welding information management method
CN106735999A (en) * 2017-01-21 2017-05-31 中国东方电气集团有限公司 A kind of variable cross-section groove header base automatic soldering method
CN107844649A (en) * 2017-11-06 2018-03-27 杭州圣建供应链管理有限公司 A kind of Steel Structure Weld generation method
CN108465964A (en) * 2018-03-19 2018-08-31 武汉天喻软件股份有限公司 Three-dimensional white body welding procedure sheet preparation method based on welding spot structure data
CN108890666A (en) * 2018-09-25 2018-11-27 刘悦吟 A kind of robot welding welding seam tracking method and system
CN109226937A (en) * 2018-11-14 2019-01-18 南京工程学院 Curve welding off-line programing method is mutually passed through in a kind of industrial robot space
CN109278048A (en) * 2018-11-28 2019-01-29 山东省科学院自动化研究所 The path of welding planing method of five axis welding robots and five axis welding robots
CN111390915A (en) * 2020-04-17 2020-07-10 上海智殷自动化科技有限公司 Automatic weld joint path identification method based on AI
CN111730256A (en) * 2020-08-31 2020-10-02 季华实验室 Weld joint identification method and device based on digital model, storage medium and terminal
CN112464405A (en) * 2020-11-26 2021-03-09 江南造船(集团)有限责任公司 Weld joint expression method based on three-dimensional model

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11707806B2 (en) * 2019-02-12 2023-07-25 Illinois Tool Works Inc. Virtual markings in welding systems
KR102161649B1 (en) * 2019-05-21 2020-10-05 두산중공업 주식회사 3D elliptical curved surface automatic welding device
CN110245599A (en) * 2019-06-10 2019-09-17 深圳市超准视觉科技有限公司 A kind of intelligent three-dimensional weld seam Auto-searching track method
US20210370429A1 (en) * 2020-05-29 2021-12-02 Illinois Tool Works Inc. Welding sequence guidance using three dimensional models
CN113902885A (en) * 2021-08-05 2022-01-07 中车唐山机车车辆有限公司 Method, device, equipment, storage medium and product for marking weld joint position
CN113643372B (en) * 2021-10-18 2022-03-04 中国科学院自动化研究所 Three-dimensional weld extraction method and system
CN114119611B (en) * 2022-01-25 2022-04-01 季华实验室 Weld parameter identification method and device, electronic equipment and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102672306A (en) * 2012-01-31 2012-09-19 昆山工研院工业机器人研究所有限公司 Method and system for automatic robot welding based on multilayer and multi-pass welding of curved surfaces
CN104384765A (en) * 2014-10-14 2015-03-04 江苏湃锐自动化科技有限公司 Automatic welding method based on three-dimensional model and machine vision and welding device based on three-dimensional model and machine vision
CN105171194A (en) * 2015-09-23 2015-12-23 深圳市研控自动化科技有限公司 Multi-type welding processing and manufacturing technological method for full-automatic welding robot
CN105195868A (en) * 2015-11-12 2015-12-30 上海电气核电设备有限公司 Robot welding system and welding method thereof
CN105678464A (en) * 2016-01-13 2016-06-15 上海振华重工(集团)股份有限公司 Welding information management method
CN106735999A (en) * 2017-01-21 2017-05-31 中国东方电气集团有限公司 A kind of variable cross-section groove header base automatic soldering method
CN107844649A (en) * 2017-11-06 2018-03-27 杭州圣建供应链管理有限公司 A kind of Steel Structure Weld generation method
CN108465964A (en) * 2018-03-19 2018-08-31 武汉天喻软件股份有限公司 Three-dimensional white body welding procedure sheet preparation method based on welding spot structure data
CN108890666A (en) * 2018-09-25 2018-11-27 刘悦吟 A kind of robot welding welding seam tracking method and system
CN109226937A (en) * 2018-11-14 2019-01-18 南京工程学院 Curve welding off-line programing method is mutually passed through in a kind of industrial robot space
CN109278048A (en) * 2018-11-28 2019-01-29 山东省科学院自动化研究所 The path of welding planing method of five axis welding robots and five axis welding robots
CN111390915A (en) * 2020-04-17 2020-07-10 上海智殷自动化科技有限公司 Automatic weld joint path identification method based on AI
CN111730256A (en) * 2020-08-31 2020-10-02 季华实验室 Weld joint identification method and device based on digital model, storage medium and terminal
CN112464405A (en) * 2020-11-26 2021-03-09 江南造船(集团)有限责任公司 Weld joint expression method based on three-dimensional model

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A seam-tracking laser welding platform with 3D and 2D visual information fusion vision sensor system;Yu Huang等;《The International Journal of Advanced Manufacturing Technology》;20121007;第67卷;第415-426页 *
焊接机器人工作站协同运动的轨迹优化研究;应灿;《中国优秀硕士学位论文全文数据库 信息科技辑》;20131215(第S2期);第I140-408页 *

Also Published As

Publication number Publication date
WO2023142229A1 (en) 2023-08-03
CN114119611A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
CN114119611B (en) Weld parameter identification method and device, electronic equipment and storage medium
CN109226937B (en) Industrial robot spatial intersecting curve welding off-line programming method
CN102441719A (en) Front laser vision sensing-based seam tracking offline planning method
CN110227876A (en) Robot welding autonomous path planning method based on 3D point cloud data
JP6889574B2 (en) Robot setting device, robot setting method, robot setting program, computer-readable recording medium, and recording equipment
CN101966617B (en) Brief description method for view model for continuous motion of welding robot
CN104070266B (en) Weld seam information setting device, program, automatic teaching system and weld seam information setting method
US4568816A (en) Method and apparatus for manipulator welding apparatus with improved weld path definition
CN101368823B (en) Evaluation system and method for processing precision of bending part
CN104070265B (en) Weld seam information setting device, program, automatically teaching system and weld seam information setting method
CN106994684A (en) The method of control machine people's instrument
CN107949450B (en) Method and device for identifying weld seam of welding object
JP2021121461A (en) Image processing device
Comport et al. Statistically robust 2-D visual servoing
Tian et al. Automatic identification of multi-type weld seam based on vision sensor with silhouette-mapping
CN113634958A (en) Three-dimensional vision-based automatic welding system and method for large structural part
CN113369761A (en) Method and system for guiding robot welding seam positioning based on vision
JP3327854B2 (en) Teaching method and teaching device for welding robot
CN115018813A (en) Method for robot to autonomously identify and accurately position welding line
CN115351389A (en) Automatic welding method and device, electronic device and storage medium
US20210056659A1 (en) Object detection device and object detection computer program
JP2011224710A (en) Sensing operation generation method and sensing operation generation apparatus of work manipulator
CN112101137B (en) Welding seam identification and path extraction method for wall-climbing robot navigation
CN115674209B (en) Robot path planning analysis method
CN104076804B (en) Operation path information setting device and operation path information setting method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant