Template-based adaptive pile type generation method, system, device and storage medium
Patent Information
- Application Number
- CN202510708485.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-29
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2045-05-29
AI Technical Summary
[0004]本申请实施例提供了一种基于模板的自适应垛型生成方法、系统、设备和存储介质,以至少解决相关技术中在码垛物料尺寸发生变化时需要重复编程和调试,导致码垛生产准备时间较长的问题
本发明通过模板匹配和自动计算,可在短时间内对不同尺寸的物料生成新垛型,不需要重新编写程序或调试,降低了时间成本;并且通过模板化设计、自适应算法和智能优化,实现了高效、灵活、稳定的垛型生成,解决了传统码垛技术中码垛物料尺寸发生变化时需要重复编程和调试,导致码垛生产准备时间的问题。
Smart Images

Figure CN120774205B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of material palletizing technology, and in particular to a template-based adaptive pallet generation method, system, device and storage medium. Background Technology
[0002] With the continuous development of science and technology and industry, the application of robots has become increasingly mature. Palletizing robots have played a pivotal role in various industries, especially in enhancing production efficiency, effectively reducing labor costs, and improving actual efficiency.
[0003] Currently, achieving highly automated production means that operating automated palletizing robots requires highly skilled personnel. Each time the material size or pallet type changes, the program must be rewritten and debugged, demanding a high level of technical expertise from the operators. Furthermore, even with highly similar pallet types, changes in the palletized material size often require reprogramming the palletizing equipment's control program and repeated debugging to achieve the desired palletizing results. This not only wastes a significant amount of the operators' time but also prolongs production preparation time due to the repetitive programming and debugging process, impacting the overall efficiency of palletizing operations and management. Summary of the Invention
[0004] This application provides a template-based adaptive pallet generation method, system, device, and storage medium to at least solve the problem in related technologies where repeated programming and debugging are required when the size of palletized materials changes, resulting in a long preparation time for palletizing production.
[0005] In a first aspect, embodiments of this application provide a template-based adaptive stacking generation method, including: Obtain a preset stacking layout template and information on the materials to be stacked, and calculate the relative position information and stacking information of each material in the stacking layout template; wherein, the stacking layout template is generated based on the shape of the materials to be stacked; Based on the material information to be stacked, the relative position information, and the stack type information, the material to be stacked is matched with the stack type layout template so that the material to be stacked is arranged according to the stack type layout template to obtain a single-layer stack type. Multiple single-layer stack types are stacked according to preset merging rules to generate an overall stack type; Obtain the preset material gap, adjust the material arrangement in the overall palletizing pattern according to the preset material gap, and generate the actual palletizing pattern.
[0006] In one embodiment, calculating the relative position information and stack type information of each material in the stack layout template includes: The stack layout template is traversed and analyzed according to a preset reference position to obtain the stack information of the template, which includes the template material size, template material direction and template pallet size; The relative position information of the materials in the stack layout template is calculated based on the template material size, template pallet size and preset reference position, wherein the preset reference position is the center or corner of the pallet.
[0007] In one embodiment, the stacking information includes the template material size, template pallet size, and template material orientation in the stacking layout template, and the material information to be stacked includes the material size to be stacked and the pallet size to be stacked; The step of matching the material to be palletized with the pallet layout template based on the material information, relative position information, and pallet type information includes: Based on the dimensions of the material to be stacked, the dimensions of the pallet to be stacked, and the orientation of the template material, the dimensions of the template material and the template pallet in the stack layout template are adjusted to obtain an initial single-layer stack. The materials in the initial single-layer stack are traversed in a preset order, the moving direction is determined according to the relative position information, and the materials to be stacked are translated according to the moving direction. During the translation process, the overlapping area between each material in the initial single-layer stack is calculated. When the overlapping area is equal to zero, the translation operation is stopped.
[0008] In one embodiment, the merging rule includes: If multiple single-layer stacks have the same stack layout, then the even-numbered single-layer stacks will be rotated according to the preset rotation angle. If multiple single-layer stack types have different stack arrangements, the first contact area between the material and the pallet in the single-layer stack type is calculated, and the values of the first contact area are sorted in descending order. The corresponding single-layer stack types are then stacked in sequence according to the sorting results.
[0009] In one embodiment, during the process of stacking multiple single-layer stack types according to a preset merging rule, the method further includes: Calculate the second contact area between two single-layer stacks. If the second contact area is less than a preset threshold, output a collapse risk warning message.
[0010] In one embodiment, the method further includes: Obtain the actual pallet size and the preset pallet edge gap, and optimize and adjust the actual pallet stacking pattern according to the actual pallet size and the preset pallet edge gap so that the distance between the material and the pallet edge is not less than the preset pallet edge gap.
[0011] In one embodiment, the process of generating the stack layout template includes: Based on the shape of the material to be palletized, a pallet layout template is generated using visual drawing software. The pallet layout template contains the position information, size information, and palletizing direction of each palletized material.
[0012] Secondly, embodiments of this application provide a template-based adaptive stacking pattern generation system, wherein the system implements the template-based adaptive stacking pattern generation method described in any of the above embodiments during operation, and the system includes: The template generation module obtains a preset stacking layout template and information on the materials to be stacked, and calculates the relative position information and stacking information of each material in the stacking layout template; wherein, the stacking layout template is generated based on the shape of the materials to be stacked; The stacking pattern generation module matches the material to be stacked with the stacking pattern layout template based on the material information, relative position information, and stacking pattern information, so that the material to be stacked is arranged according to the stacking pattern layout template to obtain a single-layer stacking pattern. The stacking module stacks multiple single-layer stacks according to preset merging rules to generate an overall stacking stack. The stacking pattern optimization module obtains the preset material gap, adjusts the arrangement of materials in the overall stacking pattern according to the preset material gap, and generates the actual stacking pattern.
[0013] Thirdly, embodiments of this application provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the template-based adaptive stacking generation method as described in the first aspect above.
[0014] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the template-based adaptive stacking generation method as described in the first aspect above.
[0015] The template-based adaptive stacking generation method, system, device, and storage medium provided in this application have at least the following technical effects: This invention can generate new pallet patterns for materials of different sizes in a short time through template matching and automatic calculation, without the need to rewrite programs or debug, thus reducing time costs. Furthermore, through template-based design, adaptive algorithms, and intelligent optimization, it achieves efficient, flexible, and stable pallet pattern generation, solving the problem of repeated programming and debugging required when the size of palletized materials changes in traditional palletizing technology, which leads to increased preparation time for palletizing production.
[0016] Details of one or more embodiments of this application are set forth in the following drawings and description to make other features, objects and advantages of this application more readily apparent. Attached Figure Description
[0017] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 This is a flowchart of a template-based adaptive stacking generation method in one embodiment of this application; Figure 2 This is a schematic diagram of a stack-type layout template in one embodiment of this application; Figure 3 This is a schematic diagram of the actual stacking pattern in one embodiment of this application; Figure 4 This is a structural block diagram of an electronic device according to an embodiment of this application. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this application clearer, the application is described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application.
[0019] Obviously, the accompanying drawings described below are merely some examples or embodiments of this application. Those skilled in the art can apply this application to other similar scenarios based on these drawings without any inventive effort. Furthermore, it is understood that although the efforts made in this development process may be complex and lengthy, for those skilled in the art related to the content disclosed in this application, any changes to design, manufacturing, or production based on the technical content disclosed in this application are merely conventional technical means and should not be construed as insufficient disclosure of the content of this application.
[0020] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment that is mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0021] Unless otherwise defined, the technical or scientific terms used in this application shall have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms “a,” “an,” “an,” “the,” and similar words used in this application do not indicate quantity limitation and may indicate singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units not listed, or may include other steps or units inherent to these processes, methods, products, or devices. The terms “connected,” “linked,” “coupled,” and similar words used in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. “Multiple” used in this application refers to two or more. “And / or” describes the relationship between related objects, indicating that three relationships may exist; for example, “A and / or B” can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following objects are in an "or" relationship. The terms "first," "second," and "third" used in this application are merely to distinguish similar objects and do not represent a specific ordering of the objects.
[0022] Firstly, embodiments of this application provide a template-based adaptive stacking pattern generation method, the specific implementation process of which can be found by referring to... Figure 1 , Figure 1 This is a flowchart of the adaptive stacking type generation method in this embodiment, which is mainly implemented through the following steps.
[0023] Step S1: Obtain a preset stacking layout template and information on the materials to be stacked, and calculate the relative position information and stacking information of each material in the stacking layout template; wherein, the stacking layout template is generated based on the shape of the materials to be stacked. Specifically, based on the shape of the materials to be stacked, such as rectangles, squares, circles, etc., rectangles can also be subdivided according to their length-width ratio, and then a stacking layout template is generated through visual drawing software, which includes the position information, size information, and stacking direction of each material to be stacked.
[0024] Specifically, the stack layout template is traversed and analyzed according to a preset reference position to obtain the stack information of the template. The stack information includes the template material size, template material orientation, and template pallet size. The relative position information of the material in the stack layout template is calculated based on the template material size, template pallet size, and preset reference position. Typically, the center or corner of the pallet is taken as the preset reference position, and a coordinate system is established based on the preset reference position. Then, the dimensions of the material and pallet in the template are calculated based on this coordinate system.
[0025] More specifically, to quickly and easily draw the required stacking patterns, visual layout drag-and-drop software can be used to efficiently generate template stacking patterns by dragging and dropping models. The template stacking pattern carries the position information of each palletized material, presets the length, width, and height dimensions, and the orientation angle of the palletized materials. Then, it automatically calculates and obtains the relative position information between the palletized materials, as shown in the attached figure. Figure 2 As shown. The position information in this embodiment can be automatically calculated by the layout drag-and-drop software, eliminating the need for manual calculation by the user. Furthermore, "preset" refers to pre-setting dimensions and angles; since actual materials may have N different sizes, the actual stacking pattern is equivalent to replacing the preset dimensions with the actual dimensions during actual production. In this embodiment, the calculation process for relative position information is based on the center of the pallet; the visual layout drag-and-drop software automatically calculates the position of the center of the palletized material relative to the center of the pallet.
[0026] Step S2: Based on the material information to be stacked, the relative position information, and the stack type information, the material to be stacked is matched with the stack type layout template so that the material to be stacked is arranged according to the stack type layout template to obtain a single-layer stack type.
[0027] Specifically, in this embodiment, the stack type information includes the template material size, template pallet size, and template material orientation in the stack type layout template, and the material information to be stacked includes the material size and pallet size. During the matching process, the template material size and template pallet size in the stack type layout template are adjusted according to the material size, pallet size, and template material orientation to obtain an initial single-layer stack type. The materials in the initial single-layer stack type are traversed in a preset order, and the movement direction is determined according to the relative position information. The material to be stacked is then translated according to the movement direction. During the translation process, the overlap area between each material in the initial single-layer stack type is calculated. When the overlap area is equal to zero, the translation operation stops.
[0028] In a preferred embodiment, the length, width, and height dimensions of the pallet and the length, width, and height dimensions of the palletized materials are input from an external source and matched into the template stacking pattern, so that the template can adaptively adjust according to the input dimensions. Then, according to the template stacking pattern, each palletized material is traversed sequentially from top to bottom and from left to right. Using the position of the palletized material being traversed as a reference, the absolute positions of the surrounding palletized materials are calculated and adjusted using the relative position information obtained in the first step. Each palletized material that has been traversed or whose position has been adjusted is marked. The absolute positions of marked palletized materials are no longer adjusted. Through the above steps, the stacking pattern layout of a single-layer stacking pattern can be obtained.
[0029] Specifically, in this embodiment, during the matching of template stacking patterns, the pallet dimensions in the template are directly modified based on the input dimension data, i.e., the length and width are directly modified. Similarly, the material dimensions are kept at the same center point position, and then the values of the corresponding sides of the material are modified according to the actual input data, thereby completing the matching of the template stacking patterns. During the calculation of the absolute positions of adjacent stacked materials, since there may be overlap of stacked materials after template matching, the center point of the pallet is used as the base point. If the actual stacking size is larger than the preset size, the center point of the stacked material moves outward, i.e., it translates along the direction from the center point of the pallet to the center point of the stacked material; conversely, it moves inward. For example, the specific movement method is as follows: X-axis movement value = (actual material length on the X-axis minus preset material length on the X-axis) ÷ 2 Y-axis movement value = (actual material length on the Y-axis minus preset material length on the Y-axis) ÷ 2.
[0030] If the user needs a stack with multiple layers of materials, the stack layout of the remaining layers can be obtained in two ways: if the stack layout of each layer is the same, but the orientation angle is different, the entire single-layer stack can be rotated by setting the rotation angle to obtain the stack layout required for the remaining layers; if the stack layout of the remaining layers is different, steps S1 and S2 can be repeated to generate single-layer stacks with different material sizes or different layouts.
[0031] Step S3: Stack multiple single-layer stack types according to preset merging rules to generate an overall stack type.
[0032] In this embodiment, the merging rule includes: if multiple single-layer stack types have the same stack type arrangement, then the even-numbered single-layer stack types are rotated according to a preset rotation angle, referencing... Figure 3 If multiple single-layer stack types have different stack arrangements, the first contact area between the material and the pallet in the single-layer stack type is calculated, and the values of the first contact area are sorted in descending order. The corresponding single-layer stack types are then stacked in sequence according to the sorting results.
[0033] In another embodiment, the number of stacking layers can be predetermined to be N, and the stacking pattern for each layer can also be preset. For example, if the layout of each layer is different, a separate stacking pattern layout can be drawn for each layer, where the first layer uses layout A, the second layer uses layout B, and so on, and merging can be done by simply stacking.
[0034] In a preferred embodiment, during the process of stacking multiple single-layer stacks according to a preset merging rule, it is also necessary to calculate the second contact area between two single-layer stacks. If the second contact area is less than a preset threshold, a collapse risk warning message is output. If there is a collapse risk, the upper stack is rotated around the center of the pallet at a preset rotation angle, and the second contact area between the two layers is recalculated until the second contact area is not less than the preset threshold. If there is a collapse risk at each preset angle, the upper stack can be replaced, or the materials can no longer be stacked on top of it.
[0035] Step S4: Obtain the preset material gap, and adjust the arrangement of materials in the overall palletizing pattern according to the preset material gap to generate the actual palletizing pattern. In this embodiment, the spacing between palletized materials is adjusted according to the space size of the pallet to optimize the overall arrangement and finally obtain the overall palletizing pattern of the actual palletized materials. Alternatively, the space size of a single-layer pallet can be optimized and adjusted first, and then merged. The specific order can be determined according to the actual situation.
[0036] Preferably, the position of the entire pallet type can also be optimized. Specifically, the actual pallet size and the preset pallet edge gap are obtained, and the actual pallet type is optimized and adjusted according to the actual pallet size and the preset pallet edge gap so that the distance between the material and the pallet edge is not less than the preset pallet edge gap.
[0037] Furthermore, if the overall stacking pattern of the next batch of materials remains unchanged, but the dimensions of the stacked materials change, the length, width, and height data of the stacked materials can be directly modified, and then step S2 can be executed to adaptively recalculate the new overall stacking pattern.
[0038] The template-based adaptive stack generation method of this application has the following advantages: 1. Improve planning efficiency, shorten planning time, reduce workload, quickly calculate palletizing schemes, improve overall palletizing efficiency, and enable palletizing robots to be put into production more quickly; 2. Reduced implementation difficulty: No complex programming or repeated debugging is required. The required stacking pattern can be generated adaptively through visual layout software and simple data input. The technical requirements for operators are low, thus lowering the implementation threshold. 3. Improve space utilization and stability, optimize stack layout, rationally plan the location of stacked materials, reduce gaps, and improve pallet space utilization; at the same time, optimize the spacing between stacked materials to ensure stack stability, reduce the risk of collapse, and ensure stacking quality and efficiency. 4. Enhance the flexibility of stacking plan: Based on the stacking template, the stacking pattern can be adaptively adjusted according to changes in material size to meet different production needs without the need for redesign and debugging, and can quickly adapt to production changes; 5. Ensure stacking safety: By calculating the contact area between upper and lower layers, an alarm is issued for stacks with insufficient contact area, prompting operators to make timely adjustments to prevent stack collapse and ensure production safety.
[0039] Secondly, embodiments of this application provide a template-based adaptive stacking generation system, wherein the system implements the template-based adaptive stacking generation method described in any of the above embodiments during operation.
[0040] Specifically, the system in this embodiment includes: The template generation module obtains a preset stacking layout template and information on the materials to be stacked, and calculates the relative position information and stacking information of each material in the stacking layout template; wherein, the stacking layout template is generated based on the shape of the materials to be stacked; The stacking pattern generation module matches the material to be stacked with the stacking pattern layout template based on the material information, relative position information, and stacking pattern information, so that the material to be stacked is arranged according to the stacking pattern layout template to obtain a single-layer stacking pattern. The stacking module stacks multiple single-layer stacks according to preset merging rules to generate an overall stacking stack. The stacking pattern optimization module obtains the preset material gap, adjusts the arrangement of materials in the overall stacking pattern according to the preset material gap, and generates the actual stacking pattern.
[0041] It should be noted that the template-based adaptive stacking generation system device provided in this embodiment is used to implement the above-described method implementation method, and will not be repeated as already described. As used above, the terms "module," "unit," "subunit," etc., can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the above embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0042] Thirdly, embodiments of this application provide an electronic device, as shown in block diagram 4, which illustrates an exemplary embodiment of the electronic device. As shown in 4, the electronic device may include a processor 11 and a memory 12 storing computer program instructions.
[0043] Specifically, the processor 11 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0044] The memory 12 may include a large-capacity storage device for data or instructions. For example, and not limitingly, the memory 12 may include a hard disk drive (HDD), a floppy disk drive, a solid-state drive (SSD), flash memory, an optical disk drive, a magneto-optical disk drive, magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 12 may include removable or non-removable (or fixed) media. Where appropriate, the memory 12 may be internal or external to a data processing device. In a particular embodiment, the memory 12 is non-volatile memory. In a particular embodiment, the memory 12 includes read-only memory (ROM) and random access memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), an electrically alterable read-only memory (EAROM), or flash memory, or a combination of two or more of these. Where appropriate, the RAM can be Static Random-Access Memory (SRAM) or Dynamic Random-Access Memory (DRAM). DRAM can be Fast Page Mode Dynamic Random-Access Memory (FPMDRAM), Extended Data Out Dynamic Random-Access Memory (EDODRAM), Synchronous Dynamic Random-Access Memory (SDRAM), etc.
[0045] The memory 12 can be used to store or cache various data files that need to be processed and / or communicated, as well as possible computer program instructions executed by the processor 11.
[0046] The processor 11 reads and executes computer program instructions stored in the memory 12 to implement any of the template-based adaptive stacking generation methods in the above embodiments.
[0047] In one embodiment, the electronic device may further include a communication interface 13 and a bus 10. As shown in Figure 4, the processor 11, memory 12, and communication interface 13 are connected via the bus 10 and communicate with each other.
[0048] The communication interface 13 is used to enable communication between the various modules, devices, units, and / or equipment in the embodiments of this application. The communication port 13 can also enable data communication with other components such as external devices, image / data acquisition devices, databases, external storage, and image / data processing workstations.
[0049] Bus 10 includes hardware, software, or both, that couples components of an electronic device together. Bus 10 includes, but is not limited to, at least one of the following: data bus, address bus, control bus, expansion bus, and local bus. For example, and not as a limitation, bus 10 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses, or a combination of two or more of these. Where appropriate, bus 10 may include one or more buses. Although specific buses are described and illustrated in the embodiments of this application, this application considers any suitable bus or interconnection.
[0050] Fourthly, embodiments of this application provide a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the template-based adaptive stacking generation method provided in the first aspect.
[0051] The readable storage medium may be more specifically adopted, including but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device, or any suitable combination thereof.
[0052] In a possible implementation, the present invention can also be implemented as a program product comprising program code, which, when the program product is run on a terminal device, is used to cause the terminal device to perform steps implementing the template-based adaptive stacking generation method provided in the first aspect.
[0053] The program code for executing the present invention can be written in any combination of one or more programming languages. The program code can be executed entirely on the user device, partially on the user device, as a standalone software package, partially on the user device and partially on a remote device, or entirely on a remote device.
[0054] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0055] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A template-based adaptive stacking pattern generation method, characterized in that, include: Obtain a preset stacking layout template and information on materials to be stacked, and calculate the relative position information and stacking information of each material in the stacking layout template, including: The stack layout template is traversed and analyzed according to a preset reference position to obtain the stack information of the template, which includes the template material size, template material direction and template pallet size; The relative position information of the material in the stacking layout template is calculated based on the template material size, template pallet size, and preset reference position, wherein the preset reference position is the center or corner of the pallet; wherein the stacking layout template is generated according to the shape of the material to be stacked; Based on the material information to be stacked, the relative position information, and the stack type information, the material to be stacked is matched with the stack type layout template so that the material to be stacked is arranged according to the stack type layout template to obtain a single-layer stack type. Multiple single-layer stack types are stacked according to preset merging rules to generate an overall stack type. The merging rules include: If multiple single-layer stacks have the same stack layout, then the even-numbered single-layer stacks will be rotated according to the preset rotation angle. If multiple single-layer stack types have different stack types, calculate the first contact area between the material and the pallet in the single-layer stack type, sort the values of the first contact area in descending order, and stack the corresponding single-layer stack types in sequence according to the sorting results. Calculate the second contact area between two single-layer stacks. If the second contact area is less than a preset threshold, output a collapse risk warning message. Obtain the preset material gap, adjust the material arrangement in the overall palletizing pattern according to the preset material gap, and generate the actual palletizing pattern.
2. The method according to claim 1, characterized in that, The stacking information includes the template material size, template pallet size, and template material orientation in the stacking layout template; the material information to be stacked includes the material size to be stacked and the pallet size to be stacked. The step of matching the material to be palletized with the pallet layout template based on the material information, relative position information, and pallet type information includes: Based on the dimensions of the material to be stacked, the dimensions of the pallet to be stacked, and the orientation of the template material, the dimensions of the template material and the template pallet in the stack layout template are adjusted to obtain an initial single-layer stack. The materials in the initial single-layer stack are traversed in a preset order, the moving direction is determined according to the relative position information, and the materials to be stacked are translated according to the moving direction. During the translation process, the overlapping area between each material in the initial single-layer stack is calculated. When the overlapping area is equal to zero, the translation operation is stopped.
3. The method according to claim 1, characterized in that, The method further includes: Obtain the actual pallet size and the preset pallet edge gap, and optimize and adjust the actual pallet stacking pattern according to the actual pallet size and the preset pallet edge gap so that the distance between the material and the pallet edge is not less than the preset pallet edge gap.
4. The method according to claim 1, characterized in that, The process of generating the stack layout template includes: Based on the shape of the material to be palletized, a pallet layout template is generated using visual drawing software. The pallet layout template contains the position information, size information, and palletizing direction of each palletized material.
5. A template-based adaptive stacking generation system, characterized in that, The system implements the template-based adaptive stacking generation method as described in any one of claims 1 to 4 during operation, and the system comprises: The template generation module acquires a preset stacking layout template and information on the materials to be stacked, and calculates the relative position information and stacking information of each material in the stacking layout template, including: The stack layout template is traversed and analyzed according to a preset reference position to obtain the stack information of the template, which includes the template material size, template material direction and template pallet size; The relative position information of the material in the stacking layout template is calculated based on the template material size, template pallet size, and preset reference position, wherein the preset reference position is the center or corner of the pallet; wherein the stacking layout template is generated according to the shape of the material to be stacked; The stacking pattern generation module matches the material to be stacked with the stacking pattern layout template based on the material information, relative position information, and stacking pattern information, so that the material to be stacked is arranged according to the stacking pattern layout template to obtain a single-layer stacking pattern. The stacking module stacks multiple single-layer stacks according to preset stacking rules to generate an overall stacking pattern. The stacking rules include: If multiple single-layer stacks have the same stack layout, then the even-numbered single-layer stacks will be rotated according to the preset rotation angle. If multiple single-layer stack types have different stack types, calculate the first contact area between the material and the pallet in the single-layer stack type, sort the values of the first contact area in descending order, and stack the corresponding single-layer stack types in sequence according to the sorting results. Calculate the second contact area between two single-layer stacks. If the second contact area is less than a preset threshold, output a collapse risk warning message. The stacking pattern optimization module obtains the preset material gap, adjusts the arrangement of materials in the overall stacking pattern according to the preset material gap, and generates the actual stacking pattern.
6. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the template-based adaptive stacking generation method as described in any one of claims 1 to 4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the template-based adaptive stacking generation method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Arrangements Applied in Fixed or Mobile Automatic Palletizers
BR202014022378U2
Dragging type palletizing machine and work method thereof
CN109335697A