Method and device for generating SLAM mapping guide line

By generating SLAM mapping guide lines in the warehousing environment, and using skeleton lines and TSP algorithms to plan AGV paths, the problem of missing locations and large errors in SLAM mapping is solved, and the mapping efficiency and navigation accuracy are improved.

CN118776548APending Publication Date: 2024-10-15HEFEI GEN SONG AUTOMATION TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410877062.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

In a warehousing environment, SLAM mapping is prone to missing locations and large mapping errors, resulting in low mapping efficiency. It is especially difficult for general operators to meet the complex requirements of SLAM mapping.

Method used

By generating SLAM mapping guide lines, the skeleton lines in the deployment map are used to select AGV access points, and the TSP algorithm is used to plan the access sequence. Combined with route smoothing optimization and obstacle avoidance processing, an AGV movement path that meets the SLAM loopback detection requirements is generated.

Benefits of technology

It improves the accuracy and efficiency of SLAM mapping, ensuring that the AGV can drive efficiently and smoothly along the predetermined path, effectively avoiding obstacles, and improving navigation accuracy and operating efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118776548A_ABST
    Figure CN118776548A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of SLAM mapping, in particular to a method and device for generating an SLAM mapping guide line. According to the SLAM mapping guide line generation method provided by the invention, access point selection, access sequence planning and guide line generation are performed through the deployment map based on the target storage environment, the AGV movement guide line meeting the SLAM mapping requirement can be generated in the target storage environment, a high-accuracy suggested path is provided for the AGV, and the SLAM mapping efficiency is greatly improved. According to the invention, the problems of easy occurrence of position omission and large mapping error during SLAM mapping in a storage environment by manpower at present are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of SLAM mapping, and more specifically to: 1. a method for generating a SLAM mapping guide line, and 2. a device for generating a SLAM mapping guide line. Background Art

[0002] In a warehousing environment, SLAM (Simultaneous Localization and Mapping) mapping involves many rules, such as complete map coverage, path closure, loop detection and other complex requirements.

[0003] The current mainstream SLAM mapping method mainly relies on manually operated AGV (Automated Guided Vehicle) for implementation. This method relies heavily on the operator's professional level of SLAM mapping; and for general operators, it is quite difficult to achieve SLAM mapping that meets the requirements. This is because, during the SLAM mapping process, some locations are easily missed, resulting in incomplete map coverage; or, the path is not closed or looped in time, resulting in large mapping errors. When the above situation occurs, the AGV needs to be re-operated in the warehouse environment, which greatly reduces the efficiency of mapping. Summary of the invention

[0004] Based on this, it is necessary to provide a method and device for generating SLAM mapping guide lines to address the problems of position omission and large mapping errors that occur during the existing manual SLAM mapping in a warehousing environment.

[0005] The present invention is implemented by the following technical solutions:

[0006] In a first aspect, the present invention discloses a method for generating a SLAM mapping guide line, which is used to generate an AGV moving guide line that meets the requirements of SLAM mapping in a target storage environment.

[0007] The method for generating a SLAM mapping guide line comprises the following steps:

[0008] Step 1: Obtain the deployment map of the target storage environment;

[0009] The deployment map includes: a wall located at the periphery, M obstacles located at the interior; a passable area is formed between the M obstacles and the wall;

[0010] Step 2: extract the skeleton line of the passable area in the deployment map;

[0011] The skeleton line includes: M closed loop lines and N one-way closed lines; one end of the one-way closed line is closed and the other end is used as an entry point;

[0012] The nth one-way closed line corresponds to the nth one-way closed passage in the passable area, with a total of N one-way closed passages; n∈[1,N]; the closed loop area enclosed by the mth closed loop line covers the mth obstacle, with a total of M closed loop areas; m∈[1,M];

[0013] Step 3: Based on the size parameters of all one-way closed channels and all obstacles, select Q AGV access points on the skeleton line so that the AGV's scanning area covers the entire passable area;

[0014] Step 4: Based on the Q AGV access points, the algorithm for solving TSP is used to solve the optimal access sequence that meets the SLAM loop detection requirements;

[0015] Step 5: Connect the Q AGV access points along the skeleton line in sequence according to the optimal access order, and perform route smoothing optimization to obtain the guide line.

[0016] This method for generating SLAM mapping guide lines implements the method or process according to the embodiments of the present disclosure.

[0017] In a second aspect, the present invention discloses a device for generating a SLAM mapping guide line, which uses the method for generating a SLAM mapping guide line disclosed in the first aspect.

[0018] A SLAM mapping guide line generation system comprises: a map acquisition module, a skeleton line extraction module, an access point selection module, an access sequence planning module, and a guide line generation module.

[0019] The map acquisition module is used to obtain the deployment map of the target storage environment. The skeleton line extraction module is used to extract the skeleton lines of the passable area in the deployment map. The access point selection module is used to obtain the size parameters of all one-way closed channels and all obstacles, and select Q AGV access points based on them so that the AGV scanning area covers the entire passable area. The access sequence planning module is used to solve the optimal access sequence that meets the SLAM loop detection requirements based on the Q AGV access points using the algorithm for solving TSP. The guide line generation module is used to connect the Q AGV access points along the skeleton line in sequence according to the optimal access sequence, and perform route smoothing optimization to obtain the guide line.

[0020] The SLAM mapping guide line generation system implements the method or process according to the embodiment of the present disclosure.

[0021] In a third aspect, the present invention discloses a computer program product, including a computer program. When the computer program is executed by a processor, the steps of the method for generating a SLAM mapping guide line disclosed in the first aspect are implemented.

[0022] Compared with the prior art, the present invention has the following beneficial effects:

[0023] 1. The present invention provides a method for generating guide lines for SLAM mapping. By selecting access points, planning access sequences, and generating guide lines based on a deployment map of a target warehouse environment, an AGV mobile guide line that meets the requirements of SLAM mapping can be generated in the target warehouse environment, providing a highly accurate recommended path for the AGV, thereby greatly improving the efficiency of SLAM mapping.

[0024] 2. When selecting access points, the present invention first quickly generates a skeleton line throughout the passable area; wherein the skeleton line generates a closed loop line based on obstacles and generates a one-way closed line based on a one-way closed channel, thereby ensuring that all key areas are covered; thus, by processing and selecting access points from the skeleton line, it is possible to ensure that these access points are distributed over the entire map.

[0025] 3. The present invention uses an algorithm for solving TSP when planning the access sequence, which can not only sequentially plan the access points in a global range to form a large ring, but also sequentially plan the access points in a local obstacle area to form a small ring; in this way, it can ensure effective loop checks in the local environment to meet the SLAM loop detection requirements.

[0026] 4. The present invention uses a segmented fitting route method when generating a guide line, and comprehensively considers the obstacle avoidance factor; in this way, a guide line that meets the kinematic characteristics of the AGV can be generated, ensuring that the AGV can not only travel smoothly and efficiently along the predetermined path during operation, but also effectively avoid obstacles. In addition, the curvature and angle of the path can be accurately adjusted through the segmented fitting route to adapt to different driving environments and operating requirements, thereby improving the navigation accuracy, obstacle avoidance capability and overall operating efficiency of the AGV. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0028] Figure 1 This is a flow chart of the method for generating SLAM mapping guide lines proposed by the present invention;

[0029] Figure 2 is an example diagram of the target storage environment in the present invention;

[0030] Figure 3 for Figure 2The skeleton line distribution map corresponding to the target storage environment;

[0031] Figure 4 for Figure 2 The distribution map of AGV access points selected in the one-way closed channel of the target warehouse environment;

[0032] Figure 5 for Figure 2 Schematic diagram of inflection point expansion of obstacles in the target storage environment;

[0033] Figure 6 for Figure 2 Distribution map of access points outside obstacles and access points inside obstacles in the target storage environment;

[0034] Figure 7 for Figure 2 The total distribution map of AGV access points selected in the target warehouse environment;

[0035] Figure 8 for Figure 2 Schematic diagram of the small ring access sequence of the merged object calculated by the target storage environment;

[0036] Fig. 9 for Figure 2 The optimal access sequence diagram solved by the target storage environment;

[0037] Fig.10 For Fig. 9 Operation diagram of path splitting based on the best access order;

[0038] Fig.11 For Figure 8 Schematic diagram of the operation of route spline fitting and route obstacle avoidance after the route is segmented;

[0039] Fig.12 for Figure 2 The guide line distribution map generated corresponding to the target storage environment. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.

[0041] It should be noted that when a component is referred to as being "mounted on" another component, it may be directly on the other component or there may be a central component. When a component is considered to be "set on" another component, it may be directly set on the other component or there may be a central component at the same time. When a component is considered to be "fixed to" another component, it may be directly fixed on the other component or there may be a central component at the same time.

[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "or / and" used herein includes any and all combinations of one or more of the related listed items.

[0043] Example 1

[0044] See also Figure 1 , Figure 1 The brief process of the method for generating SLAM mapping guide lines disclosed in this embodiment 1 is shown.

[0045] It should be noted that this method is used to generate the guide line required for AGV movement in the target storage environment. This method includes the following steps:

[0046] Step 1: Get the deployment map of the target storage environment.

[0047] The deployment map may be an early on-site deployment map of the target storage environment, generally a CAD map or other identifiable digital map.

[0048] For the deployment map, it includes: walls and M obstacles. The walls are the periphery of the target storage environment, and the internal space is used for storage. The M obstacles are located inside the target storage environment. Obstacles are generally shelves, cargo boxes, etc.

[0049] Then, a passable area is formed between the M obstacles and walls. It should be noted that the passable area has taken into account the problem of safe passage of AGV, and there will be no situation where AGV cannot pass.

[0050] For ease of understanding, this embodiment 1 provides a specific example of a target storage environment. Figure 2 As shown in the figure: the wall encloses the internal storage space; the outer wall at the top has three adjacent, spaced one-way closed passages; the outer wall at the bottom has one one-way closed passage; the obstacles are shelves, which are arranged in a 4*3 array. Then, Figure 2 The internal storage space is a passable area after removing obstacles.

[0051] Step 2: Extract the skeleton lines of the traversable areas in the deployment map.

[0052] The skeleton line is the central pixel outline of the passable area, which is the premise to ensure that the AGV scanning area can cover the entire passable area. Generally, the image skeleton extraction algorithm (such as Zhang-Suen parallel iteration algorithm, K3M sequential iteration algorithm, OpenCV+skimag algorithm, etc.) can be used to process the deployment map to obtain the skeleton line of the passable area in the deployment map.

[0053] The skeleton line includes: M closed loop lines and N one-way closed lines; one end of the one-way closed line is closed, and the other end is used as an entry point.

[0054] The nth one-way closed line corresponds to the nth one-way closed channel in the passable area, with a total of N one-way closed channels; n∈[1,N].

[0055] The closed-loop area enclosed by the mth closed-loop line covers the mth obstacle, and there are M closed-loop areas in total; m∈[1,M].

[0056] For ease of understanding, this embodiment 1 provides Figure 2 The skeleton line distribution diagram corresponding to the target storage environment is as follows: Figure 3 As shown: 12 obstacles are surrounded by corresponding 12 closed lines; 4 one-way closed channels correspond to 4 one-way closed lines.

[0057] Step 3: Based on the size parameters of all one-way closed channels and all obstacles, Q AGV access points are selected on the skeleton line so that the scanning area of ​​AGV covers the entire passable area.

[0058] In simple terms, this step is to select Q AGV access points on the skeleton line as the Q locations that the AGV must pass through.

[0059] Among them, Q AGV access points meet the following principles:

[0060] The value of Q should be as small as possible, and the scanning area of ​​AGV should cover N one-way closed channels and M closed-loop areas (i.e. the entire passable area).

[0061] So:

[0062] 1. Select AGV access points for one-way closed channels:

[0063] For any one-way closed channel, its size parameters are identified, such as the length and width of the space, channel attributes (walls, shelves), etc., and access points are selected based on the rules of SLAM mapping.

[0064] The rules for SLAM mapping include:

[0065] ① If the length of the nth one-way closed channel is less than the preset scanning threshold of the AGV (determined by the laser radar carried by the AGV), the entry point of the nth one-way closed line is used as an AGV access point;

[0066] Otherwise, the middle point of the nth one-way closed line is used as an AGV access point;

[0067] Among them, when the AGV moves from the entrance point to the middle point of the nth one-way closed line, its scanning area covers the nth one-way closed channel.

[0068] That is to say, for a one-way closed channel that is too short, the AGV does not need to enter. This is because: in the area near the channel entrance, the laser radar carried by the AGV can scan all the internal information of the one-way closed channel, so the entrance point of the one-way closed channel is selected as the AGV access point. On the contrary, for a one-way closed channel that is not too short, the AGV needs to enter to ensure that the laser radar carried by the AGV can scan all the internal information of the one-way closed channel.

[0069] ② If there are adjacent one-way closed channels, consider the actual situation of overlapping scanning areas and selectively select AGV access points to reduce the total number of AGV access points.

[0070] For example, if there are at least 3 adjacent one-way closed channels, none of which are too short, and the interval between two adjacent one-way closed channels is less than the preset scanning threshold of the AGV, then when the AGV enters one of the one-way closed channels, at least half of the adjacent one-way closed channels will also be scanned. Therefore, for three adjacent one-way closed channels, there is no need to enter the middle one-way closed channel, which is equivalent to reducing one AGV access point.

[0071] For ease of understanding, this embodiment 1 provides Figure 2 The distribution map of AGV access points selected in the one-way closed channel in the target warehouse environment is as follows: Figure 4 As shown:

[0072] The outer wall at the bottom is provided with a one-way closed channel; this one-way closed channel meets the description of ①, so the one-way closed channel cancels the AGV access point.

[0073] The outer wall at the top is provided with three adjacent and spaced one-way closed channels; these three one-way closed channels meet the description of ②, then the one-way closed channels at both sides retain the AGV access points, and the one-way closed channel in the middle cancels the AGV access points.

[0074] Second, select AGV access points for obstacles:

[0075] S1, perform inflection point expansion on the mth obstacle and determine the optional access points around the mth obstacle so that the AGV scanning area covers the mth closed-loop area.

[0076] Specifically, for the mth obstacle, all its inflection points are expanded synchronously until one of the inflection points touches the skeleton line and the expansion stops; at this time, the other inflection points maintain a relatively safe distance from the skeleton line.

[0077] Select the inflection points (no more than 4 points) that can envelop the mth obstacle to the greatest extent after expansion, and use these inflection points as the optional access points in the circumference of the mth obstacle. In this way, the optional access points in the circumference of the obstacle are determined and the optional access points are ensured to be located on the skeleton line.

[0078] For ease of understanding, this embodiment 1 provides Figure 2 Schematic diagram of the inflection point expansion of obstacles in the target storage environment, as shown in Figure 5 shown.

[0079] S2, merging obstacles that meet the preset merging conditions to obtain G merged objects, eliminating some optional access points, and determining access points outside the obstacles so that the AGV scanning area covers the outside of the merged objects; G≤M.

[0080] The preset merging conditions include:

[0081] For any two obstacles, they are adjacently arranged, the distance between them is less than the preset scanning threshold of the AGV, and the AGV scanning area is larger than any one of the two obstacles.

[0082] The reasons for S2 are:

[0083] Each obstacle has its own turning point; considering that SLAM loop detection requires a small loop on the path, it is necessary to circle around the obstacle to form a closed loop. However, if all the turning points around the obstacles are circled one by one, it will be very redundant; therefore, obstacles that meet the preset merging conditions need to be merged in pairs, so that the remaining turning points can circle more obstacles and the number of small loops will be reduced.

[0084] S3, adding an obstacle interior access point to the merger so that the AGV scanning area covers the interior of the merger.

[0085] The reasons for using S3 are:

[0086] After S2 processing, some merged objects may not be scanned internally, so it is necessary to make a proper turn when making a small loop to increase the internal access points of the obstacles and scan the internal information completely. Similarly, considering the actual situation of overlapping scanning areas, only reasonable positions need to be selected as internal access points of obstacles to reduce the total number of AGV access points.

[0087] For ease of understanding, this embodiment 1 provides Figure 2 The distribution map of the access points outside obstacles and the access points inside obstacles in the target storage environment, such as Figure 6 As shown: 12 obstacles are merged into 3 merged objects; for any merged object, its four endpoints are used as obstacle external access points, and 1 obstacle internal access point is selected inside.

[0088] S4, both the access point outside the obstacle and the access point inside the obstacle are used as AGV access points.

[0089] For ease of understanding, this embodiment 1 provides Figure 2 The distribution diagram of AGV access points in the target warehouse environment is as follows: Figure 7 shown.

[0090] Step 4: Based on the Q AGV access points, the algorithm for solving TSP is used to solve the optimal access sequence that meets the SLAM loop detection requirements.

[0091] This step aims to plan the access sequence of AGV access points, which can be processed by the algorithm for solving TSP - it is recommended to use the ant colony method for solving it.

[0092] Existing algorithms generally only achieve the external large loop access sequence, that is, starting from a certain point and finally returning to that point.

[0093] This step does the following:

[0094] ① Calculate the small ring access order of the G merged objects based on all obstacle external access points and obstacle internal access points among the Q AGV access points;

[0095] For ease of understanding, this embodiment 1 provides a schematic diagram of the small ring access sequence of the merged object calculated by the target storage environment, such as Figure 8 shown.

[0096] ② Take the access order of the small rings of the G merged objects as a constraint condition and substitute it into the algorithm for solving TSP to obtain the optimal access order.

[0097] The best access sequence includes: an external large-ring access sequence and an internal small-ring access sequence.

[0098] That is to say, the small ring access order of the G merged objects is used as a constraint and participates in solving the TSP, and the large ring sequence planning is done together with the N one-way closed channels.

[0099] For ease of understanding, this embodiment 1 provides a schematic diagram of the optimal access sequence calculated by the target storage environment, such as Fig. 9 shown.

[0100] Specifically, this step uses the ant colony algorithm to solve, and will continuously try different access sequences to iteratively optimize the next access sequence strategy. The single access sequence planning algorithm process is as follows:

[0101] S1, get the access distance matrix:

[0102] Use the graph search algorithm to obtain the access distance between AGV access points. For example, the distance between AGV access point Ni and AGV access point Nj is distanceij. Build an access cost matrix to record the distance information between each AGV access point.

[0103] S2, independently planning the sequence of access points of the merge, that is, performing independent sequence planning for the AGV access points of a single merge.

[0104] Since a single merge has a small number of access points, we can use the enumeration method to try different access orders and make the access points form a closed loop; the access order with the smallest path length is the small loop access order of the merge. The closed loop path length of the g-th merge is obs_distance, g∈[1,G].

[0105] At this point, the order of visiting the small rings of obstacles has been completed.

[0106] S3, randomly select the starting access point: randomly select an AGV access point as the first access point.

[0107] S4, update the visited points and path length:

[0108] If the current access point is an access point representing an obstacle, all access points of the obstacle are marked as visited, and the total path length sum_distance = sum_distance + Σdistance is updated ij +Σobs_distance g , and record the updated access sequence, where the access sequence includes the small ring access sequence of the obstacle in step S2.

[0109] Otherwise, mark the current access point as visited and update the total path length sum_distance = sum_distance + Σdistance ij, and record the update access sequence.

[0110] This step is to forcibly integrate the small ring into the external large ring under the premise that the access order of the small ring is determined.

[0111] S5, select the next access point:

[0112] If there is no unvisited point, the single-access point sequential planning ends;

[0113] Otherwise, the next unvisited point is selected based on the ant colony algorithm, and the process returns to step S4.

[0114] Step 5: Connect the Q AGV access points along the skeleton line in sequence according to the optimal access order, and perform route smoothing optimization to obtain the guide line.

[0115] Among them, the methods of route smoothing optimization include: path splitting, route spline fitting, and route obstacle avoidance processing.

[0116] Specifically, Q AGV access points are connected in sequence along the skeleton line according to the best access order. The resulting driving paths may have different directions or overlapping paths, which are not suitable for AGV travel. Therefore, path splitting optimization is required. For example, considering that the same AGV access point may have different angles when entering and exiting, if the angle difference between the two exceeds 90°, the path is split to ensure that the AGV can travel smoothly.

[0117] For the convenience of explanation, Fig.10 For example:

[0118] The order of the connected routes is: Nx->Nd->Ny->Nn->Nm; the end direction of the path from Nd to Ny is 90°, and the starting direction of the path from Ny to Nn is 270°, and the difference between the two is 180°; then, the path is split into Nx->Nd->Ny and Ny->Nn->Nm.

[0119] Since the path splitting still follows the skeleton line, the length of the split path is too long. Therefore, route spline fitting is required. Generally, a single path can be fitted through B-spline to obtain a curved path. The starting and ending points of the curved path are the starting and ending points of the single path, and the AGV access point located in the single path is used as the control point of the B-spline.

[0120] At the same time, in the process of route spline fitting, in order to ensure the drivability of the route, route obstacle avoidance processing is also required. Among them, route obstacle avoidance processing will take into account the location of obstacles, walls and other factors that affect walking, and add additional obstacle avoidance control points as control points of the B-spline, so as to avoid interference between the route and obstacles, walls and other factors that affect walking.

[0121] For the convenience of explanation, Fig.11 For example:

[0122] If obstacle avoidance is not considered, the curve path obtained by route spline fitting may appear as follows Fig.11 The situation on the left is that the curved path interferes with the obstacle. Fig.11 On the right, after considering obstacle avoidance, an obstacle avoidance control point is added on one side of the obstacle and used as the control point of the B-spline. In this way, obstacle avoidance planning is performed on the curved path to avoid interference with obstacles.

[0123] In this way, after the above-mentioned route smoothing optimization, all single paths have corresponding curved paths and form a guide line. This guide line is used as the guide line required for AGV movement. When AGV moves along the guide line, it can adjust the driving posture by spinning to ensure safe passage.

[0124] For the convenience of explanation, Fig.12 For example:

[0125] Fig.12 The guide line in the model includes both the outer large loop and the inner small loop, which also meets the requirements of SLAM loop detection.

[0126] Example 2

[0127] This embodiment 2 discloses a device for generating a SLAM mapping guide line, which uses the method for generating a SLAM mapping guide line of embodiment 1.

[0128] A device for generating guide lines for SLAM mapping includes: a map acquisition module, a skeleton line extraction module, an access point selection module, an access sequence planning module, and a guide line generation module.

[0129] The map acquisition module is configured to obtain the deployment map of the target storage environment. The skeleton line extraction module is configured to extract the skeleton line of the passable area in the deployment map. The access point selection module is configured to obtain the size parameters of all one-way closed channels and all obstacles, and select Q AGV access points based on them so that the AGV scanning area covers the entire passable area. The access sequence planning module is configured to use the algorithm for solving TSP based on the Q AGV access points to solve the optimal access sequence that meets the SLAM loop detection requirements. The guide line generation module is configured to connect the Q AGV access points along the skeleton line in sequence according to the optimal access sequence, and perform route smoothing optimization to obtain the guide line.

[0130] Since this device uses the method for generating SLAM mapping guide lines in Example 1, it also has the same effect, which will not be repeated here.

[0131] Example 3

[0132] This embodiment 3 discloses a computer device, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the method for generating a SLAM mapping guide line disclosed in embodiment 1 are implemented.

[0133] This embodiment 3 also discloses a readable storage medium, in which computer program instructions are stored. When the computer program instructions are read and executed by a processor, the steps of the method for generating SLAM mapping guide lines disclosed in embodiment 1 are executed.

[0134] This embodiment 3 also discloses a computer program product, including a computer program. When the computer program is executed by a processor, the steps of the method for generating a SLAM mapping guide line disclosed in embodiment 1 are implemented.

[0135] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described 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.

[0136] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A method for generating a SLAM mapping guide line, characterized in that: It is used to generate AGV moving guide lines required for SLAM mapping in the target warehouse environment; The method for generating a SLAM mapping guide line comprises the following steps: Step 1: Obtain the deployment map of the target storage environment; The deployment map includes: a wall located at the periphery, M obstacles located at the interior; a passable area is formed between the M obstacles and the wall; Step 2: extract the skeleton line of the passable area in the deployment map; The skeleton line includes: M closed loop lines and N one-way closed lines; one end of the one-way closed line is closed and the other end is used as an entry point; The nth one-way closed line corresponds to the nth one-way closed passage in the passable area, with a total of N one-way closed passages; n∈[1,N]; the closed loop area enclosed by the mth closed loop line covers the mth obstacle, with a total of M closed loop areas; m∈[1,M]; Step 3: Based on the size parameters of all one-way closed channels and all obstacles, select Q AGV access points on the skeleton line so that the AGV's scanning area covers the entire passable area; Step 4: Based on the Q AGV access points, the algorithm for solving TSP is used to solve the optimal access sequence that meets the SLAM loop detection requirements; Step 5: Connect the Q AGV access points along the skeleton line in sequence according to the optimal access order, and perform route smoothing optimization to obtain the guide line.

2. The method for generating a SLAM mapping guide line according to claim 1, wherein: In step 2, the deployment map is processed using the Zhang-Suen parallel iterative algorithm to obtain the skeleton line of the traversable area in the deployment map.

3. The method for generating a SLAM mapping guide line according to claim 1, wherein: In step 3, the Q AGV access points satisfy: the value of Q is as small as possible, and the AGV scanning area covers N one-way closed channels and M closed-loop areas.

4. The method for generating a SLAM mapping guide line according to claim 3, wherein: In step 3, if the length of the nth one-way closed channel is less than the preset scanning threshold of the AGV, the entry point of the nth one-way closed line is used as an AGV access point; Otherwise, the middle point of the nth one-way closed line is used as an AGV access point; Among them, when the AGV moves from the entrance point to the middle point of the nth one-way closed line, its scanning area covers the nth one-way closed channel.

5. The method for generating a SLAM mapping guide line according to claim 3, wherein: If there are adjacently distributed one-way closed channels, considering the actual situation of overlapping scanning areas, AGV access points are selectively selected to reduce the total number of AGV access points.

6. The method for generating a SLAM mapping guide line according to claim 3, wherein: In step three, Perform inflection point expansion on the mth obstacle and determine the optional access points around the mth obstacle so that the AGV scanning area covers the mth closed loop area; The obstacles that meet the preset merging conditions are merged to obtain G merged objects, and some optional access points are eliminated to determine the access points outside the obstacles so that the AGV scanning area covers the outside of the merged objects; G ≤M; The preset merging conditions include: For any two obstacles, they are adjacently arranged, the distance between them is less than the preset scanning threshold of the AGV, and the AGV scanning area is larger than any of the two obstacles; Add obstacle interior access points to the merge so that the AGV scanning area covers the interior of the merge; Among them, both the access point outside the obstacle and the access point inside the obstacle are used as AGV access points.

7. The method for generating a SLAM mapping guide line according to claim 1, wherein: Step 4 includes: Calculate the small ring access order of G merged objects according to all obstacle external access points and obstacle internal access points among the Q AGV access points; The access order of the small rings of the G merged objects is used as a constraint condition and substituted into the algorithm for solving TSP to obtain the optimal access order; The best access sequence includes: an external large-ring access sequence and an internal small-ring access sequence.

8. The method for generating a SLAM mapping guide line according to claim 1, wherein: In step five, Methods for route smoothing optimization include: path splitting, route spline fitting, and route obstacle avoidance.

9. A device for generating a SLAM mapping guide line, characterized in that: It uses the method for generating a SLAM mapping guide line as described in any one of claims 1 to 8; The generating device of the SLAM mapping guide line comprises: A map acquisition module, which is used to obtain a deployment map of a target storage environment; A skeleton line extraction module, which is used to extract the skeleton lines of the traversable areas in the deployment map; The access point selection module is used to obtain the size parameters of all one-way closed channels and all obstacles, and select Q AGV access points based on them so that the scanning area of ​​AGV covers the entire passable area; The access sequence planning module is used to solve the optimal access sequence that meets the SLAM loop detection requirements based on Q AGV access points using the TSP algorithm; as well as The guide line generation module is used to connect Q AGV access points along the skeleton line in sequence according to the best access order, and perform route smoothing optimization to obtain the guide line.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method for generating a SLAM mapping guide line according to any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • User SLAM mapping guiding method

    CN117168440A