A multi-mobile robot path planning method, system, computer equipment and storage medium

By using the eight-connected JPS algorithm and conflict search technology in multi-mobile robot path planning, the problems of path twists and low efficiency caused by the four-connected A* algorithm are solved, achieving more efficient path planning and conflict resolution, and improving the multi-robot system. adaptability and speed.

CN114690787BInactive Publication Date: 2024-10-18XI AN JIAOTONG UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210552128.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-20
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing multi-mobile robot path planning technology, the four-connected A* algorithm results in a tortuous path and low efficiency, and cannot effectively solve the path conflicts and avoidance problems between multiple robots.

Method used

The eight-connected JPS algorithm is used as the underlying path planning method, combined with conflict search technology, to build a conflict tree and add constraints through high-level conflict search, optimize path planning, and use UTC time and time threshold δ to detect and resolve path conflicts.

Benefits of technology

It improves the diversity and efficiency of path planning, reduces the path length, and significantly improves the conflict resolution capability and operating speed of multi-robot systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114690787B_ABST
    Figure CN114690787B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of multi-mobile robot path planning, and relates to a multi-mobile robot path planning method, which abstracts the application scenario into an eight-connected grid map; performs path planning on the mobile robot, uses conflict search for path planning, and uses the JPS algorithm as a global path planning method for the underlying conflict search, and uploads the paths of all mobile robots to the high-level conflict search after they are planned; the high-level conflict search searches for conflicts between all paths; after the high-level detects conflicts, a conflict tree is constructed; at the node where the path conflicts occur, obstacles are set for the mobile robot that needs to change the path, and the mobile robot is prohibited from passing through the node; the mobile robot calls the underlying JPS algorithm for path replanning; after all conflicts are resolved, a path solution set is output, and the path is sent to the mobile robot. By integrating the JPS algorithm and the CBS algorithm, the problems of tortuous paths and low efficiency in the four-connection algorithm are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of multi-mobile robot path planning, and in particular relates to a multi-mobile robot path planning method, system, computer equipment and storage medium. Background Art

[0002] Multi-robot path planning technology has become the primary means of implementing multi-robot mobile avoidance technology in discrete manufacturing workshop environments. As smart factory environments become increasingly complex and the requirements for multi-robot systems continue to increase, this requires multi-robot path planning to be highly adaptable to factory environments and capable of simultaneously completing multi-robot path planning and multi-robot collision avoidance.

[0003] When it comes to multi-mobile robot path planning technology for discrete manufacturing workshops, the manufacturing workshop will have different processes for different types of workpieces, and the workshop logistics system needs to be quickly reconstructed. This means that the multi-mobile robot system can quickly complete mobile robot path planning, resolve path conflicts between multiple mobile robots, and avoid each other.

[0004] Conflict Base Search (CBS) is a two-layer search technique used in multi-robot path planning in discrete manufacturing workshops. CBS uses the A* algorithm at the bottom layer to plan the path of a single mobile robot. The top layer searches for conflicts between planned paths and constructs a constraint tree to control the conflicting paths of the mobile robots, thereby avoiding conflicts between the mobile robots.

[0005] The bottom layer of CBS uses four-connected A* for path planning of a single mobile robot, which has the following disadvantages:

[0006] 1. The four-connectedness in the A* algorithm means that during the algorithm's pathfinding process, the algorithm can only search for paths in the four directions of the current node, front, back, left, and right. This will result in all turns in the path being 90 degrees, and the path will be quite tortuous.

[0007] 2. The path found by the four-connected A* algorithm has multiple turns. Because F=G+H in the A* algorithm, the algorithm can easily retrieve multiple winding paths.

[0008] 3. The A* algorithm is inefficient. During the path planning process, the algorithm needs to traverse, query, and sort the OPEN table multiple times. As the algorithm progresses, the capacity of the OPEN table will further expand, greatly affecting the speed of the entire algorithm and slowing down the CBS multi-machine path planning. Summary of the Invention

[0009] The purpose of the present invention is to provide a multi-mobile robot path planning method, which solves the problems of tortuous paths and low efficiency existing in the four-connection algorithm.

[0010] The present invention is achieved through the following technical solutions:

[0011] A multi-mobile robot path planning method comprises the following steps:

[0012] Step 1: Abstract the application scenario into an eight-connected grid map, supporting the mobile robot to move from one node to the eight nodes around it;

[0013] Step 2: Path planning for the mobile robot is performed. Path planning uses conflict search, which includes low-level conflict search and high-level conflict search.

[0014] The underlying conflict search obtains the eight-connected grid map. The underlying conflict search uses the JPS algorithm as a global path planning method to plan a path from the starting point to the end point for the mobile robot based on the eight-connected grid map.

[0015] After planning the paths of all mobile robots, upload them to the high-level conflict search;

[0016] Step 3: High-level conflict search searches for conflicts between all paths;

[0017] Step 4: After the high-level system detects a conflict, it constructs a conflict tree and marks the AGV where the conflict occurs, the path cost, the time when the conflict occurs, and the location where the conflict occurs in the conflict tree. It also adds constraints to the AGV, which require marking the mobile robot that changes its path, the location where the path conflict occurs, and the time when the path conflict occurs.

[0018] At the node where the path conflicts, set up obstacles for the mobile robot that needs to change the path, prohibiting the mobile robot from passing through the node, and thus causing the mobile robot to change the path;

[0019] The mobile robot calls the underlying JPS algorithm to replan its path. If the total cost of the two mobile robots remains unchanged, the conflict is resolved directly. If the total cost increases, the mobile robot with the changed path stops at the intersection node and waits for the other mobile robot to pass before continuing forward.

[0020] Step 5: After all conflicts are resolved, the path solution set is output and the path is sent to the mobile robot, which then runs according to the new path.

[0021] Furthermore, in step 3, the high-level conflict search includes node conflict search and edge conflict search;

[0022] Node conflict search, used to detect whether two paths reach the same node within the same time threshold;

[0023] Edge conflict search is used to detect whether two paths conflict with each other within a time threshold range; or to detect whether two paths intersect within a grid within a time threshold range.

[0024] Furthermore, the time threshold is recorded as δ, which is the time it takes for the mobile robot to run half the length of the hypotenuse of a single grid at the current speed υ, specifically expressed as

[0025] The time threshold δ is used to add a margin to the time when the conflict occurs, and L is the length of the grid side.

[0026] Furthermore, the formula for detecting node conflicts is path1[i]=path2[i];

[0027] path1 represents path 1, path2 represents path 2; path1[i] represents the node reached by the path at time i; when path1 and path2 reach the same node at time i, it is judged that a conflict occurs between the nodes.

[0028] Furthermore, edge conflicts are detected within a time threshold range. Two paths are detected to see if they conflict with each other within the same time threshold range. The expression is path1[i]==path2[i+1]&&path2[i]==path1[i+1], where path1 represents path 1 and path2 represents path 2.

[0029] Detect whether the two paths intersect within the grid within the same time threshold range. At this time, detect whether path 1 and path 2 occupy the two diagonal points of a grid at the same time, that is, path1[i]+path1[i+1]=path2[i]+path2[i+1].

[0030] Furthermore, in step 2, the underlying conflict search uses UTC time as the system standard time, calculates the arrival UTC time for each node in the path planned by JPS, and stores the UTC time as an attribute on the node.

[0031] Furthermore, in step 4, the conflict tree expression constructed is Conflict(AGV1, AGV2, Time, Location), where AGV1 represents mobile robot 1, AGV2 represents mobile robot 2, Time represents the time when the conflict occurs, and Loaction represents the location where the conflict occurs;

[0032] Select one of the conflicting mobile robots and add a constraint Constraint(AGV, Time, Location), where AGV represents the mobile robot to which the constraint needs to be added.

[0033] The present invention also discloses a multi-mobile robot path planning system, comprising:

[0034] The map generation module is used to abstract the application scenario into an eight-connected grid map, supporting the mobile robot to move from one node to the eight nodes around it;

[0035] The path planning module uses conflict search, which includes a low-level conflict search module and a high-level conflict search module;

[0036] The low-level conflict search module is used to obtain the eight-connected grid map. The low-level conflict search uses the JPS algorithm as a global path planning method to plan a path from the starting point to the end point for the mobile robot based on the eight-connected grid map. After the paths of all mobile robots are planned, they are uploaded to the high-level conflict search module.

[0037] High-level conflict search module, used to search for conflicts between all paths;

[0038] The path replanning module is used to construct a conflict tree after detecting conflicts at the high level. The conflict tree marks the AGVs where conflicts occurred, the path cost, the time when conflicts occurred, and the location where conflicts occurred.

[0039] Add constraints to the AGV. The constraints need to mark the mobile robot where the path changes, the location where the path conflict occurs, and the time when the path conflict occurs.

[0040] At the node where the path conflicts, set up obstacles for the mobile robot that needs to change the path, prohibiting the mobile robot from passing through the node, and thus causing the mobile robot to change the path;

[0041] If the total cost of the two mobile robots remains unchanged, the conflict is resolved directly; if the total cost increases, the mobile robot whose path has changed is stopped before the path intersection node and waits for the other mobile robot to pass before continuing forward;

[0042] The path solution output module is used to output the path solution after all conflicts are resolved, and send the path to the mobile robot, which then runs according to the new path.

[0043] The present invention also discloses a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the multi-mobile robot path planning method are implemented.

[0044] The present invention also discloses a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the multi-mobile robot path planning method are implemented.

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

[0046] This invention focuses on multi-mobile robot systems and aims to achieve conflict-free operation of multiple mobile robots. It uses the JPS algorithm as a bottom-level algorithm to improve algorithm search efficiency and uses a higher-level algorithm to detect conflicts between paths. The eight-connected JPS algorithm effectively improves algorithm operation efficiency. Furthermore, since each expansion has eight directions, it effectively increases path diversity. The eight-connected path planning algorithm can also effectively simplify path length. By integrating the JPS algorithm with the CBS algorithm, the invention improves algorithm efficiency and path diversity. Compared to the basic CBS algorithm using the A* algorithm as a path planning algorithm, the JPS algorithm is much more efficient than the A* algorithm, effectively improving the efficiency of the CBS algorithm. A conflict tree is constructed and constraints are added for conflicting AGVs. Based on the JPS algorithm's path search method, the conflicting location is set as an obstacle, and nodes near the conflicting location become jump points. The JPS algorithm detects a suitable jump point and changes the route. After the route is changed, the total cost of the path is calculated. If the path cost remains unchanged, the path is used. If the path cost increases, the mobile robot stops at the node before the conflict and performs avoidance. By detecting node conflicts and edge conflicts, the time and location of the conflict between two mobile robot paths can be obtained, and the detection of route conflicts within the grid is also supported.

[0047] Furthermore, in order to solve the problem that the length and time of each step of the robot's planning operation in the eight-connected path are different, in order to determine the time when the conflict occurs, UTC time is used as the system standard time, and the time threshold δ is used to expand the time range of path conflict and reduce the probability of conflict. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 The algorithm flow chart for multiple mobile robots;

[0049] Figure 2 This is a schematic diagram of an eight-connected grid map;

[0050] Figure 3 This is a schematic diagram of the internal path intersection of the grid node;

[0051] Figure 4 Schematic diagram of opposing conflicts;

[0052] Figure 5 This is a schematic diagram of node cross conflict;

[0053] Figure 6 This is the path where the node intersection occurs before the constraint is added;

[0054] Figure 7 This is the multi-machine path after the avoidance occurs after adding constraints. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solutions and advantages of the present invention more clear, the following is a further detailed description with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. That is, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments.

[0056] The components described and illustrated in the drawings and embodiments of the present invention may be arranged and designed in a variety of different configurations. Therefore, the detailed description of the embodiments of the present invention provided in the following drawings is not intended to limit the scope of the claimed invention, but merely represents a selected embodiment of the present invention. All other embodiments derived by those skilled in the art based on the drawings and embodiments of the present invention without inventive effort shall fall within the scope of protection of the present invention.

[0057] It should be noted that the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, element, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to the process, element, method, article or device. In addition, the terms "horizontal" and "vertical" are based on the orientation and positional relationship of the devices or components shown in the drawings, and are only for the purpose of better describing the present invention, rather than requiring the devices, components or devices shown to have such a specific orientation, and therefore should not be understood as limiting the present invention.

[0058] The features and performance of the present invention are further described in detail below with reference to the embodiments.

[0059] The present invention discloses a method for path planning of multiple mobile robots, such as Figure 1 As shown in the figure, it mainly includes a two-layer search algorithm. The bottom layer searches for a path from the starting point to the end point for the mobile robot through JPS. The high-level search searches for conflicts between multiple paths and defines a new edge conflict method, such as Figure 3 Schematic diagram of the grid internal path intersection shown.

[0060] like Figure 2As shown in the figure, based on the actual scenario, an eight-connected grid map is constructed to support the mobile robot to move from one node to the eight nodes surrounding it. The JPS algorithm used in the bottom-level search will plan a collision-free path from the starting point to the end point for the mobile robot based on the grid map. JPS will determine the JPS jump point based on whether each grid node is an obstacle. After obtaining the jump point location, the location of the obstacle is determined. The algorithm will obtain the location of the forced neighbor. The next time the search is performed, JPS will expand in the direction of the forced neighbor. Because JPS selects jump points and expansion directions based on whether there are obstacles nearby, its efficiency is much greater than the search efficiency of the A* algorithm used in the basic CBS algorithm. After the bottom-level JPS is used to plan a path for each mobile machine, all paths are combined into a path solution set Soluation and uploaded to the high-level search.

[0061] The high-level search described in the present invention serves as the core of multi-robot path planning, and its main function is to search for conflicts between path solution sets and detect conflicts between paths.

[0062] Time threshold Where L is the side length of the eight-connected grid, υ represents the current speed of the mobile robot, and the time threshold δ represents the time required for the mobile robot to travel the length of the grid's hypotenuse at the current speed υ. The time threshold adds a period of time to the robot's arrival at a grid node. CBS uses time as a reference to determine when a conflict will occur. The time threshold increases the time it takes for a conflict to occur, increasing the number of retrieved conflicts and reducing potential conflicts.

[0063] The conflict search method described in this invention is primarily divided into node conflict search and edge conflict search. Within a time threshold δ, node conflict is determined by determining whether two paths occupy the same node at the same time. The formula is path1[i] = path2[i], where path1 represents path 1, path2 represents path 2, and path1[i] represents the node reached at time i. A node conflict occurs when path1 and path2 reach the same node at time i.

[0064] Border conflicts such as Figure 3 and Figure 4 As shown, Figure 3 Indicates that two paths intersect inside the grid. Figure 4 This indicates that the two paths have an object conflict, leading to a path deadlock. Within the time threshold δ, the two paths intersect within a single grid. The nodes occupied by the two paths are at two diagonal corners of the grid node. In this case, path1[i]+path1[i+1]=path2[i]+path2[i+1]. Figure 4The judgment formula for the object conflict shown is path1[i]==path2[i+1]&&path2[i]==path1[i+1].

[0065] The original edge conflict only searches for two AGVs that collide in opposite directions, such as Figure 4 The conflicts shown in , however, do not solve the problem of crossing paths between nodes, i.e. Figure 3 The present invention defines a new algorithm to find such conflicts, which solves the problem that the basic CBS cannot fully retrieve the path conflicts planned by the eight-level path planning algorithm, optimizes the algorithm efficiency, and improves the capability of the multi-level path planning algorithm.

[0066] The conflict resolution method of the present invention is to pre-set obstacles. After the upper search detects the conflict, a conflict tree Conflict(AGV1, AGV2, Time, Location) is constructed, where AGV1 represents mobile robot 1, AGV2 represents mobile robot 2, Time represents the time when the conflict occurs, and Loaction represents the location where the conflict occurs. Select one of the mobile robots in conflict and add a constraint Constraint<AGV,Time,Location> , where AGV represents the mobile robot, Time represents the time when the conflict occurred, and Loaction represents the location where the conflict occurred. The mobile robot obtains the constraint of the conflict location. The constraint is an obstacle for the mobile robot, which means that a new obstacle is added to the mobile robot's map. The mobile robot calls the underlying JPS algorithm to replan the path. The cost of the mobile robot after path replanning is calculated. If the cost does not increase, the path is output as a solution set. If the cost of the robot increases after path replanning, the mobile robot stops at the node before the conflict and waits for the conflicting vehicle to pass.

[0067] After the conflict search between paths is resolved, the path solution set is output and the path is sent to the corresponding mobile robot.

[0068] The present invention discloses a multi-mobile robot path planning method, which uses an 8-connected JPS algorithm as the underlying layer of a CBS algorithm to implement path planning of mobile robots, so as to obtain a path of the mobile robots from a starting point to an end point.

[0069] The CBS algorithm uses node conflict and edge conflict search to find conflicts between multiple mobile robot paths. For the planned eight-connected paths, it redefines a retrieval method for edge conflicts within the grid to facilitate the search for path conflicts.

[0070] When building a constraint tree and solving it, define the constraint tree and the solution tree, find the constraints through the constraint tree, add solutions to the solution tree, and solve the path conflict between the two robots.

[0071] Specifically, build the constraint tree Constraint i ,υ,t> and solve the tree Soulation<path1,path2> , where a i represents the i-th mobile robot, v refers to the node numbered v in the grid map, t represents the time, and the constraint i ,υ,t> represents the mobile robot a i It is forbidden to occupy node v at time t. The solution tree stores the two paths that need to detect conflicts. For the path finding method of the JPS algorithm, the conflict position is set as an obstacle, and then the nodes near the conflict position become jumping points. The JPS algorithm detects the appropriate jumping point and changes the route.

[0072] The following is an example from a workshop:

[0073] like Figure 2 As shown in the figure, there are 8 workstations in a certain area. According to the actual scenario of the workshop, an eight-connected grid map is constructed to support the mobile robot to move from one node to the 8 nodes around the node. The nodes are represented by hollow circles.

[0074] like Figure 5 As shown in the figure, AGV1 follows the arrow direction from its current position through point M to the location of Tar1, and AGV2 follows the arrow direction from its current position through point M to the location of Tar2. At this time, AGV1 and AGV2 arrive at point M at the same time, resulting in a path intersection conflict. You can use path1[i] = path2[i] to determine the path intersection conflict, and use the constraint tree to add constraints to the AGVs to resolve the conflict.

[0075] like Figure 4 As shown in the figure, the black part represents the obstacle. AGV1 and AGV2 enter the road section according to the predetermined trajectory. Since the two AGVs are running in opposite directions, they will be deadlocked within the path. At this time, the formula path1[i]==path2[i+1]&&path2[i]==path1[i+1] is used to search for conflicts, and then a constraint is added to one of the AGVs to resolve the conflict.

[0076] like Figure 6 ​​As shown in the figure, the two AGVs need to follow the predetermined trajectory to the target points Tar1 and Tar2 of the two AGVs. The two paths intersect inside nodes A, B, C and D. At this time, the formula path1[i]+path1[i+1]=path2[i]+path2[i+1] is used to detect path conflicts, and the two paths are connected according to the path1[i]+path1[i+1]=path2[i]+path2[i+1]. Figure 7 As shown, AGV2 is constrained at point A.<AGV2,T1,A> ,For AGV2, node A is an obstacle at this time. AGV2 retrieves obstacle node A and performs jump point search, ,replanning the path. After replanning the path, the second path node of AGV2 is node E, ,which successfully resolves the conflict problem.

[0077] Compared with the background technology algorithm that uses the four-connected A* algorithm at the bottom layer, this algorithm uses the eight-connected JPS algorithm for pathfinding at the bottom layer, which has the following advantages:

[0078] The eight-connected path planning algorithm can search for paths in eight directions at the same time. Compared with four-connected, the eight-connected path planning algorithm generates more diverse paths.

[0079] Furthermore, compared with A*, the JPS algorithm performs fewer Open table operations and retrieves more rasters during the pathfinding process, thereby improving efficiency.

[0080] Furthermore, increasing the speed of the underlying pathfinding algorithm can effectively improve the efficiency of CBS conflict retrieval and conflict resolution, which means that paths can be assigned to a certain number of mobile robots in a shorter time.

[0081] The underlying algorithm uses JPS to effectively improve the efficiency of path re-optimization after adding a constraint tree to CBS. The core of JPS pathfinding is to find jump points near obstacles. When the paths of multiple mobile robots conflict, constraints are added to one of the robots. The actual reflection of the constraints on the map is the obstacle, which then leads to jump points and a new path.

[0082] Furthermore, the path from the previous hop point at the path conflict position to the starting point is optimal, and the previous hop point can be directly obtained as the starting point, which can greatly reduce the memory required for path optimization.

[0083] Furthermore, when constraints are imposed on a mobile robot, the mobile robot performs path replanning. The JPS algorithm can ensure the global optimality of the path. Based on the selection of jump points, no more than two constraints are added to obtain the optimal collision-free path for the two mobile robots.

[0084] The present invention also discloses a multi-mobile robot path planning system, comprising:

[0085] The map generation module is used to abstract the application scenario into an eight-connected grid map, supporting the mobile robot to move from one node to the eight nodes around it;

[0086] The path planning module uses conflict search, which includes a low-level conflict search module and a high-level conflict search module;

[0087] The low-level conflict search module is used to obtain the eight-connected grid map. The low-level conflict search uses the JPS algorithm as a global path planning method to plan a path from the starting point to the end point for the mobile robot based on the eight-connected grid map. After the paths of all mobile robots are planned, they are uploaded to the high-level conflict search module.

[0088] High-level conflict search module, used to search for conflicts between all paths;

[0089] The path replanning module is used to construct a conflict tree after detecting conflicts at the high level. The conflict tree marks the AGVs where conflicts occurred, the path cost, the time when conflicts occurred, and the location where conflicts occurred.

[0090] Add constraints to the AGV. The constraints need to mark the mobile robot where the path changes, the location where the path conflict occurs, and the time when the path conflict occurs.

[0091] At the node where the path conflicts, set up obstacles for the mobile robot that needs to change the path, prohibiting the mobile robot from passing through the node, and thus causing the mobile robot to change the path;

[0092] If the total cost of the two mobile robots remains unchanged, the conflict is resolved directly. If the total cost increases, the mobile robot whose path has changed is stopped before the path intersection node and waits for the other mobile robot to pass before continuing forward.

[0093] The path solution output module is used to output the path solution after all conflicts are resolved, and send the path to the mobile robot, which then runs according to the new path.

[0094] The high-level conflict search module includes a node conflict search unit and an edge conflict search unit;

[0095] A node conflict search unit is used to detect whether two paths reach the same node within a time threshold range;

[0096] The edge conflict search unit is used to detect whether two paths conflict with each other within a time threshold range; or detect whether two paths cross each other within a grid within the same time threshold range.

[0097] The multi-mobile robot path planning method of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0098] If the multi-mobile robot path planning method of the present invention is implemented as a software functional unit and sold or used as a standalone product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention can also implement all or part of the process steps in the above-mentioned method embodiments by using a computer program to instruct the relevant hardware. The computer program can be stored in a computer-readable storage medium. When executed by a processor, the computer program can implement the steps of each of the above-mentioned method embodiments. The computer program includes computer program code, which can be in source code form, object code form, executable file, or some intermediate form. Computer-readable storage media include permanent and non-permanent, removable and non-removable media, and can use any method or technology to store information. The information can be computer-readable instructions, data structures, program modules, or other data. It should be noted that the content of the computer-readable medium can be appropriately increased or decreased based on the requirements of legislation and patent practice within a jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media does not include electric carrier signals and telecommunication signals. Among them, the computer storage medium can be any available medium or data storage device that can be accessed by the computer, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO)), optical storage (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drives (SSDs)), etc.

[0099] In an exemplary embodiment, a computer device is further provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the multi-mobile robot path planning method when executing the computer program. The processor may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), off-the-shelf programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0100] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered by the scope of protection of the claims of the present invention.

Claims

1. A multi-mobile robot path planning method, It is characterized in that The following steps are involved: Step 1: Abstract the application scenario into an eight-connected grid map, supporting the mobile robot to move from one node to eight nodes around the node; Step 2: Path planning for the mobile robot. Path planning uses conflict search, which includes bottom-level conflict search and high-level conflict search. The underlying conflict search obtains the eight-connected grid map. The underlying conflict search uses the JPS algorithm as a global path planning method to plan a path from the starting point to the end point for the mobile robot based on the eight-connected grid map. After planning the paths of all mobile robots, upload them to the high-level conflict search; Step 3: High-level conflict search searches for conflicts between all paths; Step 4: After the high-level system detects the conflict, it builds a conflict tree, marking the AGV where the conflict occurs, the path cost, the time when the conflict occurs, and the location where the conflict occurs in the conflict tree; it adds constraints to the AGV, which require marking the mobile robot whose path changes, the location where the path conflict occurs, and the time when the path conflict occurs; At the node where the path conflicts, set an obstacle for the mobile robot that needs to change the path, prohibiting the mobile robot from passing through the node, and thus causing the mobile robot to change the path; The mobile robot calls the underlying JPS algorithm to replan the path. If the total cost of the two mobile robots remains unchanged, the conflict is resolved directly. If the total cost increases, the mobile robot whose path has changed stops before the path intersection node and waits for another mobile robot to pass before continuing to move forward; Step 5: After all conflicts are resolved, the path solution set is output and the path is sent to the mobile robot, which runs according to the new path.

2. A multi-mobile robot path planning method according to claim 1, It is characterized in that In step 3, high-level conflict search includes node conflict search and edge conflict search; Node conflict search, used to detect whether two paths reach the same node within the same time threshold range; Edge conflict search is used to detect whether two paths conflict with each other within the same time threshold range; Or detect whether two paths cross each other within the grid within the same time threshold.

3. A multi-mobile robot path planning method according to claim 2, It is characterized in that The time threshold is denoted as δ, which is the time it takes for the mobile robot to run half the length of the hypotenuse of a single grid at the current speed v. It is specifically expressed as The role of the time threshold δ is to add a margin to the time when the conflict occurs, and L is the length of the grid side.

4. A multi-mobile robot path planning method according to claim 2, It is characterized in that The formula for detecting node conflicts is path1[i]=path2[i]; path1 represents path 1, path2 represents path 2; path1[i] represents the node reached by the path at time i; when path1 and path2 reach the same node at time i, it is judged that a conflict occurs between the nodes.

5. A multi-mobile robot path planning method according to claim 2, It is characterized in that Detect edge conflicts within the time threshold range. Detect whether two paths conflict with each other within the same time threshold range. The expression is path1[i]==path2[i+1]&&path2[i]==path1[i+1], where path1 represents path 1 and path2 represents path 2. Detect whether the two paths intersect within the grid within the same time threshold range. At this time, detect whether path 1 and path 2 occupy two diagonal points of a grid at the same time, that is, path1[i]+path1[i+1]=path2[i]+path2[i+1].

6. A multi-mobile robot path planning method according to claim 1, It is characterized in that In step 2, the underlying conflict search uses UTC time as the system standard time, calculates the arrival UTC time for each node in the path planned by JPS, and stores the UTC time as an attribute on the node.

7. A multi-mobile robot path planning method according to claim 1, It is characterized in that In step 4, the conflict tree expression constructed is Conflict(AGV1, AGV2, Time, Location), where AGV1 represents mobile robot 1, AGV2 represents mobile robot 2, Time represents the time when the conflict occurs, and Loaction represents the location where the conflict occurs; Select one of the conflicting mobile robots and add a constraint Constraint (AGV, Time, Location), where AGV represents the mobile robot to which the constraint needs to be added.

8. A multi-mobile robot path planning system, It is characterized in that include: The map generation module is used to abstract the application scenario into an eight-connected grid map, supporting the mobile robot to move from one node to the eight nodes around the node; The path planning module uses conflict search, which includes a low-level conflict search module and a high-level conflict search module; The bottom-level conflict search module is used to obtain the eight-connected grid map. The bottom-level conflict search uses the JPS algorithm as the global path planning method to plan a path from the starting point to the end point for the mobile robot based on the eight-connected grid map. After the paths of all mobile robots are planned, they are uploaded to the high-level conflict search. A high-level conflict search module is used to search for conflicts between all paths; The path replanning module is used to construct a conflict tree after the conflict is detected at the high level, marking the AGV where the conflict occurred, the path cost, the time when the conflict occurred, and the location where the conflict occurred in the conflict tree; Add constraints to the AGV. The constraints need to mark the mobile robot where the path changes, the location where the path conflict occurs, and the time when the path conflict occurs. At the node where the path conflicts, set an obstacle for the mobile robot that needs to change the path, prohibiting the mobile robot from passing through the node, and thus causing the mobile robot to change the path; If the total cost of the two mobile robots remains unchanged, the conflict is resolved directly; If the total cost increases, the mobile robot whose path has changed stops before the path intersection node and waits for the other mobile robot to pass before continuing to move forward; The path solution output module is used to output the path solution after all conflicts are resolved, and send the path to the mobile robot, and the mobile robot runs according to the new path.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the multi-mobile robot path planning method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the multi-mobile robot path planning method as claimed in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Hop searching based conflict-avoiding path planning method for multiple robots

    CN109115226A

  • Mobile robot obstacle avoidance path planning method based on Ackermann model

    CN112731929A