Automatic Calling Method of Welding Parameter Subroutine Based on 3D Model

By establishing a welding process parameter library and three-dimensional model annotation, and combining the offset coordinate system to automatically determine the direction of welding parameters, the problems of cumbersome welding procedures and inaccurate parameters in the existing technology are solved, and efficient and accurate automatic calling of welding parameters is realized.

CN120095821BActive Publication Date: 2026-11-17ZHENGZHOU COAL MINING MACHINERY (GRP) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510393780.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2026-11-17
Estimated Expiration
2045-03-31

AI Technical Summary

Technical Problem

Existing welding robot welding programs are cumbersome to program, have inaccurate parameter calls, cannot be planned in advance, and have high machine vision recognition costs and large blind spots, which affect welding efficiency and quality.

Method used

A welding process parameter library is established. Welds are identified and annotated in three dimensions using a 3D model. The A and B directions of the welding parameter subroutine are automatically determined by the offset coordinate system, enabling automatic recall of welding parameters.

Benefits of technology

It improves the efficiency and quality of welding program development, reduces labor costs, and ensures the accuracy and efficiency of welding parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120095821B_ABST
    Figure CN120095821B_ABST
Patent Text Reader

Abstract

This invention proposes an automatic calling method for welding parameter subroutines based on a three-dimensional model, comprising the following steps: (1) establishing a welding process parameter library including a welding process parameter table and a process parameter matching rule table; (2) based on the established three-dimensional model, identifying the structural parameters between each part and generating the corresponding weld; (3) in the established three-dimensional model, performing three-dimensional annotation on the generated weld to obtain the weld section code; the information of the three-dimensional annotation includes process parameter information including weld leg size, weld layer arrangement and welding position; (4) using the obtained weld section code as the initial condition value, obtaining the corresponding welding process parameters in the welding process parameter library to realize the automatic calling of welding parameters; for the obtained welding process parameters, in the world coordinate system of the welding robot, according to the vector decomposition of the Y-axis in the world coordinate system in the Z direction of the defined offset coordinate system, automatically determining the A and B directions of the welding parameter subroutine.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of welding process design technology, and in particular relates to a method for automatically calling welding parameter subroutines based on a three-dimensional model. Background Technology

[0002] Welding robot technology is widely used in the manufacturing process of hydraulic supports. The programming of welding robot welding programs is mostly done through on-site manual teaching and offline programming. However, the structure of hydraulic support components is complex, with many types of welds. Current technology involves manually setting welding process parameters for each weld seam based on design process information provided in drawings and manually identifying the structural forms of parts surrounding the weld seam. This method of calling welding parameters has several drawbacks: 1. The method is cumbersome, requiring manual calling of welding parameter programs stored in the teach pendant, which places high demands on the operator; 2. The welding process parameter calling is inaccurate; 3. The direction of parameter calling by the welding subroutine cannot be correctly determined; 4. Welding process parameters cannot be planned in advance.

[0003] There are also some welding methods based on welding robots. For example, Chinese invention patent application CN118595688A, published on September 6, 2024, discloses a welding method and system based on a welding robot. The welding method includes: acquiring weld information of the workpiece; generating a planned path based on the weld information; controlling the welding robot to move along the workpiece and perform trial welding based on the planned path; acquiring first welding parameters of the welding robot during the trial welding process in real time; and determining the welding torch position point that meets the alignment conditions of the weld centerline based on the first welding parameters, so that the welding robot's welding torch welds the workpiece along the welding torch position point. This invention reduces the requirements for workpiece standardization during welding, and can always maintain welding above the weld centerline, ensuring the accuracy of automatic welding. However, this solution has the following three disadvantages: 1. This solution uses machine vision recognition, resulting in high hardware investment costs; 2. The main structural components of hydraulic supports are usually box-type structures, leading to blind spots in machine vision recognition; 3. The accuracy of machine vision recognition is greatly affected by the production environment and assembly quality.

[0004] Therefore, it is particularly important to develop a method for automatically calling welding parameter subroutines for hydraulic support structures, so as to improve the efficiency and quality of welding program development and reduce labor costs. Summary of the Invention

[0005] The purpose of this invention is to solve the problems of low work efficiency, poor program consistency, and strong dependence on personnel in existing methods, and to provide a method for automatically calling welding parameter subroutines based on three-dimensional models.

[0006] In a first aspect, the present invention provides a method for automatically calling welding parameter subroutines based on a three-dimensional model, comprising the following steps: (1) Establish a welding process parameter library including a welding process parameter table and a process parameter matching rule table; (2) Based on the established three-dimensional model, identify the structural parameters between each part and generate the corresponding welds; (3) In the established three-dimensional model, the generated weld is annotated in three dimensions to obtain the weld section code; the information of the three-dimensional annotation includes process parameter information including weld size, weld layer arrangement and welding position; (4) Using the obtained weld section code as the initial condition value, the corresponding welding process parameters are obtained from the welding process parameter library to realize the automatic calling of welding parameters; Based on the obtained welding process parameters, the A and B directions of the welding parameter subroutine are automatically determined in the welding robot's world coordinate system according to the vector decomposition of the Y-axis in the defined offset coordinate system in the Z-direction of the world coordinate system.

[0007] Secondly, the present invention provides an automatic calling system for welding parameter subroutines based on a three-dimensional model, comprising: The welding process parameter library creation module is used to create a welding process parameter library that includes a welding process parameter table and a process parameter matching rule table. The weld generation module is used to identify the structural parameters between various parts based on the established 3D model and generate the corresponding welds. The 3D annotation module is used to annotate the generated welds in the established 3D model to obtain the weld section code; the 3D annotation information includes process parameters such as weld leg size, weld layer arrangement and welding position. The automatic call module is used to retrieve the corresponding welding process parameters from the welding process parameter library using the obtained weld section code as the initial condition value, thereby realizing the automatic call of welding parameters. It is also used to automatically determine the A and B directions of the welding parameter subroutine based on the vector decomposition of the Y-axis in the Y-axis direction in the world coordinate system of the welding robot in the world coordinate system, based on the obtained welding process parameters.

[0008] Thirdly, the present invention provides a computer device, comprising: One or more processors; Memory, used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors perform the steps of the automatic invocation method for welding parameters based on the three-dimensional model as described above.

[0009] Fourthly, the present invention provides a computer-readable storage medium storing a computer program, characterized in that, when the program is executed by a processor, it implements the steps of the automatic invocation method for welding parameter subroutines based on a three-dimensional model as described above.

[0010] Fifthly, the present invention provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the automatic invocation method for welding parameter subroutines based on a three-dimensional model as described above.

[0011] This invention has outstanding substantive features and significant progress compared to the prior art, specifically: 1. This invention first establishes a corresponding welding process parameter library based on process information such as base material and weld size related to the weld, combined with on-site process experiments; then, based on the three-dimensional annotation of the weld, it extracts the corresponding weld information and matches it with the welding process parameter library, thereby automatically selecting the corresponding welding parameter subroutine, ensuring the accuracy and efficiency of welding parameter calling.

[0012] 2. The present invention automatically determines the direction of welding parameters according to the provided welding parameter program A and B calling rules.

[0013] 3. This invention, by pre-planning the layout of welding process parameters and intervening in the welding process in advance, supports the efficient execution of on-site welding equipment, greatly improving the operating efficiency of on-site equipment and welding quality. Attached Figure Description

[0014] Figure 1 This is a flowchart illustrating the automatic invocation method of welding parameter subroutines based on three-dimensional models according to the present invention.

[0015] Figure 2 This is a schematic diagram of the offset coordinate system in the decision rules of welding parameter subroutines A and B.

[0016] Figure 3 This is a schematic diagram of the vector decomposition of the Y-axis of the offset coordinate system in the world coordinate system. Detailed Implementation

[0017] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. Example 1

[0018] This embodiment proposes a method for automatically calling welding parameter subroutines based on a three-dimensional model, such as... Figure 1 As shown, it includes the following steps: (1) Establish a welding process parameter library including a welding process parameter table and a process parameter matching rule table; The process parameter matching rule table matches the corresponding weld section code by sorting out the part features associated with the weld; the welding process parameters in the welding process parameter table are the optimal welding parameters obtained after repeated tests on field specimens, and are matched with the corresponding weld section code.

[0019] Specifically, the process parameter matching rule table includes, but is not limited to, base material specifications, weld type, weld leg size, number of weld passes, weld section designation, etc. (as shown in Table 1); the welding process parameter table includes, but is not limited to, weld section designation, welding current, welding voltage, etc. (as shown in Table 2). Table 1. Process Parameter Matching Rules Serial Number Material 1 Material 2 Base material 1 specification Base material 2 specifications weld type solder leg size Number of weld layers Weld section designation 1 xx xx xx xx xx xx 1 K6_JH_PB_Q6 2 xx xx xx xx xx xx 1 K6_SH_PB_Q6 3 xx xx xx xx xx xx 1 / 2 K10_SH_PB_Q6 … … … … … … … … … Table 2 Welding Process Parameters Serial Number Weld section designation Root pass welding current (A) Fill welding current (A) Cover welding current (A) Undercut welding voltage (V) Fill welding voltage (V) Cover welding voltage (V) 1 K6_JH_PB_Q6 xx xx xx xx xx xx 2 K6_SH_PB_Q6 xx xx xx xx xx xx 3 K10_SH_PB_Q6 xx xx xx xx xx xx … … … … … … … … (2) Based on the established three-dimensional model of the hydraulic support structure, identify the structural parameters between each part and generate the corresponding welds; The creation of a 3D model of a hydraulic support structure can be achieved in CAD software. Furthermore, an automatic recognition tool can be developed within the CAD software to identify the structural parameters between the various parts, thereby generating the corresponding welds.

[0020] The automatic identification tool is used to acquire the structural parameters (such as the angular relationships between parts and the distance relationships between parts) of the constructed 3D model of the hydraulic support structure, in order to generate the corresponding welds. The automatic identification tool is a series of algorithms for acquiring structural parameters, such as algorithms for acquiring part plate thickness and algorithms for part assembly relationships (overlap, tangency, parallelism, normality, etc.), which are implemented through an interactive window interface developed in CAD software.

[0021] (3) In the established three-dimensional model, the generated weld is annotated in three dimensions to obtain the weld section code; the information of the three-dimensional annotation includes process parameter information including weld size, weld layer arrangement and welding position; After obtaining the weld seam between the parts through operation (2), use the CAD annotation feature function in the three-dimensional model to annotate the weld seam and store the annotation information in the secondary development part parameter panel.

[0022] The parameters of the 3D annotation will be matched with the weld leg size, weld type, layer arrangement, etc. in the process parameter matching rule table in the welding process parameter library to deduce the specific weld section code; (4) Using the obtained weld section code as the initial condition value, the corresponding welding process parameters are obtained from the welding process parameter library to realize the automatic calling of welding parameters; Based on the obtained welding process parameters, the A and B directions of the welding parameter subroutine are automatically determined in the welding robot's world coordinate system according to the vector decomposition of the Y-axis in the defined offset coordinate system in the Z-direction of the world coordinate system.

[0023] Welding parameter subroutines A and B are program codes within the welding robot, including parameters such as current, voltage, and welding speed used during welding. These welding parameters are consistent within the same subroutine, differing only in their offset directions. In multi-layer, multi-pass welding, the offset direction of the welding wire stack differs for each pass due to the varying welding direction. In welding parameter subroutine A, the offset direction is -Y in the welding robot's world coordinate system; in welding parameter subroutine B, the offset direction is +Y in the welding robot's world coordinate system.

[0024] Specifically, the method for automatically determining the A and B directions in the welding parameter subroutine is as follows: 1) Establish a reference point at the start of the weld, and take the trajectory from the reference point at the start of the weld to the end of the weld as the welding direction; 2) Taking the welding direction as the positive X direction, and the welding torch TCP point along the welding wire and pointing towards the nozzle as the positive Z direction, the positive Y direction is determined by the Cartesian coordinate system's right-hand rule combined with the already determined positive X / Z directions. An offset coordinate system is then established, as follows: Figure 2 As shown; 3) such as Figure 3 As shown, the calling rules for welding parameter subroutines A and B are as follows: Fillet weld: Based on the welding robot world coordinate system, if the Z-axis is upward, that is, when the welding robot is mounted upright, the Y-axis of the solved offset coordinate system is decomposed into vectors in the welding robot world coordinate system. When the decomposed vector along the Z-axis points in the positive direction of the Z-axis, the welding parameter subroutine B is called; When the decomposed vector along the Z-axis points to the negative direction of the Z-axis, the welding parameter subroutine A is called; Based on the welding robot's world coordinate system, if the Z-axis is downward, i.e. when the welding robot is inverted, the Y-axis of the solved offset coordinate system is decomposed into vectors in the welding robot's world coordinate system; when the decomposed vector along the Z-axis points to the positive direction of the Z-axis, the welding parameter subroutine A is called; when the decomposed vector along the Z-axis points to the negative direction of the Z-axis, the welding parameter subroutine B is called. Bevel weld: Based on the welding robot world coordinate system, if the Z-axis is upward, that is, when the welding robot is mounted upright, the Y-axis of the solved offset coordinate system is decomposed into vectors in the welding robot world coordinate system. When the decomposed vector along the Z-axis points in the positive direction of the Z-axis, the welding parameter subroutine A is called; When the decomposed vector along the Z-axis points to the negative direction of the Z-axis, the welding parameter subroutine B is called; Based on the welding robot world coordinate system, if the Z-axis is downward, i.e. when the welding robot is inverted, the Y-axis of the solved offset coordinate system is decomposed into vectors in the welding robot world coordinate system. When the decomposed vector along the Z-axis points in the positive direction of the Z-axis, the welding parameter subroutine B is called; When the decomposed vector along the Z-axis points in the negative direction of the Z-axis, the welding parameter subroutine A is called. Example 2

[0025] Based on the same inventive concept, this application also provides an automatic calling system for welding parameter subroutines based on a three-dimensional model. The solution provided by this automatic calling system for welding parameter subroutines based on a three-dimensional model is similar to the solution described in the method of Embodiment 1. Therefore, the specific limitations of one or more embodiments of the automatic calling system for welding parameter subroutines based on a three-dimensional model provided below can be found in the limitations of the method in Embodiment 1, and will not be repeated here.

[0026] In one exemplary embodiment, an automatic subroutine invocation system for welding parameters based on a three-dimensional model is provided, comprising: The welding process parameter library creation module is used to create a welding process parameter library that includes a welding process parameter table and a process parameter matching rule table. The weld generation module is used to identify the structural parameters between various parts based on the established 3D model and generate the corresponding welds. The 3D annotation module is used to annotate the generated welds in the established 3D model to obtain the weld section code; the 3D annotation information includes process parameters such as weld leg size, weld layer arrangement and welding position. The automatic call module is used to extract the three-dimensional annotation information of the weld and, in the world coordinate system of the welding robot, automatically determine the A and B directions of the welding parameter subroutine based on the vector decomposition of the Y-axis in the defined offset coordinate system in the Z direction of the world coordinate system. It is also used to match the extracted weld process parameter information with the welding process parameter library to obtain the corresponding welding process parameters and realize the automatic calling of welding parameters. Example 3

[0027] Each module in the above system can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0028] In an exemplary embodiment, a computer device is provided, which may be a terminal. The computer device further includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface of the computer device is used for exchanging information between the processor and external devices. The communication interface of the computer device is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements the step of automatically calling a method based on a three-dimensional model welding parameter subroutine. The display unit of the computer device is used to form a visually visible image and may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0029] Those skilled in the art will understand that the structure of the computer device described above is only a partial structure related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. A specific computer device may include more or fewer components, or combine certain components, or have different component arrangements.

[0030] In one exemplary embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of an automatic invocation method for welding parameters based on a three-dimensional model.

[0031] In one exemplary embodiment, a computer program product is provided, including a computer program / instructions that, when executed by a processor, implement the steps of an automatic invocation method for welding parameters based on a three-dimensional model.

[0032] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0033] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0034] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for automatically calling welding parameter subroutines based on a three-dimensional model, characterized in that, Includes the following steps: (1) Establish a welding process parameter library including a welding process parameter table and a process parameter matching rule table; (2) Based on the established three-dimensional model, identify the structural parameters between each part and generate the corresponding welds; (3) In the established three-dimensional model, the generated weld is annotated in three dimensions to obtain the weld section code; the information of the three-dimensional annotation includes process parameter information including weld size, weld layer arrangement and welding position; (4) Using the obtained weld section code as the initial condition value, the corresponding welding process parameters are obtained from the welding process parameter library to realize the automatic calling of welding parameters; Based on the obtained welding process parameters, the A and B directions of the welding parameter subroutine are automatically determined in the world coordinate system of the welding robot according to the vector decomposition of the Y-axis in the Z direction in the world coordinate system in the defined offset coordinate system. The method for automatically determining the A and B directions in the welding parameter subroutine is as follows: 1) Establish a reference point at the start of the weld, and take the trajectory from the reference point at the start of the weld to the end of the weld as the welding direction; 2) Taking the welding direction as the positive X direction, the welding torch TCP point along the welding wire and pointing towards the nozzle as the positive Z direction, and the positive Y direction determined by the right-hand rule of the Cartesian coordinate system combined with the determined positive X / Z directions, to establish an offset coordinate system; 3) Calling rules for welding parameter subroutines A and B: Fillet weld: Based on the welding robot world coordinate system, if the Z-axis is upward, that is, when the welding robot is mounted upright, the Y-axis of the solved offset coordinate system is decomposed into vectors in the welding robot world coordinate system. When the decomposed vector along the Z-axis points in the positive direction of the Z-axis, the welding parameter subroutine B is called; When the decomposed vector along the Z-axis points to the negative direction of the Z-axis, the welding parameter subroutine A is called; Based on the welding robot's world coordinate system, if the Z-axis is downward, i.e. when the welding robot is inverted, the Y-axis of the solved offset coordinate system is decomposed into vectors in the welding robot's world coordinate system; when the decomposed vector along the Z-axis points to the positive direction of the Z-axis, the welding parameter subroutine A is called; when the decomposed vector along the Z-axis points to the negative direction of the Z-axis, the welding parameter subroutine B is called. Bevel weld: Based on the welding robot world coordinate system, if the Z-axis is upward, that is, when the welding robot is mounted upright, the Y-axis of the solved offset coordinate system is decomposed into vectors in the welding robot world coordinate system. When the decomposed vector along the Z-axis points to the positive direction of the Z-axis, the welding parameter subroutine A is called; When the decomposed vector along the Z-axis points to the negative direction of the Z-axis, the welding parameter subroutine B is called; Based on the welding robot world coordinate system, if the Z-axis is downward, i.e. when the welding robot is inverted, the Y-axis of the solved offset coordinate system is decomposed into vectors in the welding robot world coordinate system. When the decomposed vector along the Z-axis points in the positive direction of the Z-axis, the welding parameter subroutine B is called; When the decomposed vector along the Z-axis points in the negative direction of the Z-axis, the welding parameter subroutine A is called.

2. A system for automatically calling welding parameter subroutines based on a three-dimensional model, employing the automatic calling method for welding parameter subroutines based on a three-dimensional model as described in claim 1, characterized in that, include: The welding process parameter library creation module is used to create a welding process parameter library that includes a welding process parameter table and a process parameter matching rule table. The weld generation module is used to identify the structural parameters between various parts based on the established 3D model and generate the corresponding welds. The 3D annotation module is used to annotate the generated welds in the established 3D model to obtain the weld section code; the 3D annotation information includes process parameters such as weld leg size, weld layer arrangement and welding position. The automatic call module is used to retrieve the corresponding welding process parameters from the welding process parameter library using the obtained weld section code as the initial condition value, thereby realizing the automatic call of welding parameters. It is also used to automatically determine the A and B directions of the welding parameter subroutine based on the vector decomposition of the Y-axis in the Y-axis direction in the world coordinate system of the welding robot in the world coordinate system, based on the obtained welding process parameters.

3. A computer device, characterized in that, include: One or more processors; Memory, used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors perform the steps of the automatic invocation method for welding parameter subroutines based on a three-dimensional model as described in claim 1.

4. A computer-readable storage medium storing a computer program, characterized in that, When the program is executed by the processor, it implements the steps of the automatic invocation method for welding parameter subroutines based on a three-dimensional model as described in claim 1.

5. A computer program product, comprising a computer program / instructions, characterized in that, When the computer program / instruction is executed by the processor, it implements the steps of the automatic invocation method for welding parameter subroutines based on a three-dimensional model as described in claim 1.

Citation Information

Patent Citations

  • Welding method and system based on welding robot

    CN118595688A

  • Automatic tracing method, detection method and device for laser welding seam

    CN115464263A

  • Automatic welding method for auxiliary hole of high-speed rail sleeper beam

    WO2021248649A1