Multi-robot path planning method based on space-time network

By constructing a directed spatio-temporal road network and introducing collaborative planning and conflict detection mechanisms, the problems of high computational complexity and poor safety in multi-robot path planning are solved, and efficient and safe multi-robot path planning is achieved to adapt to dynamic environmental changes.

CN118654686APending Publication Date: 2024-09-17HEFEI UNIV OF TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410680924.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing multi-robot path planning methods have high computational complexity and long planning time in complex and dynamic environments, and are difficult to ensure the safety of multi-robot collaborative operations and are prone to collisions or conflicts.

Method used

A multi-robot path planning method based on spatio-temporal network is used to construct a directed spatio-temporal road network. The path planning algorithm is used to optimize the robot's path to ensure the feasibility of the path and improve efficiency and safety. Collaborative planning and conflict detection mechanisms are introduced to avoid robot collisions. collision between.

Benefits of technology

It greatly improves the efficiency and safety of path planning, reduces the complexity and time cost of path search, can quickly respond to environmental changes, and improves the flexibility of multi-robot systems and the stability of collaborative operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118654686A
    Figure CN118654686A
Patent Text Reader

Abstract

The invention discloses a multi-robot path planning method based on a space-time network, and the method comprises the steps: 1, obtaining environment information, constructing a grid network according to the environment information, constructing a directed space-time road network for the grid network through employing the space-time network, and initializing the starting and ending point information of a robot group according to the directed space-time road network; 2, planning an initial shortest path of multiple robots on the directed space-time road network by using a path planning algorithm; and 3, conflict detection is carried out on the robot group, constraint conditions among the robots are considered, and an initial path is optimized to ensure feasibility and safety of the path. According to the method, the directed space-time road network can be constructed by utilizing the space-time network to describe the environment, the robots and the tasks more accurately, the paths of the robots are planned by utilizing a path planning algorithm, and conflicting robot paths are optimized, so that the feasibility of the paths can be ensured, and the efficiency and the safety of multi-robot path planning can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of robot path planning, in particular to a multi-robot path planning method based on a spatiotemporal network. Background Art

[0002] Multi-robot path planning refers to effectively planning the movement paths of these robots in a system containing multiple robots so that they can efficiently complete specific tasks without collisions or conflicts. At present, multi-robot path planning technology is widely used in various fields. In the field of logistics, with the rapid development of e-commerce and express delivery industries, multi-robot path planning can help realize automated cargo handling and intelligent logistics distribution in warehouses, improve logistics efficiency and reduce costs; in manufacturing, multi-robot path planning can be applied to automated production lines to coordinate the movement of multiple industrial robots to complete assembly, processing and other tasks, and improve production efficiency and flexibility.

[0003] However, existing path planning methods still have some shortcomings in practical applications:

[0004] 1. In complex and dynamic environments, we often face problems such as high computational complexity and long planning time. Especially in environments with a large number of obstacles or dynamic changes, it is difficult to find an efficient and feasible path planning method;

[0005] 2. Existing path planning methods can often only ensure the path safety of a single robot, but when multiple robots work together, collisions or conflicts between robots are prone to occur. Summary of the invention

[0006] The present invention aims to solve the deficiencies of the above-mentioned prior art and proposes a multi-robot path planning method based on space-time network, so as to use the space-time network to construct a directed space-time road network to more accurately describe the environment, robots and tasks, plan the robot's path using a path planning algorithm, and optimize the conflicting robot paths, so as to ensure the feasibility of the path and improve the efficiency and safety of multi-robot path planning.

[0007] In order to achieve the above-mentioned purpose, the present invention adopts the following technical scheme:

[0008] The multi-robot path planning method based on spatiotemporal network of the present invention is characterized in that it is carried out according to the following steps:

[0009] Step 1: Construct a directed space-time road network and initialize the robot group information;

[0010] Step 1.1: Build a grid network;

[0011] Obtain environmental information and construct a grid network G = (V, E, W) of size L × L, where V represents a grid set and V = {v i,j |i,j=0,1,2,…,L-1},v i,j represents the grid of row i and column j, L is the total number of rows or columns; E represents the set of connectivity relationships between grids, and E = {(v i,j , v i′,j′ )|i,j,i′jj′=0,1,2,…,L-1}, (v i,j , v i,j′ ) represents the grid v i,j The grid v with the i′th row and j′th column i′,j′ Connectivity: Define that the grid is only connected to the grids directly above, below, left, and right of itself, i.e. v i′,j′ ∈{v i,j , v i+1,j , v i-1,j , v i,j-1 , v i,j+1}; W represents the set of movement weights between connected grids, and W = {w(v i,j , v i′,j′ )|i,j,i′,j′=0,1,2,…,L-1},w(v i,j , v i′,j′ ) is the grid v i,j With grid v i′,j′ The moving weight between grids v i,j With grid v i′,j′ If there are no obstacles on the two grids, then let w(v i,j , v i′,j′ )=1; if grid v i,j With grid v i′,j′ The grid is connected and v i,j With grid v i′,j′ If there is at least one obstacle, then let w(v i,j , v i′,j′ )=+∞;

[0012] Step 1.2: Construct a directed space-time road network;

[0013] Determine the estimated search completion time as T, discretize T with a unit step size, and obtain the time set T′={0, 1, 2, …, t, …, T}; Based on the time set T′ and the grid network G, construct a directed space-time road network G′=(V′, A, W′) with a scale of L×L×(T+1), where V′ represents the grid set under the time set T′, and represents the i-th row and j-th column grid at time t; A represents the set of directed sections between grids at different times; and represents the grid v at time t i,j and the grid v at time t+1 i′,j′ W′ represents the action weight set of the directed road segments between grids at different times, and Indicates a directed segment The action weights;

[0014] Step 1.3: Initialize robot group information;

[0015] According to the initial information of the robot, the robot group U = (O, D) is obtained, where O represents the starting point set of the robot group, and O = {o 1 , o 2 ,…,o k ,…,o K},o k represents the starting point of the kth robot, k = 1, 2, 3, ..., K, K is the total number of robots in the robot group, all robots are set to start at the same time at time t = 0, assuming that the kth robot is in the grid v i,j As the starting point o of the kth robot k , then the grid where the kth robot starts at time t = 0 is recorded as D represents the endpoint set of the robot group, and D = {d 1 , d 2 , …, d k , …, d K}, d k represents the end point of the kth robot, and the end point time t≠0 is set for all robots to reach; assuming that the kth robot is in the grid v i,j As the end point d k , then the grid that the kth robot reaches at time t is recorded as

[0016] Step 2: Initial path planning of multiple robots;

[0017] Step 2.1: Define the path set P, store the complete path and path cost of each robot from the starting point to the end point, and initialize

[0018] Step 2.2: Single robot path planning;

[0019] Step 2.2.1: Initialize k=1, t=0;

[0020] Step 2.2.2: Calculate the shortest path p of the kth robot k, and record the path cost w′ k ;

[0021] Step 2.2.3: The shortest path p of the k-th robot k and the path cost w′ k , in the combined form (p k , w′ k ) is stored in the path set P;

[0022] Step 2.3: If k < K, then assign k + 1 to k, and return to Step 2.2.2 to execute sequentially; otherwise, it means that the path set P = {(p k , w′ k ), k = 1, 2, 3,..., K} composed of the shortest paths of all robots is obtained, and the total weight of the robot group path is calculated and then Step 3 is executed;

[0023] Step 3: Multi-robot collaborative path planning;

[0024] Step 3.1: Define the path constraint set C and initialize Define the initial path planning scheme for multi-robots as r = {C, P, W″};

[0025] Construct a path planning scheme set R for storing path planning schemes; and initialize

[0026] Define r * = {C * , P * , W″ *} as the optimal path planning scheme for multi-robots, and initialize the optimal path constraint set Optimal path set Optimal total weight W″ * = +∞;

[0027] Step 3.2: Conflict detection:

[0028] Step 3.2.1: Initialize k = 1;

[0029] Step 3.2.2: Detect whether there are point conflicts or edge conflicts between the path of the k-th robot in the path set P of r and the paths of other robots:

[0030] If there is the same grid at the same moment between the path of the k-th robot and the paths of other robots, it means that there is a point conflict between the path of the k-th robot and the paths of other robots, and record the serial numbers of all robots that have point conflicts with the k-th robot, and construct a robot conflict serial number set List together with the k-th robot k , and put List kThe number of robots is denoted as N k , and perform Step 3.4 - Step 3.5;

[0031] If at the same time the k-th robot and the k'-th robot take each other's grid as the destination, it means that there is an edge conflict between the paths of the corresponding robots. Record the serial numbers of all robots that have an edge conflict with the k-th robot, and construct a robot conflict serial number set List' together with the k-th robot k , and set List k The number of robots is denoted as N' k , and perform Step 3.6 - Step 3.7;

[0032] If there is no point conflict or edge conflict between the path of the k-th robot and the paths of other robots, perform Step 3.3;

[0033] Step 3.3: If k < K, assign k + 1 to k, and return to Step 3.2.2; otherwise, it means that after all robots complete conflict detection, there is no conflict, and directly use r as r * Output;

[0034] Step 3.4: Set one robot in List k to be able to pass through the grid where point conflicts occur at the same time, and the remaining robots cannot pass through the grid where point conflicts occur at the same time, so as to construct a set of point conflict constraints and add them to the path set C of r. Then, re-plan the paths of each robot in List k according to the process of Step 2.2.2, and obtain the shortest path and path cost of each robot in List k under C. Then, update the path set P and the total weight W″ according to the process of Step 2.3, so as to obtain a point conflict sub-node scheme;

[0035] Step 3.5: Traverse each robot in List k and make settings according to the process of Step 3.4, so as to obtain N k point conflict sub-node schemes and add them to R, and then perform Step 3.8;

[0036] Step 3.6: Set one robot in List' k to be able to pass through the grid where edge conflicts occur at the same time, and the remaining robots cannot pass through the grid where edge conflicts occur at the same time, so as to construct a set of edge conflict constraints and add them to the path constraint set C of r. Then, re-plan the paths of each robot in List' k according to the process of Step 2.2.2, and obtain List' kThe shortest path and path cost of each robot under C in , and then update the path set P and the total weight W″ according to the process of step 2.3, so as to obtain an edge conflict sub-node solution;

[0037] Step 3.7: Traverse List′ according to the process of step 3.6 k Each robot in the game is set up to obtain N′ k After the edge conflict sub-node solutions are added to R, execute step 3.8;

[0038] Step 3.8: Select the solution with the smallest total weight from R and assign it to r. Delete r from R and return to step 3.2.

[0039] The multi-robot path planning method based on spatiotemporal network described in the present invention is also characterized in that step 2.2.2 is performed as follows:

[0040] Step 2.2.2.1: Construct the extended node set openlist and the predecessor node set predlist.

[0041] Step 2.2.2.2: Set the starting point o of the kth robot k The grid Add to openlist; Search Neighbor nodes that can be reached And the neighbor nodes Add to openlist, and at the same time, As a neighbor node The predecessor node is added to predlist;

[0042] Step 2.2.2.3: Continue searching for neighbor nodes Neighbor nodes that can be reached And the neighbor nodes Add to openlist, and at the same time, As a neighbor node The predecessor node is added to predlist;

[0043] Step 2.2.2.4: Follow the process of step 2.2.2.3 until the kth robot reaches the end point d k Until the grid where it is located appears in the openlist, then according to the predlist, from the end point d k Start backtracking to the previous node and get the kth robot from the starting point o k To the end point k The shortest path p k , and record the path cost w′k .

[0044] An electronic device of the present invention includes a memory and a processor, wherein the memory is used to store a program that supports the processor to execute the multi-robot path planning method, and the processor is configured to execute the program stored in the memory.

[0045] The present invention provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and the computer program executes the steps of the multi-robot path planning method when the computer program is executed by a processor.

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

[0047] 1. The present invention uses a spatiotemporal network to plan multi-robot paths. By effectively integrating and utilizing spatiotemporal information, a directed spatiotemporal network is established, which can greatly improve the efficiency of path planning. Compared with the prior art, the spatiotemporal network structure used in the present invention can more accurately describe the robot's motion state and environmental constraints, thereby reducing the complexity and time cost of path search.

[0048] 2. The present invention introduces a collaborative planning and conflict detection mechanism between robots in the spatiotemporal network. Compared with the prior art, the method adopted by the present invention can effectively avoid collisions and intersections between robots, and can avoid possible collisions in advance during the path planning stage, thereby improving the safety and stability of multi-robot collaborative operations.

[0049] 3. The invention has good dynamic adaptability and can quickly respond to changes in the environment and task requirements. Compared with the prior art, the invention can effectively deal with the problem of multi-robot collaborative operation in a dynamic environment by updating and adjusting the information in the spatiotemporal network in real time, and improves the flexibility of the multi-robot system. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 A grid network diagram of the present invention;

[0051] Figure 2 A local grid network diagram of the present invention;

[0052] Figure 3 It is the directed space-time road network graph of the present invention;

[0053] Figure 4 It is the overall flow chart of the present invention. DETAILED DESCRIPTION

[0054] In this embodiment, a multi-robot path planning method based on spatiotemporal network is provided. Figure 4As shown, the steps are as follows:

[0055] Step 1: Construct a directed space-time road network and initialize the robot group information;

[0056] Step 1.1: Build a grid network;

[0057] Obtain environmental information and construct a grid network G = (V, E, W) of size L × L, where V represents a grid set and V = {v i,j |i,j=0,1,2,…,L-1},v i,j represents the grid of row i and column j, L is the total number of rows or columns; E represents the set of connectivity relationships between grids, and E = {(v i,j , v i′,j′ )|i, j, i′, j′=0, 1, 2, ..., L-1}, (v i′,j , v i′,j′ ) represents the grid v i,j The grid v with the i′th row and j′th column i′,j′ Connectivity: Define that the grid is only connected to the grids directly above, below, left, and right of itself, i.e. v i′,j′ ∈{v i,j , v i+1,j , v i-1,j , v i,j - 1 , v i,j+1}; W represents the set of movement weights between connected grids, and W = {w(v i,j , v i′,j′ )|i,j,i′,j′=0,1,2,…,L-1},w(v i,j , v i′,j′ ) is the grid v i,j With grid v i′,j′ The moving weight between grids v i,j With grid v i′,j′ If there are no obstacles on the two grids, then let w(v i,j , v i′,j′ )=1; if grid v i,j With grid v i′,j′ The grid is connected and v i,j With grid v i′,j′ If there is at least one obstacle, then let w(v i,j , v i′,j′ )=+∞;

[0058] In the specific implementation, the local grid map constructed according to the above method is as follows: Figure 1 As shown, the map size is 20*20, where the white grid represents the feasible area and the black grid represents the obstacles.

[0059] Step 1.2: Construct a directed space-time road network;

[0060] Determine the estimated search completion time as T, discretize T with a unit step size, and obtain the time set T′={0, 1, 2, …, t, …, T}; Based on the time set T′ and the grid network G, construct a directed space-time road network G′=(V′, A, W′) with a scale of L×L×(T+1), where V′ represents the grid set under the time set T′, and represents the i-th row and j-th column grid at time t; A represents the set of directed sections between grids at different times; and represents the grid v at time t i,j and the grid v at time t+1 i′,j′ W′ represents the action weight set of the directed road segments between grids at different times, and Indicates a directed segment The action weights;

[0061] In the specific implementation, the directed graph constructed according to the above method is as follows: Figure 2 and Figure 3 As shown, Figure 2 is a local grid, Figure 3 For Figure 2 A directed space-time road network constructed on the basis of.

[0062] Step 1.3: Initialize robot group information;

[0063] According to the initial information of the robot, the robot group U = (O, D) is obtained, where O represents the starting point set of the robot group, and O = {o 1 , o 2 ,…,o k ,…,o K},o k represents the starting point of the kth robot, k = 1, 2, 3, ..., K, K is the total number of robots in the robot group, all robots are set to start at the same time at time t = 0, assuming that the kth robot is in the grid v i,j As the starting point o of the kth robot k , then the grid where the kth robot starts at time t = 0 is recorded as D represents the endpoint set of the robot group, and D = {d 1 , d 2 , …, d k , …, d K}, d krepresents the end point of the kth robot, and the end point time t≠0 is set for all robots to reach; assuming that the kth robot is in the grid v i,j As the end point d k , then the grid that the kth robot reaches at time t is recorded as

[0064] Step 2: Initial path planning of multiple robots;

[0065] Step 2.1: Define the path set P, store the complete path and path cost of each robot from the starting point to the end point, and initialize

[0066] Step 2.2: Single robot path planning.

[0067] Step 2.2.1: Initialize k=1, t=0;

[0068] Step 2.2.2: Calculate the shortest path p of the kth robot k , and record the path cost w′ k ;

[0069] Step 2.2.2.1: Construct the extended node set openlist and the predecessor node set predlist.

[0070] Step 2.2.2.2: Set the starting point o of the kth robot k The grid Add to openlist; Search Neighbor nodes that can be reached And the neighbor nodes Add to openlist, and at the same time, As a neighbor node The predecessor node is added to predlist;

[0071] Step 2.2.2.3: Continue searching for neighbor nodes Neighbor nodes that can be reached And the neighbor nodes Add to openlist, and at the same time, As a neighbor node The predecessor node is added to predlist;

[0072] Step 2.2.2.4: Follow the process of step 2.2.2.3 until the kth robot reaches the end point d k Until the grid where it is located appears in the openlist, then according to the predlist, from the end point d kStart backtracking the predecessor nodes and obtain the shortest path p of the k-th robot from the starting point o k to the end point d k and record the path cost w′ k . k .

[0073] Step 2.2.3: Store the shortest path p of the k-th robot k and the path cost w′ k in the form of a combination (p k , w′ k ) in the path set P;

[0074] Step 2.3: If k < K, then assign k + 1 to k and return to Step 2.2.2 to execute sequentially; otherwise, it means obtaining the path set P = {(p k , w′ k ), k = 1, 2, 3,..., K} composed of the shortest paths of all robots, and calculate the total weight of the robot group path and then execute Step 3.

[0075] Step 3: Multi-robot collaborative path planning;

[0076] Step 3.1: Define the path constraint set C and initialize Define the initial path planning scheme for multi-robots as r = {C, P, W″};

[0077] Construct a path planning scheme set R to store path planning schemes; and initialize

[0078] Define r * = {C * , P * , W″ *} as the optimal path planning scheme for multi-robots, and initialize the optimal path constraint set Optimal path set Optimal total weight W″ * = +∞.

[0079] Step 3.2: Conflict detection:

[0080] Step 3.2.1: Initialize k = 1;

[0081] Step 3.2.2: Detect whether there is a point conflict or an edge conflict between the path of the k-th robot in the path set P of r and the paths of other robots:

[0082] If there is the same grid at the same moment between the path of the k-th robot and the paths of other robots, that is, there is the same grid at the same t moment in the paths of different robots It indicates that there is a point conflict between the path of the k-th robot and the paths of other robots. Record the serial numbers of all robots that have point conflicts with the k-th robot, and construct a set List of robot conflict serial numbers together with the k-th robot. k , and denote the number of robots in List k as N. k , and execute Steps 3.4 - 3.5.

[0083] If at the same time, the k-th robot and the k'-th robot take the grid where the other is located as the destination, that is, the path p of robot k k contains a directed section and the path p of robot k' k′ contains a directed section It indicates that there is an edge conflict between the paths of the corresponding robots. Record the serial numbers of all robots that have edge conflicts with the k-th robot, and construct a set List' of robot conflict serial numbers together with the k-th robot. k , and denote the number of robots in List k as N'. k , and execute Steps 3.6 - 3.7;

[0084] If there is no point conflict or edge conflict between the path of the k-th robot and the paths of other robots, then execute Step 3.3.

[0085] Step 3.3: If k < K, then assign k + 1 to k and return to Step 3.2.2; otherwise, it means that after all robots complete conflict detection, there is no conflict, and directly use r as r * for output.

[0086] Step 3.4: Set one robot in List k to be able to pass through the grid where the point conflict occurs at the same time, and the other robots cannot pass through the grid where the point conflict occurs at the same time, so as to construct a set of point conflict constraints and add them to the path set C of r. Then, re-plan the paths of each robot in List k according to the process of Step 2.2.2, and obtain the shortest path and path cost of each robot in List k under C. Then, update the path set P and the total weight W″ according to the process of Step 2.3, so as to obtain a point conflict sub-node solution.

[0087] In specific implementation, select robot k in the set List k , read the path constraint of robot k in the path constraint set C - cannot pass through the directed section at time t, and the path p of robot k in the path set P of the solution r k, based on the path constraints of robot k, in the directed space-time network G′ and path p k Delete To the end point k Multiple directed segments of Restart the search, search Neighbor nodes that can be reached And the neighbor nodes Add to openlist, so that As a neighbor node The predecessor node is added to predlist;

[0088] Continue searching for neighbor nodes Neighbor nodes that can be reached And the neighbor nodes Add to openlist, thus As a neighbor node The previous node of robot k is added to predlist; repeat this process until the end point d of robot k is reached. k Until the grid where it is located appears in the openlist, then according to the predlist, from the end point d k Start backtracking to the previous node and get the kth robot from To the end point k The shortest path of k , complete the path p k Update, recalculate the path cost w′ k and record;

[0089] Follow the above process to traverse Lsit k Each robot in Lsit k Each robot updates its path, obtains an updated path set P, and recalculates the total weight W″, and finally obtains a point conflict sub-node solution.

[0090] Step 3.5: Follow the process in step 3.4 to traverse Lsit k Each robot in the game is set up to obtain N k After finding the point conflict sub-node solution and adding it to R, execute step 3.8.

[0091] Step 3.6: Set List′ k One robot can pass through the grid that causes edge conflict at the same time, and the other robots cannot pass through the grid that causes edge conflict at the same time, so a set of edge conflict constraints is constructed and added to the path constraint set C of r, and then List′ is processed according to the process of step 2.2.2 k Each robot in re-plans its path and obtains List′k The shortest path and path cost of each robot under C in , and then update the path set P and the total weight W″ according to the process of step 2.3 to obtain an edge conflict sub-node solution.

[0092] In the specific implementation, in the collection List′ k Select robot k from the path constraint set C and read the path constraint of robot k - it cannot pass through the directed section at time t And the path p of robot k in the path set P of solution r k , based on the path constraints of robot k, in the directed space-time network G′ and path p k Delete To the end point k Multiple directed segments of Restart the search, search Neighbor nodes that can be reached And the neighbor nodes Add to openlist, so that As a neighbor node The predecessor node is added to predlist;

[0093] Continue searching for neighbor nodes Neighbor nodes that can be reached And the neighbor nodes Add to openlist, thus As a neighbor node The previous node of robot k is added to predlist; repeat this process until the end point d of robot k is reached. k Until the grid where it is located appears in the openlist, then according to the predlist, from the end point d k Start backtracking to the previous node and get the kth robot from To the end point k The shortest path of k , complete the path p k Update, recalculate the path cost w′ k and record;

[0094] According to the above process, traverse Lsit′ k For each robot in Lsit′ k Each robot updates its path, obtains the updated path set P, and recalculates the total weight W″, and finally obtains an edge conflict sub-node solution.

[0095] Step 3.7: Traverse List′ according to the process of step 3.6 k Each robot in the game is set up to obtain N′k After the edge conflict sub-node solutions are added to R, execute step 3.8;

[0096] Step 3.8: Select the solution with the smallest total weight from R and assign it to r. Delete r from R and return to step 3.2.

[0097] In this embodiment, an electronic device includes a memory and a processor, wherein the memory is used to store a program that supports the processor to execute the above method, and the processor is configured to execute the program stored in the memory.

[0098] In this embodiment, a computer-readable storage medium stores a computer program on the computer-readable storage medium, and the computer program executes the steps of the above method when executed by a processor.

Claims

1. A multi-robot path planning method based on spatiotemporal network, characterized in that: The steps are as follows: Step 1: Construct a directed space-time road network and initialize the robot group information; Step 1.1: Build a grid network; Obtain environmental information and construct a grid network G = (V, E, W) of size L × L, where V represents a grid set and V = {v i,j |i,j=0,1,2,…,L-1},v i,j represents the grid of row i and column j, L is the total number of rows or columns; E represents the set of connectivity relationships between grids, and E = {(v i,j , v i′,j′ )|i, j, i′, j′=0, 1, 2, ..., L-1}, (v i,j , v i′,j′ ) represents the grid v i,j The grid v with the i′th row and j′th column i′,j′ Connectivity: Define that the grid is only connected to the grids directly above, below, left, and right of itself, i.e. v i′,j′ ∈{v i,j , v i+1,j , v i-1,j , v i,j-1 , v i,j+1 }; W represents the set of movement weights between connected grids, and W = {w(v i,j , v i′,j′ )|i,j,i′,j′=0,1,2,…,L-1},w(v i,j , v i′,j′ ) is the grid v i,j With grid v i′,j′ The moving weight between grids v i,j With grid v i′,j′ If there are no obstacles on the two grids, then let w(v i,j , v i′,j′ )=1; if grid v i,j With grid v i′,j′ The grid is connected and v i,j With grid v i′,j′ If there is at least one obstacle, then let w(v i,j , v i′,j′ )=+∞; Step 1.2: Construct a directed space-time road network; Determine the estimated search completion time as T, discretize T with a unit step size, and obtain the time set T′={0, 1, 2, …, t, …, T}; Based on the time set T′ and the grid network G, construct a directed space-time road network G′=(V′, A, W′) with a scale of L×L×(T+1), where V′ represents the grid set under the time set T′, and represents the i-th row and j-th column grid at time t; A represents the set of directed sections between grids at different times; and represents the grid v at time t i,j and the grid v at time t+1 i′,j′ W′ represents the action weight set of the directed road segments between grids at different times, and Indicates a directed segment The action weights; Step 1.3: Initialize robot group information; According to the initial information of the robots, the robot group U = (O, D) is obtained, where O represents the starting point set of the robot group, and O = {o1, o2, ..., o k ,…,o K },o k represents the starting point of the kth robot, k = 1, 2, 3, ..., K, K is the total number of robots in the robot group, all robots are set to start at the same time at time t = 0, assuming that the kth robot is in the grid v i,j As the starting point o of the kth robot k , then the grid where the kth robot starts at time t = 0 is recorded as D represents the endpoint set of the robot group, and D = {d1, d2, ..., d k , ..., d K }, d k represents the end point of the kth robot, and the end point time t≠0 is set for all robots to reach; assuming that the kth robot is in the grid v i,j As the end point d k , then the grid that the kth robot reaches at time t is recorded as Step 2: Initial path planning of multiple robots; Step 2.1: Define the path set P, store the complete path and path cost of each robot from the starting point to the end point, and initialize Step 2.2: Single robot path planning; Step 2.2.1: Initialize k=1, t=0; Step 2.2.2: Calculate the shortest path p of the kth robot k , and record the path cost w′ k ; Step 2.2.3: Set the shortest path p of the kth robot k and path cost w′ k , in the form of a combination (p k , w′ k ) is stored in the path set P; Step 2.3: If k < K, assign k + 1 to k and return to Step 2.2.2 to execute sequentially; otherwise, it means that the path set P = {(p k , w′ k ), k = 1, 2, 3, …, K} composed of the shortest paths of all robots is obtained, and calculate the total weight of the path of the robot group After that, execute Step 3; Step 3: Multi-robot collaborative path planning; Step 3.1: Define the path constraint set C and initialize it Define the initial path planning scheme of multiple robots as r = {C, P, W″}; Construct a path planning solution set R to store the path planning solutions; And initialize Definition * ={C * , P * , W″ * } is the optimal path planning solution for multiple robots, and initializes the optimal path constraint set Optimal path set Optimal total weight W″ * =+∞; Step 3.2: Conflict Detection: Step 3.2.1: Initialize k=1; Step 3.2.2: Check whether there is a point conflict or edge conflict between the paths of the kth robot and other robots in the path set P of r: If the path of the kth robot and the paths of other robots have the same grid at the same time, it means that there is a point conflict between the paths of the kth robot and other robots. The serial numbers of all robots that have point conflicts with the kth robot are recorded, and the robot conflict serial number set List is constructed together with the kth robot. k , List k The number of robots is denoted as N k , and execute steps 3.4 to 3.5; If at the same time, the kth robot and the k′th robot use each other's grid as their destination, it means that there is an edge conflict between the paths of the corresponding robots. The serial numbers of all robots that have edge conflicts with the kth robot are recorded, and the robot conflict serial number set List′ is constructed together with the kth robot. k , List k The number of robots is recorded as N′ k , and execute steps 3.6-3.7; If there is no point conflict or edge conflict between the paths of the kth robot and other robots, execute step 3.3; Step 3.3: If k < K, then assign k + 1 to k and return to Step 3.2.2; otherwise, it means that after all robots have completed conflict detection, there is no conflict, and directly take r as r * Output; Step 3.4: Set up the List k One of the robots can pass through the grid that produces point conflict at the same time, and the other robots cannot pass through the grid that produces point conflict at the same time, so as to construct a set of point conflict constraints and add them to the path set C of r. Then, follow the process of step 2.2.2 to calculate List k Each robot in re-plans its path and obtains List k The shortest path and path cost of each robot in C, and then update the path set P and the total weight W″ according to the process of step 2.3 to obtain a point conflict sub-node solution; Step 3.5: Follow the process in step 3.4 to traverse Lsit k Each robot in the game is set up to obtain N k After adding the point conflict sub-node solution to R, execute step 3.8; Step 3.6: Set List′ k One robot can pass through the grid that causes edge conflict at the same time, and the other robots cannot pass through the grid that causes edge conflict at the same time, so as to construct a set of edge conflict constraints and add them to the path constraint set C of r, and then follow the process of step 2.2.2 to calculate List′ k Each robot in re-plans its path and obtains List′ k The shortest path and path cost of each robot under C in , and then update the path set P and the total weight W″ according to the process of step 2.3, so as to obtain an edge conflict sub-node solution; Step 3.7: Traverse List′ according to the process of step 3.6 k Each robot in the game is set up to obtain N′ k After the edge conflict sub-node solutions are added to R, execute step 3.8; Step 3.8: Select the solution with the smallest total weight from R and assign it to r. Delete r from R and return to step 3.

2.

2. A multi-robot path planning method based on spatiotemporal network according to claim 1, characterized in that: Step 2.2.2 is performed as follows: Step 2.2.2.1: Construct the extended node set openlist and the predecessor node set predlist. Step 2.2.2.2: Set the starting point o of the kth robot k The grid Add to openlist; Search Neighbor nodes that can be reached And the neighbor nodes Add to openlist, and at the same time, As a neighbor node The predecessor node is added to predlist; Step 2.2.2.3: Continue searching for neighbor nodes Neighbor nodes that can be reached And the neighbor nodes Add to openlist, and at the same time, As a neighbor node The predecessor node is added to predlist; Step 2.2.2.4: Follow the process of step 2.2.2.3 until the kth robot reaches the end point d k Until the grid where it is located appears in the openlist, then according to the predlist, from the end point d k Start backtracking to the previous node and get the kth robot from the starting point o k To the end point k The shortest path p k , and record the path cost w′ k .

3. An electronic device, comprising a memory and a processor, characterized in that: The memory is used to store a program that supports the processor to execute the multi-robot path planning method according to claim 1 or 2, and the processor is configured to execute the program stored in the memory.

4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the multi-robot path planning method according to claim 1 or 2 are executed.

Citation Information

Cited By

  • Multi-robot path searching method for optical communication scene

    CN121898433A