CN115488535A - Welding gun track generation method and device for medium-assembly welding seam - Google Patents
Welding gun track generation method and device for medium-assembly welding seam Download PDFInfo
- Publication number
- CN115488535A CN115488535A CN202211120286.8A CN202211120286A CN115488535A CN 115488535 A CN115488535 A CN 115488535A CN 202211120286 A CN202211120286 A CN 202211120286A CN 115488535 A CN115488535 A CN 115488535A
- Authority
- CN
- China
- Prior art keywords
- welding
- gap
- parts
- weld
- intermediate assembly
- 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.)
- Granted
Links
- 238000003466 welding Methods 0.000 title claims abstract description 274
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000012916 structural analysis Methods 0.000 claims abstract description 32
- 238000004590 computer program Methods 0.000 claims description 20
- 230000011218 segmentation Effects 0.000 claims description 19
- 238000003860 storage Methods 0.000 claims description 13
- 238000005192 partition Methods 0.000 claims description 7
- 238000004458 analytical method Methods 0.000 claims description 3
- 239000011324 bead Substances 0.000 claims description 3
- 230000007935 neutral effect Effects 0.000 claims 2
- 238000004364 calculation method Methods 0.000 abstract description 6
- 238000004088 simulation Methods 0.000 abstract description 4
- 238000004519 manufacturing process Methods 0.000 description 5
- 239000012634 fragment Substances 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23K—SOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
- B23K31/00—Processes relevant to this subclass, specially adapted for particular articles or purposes, but not covered by only one of the preceding main groups
- B23K31/02—Processes relevant to this subclass, specially adapted for particular articles or purposes, but not covered by only one of the preceding main groups relating to soldering or welding
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23K—SOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
- B23K37/00—Auxiliary devices or processes, not specially adapted to a procedure covered by only one of the preceding main groups
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1602—Programme controls characterised by the control system, structure, architecture
- B25J9/161—Hardware, e.g. neural networks, fuzzy logic, interfaces, processor
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1656—Programme controls characterised by programming, planning systems for manipulators
- B25J9/1664—Programme controls characterised by programming, planning systems for manipulators characterised by motion, path, trajectory planning
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Automation & Control Theory (AREA)
- Robotics (AREA)
- Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Computation (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Numerical Control (AREA)
- Resistance Welding (AREA)
Abstract
The invention discloses a welding gun track generation method and a welding gun track generation device for a medium-assembly welding seam, wherein a medium-assembly segmented model is constructed by acquiring medium-assembly segmented model data, and the medium-assembly segmented model is subjected to structural analysis to obtain the types and the number of parts corresponding to all parts forming the medium-assembly segmented model; judging whether gaps exist among all parts, if so, setting gap welding lines based on the gaps until all parts are traversed to obtain all gap welding lines in the assembly subsection model; and selecting any gap welding line, obtaining and obtaining the welding line track parameter of any gap welding line according to the gap welding line type of any gap welding line, and obtaining the welding line welding gun track based on the welding line track parameter. Compared with the prior art, the technical scheme of the invention can solve the problem that the welding line cannot be generated due to the existence of the gaps between the parts, realize the calculation of the gap welding line corresponding to the gaps and improve the accuracy of the subsequent simulation result of the software.
Description
Technical Field
The invention relates to the technical field of intelligent ship manufacturing, in particular to a welding gun track generation method and device for a middle-assembled welding seam.
Background
With the continuous development of industrial robot technology, advanced shipbuilding process equipment is also developed, various advanced shipbuilding enterprises continuously develop the research of shipbuilding intelligent manufacturing technology in the recent period, corresponding robot equipment and production lines are put into use, particularly in the middle and small group vertical welding processes, the application of a 3D online scanning technology is basically realized in the small group vertical welding process, and in the middle group vertical welding process, due to the existence of multi-dimensional complex welding seams, the welding gun track planning of the welding seams is mainly completed in a model-driven mode, namely, simulation is carried out through robottsudio simulation software.
In robottsudi simulation software, seamless joint of parts is required, otherwise automatic calculation of a welding seam is influenced, but in the process of constructing a three-dimensional ship model by SPD modeling software, gaps may exist among segmented parts, so that calculation of the welding seam cannot be automatically completed, and accuracy of planning of a welding gun track of the simulated welding seam is low.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the welding gun track generation method and device for the intermediate assembly welding seam are provided, calculation of the gap welding seam corresponding to the gap is achieved, and accuracy of a subsequent simulation result of software is improved.
In order to solve the technical problem, the invention provides a welding gun track generation method for assembling welding seams, which comprises the following steps:
acquiring intermediate assembly segmented model data, constructing an intermediate assembly segmented model, and performing structural analysis on the intermediate assembly segmented model to obtain part types and quantity corresponding to all parts forming the intermediate assembly segmented model;
judging whether gaps exist among all parts, if so, setting gap welding seams based on the gaps until all parts are traversed to obtain all gap welding seams in the intermediate assembly segmented model;
selecting any gap welding line, obtaining and obtaining the welding line track parameter of any gap welding line according to the gap welding line type of any gap welding line, and obtaining the welding line welding gun track based on the welding line track parameter.
In a possible implementation manner, the determining whether there is a gap between all the parts specifically includes:
acquiring weld parameters corresponding to all welds in the intermediate assembly segmented model, wherein the weld parameters comprise a first weld part and a second weld part;
based on the welding seam parameters corresponding to all the welding seams, obtaining and generating a welding seam part combination set based on the welding seam part combination corresponding to each welding seam; wherein the weld part combination is a combination of the first weld part and the second weld part;
based on the welding seam part combination set, combining all the parts pairwise to obtain a first part combination set based on a first part combination, and calculating a first part distance of each pair of first part combinations in the first part combination set;
and judging whether the first part distance is zero or not, if not, considering that a gap exists between the first part combinations corresponding to the first part distance, and if so, considering that a gap does not exist between the first part combinations corresponding to the first part distance.
In a possible implementation manner, performing structural analysis on the intermediate assembly segmentation model to obtain the part types and the number corresponding to all parts forming the intermediate assembly segmentation model, specifically including:
carrying out structural analysis on the intermediate assembly segmented model to obtain all parts forming the intermediate assembly segmented model;
acquiring part names of all parts, classifying all the parts based on the part names to obtain part types corresponding to all the parts, wherein the part types comprise a middle assembly bottom plate, a middle assembly longitudinal and transverse partition plate, a middle assembly longitudinal frame and an inner member;
and counting all the parts based on the part types to obtain the part number corresponding to different part types.
In a possible implementation manner, after constructing the intermediate assembly segmentation model, the method further includes:
acquiring a first position direction of the middle assembly segmented model, judging whether the first position direction is consistent with an actually-built second position direction or not, if not, resetting the first position direction, and taking the second position direction as the first position direction;
and simultaneously acquiring a first coordinate system of the intermediate assembly segmented model, judging whether the first coordinate system is the same as a second coordinate system used in simulation software, and if not, resetting the first coordinate system so as to convert the first coordinate system into the second coordinate system.
The invention also provides a welding gun track generation device for the intermediate assembly welding seam, which comprises the following components: the welding line welding system comprises a structure analysis module, a gap welding line acquisition module and a welding line welding gun track acquisition module;
the structural analysis module is used for acquiring the data of the intermediate assembly subsection model, constructing the intermediate assembly subsection model, and performing structural analysis on the intermediate assembly subsection model to obtain the part types and the number corresponding to all parts forming the intermediate assembly subsection model;
the gap weld acquiring module is used for judging whether gaps exist among all the parts, if so, setting gap welds based on the gaps until all the parts are traversed, and obtaining all the gap welds in the intermediate assembly segmented model;
the welding seam welding gun track acquiring module is used for selecting any gap welding seam, acquiring and obtaining the welding seam track parameter of any gap welding seam according to the gap welding seam type of any gap welding seam, and obtaining the welding seam welding gun track based on the welding seam track parameter.
In a possible implementation manner, the gap weld obtaining module is configured to determine whether gaps exist among all the parts, and specifically includes:
acquiring weld parameters corresponding to all welds in the intermediate assembly segmented model, wherein the weld parameters comprise a first weld part and a second weld part;
based on the welding seam parameters corresponding to all the welding seams, obtaining and generating a welding seam part combination set based on the welding seam part combination corresponding to each welding seam; wherein the weld part combination is a combination of the first weld part and the second weld part;
based on the welding seam part combination set, combining all the parts pairwise to obtain a first part combination set based on a first part combination, and calculating a first part distance of each pair of first part combinations in the first part combination set;
and judging whether the first part distance is zero or not, if not, considering that a gap exists between the first part combinations corresponding to the first part distance, and if so, considering that a gap does not exist between the first part combinations corresponding to the first part distance.
In a possible implementation manner, the structural analysis module is configured to perform structural analysis on the middle assembly segmentation model to obtain types and numbers of parts corresponding to all parts that form the middle assembly segmentation model, and specifically includes:
carrying out structural analysis on the intermediate assembly segmented model to obtain all parts forming the intermediate assembly segmented model;
acquiring part names of all parts, classifying all the parts based on the part names to obtain part types corresponding to all the parts, wherein the part types comprise a middle assembly bottom plate, a middle assembly longitudinal and transverse partition plate, a middle assembly longitudinal frame and an inner member;
and counting all the parts based on the part types to obtain the part number corresponding to different part types.
In a possible implementation manner, the structural analysis module, after being configured to construct the intermediate assembly segmentation model, is further configured to:
acquiring a first position direction of the middle assembly segmented model, judging whether the first position direction is consistent with an actually-built second position direction or not, if not, resetting the first position direction, and taking the second position direction as the first position direction;
and simultaneously acquiring a first coordinate system of the assembled segmental model, judging whether the first coordinate system is the same as a second coordinate system used in simulation software, and if not, resetting the first coordinate system so as to convert the first coordinate system into the second coordinate system.
The invention also provides a terminal device, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to realize the welding gun track generation method for assembling the welding seam.
The invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the welding gun track generation method for assembling the welding seam as described in any one of the above.
Compared with the prior art, the welding gun track generation method and device for the intermediate assembly welding seam have the following beneficial effects:
constructing a middle assembly subsection model by acquiring data of the middle assembly subsection model, and performing structural analysis on the middle assembly subsection model to obtain the part types and the number corresponding to all parts forming the middle assembly subsection model; judging whether gaps exist among all parts, if so, setting gap welding seams based on the gaps until all parts are traversed to obtain all gap welding seams in the intermediate assembly segmented model; selecting any gap welding line, obtaining and obtaining the welding line track parameter of any gap welding line according to the gap welding line type of any gap welding line, and obtaining the welding line welding gun track based on the welding line track parameter. Compared with the prior art, the technical scheme of the invention obtains the gaps among all parts by carrying out result analysis on the intermediate assembly segmented model, correspondingly generates the gap welding line, realizes the calculation of the gap welding line corresponding to the gaps, and simultaneously sets the welding line welding gun track based on the gap welding line, thereby improving the accuracy of the software simulation result.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating one embodiment of a method for generating a trajectory of a welding gun for assembling a weld bead according to the present invention;
fig. 2 is a schematic structural diagram of an embodiment of a welding gun trajectory generation device for assembling a welding seam according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
Referring to fig. 1, fig. 1 is a schematic flowchart of a method for generating a welding gun trajectory of a medium-stack welding seam according to an embodiment of the present invention, as shown in fig. 1, the method includes steps 101 to 103, and specifically includes the following steps:
step 101: acquiring intermediate assembly segmented model data, constructing an intermediate assembly segmented model, and performing structural analysis on the intermediate assembly segmented model to obtain the part types and the quantity corresponding to all parts forming the intermediate assembly segmented model.
In one embodiment, an XML file of a medium-sized fragment generated by shipbuilding modeling software such as SPD is obtained, the XML file is imported into robotsutio simulation software, so that the robotsutio simulation software obtains medium-sized fragment model data from the XML file, and a medium-sized fragment model is constructed based on the medium-sized fragment model data; the well assemblage segmentation model data include data such as part name, plate thickness, material, welding leg, structure space position and the like.
In one embodiment, when modeling is performed by using shipbuilding modeling software such as SPD, the coordinates of the intermediate assembly segment model adopt a coordinate system unified by SPD, so that the position direction of the intermediate assembly segment model may not be consistent with the position direction actually manufactured on site, and the scene in robottsudi simulation software is a virtual simulation of an actual production site on site.
Specifically, for the position direction: and acquiring a first position direction of the middle assembly segmented model, judging whether the first position direction is consistent with a second position direction actually built, if not, resetting the first position direction, and taking the second position direction as the first position direction.
In one embodiment, in the simulation software, the coordinate system adopted by the central assembly robot is not consistent with the coordinate system adopted by the shipbuilding three-dimensional modeling software, and after the position direction of the central assembly segmented model is rotated to be consistent with the actual direction of the production field through the steps, the coordinates of the central assembly segmented model and the coordinates of the central assembly welding robot are not consistent, so that the central assembly segmented model needs to be uniformly set.
Specifically, for the coordinate system: and simultaneously acquiring a first coordinate system of the assembled segmental model, judging whether the first coordinate system is the same as a second coordinate system used in simulation software, and if not, resetting the first coordinate system so as to convert the first coordinate system into the second coordinate system.
In one embodiment, during structural analysis, the structural type is judged by identifying codes of part names and component names; specifically, structural analysis is performed on the intermediate assembly segmented model to obtain all parts forming the intermediate assembly segmented model; acquiring part names of all parts, classifying all the parts based on the part names to obtain part types corresponding to all the parts, wherein the part types comprise a middle assembly bottom plate, a middle assembly longitudinal and transverse partition plate, a middle assembly longitudinal frame and an inner member; and counting all the parts based on the part types to obtain the part number corresponding to different part types.
In an embodiment, the parts are classified based on the part names, specifically, a code in the part name of each part is obtained, whether the code contains a first preset code is judged, if yes, the part is considered to be a middle assembly bottom plate, if not, whether the code contains a second preset code is judged, if yes, the part is considered to be a middle assembly longitudinal and transverse partition plate, if not, whether the code contains a third preset code is judged, and if yes, the part is considered to be a middle assembly longitudinal and inner member.
Preferably, the first preset code may be IB and BS, where IB corresponds to the inner bottom plate and BS corresponds to the outer bottom plate; the second preset code can be FR, and the FR corresponds to a common longitudinal and transverse plate; the third preset code may be a DK, which corresponds to a deck class.
In one embodiment, the intermediate assembly segmental model is subjected to structural analysis, so that the part types and the number of all parts forming the intermediate assembly segmental model can be obtained, and parts of different part types are distinguished by adopting different colors.
Step 102: and judging whether gaps exist among all the parts, if so, setting gap welding seams based on the gaps until all the parts are traversed, and obtaining all the gap welding seams in the intermediate assembly subsection model.
In an embodiment, when the robotsutio simulation software is used to import the XML file of the intermediate assembly segmentation model generated by the SPD modeling software into the robotsutio simulation software, the robotsutio simulation software cannot extract all the weld data in the XML file of the intermediate assembly segmentation model, which may cause miscalculation of the number of welds.
In one embodiment, weld parameters corresponding to all welds in the intermediate assembly segmented model are obtained, wherein the weld parameters comprise a first weld part and a second weld part; based on the welding seam parameters corresponding to all the welding seams, obtaining and generating a welding seam part combination set based on the welding seam part combination corresponding to each welding seam; wherein the weld part combination is a combination of the first weld part and the second weld part.
In one embodiment, based on the welding seam part combination set, pairwise combination is performed on all parts, a first part combination set is generated based on first part combinations, and a first part distance of each pair of first part combinations in the first part combination set is calculated; and judging whether the first part distance is zero or not, if not, considering that a gap exists between the first part combinations corresponding to the first part distance, and if so, considering that a gap does not exist between the first part combinations corresponding to the first part distance.
In one embodiment, since robotsutio simulation software requires seamless joint between parts, the distance between two parts constituting a weld is considered to be 0; all welding seam parameters in the assembled section are obtained, all parts are combined based on all welding seam parameters, corresponding part distances are calculated, when the part distances are not 0, gaps among the section parts are considered to be caused in the process of constructing the ship three-dimensional model by adopting SPD modeling software, and the number of the gap welding seams with the gaps can be obtained by counting the number of the part distances which are not 0.
In one embodiment, a technician is required to manually generate a gap weld when a gap is detected between two parts in the first combination of parts. Specifically, when a gap is detected between first part combinations, a first endpoint of the gap is selected, and a first endpoint coordinate of the first endpoint is obtained; acquiring a second end point of the gap, and acquiring second end point coordinates of the second end point; obtaining the gap weld based on the first endpoint and the second endpoint.
As an illustration in this embodiment: when a gap exists between a first diaphragm plate and a first longitudinal diaphragm plate in an intermediate assembly segmented model in the weldable range of an intermediate assembly welding robot, selecting a first end point at the lowest part (leftmost end) of the gap existing between the first diaphragm plate and the first longitudinal diaphragm plate to obtain X-axis coordinates, Y-axis coordinates and Z-axis coordinates of the first end point; and simultaneously selecting a second end point at the uppermost part (the rightmost end) of a gap between the first diaphragm plate and the first longitudinal diaphragm plate, acquiring X, Y and Z axis coordinates of the second end point, and connecting the first end point and the second end point to obtain a gap welding seam between the first diaphragm plate and the first longitudinal diaphragm plate based on the X, Y and Z axis coordinates of the first end point and the X, Y and Z axis coordinates of the second end point. By repeating the above steps, gap welds between other segmented parts can continue to be generated.
In one embodiment, the gap weld may be a vertical fillet weld, and the gap weld may also be a flat fillet weld.
Step 103: selecting any gap welding line, obtaining and obtaining the welding line track parameter of any gap welding line according to the gap welding line type of any gap welding line, and obtaining the welding line welding gun track based on the welding line track parameter.
In one embodiment, any gap weld is selected, the gap weld spatial position of any gap weld is obtained, the gap weld type corresponding to any gap weld is obtained based on the gap weld spatial position, and the weld track parameter is obtained according to the gap weld type; wherein the gap weld spatial position may be derived based on coordinate positions of a first endpoint and a second endpoint corresponding to the gap weld.
In one embodiment, based on the spatial position of the gap weld, the gap weld type corresponding to any gap weld is obtained, specifically, a second coordinate system in simulation software is divided into four quadrants, and two gap weld types are set for each quadrant, so that an L3-type weld and an L8-type weld in a first quadrant are obtained; an L2-shaped weld and an L7-shaped weld in a second quadrant; an L1-shaped weld and an L5-shaped weld in a third quadrant; an L4-shaped weld and an L6-shaped weld in a fourth quadrant; the L1-shaped welding seam, the L2-shaped welding seam, the L3-shaped welding seam and the L4-shaped welding seam are flat fillet welding seams; the L5-shaped welding seam, the L6-shaped welding seam, the L7-shaped welding seam and the L8-shaped welding seam are vertical fillet welding seams.
After the gap weld space position of any gap weld is obtained, obtaining a quadrant region where any gap weld is located based on the gap weld space position; meanwhile, whether any gap welding line is a flat fillet welding line or not is judged according to the space position of the gap welding line, or whether any gap welding line is a vertical fillet welding line or not is judged, and the type of the gap welding line of any gap welding line is obtained.
In one embodiment, the weld track parameters include a welding gun angular attitude and a welding gun track line, and therefore, a welding gun track corresponding to any gap weld can be obtained based on the welding gun track line in the weld track parameters.
In one embodiment, a definite locating tool is further needed, two main locating modes of the assembly robot for welding are provided, one is locating by laser, the other is locating by welding wires, the two modes can achieve locating by welding by the robot, and preferably, the locating mode of welding adopted in the embodiment is locating by laser.
In one embodiment, a welding position searching mode and a welding position searching parameter are set, wherein the welding position searching mode is laser position searching; the welding locating parameters comprise locating safety distance, welding gun starting point height and welding gun end point height.
Preferably, the setting of the welding locating parameter is determined according to a test on a practical construction site so as to ensure the locating accuracy.
In one embodiment, any selected gap welding line is located according to the welding locating mode and the welding locating parameter, so that the welding robot can weld the gap welding line based on the welding line track parameter, the accurate locating of the welding robot is realized, and the welding operation of the horizontal fillet welding line is automatically completed.
Example 2
Referring to fig. 2, fig. 2 is a schematic structural diagram of an embodiment of a welding gun trajectory generating device for assembling a welding seam in the present invention, as shown in fig. 2, the device includes a structural analysis module 201, a gap seam acquisition module 202, and a welding gun trajectory acquisition module 203, which are specifically as follows:
the structural analysis module 201 is configured to obtain intermediate assembly segmentation model data, construct an intermediate assembly segmentation model, and perform structural analysis on the intermediate assembly segmentation model to obtain part types and numbers corresponding to all parts that constitute the intermediate assembly segmentation model;
the gap weld acquiring module 202 is configured to determine whether gaps exist among all the parts, and if so, set a gap weld based on the gaps until all the parts are traversed to obtain all the gap welds in the intermediate assembly segmented model;
the welding seam welding gun track acquiring module 203 is used for selecting any gap welding seam, acquiring and obtaining a welding seam track parameter of any gap welding seam according to the gap welding seam type of any gap welding seam, and obtaining a welding seam welding gun track based on the welding seam track parameter.
In an embodiment, the gap weld obtaining module 202 is configured to determine whether gaps exist between all the parts; specifically, welding seam parameters corresponding to all welding seams in the intermediate assembling segmented model are obtained, wherein the welding seam parameters comprise a first welding seam part and a second welding seam part; based on the welding seam parameters corresponding to all the welding seams, obtaining and generating a welding seam part combination set based on the welding seam part combination corresponding to each welding seam; wherein the weld part combination is a combination of the first weld part and the second weld part; based on the welding seam part combination set, combining all the parts pairwise to obtain a first part combination set based on a first part combination, and calculating a first part distance of each pair of first part combinations in the first part combination set; and judging whether the first part distance is zero or not, if not, considering that a gap exists between the first part combinations corresponding to the first part distance, and if so, considering that a gap does not exist between the first part combinations corresponding to the first part distance.
In an embodiment, the structural analysis module 201 is configured to perform structural analysis on the intermediate assembly segmentation model to obtain types and numbers of parts corresponding to all parts constituting the intermediate assembly segmentation model; specifically, structural analysis is performed on the intermediate assembly segmented model to obtain all parts forming the intermediate assembly segmented model; acquiring part names of all parts, classifying all the parts based on the part names to obtain part types corresponding to all the parts, wherein the part types comprise a middle assembly bottom plate, a middle assembly longitudinal and transverse partition plate, a middle assembly longitudinal frame and an inner member; and counting all the parts based on the part types to obtain the part number corresponding to different part types.
In an embodiment, the structural analysis module 201 is configured to, after constructing an intermediate assembly section model, further obtain a first position direction of the intermediate assembly section model, determine whether the first position direction is consistent with an actually constructed second position direction, and if not, reset the first position direction and use the second position direction as the first position direction; and simultaneously acquiring a first coordinate system of the intermediate assembly segmented model, judging whether the first coordinate system is the same as a second coordinate system used in simulation software, and if not, resetting the first coordinate system so as to convert the first coordinate system into the second coordinate system.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and details are not described herein.
It should be noted that the above embodiments of the welding gun trajectory generation device for assembling the welding seam are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as the modules 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 modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
On the basis of the above embodiment of the welding gun trajectory generation method for the assembly welding seam, another embodiment of the present invention provides a welding gun trajectory generation terminal device for the assembly welding seam, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the welding gun trajectory generation method for the assembly welding seam according to any one of the embodiments of the present invention is implemented.
Illustratively, the computer program may be partitioned in this embodiment into one or more modules that are stored in the memory and executed by the processor to implement the invention. The one or more modules may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program in the gun trajectory generation terminal device for assembling the weld bead.
The welding gun track generation terminal device of the middle assembly welding seam can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing devices. The welding gun track generation terminal device for the assembly welding seam can comprise, but is not limited to, a processor and a memory.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor is a control center of the gun trajectory generation terminal for the center assembly weld and various interfaces and lines are used to connect various parts of the gun trajectory generation terminal for the entire center assembly weld.
The memory may be configured to store the computer program and/or the module, and the processor may implement various functions of the welding gun trajectory generation terminal device for assembling the welding seam by executing or executing the computer program and/or the module stored in the memory and calling the data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone, and the like. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
On the basis of the embodiment of the welding gun track generation method for assembling the welding seam, another embodiment of the present invention provides a storage medium, where the storage medium includes a stored computer program, and when the computer program runs, the apparatus on which the storage medium is located is controlled to execute the welding gun track generation method for assembling the welding seam according to any embodiment of the present invention.
In this embodiment, the storage medium is a computer-readable storage medium, and the computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, and so on. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer-readable medium may contain suitable additions or subtractions depending on the requirements of legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer-readable media may not include electrical carrier signals or telecommunication signals in accordance with legislation and patent practice.
In summary, according to the welding gun track generation method and device for the intermediate assembly welding seam provided by the invention, the intermediate assembly segmented model is constructed by acquiring the intermediate assembly segmented model data, and the intermediate assembly segmented model is subjected to structural analysis to obtain the part types and the number corresponding to all parts forming the intermediate assembly segmented model; judging whether gaps exist among all parts, if so, setting gap welding seams based on the gaps until all parts are traversed, and obtaining all gap welding seams in the intermediate assembly segmented model; and selecting any gap welding line, obtaining a welding line track parameter of any gap welding line according to the gap welding line type of any gap welding line, and obtaining a welding line welding gun track based on the welding line track parameter. Compared with the prior art, the technical scheme of the invention can solve the problem that the welding line cannot be generated due to the existence of the gaps between the parts, realize the calculation of the gap welding line corresponding to the gaps and improve the accuracy of the subsequent simulation result of the software.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and substitutions can be made without departing from the technical principle of the present invention, and these modifications and substitutions should also be regarded as the protection scope of the present invention.
Claims (10)
1. A welding gun track generation method for assembling welding seams is characterized by comprising the following steps:
acquiring intermediate assembly segmented model data, constructing an intermediate assembly segmented model, and performing structural analysis on the intermediate assembly segmented model to obtain part types and quantity corresponding to all parts forming the intermediate assembly segmented model;
judging whether gaps exist among all parts, if so, setting gap welding seams based on the gaps until all parts are traversed to obtain all gap welding seams in the intermediate assembly segmented model;
selecting any gap welding line, obtaining and obtaining the welding line track parameter of any gap welding line according to the gap welding line type of any gap welding line, and obtaining the welding line welding gun track based on the welding line track parameter.
2. The method for generating a welding gun track for a medium group welding seam according to claim 1, wherein the step of judging whether gaps exist among all parts specifically comprises the steps of:
acquiring weld parameters corresponding to all welds in the intermediate assembly segmented model, wherein the weld parameters comprise a first weld part and a second weld part;
based on the welding seam parameters corresponding to all the welding seams, obtaining and generating a welding seam part combination set based on the welding seam part combination corresponding to each welding seam; wherein the weld part combination is a combination of the first weld part and the second weld part;
based on the welding seam part combination set, combining all the parts pairwise to obtain a first part combination set based on a first part combination, and calculating a first part distance of each pair of first part combinations in the first part combination set;
and judging whether the first part distance is zero or not, if not, considering that a gap exists between the first part combinations corresponding to the first part distance, and if so, considering that a gap does not exist between the first part combinations corresponding to the first part distance.
3. The method for generating the welding gun track of the intermediate assembly welding seam according to claim 1, wherein the structural analysis is performed on the intermediate assembly segmental model to obtain the part types and the number corresponding to all parts forming the intermediate assembly segmental model, and specifically comprises:
carrying out structural analysis on the intermediate assembly segmented model to obtain all parts forming the intermediate assembly segmented model;
acquiring part names of all parts, classifying all the parts based on the part names to obtain part types corresponding to all the parts, wherein the part types comprise a middle assembly bottom plate, a middle assembly longitudinal and transverse partition plate, a middle assembly longitudinal frame and an inner member;
and counting all the parts based on the part types to obtain the part number corresponding to different part types.
4. The method for generating a trajectory of a welding gun for a neutral welding seam according to claim 1, wherein after constructing the neutral segmentation model, the method further comprises:
acquiring a first position direction of the middle assembly segmented model, judging whether the first position direction is consistent with an actually-built second position direction or not, if not, resetting the first position direction, and taking the second position direction as the first position direction;
and simultaneously acquiring a first coordinate system of the assembled segmental model, judging whether the first coordinate system is the same as a second coordinate system used in simulation software, and if not, resetting the first coordinate system so as to convert the first coordinate system into the second coordinate system.
5. A welding gun track generation device for assembling welding seams, which is characterized by comprising: the welding line welding system comprises a structure analysis module, a gap welding line acquisition module and a welding line welding gun track acquisition module;
the structural analysis module is used for acquiring the data of the intermediate assembly subsection model, constructing the intermediate assembly subsection model, and performing structural analysis on the intermediate assembly subsection model to obtain the part types and the number corresponding to all parts forming the intermediate assembly subsection model;
the gap weld acquiring module is used for judging whether gaps exist among all parts, if so, setting gap welds based on the gaps until all parts are traversed, and obtaining all gap welds in the intermediate assembly segmented model;
the welding seam welding gun track acquiring module is used for selecting any gap welding seam, acquiring and obtaining the welding seam track parameter of any gap welding seam according to the gap welding seam type of any gap welding seam, and obtaining the welding seam welding gun track based on the welding seam track parameter.
6. The welding gun track generation device for the intermediate assembly welding seam according to claim 5, wherein the gap seam acquisition module is configured to determine whether gaps exist among all the parts, and specifically includes:
acquiring weld parameters corresponding to all welds in the intermediate assembly segmented model, wherein the weld parameters comprise a first weld part and a second weld part;
based on the welding seam parameters corresponding to all the welding seams, obtaining and generating a welding seam part combination set based on the welding seam part combination corresponding to each welding seam; wherein the weld part combination is a combination of the first weld part and the second weld part;
based on the welding seam part combination set, combining all the parts pairwise to obtain a first part combination set based on a first part combination, and calculating a first part distance of each pair of first part combinations in the first part combination set;
and judging whether the first part distance is zero or not, if not, considering that a gap exists between the first part combinations corresponding to the first part distance, and if so, considering that a gap does not exist between the first part combinations corresponding to the first part distance.
7. The welding gun track generation device for the intermediate assembly welding seam according to claim 5, wherein the structural analysis module is configured to perform structural analysis on the intermediate assembly segmentation model to obtain the part types and the number corresponding to all parts forming the intermediate assembly segmentation model, and specifically includes:
performing structural analysis on the assembling segmented model to obtain all parts forming the assembling segmented model;
acquiring part names of all parts, classifying all the parts based on the part names to obtain part types corresponding to all the parts, wherein the part types comprise a middle assembly bottom plate, a middle assembly longitudinal and transverse partition plate, a middle assembly longitudinal frame and an inner member;
and counting all the parts based on the part types to obtain the part number corresponding to different part types.
8. The apparatus of claim 5, wherein the structural analysis module, after being configured to construct the intermediate assembly segmentation model, further comprises:
acquiring a first position direction of the middle assembly subsection model, judging whether the first position direction is consistent with a second position direction actually built, if not, resetting the first position direction, and taking the second position direction as the first position direction;
and simultaneously acquiring a first coordinate system of the intermediate assembly segmented model, judging whether the first coordinate system is the same as a second coordinate system used in simulation software, and if not, resetting the first coordinate system so as to convert the first coordinate system into the second coordinate system.
9. A terminal device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the method of generating a weld gun trajectory for assembling a weld bead according to any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the method for generating a welding gun trajectory for assembling a welding weld according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211120286.8A CN115488535B (en) | 2022-09-14 | 2022-09-14 | Welding gun track generation method and device for middle-group welding seam |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211120286.8A CN115488535B (en) | 2022-09-14 | 2022-09-14 | Welding gun track generation method and device for middle-group welding seam |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115488535A true CN115488535A (en) | 2022-12-20 |
CN115488535B CN115488535B (en) | 2023-08-29 |
Family
ID=84468866
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211120286.8A Active CN115488535B (en) | 2022-09-14 | 2022-09-14 | Welding gun track generation method and device for middle-group welding seam |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115488535B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000073642A (en) * | 1999-05-13 | 2000-12-05 | 권상문 | An auto-cutting apparatus and method thereof |
WO2018215592A1 (en) * | 2017-05-24 | 2018-11-29 | Inrotech Aps | An apparatus and a method for automated seam welding of a work piece comprising a base plate with a pattern of upstanding profiles |
CN112518072A (en) * | 2020-11-23 | 2021-03-19 | 南京工程学院 | Spatial intersecting curve weld joint structure modeling method based on line structure light vision |
CN112743206A (en) * | 2020-12-03 | 2021-05-04 | 上海中船临港船舶装备有限公司 | Robot welding process for assembling in ship |
CN113385869A (en) * | 2021-07-26 | 2021-09-14 | 武汉理工大学 | Robot welding equipment for large square lattice component based on machine vision and welding seam positioning method |
CN114888495A (en) * | 2022-06-30 | 2022-08-12 | 中船黄埔文冲船舶有限公司 | Welding control method and system based on intermediate assembly model |
CN114888814A (en) * | 2022-06-30 | 2022-08-12 | 中船黄埔文冲船舶有限公司 | Welding robot control method and system based on intermediate assembly section |
CN114905180A (en) * | 2022-06-30 | 2022-08-16 | 中船黄埔文冲船舶有限公司 | Obstacle avoidance welding path optimization method and device for intermediate assembly welding line |
CN114905115A (en) * | 2022-06-30 | 2022-08-16 | 中船黄埔文冲船舶有限公司 | Robot welding method and device for assembling vertical welding seams |
CN114952863A (en) * | 2022-06-30 | 2022-08-30 | 中船黄埔文冲船舶有限公司 | Obstacle avoidance control method and device for intermediate-assembly segmented welding robot |
CN115042181A (en) * | 2022-06-30 | 2022-09-13 | 中船黄埔文冲船舶有限公司 | Multi-welding track generation method and system for intermediate assembly segmented robot |
-
2022
- 2022-09-14 CN CN202211120286.8A patent/CN115488535B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000073642A (en) * | 1999-05-13 | 2000-12-05 | 권상문 | An auto-cutting apparatus and method thereof |
WO2018215592A1 (en) * | 2017-05-24 | 2018-11-29 | Inrotech Aps | An apparatus and a method for automated seam welding of a work piece comprising a base plate with a pattern of upstanding profiles |
CN112518072A (en) * | 2020-11-23 | 2021-03-19 | 南京工程学院 | Spatial intersecting curve weld joint structure modeling method based on line structure light vision |
CN112743206A (en) * | 2020-12-03 | 2021-05-04 | 上海中船临港船舶装备有限公司 | Robot welding process for assembling in ship |
CN113385869A (en) * | 2021-07-26 | 2021-09-14 | 武汉理工大学 | Robot welding equipment for large square lattice component based on machine vision and welding seam positioning method |
CN114888495A (en) * | 2022-06-30 | 2022-08-12 | 中船黄埔文冲船舶有限公司 | Welding control method and system based on intermediate assembly model |
CN114888814A (en) * | 2022-06-30 | 2022-08-12 | 中船黄埔文冲船舶有限公司 | Welding robot control method and system based on intermediate assembly section |
CN114905180A (en) * | 2022-06-30 | 2022-08-16 | 中船黄埔文冲船舶有限公司 | Obstacle avoidance welding path optimization method and device for intermediate assembly welding line |
CN114905115A (en) * | 2022-06-30 | 2022-08-16 | 中船黄埔文冲船舶有限公司 | Robot welding method and device for assembling vertical welding seams |
CN114952863A (en) * | 2022-06-30 | 2022-08-30 | 中船黄埔文冲船舶有限公司 | Obstacle avoidance control method and device for intermediate-assembly segmented welding robot |
CN115042181A (en) * | 2022-06-30 | 2022-09-13 | 中船黄埔文冲船舶有限公司 | Multi-welding track generation method and system for intermediate assembly segmented robot |
Also Published As
Publication number | Publication date |
---|---|
CN115488535B (en) | 2023-08-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20180131471A (en) | Apparatus for integrated management of construction errors using 3d scanning with bim and method thereof | |
CN113688545B (en) | Visualization method and system for finite element post-processing result and data processing terminal | |
CN105069183A (en) | Weld simulation method and device | |
CN112948914A (en) | Method for automatically generating beam reinforcement map, processing device and storage medium | |
CN111259474B (en) | Large-scale BIM model data processing and loading method and equipment | |
CN116068959A (en) | Processing method based on tool path compensation, electronic equipment and storage medium | |
CN116664776A (en) | Three-dimensional visual editing system based on digital twin | |
CN112184885B (en) | Method and device for establishing workpiece coordinate system | |
CN107066654B (en) | Box surface containing track control point picking method and device facing point cloud model | |
CN115488535B (en) | Welding gun track generation method and device for middle-group welding seam | |
CN110826146B (en) | Jig frame correction method, device and equipment based on CATIA (computer-graphics aided three-dimensional Interactive application), and storage medium | |
JP2003263464A (en) | Fillet preparing method and three-dimensional cad program | |
CN115933538A (en) | Equipment control method and system | |
CN115270240A (en) | Power transmission area visualization implementation method and device, computer equipment and storage medium | |
CN115239884A (en) | Reconstruction method and device for medium-assembled three-dimensional model | |
CN115063560A (en) | Method and system for tracking three-dimensional target in motion state in real time | |
CN204790978U (en) | Welded analogue means | |
CN116046017B (en) | Calibration method and device for measuring path, storage medium and computer equipment | |
CN110704900B (en) | Method for placing connection node between keel column model and wall keel model and product | |
CN117475101B (en) | Space division method and device for three-dimensional model, terminal equipment and storage medium | |
CN112395658B (en) | Model detail judgment method, terminal device and computer readable storage medium | |
CN106909721B (en) | Editable section obtaining method and device | |
CN109945892B (en) | Online testing method for complex algorithm requirements of inertial navigation system | |
CN115470670A (en) | Method, processor, device and storage medium for determining boom parameters | |
CN108710666B (en) | Method and system for mutual conversion between kml file and dxf file |
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 | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20221220 Assignee: Zhanjiang Nanhai Shipbuilding High tech Service Co.,Ltd. Assignor: CSSC HUANGPU WENCHONG SHIPBUILDING Co.,Ltd. Contract record no.: X2023980048822 Denomination of invention: A welding gun trajectory generation method and device for intermediate assembly welding seams Granted publication date: 20230829 License type: Common License Record date: 20231130 |
|
EE01 | Entry into force of recordation of patent licensing contract |