A method for simulating the placement of goods
By simulating the placement of goods, the problem of cluttered, squeezed goods and low space utilization in the shopping basket is solved, automated unmanned loading is realized, and the goods are ensured to be undamaged and compactly placed.
Patent Information
- Application Number
- CN202111508207.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-10
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-12-10
AI Technical Summary
Existing technology cannot realize automated and unmanned loading of goods in shopping baskets, resulting in the need for manual completion of the loading process. There are problems such as messy placement of goods, damage due to extrusion, and low space utilization.
By simulating the placement method of goods, the size information of goods and shopping baskets is obtained, and the goods are divided into vertical, regular and irregular lying, and a three-dimensional simulation algorithm is used to determine the placement strategy, optimize the number of shopping baskets and placement parameters, and realize Automated goods placement.
It realizes the automated, squeeze-free and compact placement of goods in the shopping basket, ensuring that the goods are not damaged, improving space utilization, and achieving the goal of automated and unmanned loading.
Smart Images

Figure CN114155041B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of intelligent loading, and in particular to a method for simulating the placement of goods. Background Art
[0002] Currently, there is no automated technology that can place goods in shopping malls in an orderly, compact and intact manner. As a result, the last link of loading still needs to be completed manually, and unmanned automatic picking and loading cannot be achieved throughout the process. Summary of the invention
[0003] To this end, an embodiment of the present invention provides a method for simulating the placement of goods to solve the problems of messy placement of goods, squeezed and damaged goods, and low space utilization that may occur when placing goods in a shopping basket.
[0004] In order to achieve the above object, the embodiments of the present invention provide the following technical solutions:
[0005] In one aspect of the embodiments of the present invention, a method for simulating the placement of goods is provided, comprising:
[0006] Acquire the size information of the goods and the size information of the shopping basket, and select the goods to be placed according to the size information of the goods and the size information of the shopping basket; determine the number of the shopping baskets according to the total volume of the goods to be placed;
[0007] Obtaining basic information of the goods to be placed, and classifying the goods to be placed into upright goods, regularly lying goods, and irregularly lying goods according to the basic information;
[0008] The upright commodities, the regularly lying commodities and the irregularly lying commodities are sequentially placed in the shopping cart, and the overall placement steps are output as a placement strategy.
[0009] Further, the total volume V1 of the goods to be placed is divided by the volume V0 of the shopping basket;
[0010] Among them, when V1 / V0≤0.9, 1 shopping basket is required; when V1 / V0>0.9, at least 2 shopping baskets are required; when V1 / V0>1.8, at least 3 shopping baskets are required.
[0011] Furthermore, the width, length and height of a single shopping basket are x0, y0 and z0, and the width and length of the delivery port for delivering the goods to be placed are a and b, and the width a of the delivery port is consistent with the width x0 and length of the shopping basket;
[0012] The shopping basket is located below the delivery port, and in the initial position, the center point of the delivery port and the center point of the shopping basket are on the same vertical line;
[0013] Defining placement parameters, where the placement parameters are used to indicate the placement direction of the shopping basket relative to the delivery port, and movement parameters of the shopping basket relative to the delivery port;
[0014] Establishing a coordinate system, wherein the xy plane of the coordinate system is parallel to the plane of the delivery port, the first wide side of the delivery port is parallel to the x-axis of the coordinate system, and the first long side of the delivery port is parallel to the y-axis of the coordinate system;
[0015] When the first parameter of the placement parameter is 00, it means that the first long side of the shopping basket is parallel to the first long side of the delivery port; when the first parameter of the placement parameter is 01, it means that the first wide side of the shopping basket is parallel to the first long side of the delivery port; when the first parameter of the placement parameter is 10, it means that the second long side of the shopping basket is parallel to the first long side of the delivery port; when the first parameter of the placement parameter is 11, it means that the second wide side of the shopping basket is parallel to the first long side of the delivery port;
[0016] The second, third, and fourth parameters of the placement parameters respectively represent the movement parameters of the shopping basket relative to the shipping port in the x-axis, y-axis, and z-axis directions in the coordinate system.
[0017] Further, the goods to be placed are approximately formed into a placing body and then the size is obtained;
[0018] Set the width, length and height of the vertically placed product to xn, yn and zn; where zn≤z0 and xn≥yn; sort xn from large to small, in order of xn1, xn2, xn3, etc.;
[0019] Set the width, length and height of the products placed in the rule as xm, ym, zm; where zm≤z0, xm≥ym; sort xm from large to small, in order of xm1, xm2, xm3...;
[0020] Set the width, length and height of the irregularly placed goods to xo, yo and zo; where zo≤z0 and xo≥yo; sort xo from large to small, in order of xo1, xo2, xo3…
[0021] Furthermore, when one shopping basket is needed, the placement of goods includes:
[0022] Step 100: When the width of the goods to be placed is smaller than the width of the shopping basket, that is, xn1≤x0, xm1≤x0 and xo1≤x0, the goods to be placed are placed horizontally, including:
[0023] Step 10: Simulate placing the upright goods, sort the upright goods from large to small according to their width, and place the upright goods in sequence;
[0024] Step 11: The width, length, and height of the first vertically placed commodity are xn1, yn1, and zn1, and the placement method is horizontal placement in a single row. The first placement parameter corresponding to the placement step of the first vertically placed commodity is (00, 0, b / 2 - y0 / 2, 0);
[0025] Step 12: After placing the first vertically placed commodity, place the second vertically placed commodity. The width, length, and height of the second vertically placed commodity are xn2, yn2, and zn2;
[0026] a) When the sum of the widths of the first vertically placed commodity and the second vertically placed commodity is not greater than the width of the shopping basket, that is, xn2 ≤ x0 - xn1, then the second vertically placed commodity is horizontally placed in parallel with the first vertically placed commodity in the same row, and the second placement parameter is (00, -xn1, b / 2 - y0 / 2, 0);
[0027] b) When the sum of the widths of the first vertically placed commodity and the second vertically placed commodity is greater than the width of the shopping basket, that is, xn2 > x0 - xn1,
[0028] i. Determine that when the sum of the lengths of the second vertically placed commodity and the first vertically placed commodity is not greater than the length of the shopping basket, that is, yn2 ≤ y0 - yn1, then the second vertically placed commodity is horizontally placed in a new single row, and the second placement parameter is
[0029] (00, 0, b / 2 - y0 / 2 - yn1, 0);
[0030] ii. yn2 > y0 - yn1,
[0031] ① If z0 - zn1 ≥ zn2,
[0032] a) If yn1 ≥ yn2, then the xn2 commodity is stacked vertically on the xn1 commodity, and the placement parameter is (00, 0, b / 2 - y0 / 2, zn1);
[0033] b) If yn1 < yn2, then the placement order of xn2 and xn1 needs to be reversed;
[0034] ② If z0 - zn1 < zn2, then it is necessary to add a shopping basket and place the second vertically placed commodity in it.
[0035] Furthermore, Step 10 further includes:
[0036] Step 13: After placing the second vertically placed commodity, place the third vertically placed commodity. The width, length, and height of the third vertically placed commodity are xn3, yn3, and zn3;
[0037] a) If xn2 ≤ x0 - xn1,
[0038] i. If xn3≤x0-xn1-xn2, the third standing product can be placed in a row with the first standing product and the second standing product, and the third placement parameter is (00, -xn1-xn2, b / 2-y0 / 2, 0);
[0039] ii. If xn3>x0-xn1-xn2,
[0040] ① If yn3≤yn1-yn2, xn3≤x0-xn1, the third vertically placed commodity can be placed in a row parallel to the second vertically placed commodity, and the third placement parameter is (00, -xn1-xn2, b / 2-y0 / 2-yn2, 0);
[0041] ② Otherwise, the third vertical product is placed horizontally in a new row, and the placement parameters are (00, 0, b / 2-y0 / 2-yn1, 0);
[0042] b) If xn2>x0-xn1,
[0043] i. If xn3≤x0-xn1, the third vertically placed product is placed horizontally in a row parallel to the first vertically placed product, and the third placement parameter is (00, -xn1, b / 2-y0 / 2, 0);
[0044] ii. If xn3>x0-xn1, repeat the entire algorithm of step 12 above to obtain the placement parameters of the third upright product.
[0045] Furthermore, step 100 also includes:
[0046] Step 20: Arrange the regular lying goods, the regular lying goods include: lying rectangular goods and lying cylindrical goods; the lying rectangular goods are sorted from large to small according to the bottom plane area, in order of a1, a2, a3...; the lying cylinders are sorted from large to small according to the width, in order of b1, b2, b3...; place the regular lying goods in the remaining space after placing the upright goods, and the remaining space needs to dynamically calculate the space parameters and the number of spaces to be regenerated after placing the goods; specifically including:
[0047] Step 21: For the rectangular products placed in a row, in the remaining space, first calculate whether space 1 is large enough, and then calculate space 3 after space 1 is full:
[0048] ① If ya1≤yt1, the placement parameters of the a1th item are (10, 0, b / 2-y0 / 2, 0);
[0049] ②If yal>yt1
[0050] a) If zt3n>za1 and yt3n>ya1, then the placement parameters of the a1th product are (00, 0, b / 2-y0 / 2+∑y(n-1), zn);
[0051] b) Otherwise,
[0052] i. If ya1≤xt2, and xa1≤yt2, then the placement parameters of the a1th item are (01, y0 / 2-a / 2, b / 2-x0 / 2, 0);
[0053] ii. Otherwise, item a1 must be placed in a new shopping cart;
[0054] ③The anth product
[0055] a) If ∑zan≤Z0, then the anth item is stacked on top of the a(n-1)th item, and the parameters are (10, 0, b / 2-y0 / 2, ∑za(n-1));
[0056] b) If ∑zan>Z0,
[0057] i. If yan≤yt1-ya1, the placement parameters of the anth product are (10, 0, b / 2-y0 / 2+ya1, 0);
[0058] ii. If yan>yt1-ya1, repeat the algorithm of step ②;
[0059] Step 22: After placing the rectangular products, calculate the remaining space and place the cylindrical products. For the cylindrical products, first calculate whether space 1 is large enough in the remaining space. After space 1 is full, check space 3. After space 3 is full, check space 3 again. The algorithm is the same as that for placing the rectangular products. After placing the cylindrical products, calculate the number of remaining spaces and parameters.
[0060] Furthermore, step 100 also includes:
[0061] Step 30: Simulate placing the irregularly placed goods;
[0062] First, the irregularly placed goods are sorted according to their compression resistance, with goods with high compression resistance placed first and goods with low compression resistance placed later. Then, the irregularly placed goods are sorted from large to small according to their width and placed in order from large to small.
[0063] Furthermore, when one shopping basket is needed, the placement of goods includes:
[0064] Step 200: If xn1>x0, xm1≤x0 and xo1≤x0, the first product is placed vertically, and the initial placement parameters of the AGV shopping basket are (01, y0 / 2-a / 2, b / 2-x0 / 2, 0). Other corresponding parameters are adjusted accordingly, but the placement order and algorithm are the same as step 100;
[0065] Step 300: If xn1≤x0, xm1>x0 or xo1>x0
[0066] ① Assuming xm1>x0, xn≤x0-max(ym), xn-1>x0-max(ym), if y0-ym1≥∑y(n-1), then the first product to be placed is horizontal, and the parameters and algorithm are the same as step 100, but when placing the regular products, give priority to the products with xm>x0; or, assuming xo1>x0, xn≤x0-max(yo), xn-1>x0-max(yo), if y0-yo1≥∑y(n-1), then the first product to be placed is horizontal, and the parameters and algorithm are the same as step 100, but when placing the irregular products, give priority to the products with xo>x0;
[0067] ② Otherwise, all products are placed vertically, and the initial placement parameters of the AGV shopping basket are (01, y0 / 2-a / 2, b / 2-x0 / 2, 0). Other corresponding parameters are adjusted accordingly, but the placement order and algorithm are the same as step 100;
[0068] Step 400: If xn1>x0, xm1>x0 or xo1>x0, all products are placed vertically, and the initial placement parameters of the AGV shopping basket are (01, y0 / 2-a / 2, b / 2-x0 / 2, 0). Other corresponding parameters are adjusted accordingly, but the placement order and algorithm are the same as step 100. However, when placing regular or irregular products, products with xm>x0 or xo>x0 are placed first.
[0069] Furthermore, when two shopping baskets are needed, the placement of goods includes:
[0070] Put products from the same temperature zone in the same shopping cart, for example: put 1 room temperature product and 1 fresh product;
[0071] The volumes of commodities in different temperature zones are calculated and sorted. The commodities in the same temperature zone with the largest volume are placed first. After the simulated placement of commodities in this temperature zone is completed, the surplus commodities are placed in another basket together with commodities in other temperature zones for simulated placement.
[0072] When two shopping baskets are needed, the arrangement of goods includes:
[0073] The order of temperature zones is room temperature, frozen and refrigerated.
[0074] The embodiments of the present invention have the following advantages:
[0075] The embodiment of the present invention discloses a method for simulating the placement of goods, which realizes the automatic placement of goods ranging from frozen products to fresh products to normal temperature goods in a shopping basket through a three-dimensional simulation method and algorithm, and achieves the effects of not damaging the goods, placing them in an orderly and compact manner, and maximizing the placement quantity. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.
[0077] The structures, proportions, sizes, etc. illustrated in this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with the technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantial technical significance. Any structural modification, change in proportion or adjustment of size shall still fall within the scope of the technical contents disclosed in the present invention without affecting the effects and purposes that can be achieved by the present invention.
[0078] Figure 1 A schematic diagram of a flow chart of a method for simulating the placement of goods provided by an embodiment of the present invention;
[0079] Figure 2 A schematic diagram of the structure of the maximum remaining available space provided by an embodiment of the present invention;
[0080] Figure 3 It is a structural schematic diagram of simulating the placement effect of an embodiment of the present invention;
[0081] Figure 4 A schematic diagram of the structure of loading goods into a shopping basket from a delivery port provided in an embodiment of the present invention.
[0082] In the figure: 51 - available space 1, 52 - available space 2, 53 - available space 3. DETAILED DESCRIPTION
[0083] The following is a description of the implementation of the present invention by specific embodiments. People familiar with the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0084] The terms such as "upper", "lower", "left", "right", "middle", etc. cited in this specification are only for the convenience of description and are not intended to limit the scope of implementation of the present invention. Changes or adjustments to their relative relationships should be regarded as within the scope of implementation of the present invention without substantially changing the technical content.
[0085] Example
[0086] The method simulates the actual placement of goods through a three-dimensional simulation method, and realizes the automatic and non-squeezing compact placement of goods.
[0087] refer to Figure 1-4 As shown, an embodiment of the present invention provides a method for simulating the placement of goods, comprising:
[0088] Obtain the size information of the goods and the size information of the shopping basket, and filter out the goods to be placed according to the size information of the goods and the size information of the shopping basket; determine the number of shopping baskets according to the total volume of the goods to be placed.
[0089] The basic information of the goods to be placed is obtained, and the goods to be placed are divided into upright goods, regularly lying goods and irregularly lying goods according to the basic information; the basic information includes: packaging type, pressure resistance, regular shape and size, and the goods are determined according to these properties to divide the goods into upright and lying.
[0090] Place upright goods, regularly placed goods, and irregularly placed goods in the shopping cart in sequence, and output the overall placement steps as a placement strategy. For example, when placing goods, first place upright goods in rows, then place regularly placed goods in layers, then place fresh goods with high pressure resistance, and finally place fresh goods with low pressure resistance.
[0091] First, we calculate the number of shopping baskets required by volume. We compare the sum of the volumes of all the goods in the order with the internal volume of the shopping basket. If it is greater than 1, at least 2 shopping baskets are required. However, in order to leave redundancy, we use the rule that if it is greater than 0.9, at least 2 shopping baskets are required, and so on.
[0092] When calculating, the concept of the maximum remaining available space is introduced to calculate whether there is enough space to store the goods.
[0093] Section 1: Definitions
[0094] 1. Definition of placement method
[0095] Vertical placement: the product is placed vertically, with the height greater than the thickness; Horizontal placement: the product is placed horizontally, with the height not greater than the thickness; Horizontal placement: placed along the width of the shopping basket (X axis); Vertical placement: placed along the length of the shopping basket (Y axis); Single horizontal placement: only one product is placed horizontally along the width of the shopping basket (X axis); Parallel horizontal placement: place the second product horizontally in the same row as the single horizontal product; Parallel horizontal placement: place products horizontally in the same column next to the parallel horizontal products; Parallel vertical placement: place products vertically in the same row as the horizontal products; Stacking: align the corners and place products on top of the already placed products.
[0096] 2. Define the product attributes, including the following attributes:
[0097] ■Packaging type: cartons, bottles, flat barrels, round barrels, bags, spheres, oblate bodies, boxes, trays, long strips of fresh food, short strips of fresh food
[0098] ■Compression resistance, divided into 3 levels, level 1 high compression resistance, level 2 medium compression resistance, level 3 low compression resistance; shape and size,
[0099] ◆Regular shapes and their dimensions: Cylinders (diameter and height), cuboids (length, width and height), spheres (diameter). Irregular shapes are calculated based on approximate regular shapes.
[0100] Should I place the goods upright or sideways?
[0101] The height, width and thickness of the vertically placed products should be greater than the thickness;
[0102] ·The length, height and thickness of the goods to be laid out, with the height not exceeding the thickness;
[0103] Volume: Regular shape volume, approximate volume of irregular shapes
[0104] Temperature zone: low temperature freezing 000, high temperature freezing 001, low temperature refrigeration 010, high temperature refrigeration 011, normal temperature 100
[0105] 3. Definition of commodity placement parameters:
[0106] like Figure 4As shown, the placement parameters include the orientation of the AGV shopping basket, the distance and height from the standard cargo position, etc. For example: (00, 100, 100, 0), where 00 means that the vertical direction of the shopping basket is the positive direction of the Y axis, 01 means that the horizontal direction is the positive direction of the Y axis, 10 means that the vertical direction is the negative direction of the Y axis, and 11 means that the horizontal direction is the negative direction of the Y axis. The middle 100 means that the position is 100 mm in the X-axis direction of the center point of the standard shipping port, and the last 100 means that the position is 100 mm in the Y-axis direction of the center point of the standard shipping port. The last parameter 0 means that the height is 0;
[0107] Specifically, a coordinate system is established, wherein the xy plane of the coordinate system is parallel to the plane of the delivery port, the first wide side of the delivery port is parallel to the x-axis of the coordinate system, and the first long side of the delivery port is parallel to the y-axis of the coordinate system;
[0108] When the first parameter of the placement parameter is 00, it means that the first long side of the shopping basket is parallel to the first long side of the delivery port; when the first parameter of the placement parameter is 01, it means that the first wide side of the shopping basket is parallel to the first long side of the delivery port; when the first parameter of the placement parameter is 10, it means that the second long side of the shopping basket is parallel to the first long side of the delivery port; when the first parameter of the placement parameter is 11, it means that the second wide side of the shopping basket is parallel to the first long side of the delivery port;
[0109] The second, third, and fourth parameters of the placement parameters respectively represent the movement parameters of the shopping basket relative to the delivery port in the x-axis, y-axis, and z-axis directions in the coordinate system.
[0110] 4. Definition of the maximum remaining available space:
[0111] like Figure 2 , 3 As shown in the figure, after placing the goods, the largest independent three-dimensional space left in the shopping cart can be used to place goods, such as Figure 1 Assume that after placing the goods, they are approximately a rectangular solid xt / yt / zt, then the remaining space 1 is xt1 / yt1 / zt1=x0 / y0-yt / z0, space 2 is xx2 / yt2 / zt2=x0-xt / y0 / z0, and space 3 is xt3 / yt3 / zt3=x0 / yt / z0-zt.
[0112] Part 2: Based on the above definition, calculate and simulate the process of placing goods and calculate the placement parameters
[0113] Assume that the width and length of the lifting cargo bag outlet are ab, and the width, length and height of the shopping basket are assumed to be x0, y0, z0, where: a=x0.
[0114] The width, length and height of the upright product are xn, yn, zn, zn≤z0, xn≥yn. Sort xn from large to small, in order: xn1, xn2, xn3…
[0115] The length, width, and height of the regularly placed goods are xm, ym, and zm respectively, where zm ≤ z0, xm ≥ ym. Sort xm from largest to smallest, which are xm1, xm2, xm3... in sequence.
[0116] The length, width, and height of the irregularly placed goods are xo, yo, and zo respectively, where zo ≤ z0, xo ≥ yo. Sort xo from largest to smallest, which are xo1, xo2, xo3... in sequence.
[0117] First, calculate the number of shopping baskets needed. Add up the volumes of the order goods to get the total volume V1 of the order goods, and divide it by the shopping basket volume V0. If V1 / V0 > 0.9, then at least 2 shopping baskets are needed. If V1 / V0 > 1.8, then at least 3 shopping baskets are needed, and so on.
[0118] I. If V1 / V0 ≤ 0.9,
[0119] Step 100: A. If xn1 ≤ x0, xm1 ≤ x0 and xo1 ≤ x0, then all goods are placed horizontally.
[0120] Step 10: First step, simulate placing all the vertically placed goods
[0121] 1. The xn1th good is placed first, and the placement method is a single - row horizontal placement, with the placement parameters being (00, 0, b / 2 - y0 / 2, 0).
[0122] 2. The xn2th good is placed second
[0123] a) If xn2 ≤ x0 - xn1, then the xn2th good is placed horizontally in parallel with the xn1th good in the same row, with the placement parameters being (00, -xn1, b / 2 - y0 / 2, 0)
[0124] b) If xn2 > x0 - xn1,
[0125] i. If yn2 ≤ y0 - yn1, then the xn2th good is a new single - row horizontal placement, with the placement parameters being (00, 0, b / 2 - y0 / 2 - yn1, 0).
[0126] ii. If yn2 > y0 - yn1,
[0127] 1. If z0 - zn1 ≥ zn2,
[0128] a) If ym1 ≥ yn2, then the xn2th good can be stacked on top of the xn1th good, with the placement parameters being (00, 0, b / 2 - y0 / 2, zn1).
[0129] b) If yn1 < yn2, then the placement order of the xn2th and xn1th goods needs to be reversed.
[0130] 2. If \(z0 - zn1 \lt zn2\), then a shopping basket must be added and the \(xn2\)th item should be placed in it.
[0131] 3. The \(xn3\)th item is the third to be placed.
[0132] a) If \(xn2 \leq x0 - xn1\),
[0133] i. If \(xn3 \leq x0 - xn1 - xn2\), then the \(xn3\)th item can be placed horizontally in parallel with the \(xn1\)th and \(xn2\)th items in a row, and the placement parameters are \((00,, -xn1 - xn2, b / 2 - y0 / 2, 0)\).
[0134] ii. If \(xn3 \gt x0 - xn1 - xn2\),
[0135] 1. If \(yn3 \leq yn1 - yn2\) and \(xn3 \leq x0 - xn1\), then the \(xn3\)th item can be placed horizontally in parallel with the \(xn2\)th item in a column, and the placement parameters are \((00, -xn1 - xn2, b / 2 - y0 / 2 - yn2, 0)\).
[0136] 2. Otherwise, the \(xn3\)th item is placed horizontally alone in a new row, and the placement parameters are
[0137] (00, 0, b / 2 - y0 / 2 - yn1, 0).
[0138] b) If \(xn2 \gt x0 - xn1\),
[0139] i. If \(xn3 \leq x0 - xn1\), then the \(xn3\)th item is placed horizontally in parallel with the \(xn1\)th item in a row, and the placement parameters are \((00, -xn1, b / 2 - y0 / 2, 0)\)
[0140] ii. If \(xn3 \gt x0 - xn1\), then repeat all the algorithms in 2 above to obtain the placement parameters of the \(xn3\)th item.
[0141] 4. And so on for other items.
[0142] 5. After all the placements are completed, calculate the parameters of the remaining space, as Figure 1 shown. After placing multiple items, there are multiple spaces in Space 3, which are \(xt31 / yt31 / zt31\), \(xt32 / yt32 / zt32\)... \(xt3n / yt3n / zt3n\), etc.
[0143] Step 20: Second step, simulate placing regularly shaped items
[0144] The rectangular products are arranged in descending order by the bottom plane area, which is a1, a2, a3, etc. The cylinders are arranged in descending order by width, which is b1, b2, b3, etc. After placing the goods, the remaining space needs to dynamically calculate the space parameters and the possible number of spaces.
[0145] For placing the cuboid in a row, in the remaining space, first calculate whether space 1 is large enough, and then look at space 3 after space 1 is full.
[0146] 1. If ya1≤yt1, the placement parameters of the a1th product are (10, 0, b / 2-y0 / 2, 0)
[0147] 2. If yal>yt1
[0148] a) If zt3n>za1 and yt3n>ya1, then the placement parameters of the a1th product are (10, 0, b / 2-y0 / 2+∑y(n-1), zn)
[0149] b) Otherwise,
[0150] i. If ya1≤xt2 and xa1≤yt2, then the placement parameters of the a1th item are (01, y0 / 2-a / 2, b / 2-x0 / 2, 0)
[0151] ii. Otherwise, item a1 must be placed in a new shopping cart.
[0152] 3. The first item
[0153] a) If ∑zan≤Z0, then the anth item is stacked on top of the a(n-1)th item, and the parameters are (10, 0, b / 2-y0 / 2, ∑za(n-1))
[0154] b) If ∑zan>Z0,
[0155] i. If yan≤yt1-ya1, then the placement parameters of the anth product are (10, 0, b / 2-y0 / 2+ya1, 0)
[0156] ii. If yan>yt1-ya1, repeat the algorithm in step 2.
[0157] After placing the rectangular blocks, calculate the remaining space and place the cylinders.
[0158] For the cylinders, in the remaining space, first calculate whether space 1 is large enough. When space 1 is full, check space 3. When space 3 is full, check space 3 again. The algorithm is the same as for the rectangular blocks. After placing the cylinders, calculate the number of remaining spaces and parameters.
[0159] Step 30: Step 3: Simulate the placement of irregularly shaped products
[0160] The irregularly shaped products are mainly fresh products, and are basically displayed in rows.
[0161] The algorithm is the same as above for the regular-shaped goods, but the order of placement is first sorted by pressure resistance, with goods with high pressure resistance placed first and goods with low pressure resistance placed later, and then sorted by xo from large to small.
[0162] Step 200: B. If xn1>x0, xm1≤x0 and xo1≤x0, the first placement of the goods is vertical. The initial placement parameters of the AGV shopping basket are (01, y0 / 2-a / 2, b / 2-x0 / 2, 0). Other corresponding parameters are adjusted accordingly, but the placement order and algorithm are the same as A.
[0163] Step 300: C. If xn1≤x0, xm1>x0 or xo1>x0
[0164] ① Assuming xm1>x0, xn≤x0-max(ym), xn-1>x0-max(ym), if y0-ym1≥∑y(n-1), then the first product to be placed is horizontal, and the parameters and algorithm are the same as A, but when placing the regular products, give priority to the products with xm>x0; or, assuming xo1>x0, xn≤x0-max(yo), xn-1>x0-max(yo), if y0-yo1≥∑y(n-1), then the first product to be placed is horizontal, and the parameters and algorithm are the same as A, but when placing the irregular products, give priority to the products with xo>x0;
[0165] ② Otherwise, all products are placed vertically, and the initial placement parameters of the AGV shopping basket are (01, y0 / 2-a / 2, b / 2-x0 / 2, 0). Other corresponding parameters are adjusted accordingly, but the placement order and algorithm are the same as A;
[0166] Step 400: D: If xn1>x0, xm1>x0 or xo1>x0, all products are placed vertically, and the initial placement parameters of the AGV shopping basket are (01, y0 / 2-a / 2, b / 2-x0 / 2, 0). Other corresponding parameters are adjusted accordingly, but the placement order and algorithm are the same as A. However, when placing regular or irregular products, products with xm>x0 or xo>x0 are placed first.
[0167] 2. If v1 / v0>0.9, two shopping baskets are needed. Then put the products in the same temperature zone in the same shopping basket, for example: 1 room temperature product and 1 fresh product.
[0168] The volume of the products in different temperature zones is calculated and sorted. The products in the same temperature zone with the largest volume are placed first. After the simulated placement of the products in this temperature zone is completed, the extra products are placed in another basket together with the products in other temperature zones for simulated placement. The algorithm is the same.
[0169] 3. If v1 / v0>1.8, 3 shopping carts are required. The order of temperature zones is room temperature, frozen and refrigerated. The rest is the same as 2.
[0170] And so on for more goods.
[0171] The technical solution of the present invention realizes the automatic placement of goods ranging from frozen products to fresh products to room temperature goods in a shopping basket through a three-dimensional simulation method and algorithm, and achieves the effects of not damaging the goods, placing them in an orderly and compact manner, and maximizing the placement volume.
[0172] Although the present invention has been described in detail above by general description and specific embodiments, it is obvious to those skilled in the art that some modifications or improvements can be made on the basis of the present invention. Therefore, these modifications or improvements made on the basis of not departing from the spirit of the present invention all belong to the scope of protection claimed by the present invention.
Claims
1. A method for simulating the placement of goods, characterized in that: include: Acquire the size information of the goods and the size information of the shopping basket, and select the goods to be placed according to the size information of the goods and the size information of the shopping basket; Determine the quantity of the shopping baskets according to the total volume of the goods to be placed; Obtaining basic information of the goods to be placed, and classifying the goods to be placed into upright goods, regularly lying goods, and irregularly lying goods according to the basic information; sequentially placing the upright goods, the regularly lying goods and the irregularly lying goods into the shopping cart, and outputting the overall placement steps as a placement strategy; Divide the total volume V1 of the goods to be placed by the volume V0 of the shopping basket; Among them, when V1 / V0≤0.9, 1 shopping basket is required; when V1 / V0>0.9, at least 2 shopping baskets are required; when V1 / V0>1.8, at least 3 shopping baskets are required; The width, length and height of a single shopping basket are x0, y0 and z0, and the width and length of the delivery port for delivering the goods to be placed are a and b, and the width a of the delivery port is consistent with the width x0 and length of the shopping basket; The shopping basket is located below the delivery port, and in the initial position, the center point of the delivery port and the center point of the shopping basket are on the same vertical line; Defining placement parameters, where the placement parameters are used to indicate the placement direction of the shopping basket relative to the delivery port, and movement parameters of the shopping basket relative to the delivery port; Establishing a coordinate system, wherein the xy plane of the coordinate system is parallel to the plane of the delivery port, the first wide side of the delivery port is parallel to the x-axis of the coordinate system, and the first long side of the delivery port is parallel to the y-axis of the coordinate system; When the first parameter of the placement parameter is 00, it means that the first long side of the shopping basket is parallel to the first long side of the delivery port; when the first parameter of the placement parameter is 01, it means that the first wide side of the shopping basket is parallel to the first long side of the delivery port; when the first parameter of the placement parameter is 10, it means that the second long side of the shopping basket is parallel to the first long side of the delivery port; when the first parameter of the placement parameter is 11, it means that the second wide side of the shopping basket is parallel to the first long side of the delivery port; The second, third, and fourth parameters of the placement parameters respectively represent the movement parameters of the shopping basket relative to the shipping port in the x-axis, y-axis, and z-axis directions in the coordinate system.
2. The method according to claim 1, characterized in that The goods to be placed are approximately formed into a placing body and then the size is obtained; Set the width, length and height of the vertically placed product to xn, yn and zn; where zn≤z0 and xn≥yn; sort xn from large to small, in order of xn1, xn2, xn3, etc.; Set the width, length and height of the products placed in the rule as xm, ym, zm; where zm≤z0, xm≥ym; sort xm from large to small, in order of xm1, xm2, xm3...; Set the width, length and height of the irregularly placed goods to xo, yo and zo; where zo≤z0 and xo≥yo; sort xo from large to small, in order of xo1, xo2, xo3… 3. The method according to claim 2, characterized in that When one of the shopping baskets is needed, the arrangement of goods includes: Step 100: When the widths of the goods to be placed are all less than the width of the shopping basket, that is, xn1≤x0, xm1≤x0 and xo1≤x0, then place the goods to be placed horizontally, including: Step 10: Simulate placing the vertically placed goods, sort them in descending order according to the width of the vertically placed goods, and place the vertically placed goods in sequence; Step 11: The width, length and height of the first vertically placed goods are xn1, yn1, zn1, and the placement method is a single horizontal placement. The first placement parameter corresponding to the placement step of the first vertically placed goods is (00, 0, b / 2 - y0 / 2, 0); Step 12: After placing the first vertically placed goods, place the second vertically placed goods. The width, length and height of the second vertically placed goods are xn2, yn2, zn2; a) When the sum of the widths of the first vertically placed goods and the second vertically placed goods is not greater than the width of the shopping basket, that is, xn2≤x0 - xn1, then the second vertically placed goods are placed horizontally in parallel with the first vertically placed goods in one row, and the second placement parameter is (00, -xn1, b / 2 - y0 / 2, 0); b) When the sum of the widths of the first vertically placed goods and the second vertically placed goods is greater than the width of the shopping basket, that is, xn2>x0 - xn1, i. Judge that when the sum of the lengths of the second vertically placed goods and the first vertically placed goods is not greater than the length of the shopping basket, that is, yn2≤y0 - yn1, then the second vertically placed goods are a new row of single horizontal placement, and the second placement parameter is (00, 0, b / 2 - y0 / 2 - yn1, 0); ii. yn2>y0 - yn1, ① If z0 - zn1≥zn2, a) If yn1≥yn2, then the xn2 goods are stacked vertically on the xn1 goods, and the placement parameter is (00, 0, b / 2 - y0 / 2, zn1); b) If yn1<yn2, then the placement order of xn2 and xn1 needs to be reversed; ② If z0 - zn1<zn2, then an additional shopping basket must be added to place the second vertically placed goods therein.
4. The method according to claim 3, characterized in that Step 10 also includes: Step 13: After placing the second vertically placed goods, place the third vertically placed goods. The width, length and height of the third vertically placed goods are xn3, yn3, zn3; a) If xn2≤x0 - xn1, i. If xn3≤x0 - xn1 - xn2, then the third vertically placed goods can be placed horizontally in parallel with the first vertically placed goods and the second vertically placed goods in one row, and the third placement parameter is (00, -xn1 - xn2, b / 2 - y0 / 2, 0); ii. If xn3>x0 - xn1 - xn2, ① If yn3≤yn1 - yn2, xn3≤x0 - xn1, then the third vertically placed goods can be placed horizontally in parallel with the second vertically placed goods in one column, and the third placement parameter is (00, -xn1 - xn2, b / 2 - y0 / 2 - yn2, 0); ② Otherwise, the third vertically placed goods are a new row of single horizontal placement, and the placement parameter is (00, 0, b / 2 - y0 / 2 - yn1, 0); b) If xn2>x0-xn1, i. If xn3≤x0-xn1, the third vertically placed product is placed horizontally in a row parallel to the first vertically placed product, and the third placement parameter is (00, -xn1, b / 2-y0 / 2,0); ii. If xn3>x0-xn1, repeat the entire algorithm of step 12 above to obtain the placement parameters of the third upright product.
5. The method according to claim 4, characterized in that Step 100 also includes: Step 20: Arrange the regular lying goods, the regular lying goods include: lying rectangular goods and lying cylindrical goods; the lying rectangular goods are sorted from large to small according to the bottom plane area, in order of a1, a2, a3...; the lying cylinders are sorted from large to small according to the width, in order of b1, b2, b3...; place the regular lying goods in the remaining space after placing the upright goods, and the remaining space needs to dynamically calculate the space parameters and the number of spaces to be regenerated after placing the goods; specifically including: Step 21: For the lying rectangular product, in the remaining space, first calculate whether space 1 is large enough, and then calculate space 3 after space 1 is full: ① If ya1≤yt1, the placement parameters of the a1th item are (10, 0, b / 2-y0 / 2, 0); ②If yal>yt1 a) If zt3n>za1 and yt3n>ya1, then the placement parameters of the a1th product are (00, 0, b / 2-y0 / 2+∑y(n-1), zn); b) Otherwise, i. If ya1≤xt2, and xa1≤yt2, then the placement parameters of the a1th item are (01, y0 / 2-a / 2, b / 2-x0 / 2, 0); ii. Otherwise, item a1 must be placed in a new shopping cart; ③The anth product a) If ∑zan≤Z0, then the anth item is stacked on top of the a(n-1)th item, and the parameters are (10, 0, b / 2-y0 / 2, ∑za(n-1)); b) If ∑zan>Z0, i. If yan≤yt1-ya1, the placement parameters of the anth product are (10, 0, b / 2-y0 / 2+ya1, 0); ii. If yan>yt1-ya1, repeat the algorithm of ②; Step 22: After placing the lying rectangular products, calculate the remaining space and place the lying cylindrical products; for the lying cylindrical products, first calculate whether space 1 is large enough in the remaining space. After space 1 is full, check space 3. After space 3 is full, check space 3 again. The algorithm is the same as that for the lying rectangular products. After placing the lying cylindrical products, calculate the number of remaining spaces and parameters.
6. The method according to claim 5, characterized in that Step 100 also includes: Step 30: Simulate placing the irregularly placed goods; First, the irregularly placed goods are sorted according to their compression resistance, with goods with high compression resistance placed first and goods with low compression resistance placed later. Then, the irregularly placed goods are sorted from large to small according to their width and placed in order from large to small.
7. The method according to claim 6, characterized in that When one of the shopping baskets is needed, the arrangement of goods includes: Step 200: If xn1>x0, xm1≤x0 and xo1≤x0, the first product is placed vertically, and the initial placement parameters of the AGV shopping basket are (01, y0 / 2-a / 2, b / 2-x0 / 2, 0). Other corresponding parameters are adjusted accordingly, but the placement order and algorithm are the same as step 100; Step 300: If xn1≤x0, xm1>x0 or xo1>x0 ① Assuming xm1>x0, xn≤≤x0-max(ym), xn-1>x0-max(ym), if y0-ym1≥∑y(n-1), then the first product to be placed is horizontal, and the parameters and algorithm are the same as step 100, but when placing the regular products, give priority to placing the products with xm>x0; or, assuming xo1>x0, xn≤x0-max(yo), xn-1>x0-max(yo), if y0-yo1≥∑y(n-1), then the first product to be placed is horizontal, and the parameters and algorithm are the same as step 100, but when placing the irregular products, give priority to placing the products with xo>x0; ② Otherwise, all products are placed vertically, and the initial placement parameters of the AGV shopping basket are (01, y0 / 2-a / 2, b / 2-x0 / 2, 0). Other corresponding parameters are adjusted accordingly, but the placement order and algorithm are the same as step 100; Step 400: If xn1>x0, xm1>x0or xo1>x0, all products are placed vertically, and the initial placement parameters of the AGV shopping basket are (01, y0 / 2-a / 2, b / 2-x0 / 2, 0). Other corresponding parameters are adjusted accordingly, but the placement order and algorithm are the same as step 100. However, when placing regular or irregular products, products with xm>x0 or xo>x0 are placed first.
8. The method according to claim 1, characterized in that: When two shopping baskets are needed, the arrangement of goods includes: Place products in the same temperature zone in the same shopping basket; put room temperature products in one shopping basket and fresh products in another shopping basket; The volumes of commodities in different temperature zones are calculated and sorted. The commodities in the same temperature zone with the largest volume are placed first. After the simulated placement of commodities in this temperature zone is completed, the surplus commodities are placed in another basket together with commodities in other temperature zones for simulated placement. When two shopping baskets are needed, the arrangement of goods includes: The order of temperature zones is room temperature, frozen and refrigerated.
