Welding unit layout planning method and device, electronic equipment and storage medium

By obtaining the machine tool space map and welding unit drive parameter information, combining image scanning to determine the weld point coordinates, and optimizing the welding unit layout plan, the problem of welding unit layout planning relying on experience is solved, and an efficient and reliable welding unit layout is achieved, thereby improving production efficiency.

CN120597532AActive Publication Date: 2025-09-05DONGGUAN YUANWANG INTELLIGENT TECHNOLOGY CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202510729274.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-03
Publication Date
2025-09-05
Estimated Expiration
2045-06-03

AI Technical Summary

Technical Problem

In existing technologies, the layout planning of welding units relies on the experience of engineers and cannot accurately consider the matching relationship between the space limitations of machine tools and the driving characteristics of welding units. This leads to a high risk of equipment collision and interference, low welding efficiency, and difficulty in meeting the efficient and stable production requirements of modern manufacturing.

Method used

By obtaining the internal space map of the machine tool and the driving parameter information of the welding unit, combined with image scanning to determine the coordinates of the welding points, the welding unit layout plan is generated and updated, and the installation coordinates are optimized using constraint conditions to reduce equipment collision interference and improve layout reliability.

Benefits of technology

Effectively handle situations where complex factors are intertwined, reduce the risk of equipment collision and interference, improve the reliability and production efficiency of the welding unit layout, and ensure efficient welding of products.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120597532A_ABST
    Figure CN120597532A_ABST
Patent Text Reader

Abstract

The invention discloses a layout planning method and device for a welding unit, electronic equipment and a storage medium. The method comprises the steps that a space map in a machine tool and driving parameter information of the welding unit are obtained; image scanning processing is conducted on the to-be-welded workpiece, and workpiece size information of the to-be-welded workpiece and welding station coordinates corresponding to all welding spots are determined; obtaining constraint limiting conditions of the welding unit layout; generating a unit layout scheme according to the space map, the driving parameter information and the welding station coordinates on the basis of constraint conditions; wherein the unit layout scheme comprises installation coordinates of each welding unit; in response to the first instruction, the installation coordinates of the corresponding welding units are modified based on the constraint limiting conditions, and the unit layout scheme is updated; and in response to the second instruction, sending and rendering the newly generated unit layout scheme to a preset display unit. The reliability of the welding unit layout can be improved, and then the production efficiency of products is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automated processing technology, and in particular to a layout planning method, device, electronic equipment and storage medium for a welding unit. Background Art

[0002] To improve production efficiency in the oil drum manufacturing industry, welding units within machine tools often require simultaneous welding at multiple locations on the drum base. Currently, welding unit layout planning often relies on engineers' experience. However, the complex internal structure of the machine tool, the varying drive parameters of the welding units, and the widely varying coordinates of the weld points on different drum bases create complex situations that are difficult to fully predict based on experience alone. Empirical planning cannot accurately consider the relationship between the machine tool's spatial constraints and the welding unit's drive characteristics, nor can it accurately match the weld point requirements of the drum base to be welded. This leads to numerous inappropriate layout issues in the welding units, which not only easily cause collisions and interference between welding equipment, increasing the risk of equipment failure and maintenance costs, but also lead to frequent and ineffective movement and repeated positioning of the welding units due to improper welding path planning, significantly reducing welding efficiency and severely impacting the continuity and overall profitability of oil drum production, making it difficult to meet the efficient and stable production requirements of modern manufacturing. Summary of the Invention

[0003] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a layout planning method for a welding unit, which can improve the reliability of the welding unit layout and thus improve the production efficiency of the product.

[0004] In a first aspect, the present application provides a layout planning method for a welding unit, comprising:

[0005] Obtain the spatial map inside the machine tool and the driving parameter information of the welding unit;

[0006] Performing image scanning processing on the workpiece to be welded to determine the workpiece size information of the workpiece to be welded and the welding station coordinates corresponding to each welding point;

[0007] Obtaining constraints on the welding unit layout;

[0008] Based on the constraint conditions, a unit layout plan is generated according to the spatial map, the driving parameter information and the welding station coordinates; wherein the unit layout plan includes the installation coordinates of each welding unit;

[0009] In response to a first instruction, based on the constraint condition, modify the installation coordinates corresponding to the welding unit and update the unit layout plan;

[0010] In response to the second instruction, the newly generated unit layout solution is sent and rendered on a preset display unit.

[0011] According to the layout planning method of the welding unit of the first embodiment of the present application, there are at least the following beneficial effects: first, the spatial map inside the machine tool and the driving parameter information of the welding unit are obtained, and at the same time, the image scanning and processing of the workpiece to be welded is performed to determine the workpiece size information and the welding station coordinates corresponding to each welding point. The constraints and restrictions of the welding unit layout are obtained, and the limiting factors of various aspects such as the machine tool space and equipment performance are clarified. Based on the constraints and restrictions, an algorithm is used to generate a unit layout plan, including the installation coordinates of each welding unit, according to the spatial map, driving parameter information and welding station coordinates. At the same time, after the planning is completed, the installation coordinates of the corresponding welding unit can be modified based on the constraints and restrictions in response to the user's first instruction, and the unit layout plan can be updated. Finally, in response to the second instruction, the newly generated unit layout plan is sent and rendered to the preset display unit, which is convenient for the operator to intuitively view and further adjust. By acquiring data such as the machine tool space map, welding unit drive parameters, and workpiece welding point coordinates, the layout planning is established on the basis of objective data. This can effectively handle the complex situations caused by the interweaving of these factors, avoid planning deviations due to lack of experience, rationally plan the installation coordinates of the welding unit, reduce the risk of collision and interference between equipment, and improve the reliability of the welding unit layout, so that products can be welded simultaneously, thereby improving product production efficiency.

[0012] According to some embodiments of the first aspect of the present application, the driving parameter information includes initial state size information and working radius information of the welding unit;

[0013] The obtaining of the constraint conditions of the welding unit includes:

[0014] Determining a maximum distance threshold between the welding unit and the welding station coordinates according to the working radius information;

[0015] Determining a minimum distance threshold between each of the welding units according to the initial state size information;

[0016] Obtaining a preset welding point influence threshold of the workpiece to be welded;

[0017] The maximum distance threshold, the minimum distance threshold, and the welding point influence threshold are combined to form the constraint restriction condition.

[0018] According to some embodiments of the first aspect of the present application, generating a unit layout plan based on the constraint conditions, according to the spatial map, the drive parameter information, and the welding station coordinates, includes:

[0019] Based on the weld point influence threshold, the weld points are classified according to all the welding station coordinates to determine a plurality of weld groups; wherein each weld group has at least one weld point;

[0020] Determining initial installation coordinates based on the maximum distance threshold and according to the spatial map, all the welding work coordinates in the welding group, and the initial state size information;

[0021] Based on the minimum distance threshold, all the initial installation coordinates are adjusted to obtain target installation coordinates of each welding unit;

[0022] The unit layout plan is generated according to the target installation coordinates of all the welding units.

[0023] According to some embodiments of the first aspect of the present application, the classifying the welds based on the weld influence threshold and all the welding station coordinates to determine a plurality of welding groups includes:

[0024] Calculating the distance between each welding point and the other welding points according to the welding station coordinates;

[0025] When the welding distance value is greater than the welding point influence threshold, the corresponding welding points are regarded as a welding group;

[0026] When the welding point distance value is less than the welding point influence threshold, the corresponding at least two welding points are collectively regarded as a welding group.

[0027] According to some embodiments of the first aspect of the present application, determining the initial installation coordinates based on the maximum distance threshold, according to the spatial map, all the welding work coordinates in the welding group, and the initial state size information, includes:

[0028] Determining, based on the spatial map, the vertical coordinates of the welding unit when it is installed in a vertical manner and the vertical coordinates of the welding unit when it is installed in a suspended manner;

[0029] Determining an installation mode of the welding unit corresponding to the welding group according to a distribution of the welding points in the welding group on the workpiece to be welded, and determining a vertical coordinate in the initial installation coordinate according to the installation mode;

[0030] Based on the maximum distance threshold, the initial installation coordinates are determined according to all the welding work coordinates and the initial state size information in the welding group.

[0031] According to some embodiments of the first aspect of the present application, determining the initial installation coordinates based on the maximum distance threshold and according to all the welding work coordinates and the initial state size information in the welding group includes:

[0032] When there is a welding work coordinate in the welding group, determining the initial installation coordinate closest to the welding work coordinate based on the welding work coordinate and the initial state size information of the welding unit; wherein the distance between the initial installation coordinate and the welding work coordinate is less than the maximum distance threshold;

[0033] When there are two or more welding work coordinates in the welding group, the welding center coordinates are determined according to the welding work coordinates, and the initial installation coordinates closest to the welding center coordinates are determined according to the welding center coordinates and the initial state size information of the welding unit; wherein the distance between the initial installation coordinates and the welding center coordinates is less than the maximum distance threshold.

[0034] According to some embodiments of the first aspect of the present application, adjusting all the initial installation coordinates based on the minimum distance threshold to obtain the target installation coordinates of each welding unit includes:

[0035] Calculate the installation distance between the initial installation coordinate and other initial installation coordinates;

[0036] When the installation distance value is greater than or equal to the minimum distance threshold, the initial installation coordinate is used as the target installation coordinate corresponding to the welding unit;

[0037] When the installation distance value is less than the minimum distance threshold, the initial installation coordinate is adjusted based on the maximum distance threshold until the installation distance value is greater than or equal to the minimum distance threshold, and the adjusted initial installation coordinate is used as the target installation coordinate corresponding to the welding unit.

[0038] In a second aspect, the present application further provides a layout planning device for a welding unit, comprising:

[0039] A first acquisition module is used to obtain a spatial map inside the machine tool and driving parameter information of the welding unit;

[0040] A scanning module is used to perform image scanning processing on the workpiece to be welded, and determine the workpiece size information of the workpiece to be welded and the welding station coordinates corresponding to each welding point;

[0041] A second acquisition module is used to obtain the constraint conditions of the welding unit layout;

[0042] a planning module, configured to generate a unit layout plan based on the constraint conditions, the spatial map, the drive parameter information, and the welding station coordinates; wherein the unit layout plan includes the installation coordinates of each welding unit;

[0043] a modification module, configured to modify the installation coordinates corresponding to the welding unit and update the unit layout plan based on the constraint conditions in response to the first instruction;

[0044] The display module is configured to send and render the newly generated unit layout solution to a preset display unit in response to the second instruction.

[0045] In a third aspect, the present application further provides an electronic device, comprising:

[0046] at least one memory;

[0047] at least one processor;

[0048] at least one program;

[0049] The programs are stored in the memory, and the processor executes at least one of the programs to implement the layout planning method for a welding unit as described in any one of the embodiments of the first aspect.

[0050] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer-executable signal, and the computer-executable signal is used to execute the layout planning method of the welding unit as described in any embodiment of the first aspect.

[0051] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become obvious from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Additional aspects and advantages of the present application will become apparent and readily understood from the following description of the embodiments with reference to the accompanying drawings, in which:

[0053] Figure 1 A flowchart of a layout planning method for a welding unit provided in some embodiments of the present application;

[0054] Figure 2 For this application Figure 1 3. The step diagram regarding step S130;

[0055] Figure 3 For this application Figure 1 3. The step diagram regarding step S140;

[0056] Figure 4 For this application Figure 33. The step diagram regarding step S310;

[0057] Figure 5 For this application Figure 3 3. The step diagram regarding step S320;

[0058] Figure 6 For this application Figure 5 5. The step diagram regarding step S530;

[0059] Figure 7 For this application Figure 3 3. The step diagram regarding step S330;

[0060] Figure 8 A schematic diagram of a layout planning device for a welding unit provided in some embodiments of the present application. DETAILED DESCRIPTION

[0061] The following describes in detail embodiments of the present application. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application and are not to be construed as limiting the present application.

[0062] In the description of this application, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, they cannot be understood as limitations on this application.

[0063] In the description of this application, if there is a description of first or second, it is only for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0064] In the description of this application, unless otherwise clearly defined, terms such as setting, installing, and connecting should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in this application based on the specific content of the technical solution.

[0065] To improve production efficiency in the oil drum manufacturing industry, welding units within machine tools often require simultaneous welding at multiple locations on the drum base. Currently, welding unit layout planning often relies on engineers' experience. However, the complex internal structure of the machine tool, the varying drive parameters of the welding units, and the widely varying coordinates of the weld points on different drum bases create complex situations that are difficult to fully predict based on experience alone. Empirical planning cannot accurately consider the relationship between the machine tool's spatial constraints and the welding unit's drive characteristics, nor can it accurately match the weld point requirements of the drum base to be welded. This leads to numerous inappropriate layout issues in the welding units, which not only easily cause collisions and interference between welding equipment, increasing the risk of equipment failure and maintenance costs, but also lead to frequent and ineffective movement and repeated positioning of the welding units due to improper welding path planning, significantly reducing welding efficiency and severely impacting the continuity and overall profitability of oil drum production, making it difficult to meet the efficient and stable production requirements of modern manufacturing.

[0066] Based on this, the present application provides a layout planning method, device, electronic device and storage medium for a welding unit to solve the technical problems raised above. The technical solutions provided by the present application are described in detail one by one below.

[0067] First, refer to Figure 1 , the present application provides a layout planning method for a welding unit, which may include but is not limited to the following steps:

[0068] Step S110: Acquire the spatial map inside the machine tool and the driving parameter information of the welding unit.

[0069] Step S120: performing image scanning processing on the workpiece to be welded to determine the workpiece size information of the workpiece to be welded and the welding station coordinates corresponding to each welding point.

[0070] Step S130: Obtaining constraints on the welding unit layout.

[0071] Step S140: Based on the constraint conditions, a unit layout plan is generated according to the space map, the driving parameter information and the welding station coordinates; wherein the unit layout plan includes the installation coordinates of each welding unit.

[0072] Step S150: In response to the first instruction, based on the constraint conditions, modify the installation coordinates of the corresponding welding unit and update the unit layout plan.

[0073] Step S160: In response to the second instruction, the newly generated unit layout solution is sent and rendered on a preset display unit.

[0074] In steps S110 to S160, the spatial map inside the machine tool and the driving parameter information of the welding unit are first obtained, and the image scanning and processing of the workpiece to be welded is performed at the same time to determine the workpiece size information and the welding station coordinates corresponding to each welding point. The constraints and restrictions of the welding unit layout are obtained, and the limiting factors of various aspects such as the machine tool space and equipment performance are clarified. Based on the constraints and restrictions, an algorithm is used to generate a unit layout plan, including the installation coordinates of each welding unit, according to the spatial map, driving parameter information and welding station coordinates. At the same time, after the planning is completed, the installation coordinates of the corresponding welding unit can be modified based on the constraints and restrictions in response to the user's first instruction, and the unit layout plan can be updated. Finally, in response to the second instruction, the newly generated unit layout plan is sent and rendered to the preset display unit for the operator to intuitively view and further adjust. By acquiring data such as the machine tool space map, welding unit drive parameters, and workpiece welding point coordinates, the layout planning is established on the basis of objective data. This can effectively handle the complex situations caused by the interweaving of these factors, avoid planning deviations due to lack of experience, rationally plan the installation coordinates of the welding unit, reduce the risk of collision and interference between equipment, and improve the reliability of the welding unit layout, so that products can be welded simultaneously, thereby improving product production efficiency.

[0075] Reference Figure 2 It is understood that the driving parameter information includes the initial state size information and working radius information of the welding unit. In step S130, the following steps may be included but not limited to:

[0076] Step S210: Determine a maximum distance threshold between the welding unit and the welding station coordinates according to the working radius information.

[0077] Step S220: Determine the minimum distance threshold between each welding unit according to the initial state size information.

[0078] Step S230: obtaining a preset welding point influence threshold of the workpiece to be welded.

[0079] Step S240: combining the maximum distance threshold, the minimum distance threshold, and the solder joint influence threshold to form a constraint condition.

[0080] In step S210, the welding unit's working radius information is spatially mapped to the coordinates of the weld stations on the bottom plate of the oil drum to be welded. With each weld point as the center and the welding unit's working radius as the reference, the maximum allowable distance between the welding unit's installation location and the weld point (i.e., the maximum distance threshold) is calculated. For example, if a welding unit has a working radius of 500mm, the maximum distance threshold between it and the weld point can be set to 450mm, leaving a 50mm safety margin. When generating the layout plan, installation locations that exceed this threshold are automatically excluded to ensure that the welding unit can effectively cover all weld points.

[0081] In step S220, a three-dimensional spatial model is constructed based on the initial dimensional information of the welding units (e.g., length, width, and height). The spatial trajectories of adjacent welding units during motion are simulated, and the minimum distance required to avoid collisions is calculated. For example, if the lateral dimensions of two welding units are both 300 mm, the minimum distance threshold can be set to 400 mm to ensure a safe clearance of 50 mm. During layout planning, the installation coordinates of any two welding units must meet the minimum distance threshold to prevent equipment collisions.

[0082] In step S230, process parameters such as the heat impact and spatter effect between welds are determined for the oil drum bottom plate welding process. For example, the heat impact range of adjacent welds is an area with a diameter of 80 mm. When determining the weld station coordinates, the weld impact threshold is automatically verified to ensure weld quality.

[0083] In steps S210 to S240, the traditional "trial and error" method is transformed into "data-driven" intelligent planning through precise mathematical modeling and spatial constraints. This method is particularly suitable for the automated welding production scenario of oil drum bottom plates of various specifications. It can effectively handle the complex situations caused by the interweaving of these factors, avoid planning deviations caused by lack of experience, rationally plan the installation coordinates of the welding units, reduce the risk of collision and interference between equipment, and improve the reliability of the welding unit layout, so that products can be welded simultaneously, thereby improving product production efficiency.

[0084] Reference Figure 3 It is understood that step S140 may include but is not limited to the following steps:

[0085] Step S310: Based on the weld point influence threshold, the weld points are classified according to all welding station coordinates to determine a number of weld groups; wherein each weld group has at least one weld point.

[0086] Step S320: Based on the maximum distance threshold, the initial installation coordinates are determined according to the spatial map, all welding work coordinates in the welding group, and the initial state size information.

[0087] Step S330: Based on the minimum distance threshold, all initial installation coordinates are adjusted to obtain the target installation coordinates of each welding unit.

[0088] Step S340: Generate a unit layout plan based on the target installation coordinates of all welding units.

[0089] In steps S310 to S340, all welds on the oil drum bottom plate are spatially clustered based on the weld impact threshold, and welds with a distance less than the weld impact threshold are divided into the same welding group to ensure that the process impact between welds in the group is controllable. For each welding group, based on the maximum distance threshold, all candidate installation areas that can cover all welds in the group are screened in the machine tool space map. Based on the welding work coordinates, locations with high space utilization and no conflict with other equipment are preferentially selected as the initial installation coordinates. All initial installation coordinates are checked pairwise. If the distance between any two welding units is found to be less than the minimum distance threshold, the coordinate adjustment mechanism is triggered to ensure that the layout plan achieves the best balance between safety and effectiveness. Through weld group optimization, the reasonable allocation of welding tasks is achieved. In the welding of oil drum bottom plates, circumferential welds and axial welds can be assigned to different welding groups respectively to reduce equipment idle travel. The constraint-based coordinate optimization makes the welding unit layout more compact.

[0090] Reference Figure 4 It is understood that step S310 may include but is not limited to the following steps:

[0091] Step S410: Calculate the distance between each welding point and other welding points according to the welding station coordinates.

[0092] Step S420: When the welding distance value is greater than the welding point influence threshold, the corresponding welding points are grouped as a welding group.

[0093] Step S430: When the distance between the welding points is less than the welding point influence threshold, the corresponding at least two welding points are collectively regarded as a welding group.

[0094] In steps S410 to S430, the spatial coordinates of all weld points on the workpiece to be welded are extracted, and the distance between any two weld points is calculated. The distance between each weld point is compared with a preset weld point influence threshold. If the distance between two weld points is greater than the threshold, they have no mutual influence and are grouped independently. If the distance is less than the threshold, they are grouped together and processed by the same welding unit. This rational grouping avoids thermal interference and process interactions between adjacent weld points, optimizes the welding sequence, and improves weld quality and stability.

[0095] Reference Figure 5 It is understandable that step S320 may include but is not limited to the following steps:

[0096] Step S510: Determine, based on the space map, the vertical coordinates of the welding unit when the installation mode is vertical installation and the vertical coordinates of the welding unit when the installation mode is suspended installation;

[0097] Step S520: determining the installation mode of the welding unit corresponding to the welding group according to the distribution of the welding points in the welding group on the workpiece to be welded, and determining the vertical coordinate in the initial installation coordinate according to the installation mode;

[0098] Step S530: Based on the maximum distance threshold, the initial installation coordinates are determined according to all welding work coordinates and initial state size information in the welding group.

[0099] In steps S510 through S530, the feasible vertical coordinate positions of the welding units for both vertical and suspended installations are calculated based on the machine tool spatial map, providing basic data for subsequent selection. The distribution characteristics of the weld points within the welding group on the oil drum floor are analyzed to select the most suitable installation method. The vertical coordinates of the initial installation coordinates are determined based on the selected installation method to ensure the spatial orientation of the welding units. If the weld points in the welding group are all distributed on the top surface of the workpiece to be welded, the corresponding welding units can be installed as suspended ceilings on the bottom of the machine tool. If the weld points in the welding group are all distributed on the side of the workpiece to be welded, the corresponding welding units can be installed as vertical installations. Subsequently, based on the initial state dimension information of the welding units, the optimal plane coordinate positions that cover all weld points in the welding group are calculated, completing the determination of the initial installation coordinates. By rationally selecting the installation height and plane position, the internal space of the machine tool is effectively utilized, equipment interference is avoided, and the overall layout is compact.

[0100] Reference Figure 6 It is understood that step S530 may include but is not limited to the following steps:

[0101] Step S610: When there is a welding work coordinate in the welding group, determine the initial installation coordinate closest to the welding work coordinate based on the welding work coordinate and the initial state size information of the welding unit; wherein the distance between the initial installation coordinate and the welding work coordinate is less than the maximum distance threshold.

[0102] Step S620: When there are two or more welding work coordinates in the welding group, the welding center coordinates are determined according to the welding work coordinates, and the initial installation coordinates closest to the welding center coordinates are determined according to the welding center coordinates and the initial state size information of the welding unit; wherein the distance between the initial installation coordinates and the welding center coordinates is less than the maximum distance threshold.

[0103] In steps S610 to S620, when there is only one welding work coordinate within a welding group, this coordinate is used as a reference, combined with the initial state dimension information of the welding unit, to search for the location within the machine tool space closest to this coordinate, with a distance less than a maximum distance threshold. This location is then determined as the initial installation coordinate, ensuring that the welding unit can efficiently reach the weld point location. If there are two or more welding work coordinates within the welding group, the geometric center of these coordinates is first calculated to obtain the welding center coordinate. Then, using the welding center coordinate as a reference, combined with the initial state dimension information of the welding unit, the location closest to the welding center coordinate that meets the maximum distance threshold is found and determined as the initial installation coordinate, ensuring that the welding unit can accommodate multiple weld points within the group. In these steps, the precise determination of the initial installation coordinate enables the welding unit to reach the weld point via the shortest path, reducing wasted movement and shortening welding preparation time. Furthermore, the coordinates are determined based on the maximum distance threshold to ensure that the welding unit covers all weld points within its working radius, avoiding welding blind spots.

[0104] Reference Figure 7 It is understood that step S330 may include but is not limited to the following steps:

[0105] Step S710: Calculate the installation distance between the initial installation coordinate and other initial installation coordinates.

[0106] Step S720: When the installation distance value is greater than or equal to the minimum distance threshold, the initial installation coordinate is used as the target installation coordinate of the corresponding welding unit.

[0107] Step S730: When the installation distance value is less than the minimum distance threshold, the initial installation coordinates are adjusted based on the maximum distance threshold until the installation distance value is greater than or equal to the minimum distance threshold, and the adjusted initial installation coordinates are used as the target installation coordinates of the corresponding welding unit.

[0108] In steps S710 through S730, the spatial distances between all initial installation coordinates are calculated. If the installation distance between two coordinates is greater than or equal to the minimum distance threshold, they are retained as the target coordinates. If the installation distance is less than the minimum distance threshold, the coordinates are adjusted along the edge of the weld coverage area, using the maximum distance threshold as a constraint, until the safety distance requirement is met. The adjusted coordinates are then re-evaluated, and multiple rounds of optimization are performed as necessary to ensure that the distances between all welding units meet the safety threshold. By enforcing the safety distance constraint, collisions between welding units during movement are avoided, reducing the risk of equipment damage.

[0109] Secondly, refer to Figure 8 The present application further provides a layout planning device 800 for a welding unit, comprising:

[0110] A first acquisition module 810 is used to acquire a spatial map inside the machine tool and driving parameter information of the welding unit;

[0111] The scanning module 820 is used to perform image scanning processing on the workpiece to be welded, and determine the workpiece size information of the workpiece to be welded and the welding station coordinates corresponding to each welding point;

[0112] A second acquisition module 830 is used to obtain the constraint conditions of the welding unit layout;

[0113] A planning module 840 is configured to generate a unit layout plan based on the constraints, the spatial map, the drive parameter information, and the welding station coordinates; wherein the unit layout plan includes the installation coordinates of each welding unit;

[0114] a modification module 850 for modifying the installation coordinates corresponding to the welding unit and updating the unit layout plan based on the constraint conditions in response to the first instruction;

[0115] The display module 860 is configured to send and render the newly generated unit layout solution to a preset display unit in response to the second instruction.

[0116] The specific implementation of the layout planning device of the welding unit is basically the same as the specific embodiment of the layout planning method of the welding unit described above, and will not be repeated here.

[0117] In a third aspect, the present application also provides an electronic device comprising: at least one memory, at least one processor and at least one program, wherein the program is stored in the memory, and the processor executes one or more programs to implement the above-mentioned layout planning method of the welding unit.

[0118] The electronic device first obtains a spatial map of the machine tool's interior and the drive parameters of the welding units. It then scans and processes an image of the workpiece to be welded, determining the workpiece dimensions and the corresponding welding station coordinates for each weld point. It then obtains constraints for the welding unit layout, identifying various limiting factors, such as machine space and equipment performance. Based on these constraints, an algorithm generates a unit layout plan, including the installation coordinates of each welding unit, using the spatial map, drive parameter information, and welding station coordinates. After planning is complete, the system can respond to a first user command to modify the installation coordinates of the corresponding welding units based on the constraints and update the unit layout plan. Finally, in response to a second user command, the newly generated unit layout plan is sent and rendered on a pre-set display unit for easy viewing and further adjustment by the operator. By acquiring data such as the machine tool's spatial map, welding unit drive parameters, and workpiece weld point coordinates, the layout plan is based on objective data. This effectively addresses the complexities arising from the interplay of these factors, avoids planning errors caused by inexperience, rationally plans the welding unit installation coordinates, reduces the risk of collisions and interference between devices, and improves the reliability of the welding unit layout, enabling simultaneous welding of products and ultimately increasing production efficiency.

[0119] The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and signals, such as the program instructions / signals corresponding to the processing module in the embodiments of the present application. The processor executes the non-transitory software programs, instructions, and signals stored in the memory to perform various functional applications and data processing, thereby implementing the layout planning method for the welding unit in the above-mentioned method embodiment.

[0120] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data related to the layout planning method of the welding unit, etc. In addition, the memory may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory may optionally include a memory remotely located relative to the processor, and these remote memories may be connected to the processing module via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0121] One or more signals are stored in a memory, and when executed by one or more processors, the layout planning method of the welding unit in any of the above method embodiments is executed.

[0122] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. The computer program is executed by one or more processors, enabling the one or more processors to execute the layout planning method of the welding unit in the above method embodiment.

[0123] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected based on actual needs to achieve the objectives of this embodiment.

[0124] Through the description of the above embodiments, it will be appreciated by those skilled in the art that all or some of the steps and systems in the method disclosed above can be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium is included in any method or technology for storing information (such as a computer-readable signal, a data structure, a program module or other data) and is volatile and non-volatile, removable and non-removable. Computer storage media includes but is not limited to RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, as is well known to those skilled in the art, communication media typically embodies computer-readable signals, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0125] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0126] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes multiple instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: various media that can store programs, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0127] The embodiments of the present application are described in detail above in conjunction with the accompanying drawings, but the present application is not limited to the above embodiments. Various changes can be made within the scope of knowledge possessed by ordinary technicians in the relevant technical field without departing from the purpose of the present application.

Claims

1. A layout planning method for a welding unit, characterized in that: include: Obtain the spatial map inside the machine tool and the driving parameter information of the welding unit; Performing image scanning processing on the workpiece to be welded to determine the workpiece size information of the workpiece to be welded and the welding station coordinates corresponding to each welding point; Obtaining constraints on the welding unit layout; Based on the constraint conditions, a unit layout plan is generated according to the spatial map, the driving parameter information and the welding station coordinates; wherein the unit layout plan includes the installation coordinates of each welding unit; In response to a first instruction, based on the constraint condition, modify the installation coordinates corresponding to the welding unit and update the unit layout plan; In response to the second instruction, the newly generated unit layout solution is sent and rendered on a preset display unit.

2. The layout planning method according to claim 1, characterized in that: The driving parameter information includes initial state size information and working radius information of the welding unit; The obtaining of the constraint conditions of the welding unit includes: Determining a maximum distance threshold between the welding unit and the welding station coordinates according to the working radius information; Determining a minimum distance threshold between each of the welding units according to the initial state size information; Obtaining a preset welding point influence threshold of the workpiece to be welded; The maximum distance threshold, the minimum distance threshold, and the welding point influence threshold are combined to form the constraint restriction condition.

3. The layout planning method according to claim 2, characterized in that: The generating of a unit layout plan based on the constraint conditions, according to the spatial map, the driving parameter information and the welding station coordinates, includes: Based on the weld point influence threshold, the weld points are classified according to all the welding station coordinates to determine a plurality of weld groups; wherein each weld group has at least one weld point; Determining initial installation coordinates based on the maximum distance threshold and according to the spatial map, all the welding work coordinates in the welding group, and the initial state size information; Based on the minimum distance threshold, all the initial installation coordinates are adjusted to obtain target installation coordinates of each welding unit; The unit layout plan is generated according to the target installation coordinates of all the welding units.

4. The layout planning method according to claim 3, characterized in that: The step of classifying the weld points based on the weld point influence threshold and all the weld station coordinates to determine a plurality of weld groups includes: Calculating the distance between each welding point and the other welding points according to the welding station coordinates; When the welding distance value is greater than the welding point influence threshold, the corresponding welding points are regarded as one welding group; When the welding point distance value is less than the welding point influence threshold, the corresponding at least two welding points are collectively regarded as a welding group.

5. The layout planning method according to claim 4, characterized in that: The determining of the initial installation coordinates based on the maximum distance threshold and according to the spatial map, all the welding work coordinates in the welding group, and the initial state size information includes: Determining, based on the spatial map, the vertical coordinates of the welding unit when it is installed in a vertical manner and the vertical coordinates of the welding unit when it is installed in a suspended manner; Determining an installation mode of the welding unit corresponding to the welding group according to a distribution of the welding points in the welding group on the workpiece to be welded, and determining a vertical coordinate in the initial installation coordinate according to the installation mode; Based on the maximum distance threshold, the initial installation coordinates are determined according to all the welding work coordinates and the initial state size information in the welding group.

6. The layout planning method according to claim 5, characterized in that: The determining the initial installation coordinates based on the maximum distance threshold and according to all the welding work coordinates and the initial state size information in the welding group includes: When there is a welding work coordinate in the welding group, determining the initial installation coordinate closest to the welding work coordinate based on the welding work coordinate and the initial state size information of the welding unit; wherein the distance between the initial installation coordinate and the welding work coordinate is less than the maximum distance threshold; When there are two or more welding work coordinates in the welding group, the welding center coordinates are determined according to the welding work coordinates, and the initial installation coordinates closest to the welding center coordinates are determined according to the welding center coordinates and the initial state size information of the welding unit; wherein the distance between the initial installation coordinates and the welding center coordinates is less than the maximum distance threshold.

7. The layout planning method according to claim 3, characterized in that: The adjusting of all the initial installation coordinates based on the minimum distance threshold to obtain the target installation coordinates of each welding unit includes: Calculate the installation distance between the initial installation coordinate and other initial installation coordinates; When the installation distance value is greater than or equal to the minimum distance threshold, the initial installation coordinate is used as the target installation coordinate corresponding to the welding unit; When the installation distance value is less than the minimum distance threshold, the initial installation coordinate is adjusted based on the maximum distance threshold until the installation distance value is greater than or equal to the minimum distance threshold, and the adjusted initial installation coordinate is used as the target installation coordinate corresponding to the welding unit.

8. A layout planning device for a welding unit, characterized in that: include: A first acquisition module is used to obtain a spatial map inside the machine tool and driving parameter information of the welding unit; A scanning module is used to perform image scanning processing on the workpiece to be welded, and determine the workpiece size information of the workpiece to be welded and the welding station coordinates corresponding to each welding point; A second acquisition module is used to obtain the constraint conditions of the welding unit layout; a planning module, configured to generate a unit layout plan based on the constraint conditions, the spatial map, the drive parameter information, and the welding station coordinates; wherein the unit layout plan includes the installation coordinates of each welding unit; a modification module, configured to modify the installation coordinates corresponding to the welding unit and update the unit layout plan based on the constraint conditions in response to the first instruction; The display module is configured to send and render the newly generated unit layout solution to a preset display unit in response to the second instruction.

9. An electronic device, characterized in that: include: at least one memory; at least one processor; at least one program; The programs are stored in the memory, and the processor executes at least one of the programs to implement the layout planning method of a welding unit according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable signals, and the computer-executable signals are used to execute the layout planning method of the welding unit according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method, device, medium and equipment for controlling robot to complete automatic welding

    CN117245254A

  • Layout planning method and device, equipment and storage medium

    CN117291364A

  • PCB module automatic layout method and device, electronic equipment and storage medium

    CN118070735A

  • Welding process verification method and device, storage medium and electronic equipment

    CN118527895A

  • Equipment deployment method and device, computer equipment and storage medium

    CN119417042A