Welding unit layout planning method and device, electronic equipment and storage medium
By acquiring machine tool space maps and welding unit drive parameters, and combining image scanning and layout planning methods, the problem of welding unit layout relying on experience was solved, and a safe and reasonable layout between equipment and improved production efficiency were achieved.
Patent Information
- Application Number
- CN202510729274.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-03
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2045-06-03
AI Technical Summary
In existing technologies, the layout planning of welding units relies on the experience of engineers, which cannot accurately consider the matching relationship between machine tool space constraints and welding unit drive characteristics. This results in high risk of equipment collision and interference, low welding efficiency, and difficulty in meeting the high-efficiency and stable production requirements of modern manufacturing.
By acquiring the drive parameter information of the machine tool and the welding unit, the layout planning device and the layout method of the welding unit include acquiring the internal space map of the machine tool and the drive parameter information of the welding unit, performing image scanning processing to determine the workpiece size and weld point coordinates, generating the unit layout scheme, and adjusting and rendering in response to user commands.
Effectively handle complex situations arising from the interplay of factors, reduce the risk of equipment collisions and interference, and improve the reliability and production efficiency of welding unit layout.
Smart Images

Figure CN120597532B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automated processing technology, and in particular to a layout planning method, apparatus, electronic device and storage medium for a welding unit. Background Technology
[0002] In the oil drum manufacturing industry, to improve production efficiency, welding operations are often performed simultaneously at multiple locations on the bottom plate of oil drums using welding units within machine tools. Currently, the layout planning of welding units largely relies on engineers' experience. However, the internal spatial structure of machine tools is complex, the driving parameters of welding units vary, and the coordinates of welding point positions differ significantly between different oil drum bottom plates. The complex situations arising from the interplay of these factors are difficult to fully predict based solely on experience. Experience-based planning cannot accurately consider the matching relationship between machine tool space constraints and the driving characteristics of welding units, nor can it accurately meet the welding point position requirements of the oil drum bottom plates to be welded. This leads to numerous unreasonable aspects in the layout of welding units, which not only easily cause collisions and interference between welding equipment, increasing the risk of equipment failure and maintenance costs, but also, due to improper welding path planning, result in frequent ineffective movements and repositioning of welding units, significantly reducing welding efficiency and seriously affecting the continuity and overall efficiency of oil drum production, making it difficult to meet the high-efficiency and stable production requirements of modern manufacturing. Summary of the Invention
[0003] This application aims to address at least one of the technical problems existing in the prior art. To this end, this application proposes a layout planning method for welding units, which can improve the reliability of welding unit layout and thus improve product production efficiency.
[0004] In a first aspect, this application provides a layout planning method for welding units, including:
[0005] Obtain the internal spatial map of the machine tool and the drive parameter information of the welding unit;
[0006] The workpiece to be welded is subjected to image scanning processing to determine the workpiece size information and the welding station coordinates corresponding to each weld point;
[0007] Obtain the constraint conditions for the layout of the welding unit;
[0008] Based on the constraints, a unit layout scheme is generated according to the spatial map, the driving parameter information, and the welding station coordinates; wherein, the unit layout scheme includes the installation coordinates of each welding unit;
[0009] In response to the first instruction, based on the constraints, the installation coordinates of the corresponding welding unit are modified, and the unit layout scheme is updated;
[0010] In response to the second instruction, the newly generated unit layout scheme is sent and rendered onto the preset display unit.
[0011] The welding unit layout planning method according to the first aspect of this application has at least the following beneficial effects: First, it acquires the internal space map of the machine tool and the driving parameter information of the welding unit. Simultaneously, it performs image scanning processing on the workpiece to be welded to determine the workpiece size information and the welding station coordinates corresponding to each weld point. It then acquires the constraints on the welding unit layout, clarifying limiting factors such as machine tool space and equipment performance. Based on these constraints, and according to the space map, driving parameter information, and welding station coordinates, it uses an algorithm to generate a unit layout scheme, including the installation coordinates of each welding unit. Furthermore, after planning is completed, in response to a first user instruction, it can modify the installation coordinates of the corresponding welding unit based on the constraints and update the unit layout scheme. Finally, in response to a second instruction, it sends and renders the newly generated unit layout scheme onto a preset display unit, facilitating intuitive viewing and further adjustments by the operator. By acquiring data such as machine tool space maps, welding unit drive parameters, and workpiece weld point coordinates, the layout planning is based on objective data. This effectively handles the complex situations arising from the interplay of these factors, avoids planning deviations due to insufficient experience, rationally plans the installation coordinates of welding units, reduces the risk of collisions and interference between equipment, and improves the reliability of the welding unit layout. This enables simultaneous welding of products, thereby improving product production efficiency.
[0012] According to some embodiments of the first aspect of this application, the driving parameter information includes the initial state size information and working radius information of the welding unit;
[0013] The constraint conditions for obtaining the welding unit include:
[0014] Based on the working radius information, determine the maximum distance threshold between the welding unit and the welding station coordinates;
[0015] Based on the initial state size information, determine the minimum distance threshold between each welding unit;
[0016] Obtain the preset weld point influence threshold of the workpiece to be welded;
[0017] The maximum distance threshold, the minimum distance threshold, and the solder joint influence threshold are combined to form the constraint conditions.
[0018] According to some embodiments of the first aspect of this application, generating a unit layout scheme based on the constraints, the spatial map, the driving 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 several welding groups; wherein each welding group has at least one weld point;
[0020] Based on the maximum distance threshold, the initial installation coordinates are determined according to the spatial map, all welding work coordinates within 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 the target installation coordinates of each welding unit;
[0022] The unit layout scheme is generated based on the target installation coordinates of all the welding units.
[0023] According to some embodiments of the first aspect of this application, the step of classifying the weld points based on the weld point influence threshold and according to all the welding station coordinates to determine several welding groups includes:
[0024] Based on the welding station coordinates, calculate the distance between each welding point and the other welding points;
[0025] When the welding distance value is greater than the weld point influence threshold, the corresponding weld point is considered as a welding group.
[0026] When the distance value of the solder joint is less than the solder joint influence threshold, at least two corresponding solder joints are considered as a welding group.
[0027] According to some embodiments of the first aspect of this application, determining the initial installation coordinates based on the maximum distance threshold, the spatial map, all welding work coordinates within the welding group, and the initial state size information includes:
[0028] Based on the spatial map, determine the vertical coordinates when the welding unit is installed vertically and when it is installed in a suspended manner;
[0029] Based on the distribution of the weld points within the welding group on the workpiece to be welded, the installation method of the welding unit corresponding to the welding group is determined, and the vertical coordinate in the initial installation coordinates is determined based on the installation method.
[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 within the welding group.
[0031] According to some embodiments of the first aspect of this application, determining the initial installation coordinates based on the maximum distance threshold, according to all the welding work coordinates within the welding group and the initial state size information, includes:
[0032] When there is a welding working coordinate within the welding group, the initial installation coordinate closest to the welding working coordinate is determined based on the welding working coordinate and the initial state size information of the welding unit; wherein the distance between the initial installation coordinate and the welding working 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 this 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 coordinates and other initial installation coordinates;
[0036] When the installation distance value is greater than or equal to the minimum distance threshold, the initial installation coordinates are used as the target installation coordinates of the corresponding welding unit;
[0037] 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.
[0038] Secondly, this application also provides a layout planning device for welding units, comprising:
[0039] The first acquisition module is used to acquire the spatial map inside the machine tool and the driving parameter information of the welding unit;
[0040] The scanning module is used to perform image scanning processing on the workpiece to be welded, and to determine the workpiece size information and the welding station coordinates corresponding to each welding point.
[0041] The second acquisition module is used to acquire the constraint conditions of the welding unit layout;
[0042] The planning module is used to generate a unit layout scheme based on the constraints, the spatial map, the driving parameter information, and the welding station coordinates; wherein the unit layout scheme includes the installation coordinates of each welding unit;
[0043] The modification module is used to respond to the first instruction, modify the installation coordinates of the corresponding welding unit based on the constraints, and update the unit layout scheme.
[0044] The display module is used to respond to the second instruction by sending and rendering the newly generated unit layout scheme onto the preset display unit.
[0045] Thirdly, this application also provides an electronic device, including:
[0046] At least one memory;
[0047] At least one processor;
[0048] At least one program;
[0049] The program is stored in the memory, and the processor executes at least one of the programs to implement the layout planning method for welding units as described in any embodiment of the first aspect.
[0050] Fourthly, this application also provides a computer-readable storage medium storing computer-executable signals for performing a layout planning method for a welding unit as described in any embodiment of the first aspect.
[0051] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0052] Additional aspects and advantages of this application will become apparent and readily understood in conjunction with the following description of the embodiments, in which:
[0053] Figure 1 A flowchart illustrating a layout planning method for welding units provided in some embodiments of this application;
[0054] Figure 2 For this application Figure 1 The flowchart for step S130 is shown in the figure.
[0055] Figure 3 For this application Figure 1 The diagram showing the steps in step S140;
[0056] Figure 4 For this application Figure 3The flowchart for step S310 is shown in the figure.
[0057] Figure 5 For this application Figure 3 The flowchart for step S320 is shown in the figure.
[0058] Figure 6 For this application Figure 5 The flowchart for step S530 is shown in the figure.
[0059] Figure 7 For this application Figure 3 The flowchart for step S330 is shown in the figure.
[0060] Figure 8 This is a schematic diagram of a layout planning device for welding units provided in some embodiments of this application. Detailed Implementation
[0061] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0062] In the description of this application, it should be understood that the orientation descriptions, such as up, down, front, back, left, right, etc., indicate the orientation or positional relationship based on the orientation or positional relationship 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, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0063] In the description of this application, the use of "first" and "second" is for the purpose of distinguishing technical features only, and should not be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated or the order of the technical features indicated.
[0064] In the description of this application, unless otherwise expressly defined, terms such as "setup," "installation," and "connection" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this application in conjunction with the specific content of the technical solution.
[0065] In the oil drum manufacturing industry, to improve production efficiency, welding operations are often performed simultaneously at multiple locations on the bottom plate of oil drums using welding units within machine tools. Currently, the layout planning of welding units largely relies on engineers' experience. However, the internal spatial structure of machine tools is complex, the driving parameters of welding units vary, and the coordinates of welding point positions differ significantly between different oil drum bottom plates. The complex situations arising from the interplay of these factors are difficult to fully predict based solely on experience. Experience-based planning cannot accurately consider the matching relationship between machine tool space constraints and the driving characteristics of welding units, nor can it accurately meet the welding point position requirements of the oil drum bottom plates to be welded. This leads to numerous unreasonable aspects in the layout of welding units, which not only easily cause collisions and interference between welding equipment, increasing the risk of equipment failure and maintenance costs, but also, due to improper welding path planning, result in frequent ineffective movements and repositioning of welding units, significantly reducing welding efficiency and seriously affecting the continuity and overall efficiency of oil drum production, making it difficult to meet the high-efficiency and stable production requirements of modern manufacturing.
[0066] Based on this, this application provides a layout planning method, apparatus, electronic device and storage medium for welding units to solve the above-mentioned technical problems. The technical solutions provided by this application will be described in detail below.
[0067] Firstly, referring to Figure 1 This application provides a layout planning method for welding units, which may include, but is not limited to, the following steps:
[0068] Step S110: Obtain the internal spatial map of the machine tool and the drive parameter information of the welding unit.
[0069] Step S120: Perform image scanning processing on the workpiece to be welded to determine the workpiece size information and the welding station coordinates corresponding to each welding point.
[0070] Step S130: Obtain the constraint conditions for the welding unit layout.
[0071] Step S140: Based on the constraints, generate an element layout scheme according to the spatial map, driving parameter information and welding station coordinates; wherein, the element layout scheme includes the installation coordinates of each welding element.
[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 scheme.
[0073] Step S160: In response to the second instruction, send the newly generated cell layout scheme and render it onto the preset display cell.
[0074] In steps S110 to S160, firstly, the internal spatial map of the machine tool and the driving parameter information of the welding units are acquired. Simultaneously, image scanning processing is performed on the workpiece to be welded to determine the workpiece size information and the welding station coordinates corresponding to each weld point. The constraints on the welding unit layout are obtained, clarifying limitations such as machine tool space and equipment performance. Based on these constraints, an algorithm is used to generate a unit layout scheme, including the installation coordinates of each welding unit, according to the spatial map, driving parameter information, and welding station coordinates. After planning is completed, in response to the user's first instruction, the installation coordinates of the corresponding welding units are modified based on the constraints, and the unit layout scheme is updated. Finally, in response to the second instruction, the newly generated unit layout scheme is sent and rendered onto a preset display unit, facilitating intuitive viewing and further adjustments by the operator. By acquiring data such as machine tool space maps, welding unit drive parameters, and workpiece weld point coordinates, the layout planning is based on objective data. This effectively handles the complex situations arising from the interplay of these factors, avoids planning deviations due to insufficient experience, rationally plans the installation coordinates of welding units, reduces the risk of collisions and interference between equipment, and improves the reliability of the welding unit layout. This enables simultaneous welding of products, 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. Step S130 may include, but is not limited to, the following steps:
[0076] Step S210: Determine the maximum distance threshold between the welding unit and the welding station coordinates based on the working radius information.
[0077] Step S220: Determine the minimum distance threshold between each welding unit based on the initial state size information.
[0078] Step S230: Obtain the preset weld point influence threshold of the workpiece to be welded.
[0079] Step S240: Combine the maximum distance threshold, minimum distance threshold, and solder joint influence threshold to form constraint conditions.
[0080] In step S210, the working radius information of the welding unit is spatially mapped to the coordinates of the welding points on the bottom plate of the oil drum to be welded. Using each welding point as the center and the working radius of the welding unit as a reference, the maximum allowable distance (i.e., the maximum distance threshold) between the installation position of the welding unit and the welding point is calculated. For example, if the working radius of a welding unit is 500mm, the maximum distance threshold between it and the welding point can be set to 450mm, with a 50mm safety margin. When generating the layout scheme, installation positions exceeding this threshold are automatically excluded to ensure that the welding unit can effectively cover all welding points.
[0081] In step S220, a three-dimensional spatial model is constructed based on the initial state dimensional information of the welding units (such as length, width, and height). The spatial trajectories of adjacent welding units during movement are simulated, and the minimum distance required to avoid collisions is calculated. For example, if the lateral dimension of two welding units is 300mm, the minimum distance threshold can be set to 400mm to ensure a safety clearance of 50mm. In the layout planning, the installation coordinates of any two welding units are required to meet the minimum distance threshold to prevent equipment collisions.
[0082] In step S230, for the welding process of the oil drum bottom plate, process parameters such as heat-affected zone and spatter effect between weld points are determined. For example, the heat-affected zone of adjacent weld points is an area with a diameter of 80mm. When determining the coordinates of the weld point positions, the system automatically checks whether the weld point influence threshold is met to ensure welding quality.
[0083] In steps S210 to S240, through precise mathematical modeling and spatial constraints, the traditional "trial and error based on experience" is transformed into "data-driven" intelligent planning. This is particularly suitable for automated welding production scenarios of multi-specification oil drum bottom plates. It can effectively handle the complex situations caused by the intertwining of these factors, avoid planning deviations caused by insufficient experience, rationally plan the installation coordinates of welding units, reduce the risk of collision and interference between equipment, improve the reliability of welding unit layout, and thus enable simultaneous welding of products, 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, classify the weld points according to the coordinates of all welding stations to determine several welding groups; wherein each welding group has at least one weld point.
[0086] Step S320: Based on the maximum distance threshold, determine the initial installation coordinates according to the spatial map, the coordinates of all welding operations within the welding group, and the initial state size information.
[0087] Step S330: Based on the minimum distance threshold, adjust all the initial installation coordinates to obtain the target installation coordinates of each welding unit.
[0088] Step S340: Generate the unit layout scheme based on the target installation coordinates of all welding units.
[0089] In steps S310 to S340, based on the weld point influence threshold, all weld points on the oil drum bottom plate are spatially clustered. Weld points with a distance less than the weld point influence threshold are grouped into the same welding group to ensure that the process influence between weld points within the group is controllable. For each welding group, based on the maximum distance threshold, all candidate installation areas that can cover all weld points within the group are selected 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 scheme achieves the optimal balance between safety and effectiveness. Through weld point grouping optimization, the welding task is rationally allocated. In the welding of the oil drum bottom plate, circumferential welds and axial welds can be assigned to different welding groups to reduce equipment idle travel. Coordinate optimization based on constraints 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 weld point and other weld points based on the coordinates of the welding station.
[0092] Step S420: When the welding distance value is greater than the weld point influence threshold, the corresponding weld point is treated as a welding group.
[0093] Step S430: When the solder joint distance value is less than the solder joint influence threshold, the corresponding at least two solder joints are combined into a soldering 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, it means that 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. By reasonably grouping them, thermal interference and process mutual influence between adjacent weld points are avoided, the welding sequence is optimized, and the stability of weld quality is improved.
[0095] Reference Figure 5 It is understood that step S320 may include, but is not limited to, the following steps:
[0096] Step S510: Based on the spatial map, determine the vertical coordinates when the welding unit is installed vertically and when it is installed in a suspended manner;
[0097] Step S520: Based on the distribution of weld points within the welding group on the workpiece to be welded, determine the installation method of the welding unit corresponding to the welding group, and determine the vertical coordinate in the initial installation coordinate system based on the installation method;
[0098] Step S530: Based on the maximum distance threshold, determine the initial installation coordinates according to all welding work coordinates and initial state size information within the welding group.
[0099] In steps S510 to S530, based on the machine tool space map, feasible vertical coordinate positions for both vertical and suspended installation of the welding unit are calculated, providing basic data for subsequent selection. The distribution characteristics of weld points on the bottom plate of the oil drum within the welding group are analyzed to select the most suitable installation method. The vertical coordinates in the initial installation coordinates are determined based on the selected installation method to ensure a reasonable spatial orientation of the welding unit. For example, if all weld points in the welding group are distributed on the top surface of the workpiece to be welded, the corresponding welding unit can be installed in a suspended ceiling at the bottom of the machine tool. Conversely, if all weld points are distributed on the sides of the workpiece to be welded, the corresponding welding unit can be installed vertically. Subsequently, under the premise of meeting the maximum distance threshold, and combined with the initial state size information of the welding unit, the optimal planar coordinate position that can cover all weld points within the welding group is calculated, completing the determination of the initial installation coordinates. By reasonably selecting the installation height and planar position, the internal space of the machine tool is effectively utilized, equipment interference is avoided, and the overall layout compactness is improved.
[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 working coordinate in the welding group, determine the initial installation coordinate closest to the welding working coordinate based on the welding working coordinate and the initial state size information of the welding unit; wherein, the distance between the initial installation coordinate and the welding working coordinate is less than the maximum distance threshold.
[0102] Step S620: When there are two or more welding work coordinates in the welding group, determine the welding center coordinates according to the welding work coordinates, and determine the initial installation coordinates closest to the welding center coordinates 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 the welding group, this coordinate is used as a reference. Combined with the initial state size information of the welding unit, the location closest to this coordinate and with a distance less than the maximum distance threshold is searched within the machine space and determined as the initial installation coordinate, ensuring the welding unit can efficiently reach the weld point. If there are two or more welding work coordinates within the welding group, the welding center coordinates are first obtained by calculating the geometric centers of these coordinates. Then, using the welding center coordinates as a reference and combined with the initial state size information of the welding unit, the location closest to the welding center coordinates and satisfying the maximum distance threshold is found and determined as the initial installation coordinate, ensuring the welding unit can cover multiple weld points within the group. In the above steps, accurately determining the initial installation coordinates allows the welding unit to reach the weld point via the shortest path, reducing unnecessary movement and shortening welding preparation time. Simultaneously, determining the coordinates based on the maximum distance threshold ensures 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 coordinates 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 coordinates are used as the target installation coordinates 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 to S730, the spatial distance between all initial installation coordinates is calculated. If the installation distance between two coordinates is greater than or equal to the minimum distance threshold, it is directly retained as the target coordinate. If the installation distance is less than the minimum distance threshold, the coordinates are adjusted along the edge of the weld point coverage area, using the maximum distance threshold as a constraint, until the safety distance requirement is met. The adjusted coordinates are then re-evaluated for distance, and multiple rounds of optimization are performed if necessary to ensure that the distance between all welding units meets the safety threshold. By enforcing safety distance constraints, collisions between welding units during movement are avoided, reducing the risk of equipment damage.
[0109] Secondly, referring to Figure 8 This application also provides a layout planning device 800 for welding units, comprising:
[0110] The first acquisition module 810 is used to acquire the spatial map inside the machine tool and the 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 to determine the workpiece size information and the welding station coordinates corresponding to each welding point.
[0112] The second acquisition module 830 is used to acquire the constraint conditions of the welding unit layout;
[0113] The planning module 840 is used to generate a unit layout scheme based on the constraints and limitations, the spatial map, the driving parameter information, and the welding station coordinates; wherein the unit layout scheme includes the installation coordinates of each welding unit;
[0114] Modification module 850 is used to respond to the first instruction, modify the installation coordinates of the corresponding welding unit based on the constraint conditions, and update the unit layout scheme;
[0115] Display module 860 is used to respond to the second instruction by sending and rendering the newly generated unit layout scheme onto a preset display unit.
[0116] The specific implementation method of the layout planning device for the welding unit is basically the same as the specific implementation method of the layout planning method for the welding unit described above, and will not be repeated here.
[0117] Thirdly, this application also provides an electronic device, including: 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-described layout planning method for welding units.
[0118] This electronic device first acquires the internal spatial map of the machine tool and the driving parameter information of the welding units. Simultaneously, it performs image scanning processing on the workpiece to be welded, determining the workpiece dimensions and the welding station coordinates corresponding to each weld point. It then obtains the constraints and limitations of the welding unit layout, clarifying various limiting factors such as machine tool space and equipment performance. Based on these constraints, and using the spatial map, driving parameter information, and welding station coordinates, an algorithm generates a unit layout scheme, including the installation coordinates of each welding unit. After planning is completed, it can respond to the user's first command, modifying the installation coordinates of the corresponding welding units based on the constraints and updating the unit layout scheme. Finally, in response to the second command, it sends and renders the newly generated unit layout scheme to a preset display unit, facilitating intuitive viewing and further adjustments by the operator. By acquiring data such as the machine tool spatial map, welding unit driving parameters, and workpiece weld point coordinates, the layout planning is based on objective data, effectively handling complex situations arising from the interplay of these factors. This avoids planning deviations due to insufficient experience, rationally plans the installation coordinates of welding units, reduces the risk of collisions and interference between equipment, improves the reliability of the welding unit layout, and enables simultaneous welding of products, thereby increasing production efficiency.
[0119] 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 this application. The processor executes various functional applications and data processing by running the non-transitory software programs, instructions, and signals stored in the memory, thereby implementing the layout planning method of the welding unit in the above method embodiments.
[0120] The memory may include a program storage area and a data storage area. The program storage area may store the 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 aforementioned welding unit. Furthermore, the memory may include high-speed random access memory and non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processing module via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0121] One or more signals are stored in 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] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that is executed by one or more processors, enabling the one or more processors to perform the welding unit layout planning method in the above method embodiments.
[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 can be selected to achieve the purpose of this embodiment according to actual needs.
[0124] Based on the above description of the embodiments, those skilled in the art will understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable signals, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable signals, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0125] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0126] If the integrated unit is implemented as 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 this application, in essence, 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. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0127] The embodiments of this application have been described in detail above with reference to the accompanying drawings. However, this application is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of this application.
Claims
1. A layout planning method for a welding unit, characterized in that, include: Obtain the internal spatial map of the machine tool and the drive parameter information of the welding unit; The driving parameter information includes the initial state size information and working radius information of the welding unit; The workpiece to be welded is subjected to image scanning processing to determine the workpiece size information and the welding station coordinates corresponding to each weld point; Obtaining the constraints on the layout of the welding unit includes: Based on the working radius information, determine the maximum distance threshold between the welding unit and the welding station coordinates; based on the initial state size information, determine the minimum distance threshold between each welding unit; obtain the preset weld point influence threshold of the workpiece to be welded; combine the maximum distance threshold, the minimum distance threshold, and the weld point influence threshold to form the constraint restriction conditions; Based on the aforementioned constraints, and according to the spatial map, the driving parameter information, and the welding station coordinates, a unit layout scheme is generated, including: Based on the weld point influence threshold, the weld points are classified according to all the welding station coordinates to determine several welding groups; wherein each welding group has at least one weld point; based on the maximum distance threshold, the initial installation coordinates are determined according to the spatial map, the coordinates of all the welding stations within the welding group, and the initial state size information; based on the minimum distance threshold, all the initial installation coordinates are adjusted to obtain the target installation coordinates of each welding unit; based on the target installation coordinates of all the welding units, the unit layout scheme is generated; wherein the unit layout scheme includes the installation coordinates of each welding unit; In response to the first instruction, based on the constraints, the installation coordinates of the corresponding welding unit are modified, and the unit layout scheme is updated; In response to the second instruction, the newly generated unit layout scheme is sent and rendered onto the preset display unit.
2. The layout planning method according to claim 1, characterized in that, Based on the weld point influence threshold, and according to all the welding station coordinates, the weld points are classified to determine several welding groups, including: Based on the welding station coordinates, calculate the distance between each welding point and the other welding points; When the distance value of the solder joint is greater than the solder joint influence threshold, the corresponding solder joint is considered as a welding group. When the distance value of the solder joint is less than the solder joint influence threshold, at least two corresponding solder joints are considered as a welding group.
3. The layout planning method according to claim 2, characterized in that, The determination of initial installation coordinates based on the maximum distance threshold, according to the spatial map, the coordinates of all welding stations within the welding group, and the initial state size information, includes: Based on the spatial map, determine the vertical coordinates when the welding unit is installed vertically and when it is installed in a suspended manner; Based on the distribution of the weld points within the welding group on the workpiece to be welded, the installation method of the welding unit corresponding to the welding group is determined, and the vertical coordinate in the initial installation coordinates is determined based on the installation method. Based on the maximum distance threshold, the initial installation coordinates are determined according to the coordinates of all welding stations within the welding group and the initial state size information.
4. The layout planning method according to claim 3, characterized in that, The determination of the initial installation coordinates based on the maximum distance threshold, according to the coordinates of all welding stations within the welding group and the initial state size information, includes: When there is a welding station coordinate in the welding group, the initial installation coordinate closest to the welding station coordinate is determined based on the welding station coordinate and the initial state size information of the welding unit; wherein the distance between the initial installation coordinate and the welding station coordinate is less than the maximum distance threshold. When there are two or more welding station coordinates in the welding group, the welding center coordinates are determined according to the welding station 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.
5. The layout planning method according to claim 1, characterized in that, The step of adjusting 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 coordinates and other initial installation coordinates; When the installation distance value is greater than or equal to the minimum distance threshold, the initial installation coordinates are used as the target installation coordinates of the corresponding welding unit; 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.
6. A layout planning device for a welding unit, characterized in that, include: The first acquisition module is used to acquire the spatial map inside the machine tool and the driving parameter information of the welding unit; The driving parameter information includes the initial state size information and working radius information of the welding unit; The scanning module is used to perform image scanning processing on the workpiece to be welded, and to determine the workpiece size information and the welding station coordinates corresponding to each welding point. The second acquisition module is used to acquire the constraint conditions of the welding unit layout, including: Based on the working radius information, determine the maximum distance threshold between the welding unit and the welding station coordinates; based on the initial state size information, determine the minimum distance threshold between each welding unit; obtain the preset weld point influence threshold of the workpiece to be welded; combine the maximum distance threshold, the minimum distance threshold, and the weld point influence threshold to form the constraint restriction conditions; The planning module is used to generate a unit layout scheme based on the constraints, the spatial map, the driving parameter information, and the welding station coordinates, including: Based on the weld point influence threshold, the weld points are classified according to all the welding station coordinates to determine several welding groups; wherein each welding group has at least one weld point; based on the maximum distance threshold, the initial installation coordinates are determined according to the spatial map, the coordinates of all the welding stations within the welding group, and the initial state size information; based on the minimum distance threshold, all the initial installation coordinates are adjusted to obtain the target installation coordinates of each welding unit; based on the target installation coordinates of all the welding units, the unit layout scheme is generated; wherein the unit layout scheme includes the installation coordinates of each welding unit; The modification module is used to respond to the first instruction, modify the installation coordinates of the corresponding welding unit based on the constraints, and update the unit layout scheme. The display module is used to respond to the second instruction by sending and rendering the newly generated unit layout scheme onto the preset display unit.
7. An electronic device, characterized in that, include: At least one memory; At least one processor; At least one program; The program is stored in the memory, and the processor executes at least one of the programs to implement the layout planning method for welding units as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions for performing the layout planning method for the welding unit as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Equipment deployment method and device, computer equipment and storage medium
CN119417042A