Heterogeneous multi-unmanned vehicle-to-multi-target fusion task and path planning method
By adopting the fusion task and path planning method of multiple unmanned vehicles against multiple targets based on time window constraints in the field of autonomous planning of unmanned systems, and using rasterization and JPS algorithm iterative updates, the problem of heterogeneous multi-unmanned vehicles against multiple targets is solved. The algorithm complexity and stability issues in the target's task planning and path planning are solved, and accurate and efficient path planning results are achieved.
Patent Information
- Application Number
- CN202410763223.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-09-20
AI Technical Summary
Existing Technology In the field of autonomous planning of unmanned systems, the task planning and path planning of heterogeneous multi-unmanned vehicles for multi-targets have problems such as high algorithm complexity, unstable decision-making solutions, and inability to guarantee the optimal solution, especially in complex environments. The search speed is slow and it is difficult to obtain optimal allocation results.
A multi-unmanned vehicle-to-multi-target fusion task and path planning method based on time window constraints is used. Through rasterized maps, unified coding, and JPS algorithm iterative updates, real paths and allocation plans are calculated to ensure the accuracy and reliability of the results. Executionability.
It achieves the output of accurate path planning results taking into account the target point and unmanned vehicle task allocation, solves the end-to-end multi-unmanned vehicle path planning problem, and improves the stability and calculation efficiency of the allocation plan.
Smart Images

Figure CN118672268A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of autonomous planning of unmanned systems, and in particular to a method for integrating tasks and paths of heterogeneous multi-unmanned vehicles for multi-targets. Background Art
[0002] The Vehicle Routing Problem (VRP) is a typical NP-hard task planning problem that has attracted the attention of many experts and scholars in recent years. Among them, the task planning technology for solving the VRP problem is currently a popular research direction in the field of autonomous planning of unmanned systems. The VRP problem can be defined as how to reasonably assign targets to each vehicle given a group of unmanned vehicles and multiple target points, so as to minimize the corresponding distance and function under given constraints to output the optimal planning result of task target allocation. Typical VRP problems include heterogeneous multi-unmanned vehicle VRP problems (Heterogeneous Fleet Vehicle Routing Problem, HFVRP) and other problem forms. The task planning problem of heterogeneous multi-unmanned vehicles for multiple objectives can be well abstracted into the HFVRP problem, which is the main feature of the problem. Given multiple heterogeneous unmanned vehicles, and the types of heterogeneous unmanned vehicles are strictly restricted, the corresponding capabilities of each unmanned vehicle and the performance of completing different tasks are also given. Therefore, this constitutes a HFVRP problem (Heterogeneous Fixed Fleet Vehicle Routing Problem, HFFVRP) with a limited number of vehicles of each type. For the HFFVRP problem, the current solution is mainly divided into two directions, namely search algorithms and optimization algorithms. The advantage of the search algorithm is that all possible decision-making plans can be compared through brute force search or heuristic search to obtain the optimal solution, but the computing power requirements are high and the algorithm complexity is large (the common bipartite graph search needs to reach O(n 3 ) algorithm complexity), and the evaluation of decision weights and the construction of heuristics are a priori. The optimization algorithm can obtain a better decision solution in a relatively short time through iterative calculation, but it cannot give the optimal solution, and the algorithm effect varies greatly according to different a priori parameters (such as the acceptance probability in the simulated annealing algorithm, the initial population in the genetic algorithm, etc.), and there is a problem of difficulty in reproduction.
[0003] For the task allocation results that have been obtained, how to obtain the specific vehicle path of each unmanned vehicle is the final solution we want to obtain. Therefore, the path planning algorithm, as an important part of unmanned vehicle navigation, mainly refers to the unmanned vehicle automatically planning a path from the starting point to the target point in the corresponding area. In this process, it is necessary to ensure that there is no collision and the path finding cost is low. To address this problem, the commonly used path planning algorithms are mainly search algorithms, including the Dijkstra algorithm that minimizes the cost of moving the starting point, the best priority search algorithm that minimizes the cost of moving the end point, and the A* algorithm that minimizes the comprehensive cost. However, traditional path search algorithms have problems such as slow algorithm convergence speed and easy to fall into local optimal solutions.
[0004] In view of the shortcomings listed above, different solutions are proposed. For task allocation algorithms and path planning algorithms, the existing solutions are as follows:
[0005] Task allocation scheme 1: The literature (Lu Duan, Yang Zhan, Haoyuan Hu, Yu Gong, Jiangwen Wei, Xiaodong Zhang, and Yinghui Xu. 2020. Efficiently Solving the Practical Vehicle Routing Problem: A Novel Joint Learning Approach. In Proceedings of the 26th ACMSIGKDD International Conference on Knowledge Discovery & Data Mining (KDD'20). Association for Computing Machinery, New York, NY, USA, 3054–3063.) designed a deep model to learn a quasi-heuristic strategy and finally generate vehicle routing. The model is based on GCN, and takes node features (coordinates, demand) and edge features (real physical distance between nodes) as input for embedding. Separated decoders are used to encode the expression of these two features. The output of one decoder is the supervision of another decoder, combining reinforcement learning and supervised learning to obtain a set of better decision solutions. However, the decision solution obtained through learning methods cannot guarantee its stability and robustness, and requires too high computing power.
[0006] Task allocation scheme 2: The literature (Agatz N, Bouman P, Schmidt M. Optimization approaches for the traveling salesman problem with drone [J]. Transportation Science, 2018, 52 (4): 965-981.) proposed an integer programming model TSP-D (Traveling Salesman Problem with Drone) to solve the DTCO problem. This model allows UGV and UAV to perform delivery tasks at the same time, and also proposes some heuristic rules to construct a planning scheme for this mathematical problem. However, the planning scheme is only applicable to wide terrain with fewer obstacles. When faced with complex environments with more obstacles, the algorithm's search speed is significantly slowed down, and it is impossible to obtain a better allocation result.
[0007] Path planning scheme: The literature (Kurzer, Karl. (2016). Path Planning in Unstructured Environments: A Real-time Hybrid A* Implementation for Fast and Deterministic Path Generation for the KTH Research Concept Vehicle. 10.13140 / RG.2.2.10091.49444.) proposed a method that can replan online, generate obstacle maps, and drive in unknown environments, assuming that the unmanned vehicle has sufficient perception and positioning capabilities. The algorithm is divided into two stages. The first stage is to perform heuristic search in a continuous coordinate system by improving the A* algorithm. The second stage uses a numerical nonlinear optimization method (i.e., conjugate gradient descent method) to improve the "quality" of the generated path so that it is at least locally optimal. However, there are still problems inherent in the A* algorithm, such as the long open list, the large computing power spent on maintaining the monotonic queue during the search process, and the high algorithm complexity. Summary of the invention
[0008] In view of this, the present invention provides a fusion task and path planning method for multiple unmanned vehicles to multiple targets under time window constraints. The method of the present invention can output the task target point allocation results while providing executable path-level planning results for each unmanned vehicle.
[0009] The technical solution of the present invention is:
[0010] A method for integrating tasks and path planning of heterogeneous multi-unmanned vehicles for multiple targets, the method comprising the following steps:
[0011] The first step is to perform a rasterization operation on the structure map of the current working area to obtain a binary raster map matrix;
[0012] The second step is to unify the target requirements and the parameters of the unmanned vehicle into a unified code;
[0013] The third step is to allocate the initialization schemes to the unmanned vehicle and the target according to the unified coding in the second step, and obtain multiple allocation schemes. The multiple allocation schemes obtained form the initial allocation results. According to the initial allocation results and the binary grid map matrix obtained in the first step, the JPS algorithm is called to calculate the distance sum of the current path and the current initial allocation result, and the distance sum is marked as P1;
[0014] The fourth step is to exchange a set of allocation plans in the initial allocation result according to the unified coding in the second step. The multiple allocation plans after the exchange form the second allocation result. The JPS algorithm is called according to the second allocation result and the binarized raster map matrix obtained in the first step to calculate the sum of the distances of the current path and the second allocation result. The sum of the distances is marked as P2, and P1 and P2 are compared. If P2 is less than P1, the exchange is valid and the second allocation result is retained. If P2 is not less than P1, the exchange is invalid and the initial allocation result is retained.
[0015] Step 5: Repeat step 4. When the number of iterations reaches the set threshold or the distance and change after n iterations are less than the set accuracy, the path and allocation results are obtained, and the fusion task and path planning of heterogeneous multi-unmanned vehicles for multiple targets are completed, and n is less than the set threshold.
[0016] In the first step, when the rasterization operation is performed, when there is an obstacle in the current grid, it is marked as +∞, when the current grid is in a dangerous area, it is marked as +∞, and when the current grid is passable, it is marked as 1.
[0017] Beneficial Effects
[0018] The method of the present invention targets two tasks, task allocation and path planning. Under the premise of considering the target point and the unmanned vehicle task allocation scheme, the real path between the target point and the unmanned vehicle is calculated at the same time, and the distance and the distance are calculated using the real path instead of the estimated path. The allocation scheme is iteratively updated to make the result more accurate. In addition, it can output the target point allocation result while giving an executable path-level planning result for each unmanned vehicle, and the specific driving path of each unmanned vehicle is directly obtained from the input map information, vehicle information and target point information, solving the end-to-end multi-unmanned vehicle path planning problem. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 The vehicle-task point topology diagram of the present invention;
[0020] Figure 2 A schematic diagram of the exchange iterative update algorithm of the present invention;
[0021] Figure 3 A schematic diagram of a jump point in the JPS algorithm of the present invention;
[0022] Figure 4 It is a schematic diagram of the overall algorithm framework of the present invention;
[0023] Figure 5 Design process for the path search algorithm of the present invention;
[0024] Figure 6 Design a process for the task allocation algorithm of the present invention;
[0025] Figure 7 This is the initial solution algorithm design process of the present invention. DETAILED DESCRIPTION
[0026] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0027] Example
[0028] A fusion task and path planning method for heterogeneous multi-unmanned vehicles to multiple targets (such as Figure 1 The steps of the method include (as shown in Figure 4 shown):
[0029] The first step is to rasterize the current working area structure map. When there is an obstacle in the current grid, it is marked as +∞, when the current grid is in the dangerous area, it is marked as +∞, and when the current grid is passable, it is marked as 1. The binary grid map matrix is obtained;
[0030] The second step is to unify the target requirements and the parameters of the unmanned vehicle into a unified code;
[0031] The third step is to allocate the initialization scheme for the unmanned vehicle and the target according to the unified coding in the second step (such as Figure 7 As shown), multiple allocation schemes are obtained, and the multiple allocation schemes are used to form the initial allocation result. The JPS algorithm is called according to the initial allocation result and the binary grid map matrix obtained in the first step (as shown in FIG. Figure 5 As shown in FIG. 1 ), the sum of the distances of the current path and the current initial allocation result is calculated, and the sum of the distances is marked as P1;
[0032] Step 4: exchange a set of allocation plans (such as Figure 2As shown), the multiple allocation schemes after the exchange form the second allocation result. According to the second allocation result and the binarized grid map matrix obtained in the first step, the JPS algorithm is called to calculate the sum of the distances of the current path and the second allocation result. The sum of the distances is marked as P2, and P1 and P2 are compared. If P2 is less than P1, the exchange is valid and the second allocation result is retained. If P2 is not less than P1, the exchange is invalid and the initial allocation result is retained.
[0033] Step 5: Repeat step 4. When the number of iterations reaches the set threshold or the distance and change after m iterations are less than the set accuracy, the path and allocation results are obtained, and the fusion task and path planning of heterogeneous multi-unmanned vehicles for multiple targets are completed, and m is less than the set threshold. (e.g. Figure 6 (shown)
[0034] In the second step, the target requirement parameters include:
[0035] Target point set: C = {1,…,n}, n is the number of target points;
[0036] Vertex collection: (0 is the starting point);
[0037] Target point ability requirements: q i ; i=1,2,…,n;
[0038] Target point time window: [a i ,b i ];
[0039] Path cost: c ij , where, in order to prevent repeated pathfinding, the sum of the path distances from the model itself to itself is infinite, that is, c ii =+∞, j = 1, 2, ..., n;
[0040] The parameters of the unmanned vehicle include:
[0041] Vehicle set: K = {1,...,k}, where k is the number of unmanned vehicles;
[0042] Vehicle capability value: p l , l=1,2,…,k;
[0043] In the third step, the method for allocating initialization schemes to the unmanned vehicle and the target is:
[0044] Sort all the target points according to the path cost from small to large, then take the first target point as the starting point, and insert the remaining target points into the path in sequence until the path length reaches the vehicle capacity value, and get the initial solution of the vehicle, since all unmanned vehicles have the same starting position;
[0045] Repeat the above process until all target points are assigned to the unmanned vehicle and the initialization scheme is assigned;
[0046] The vehicle capability value must satisfy: the unmanned vehicle capability value assigned to the target point includes the capability requirement of the target point;
[0047] In the third step, the JPS algorithm is used to calculate the search paths and path lengths between all unmanned vehicles and the target point, and then all path costs are obtained based on the estimated distance and path length. The search paths and path costs are made into a two-dimensional structure array, called a path storage unit, in which each element contains a set of search paths and path costs between the unmanned vehicles and the target point;
[0048] The JPS algorithm searches by calculating the sum of the starting cost and the end cost as a heuristic item. For each path point searched, the point where the path direction changes is added to the Openlist priority queue. Such points are also called jump points. Then the point with the lowest heuristic value is popped out from the Openlist priority queue as the next search point.
[0049] In this JPS algorithm, the jump point is determined by the following rules (such as Figure 3 S is the starting point, E is the end point, A, B, C, D are jump points, and blue is an obstacle):
[0050] A point is a jump point if it is either a starting point or a target point.
[0051] If a point has a neighbor and it is a forced neighbor, then the point is a jump point.
[0052] If the parent node of a point moves diagonally to the point, and the point can reach the jump point by moving horizontally or vertically, then the point is also a jump point.
[0053] Among them, forced neighbor means: if there is an obstacle among the 8 neighbors of node x, and the distance cost of x's parent node p to reach Q through x is smaller than the distance cost of any path to Q without passing through x, then Q is called a forced neighbor of x.
[0054] Therefore, for each jump point in the Openlist, a forced_neighbor_list array is also required to save the position of the forced neighbor node relative to the node, indicating the jumping direction of the node.
[0055] For each jump point, the search method is performed by jumping.
[0056] Jumping is divided into straight jumping and diagonal jumping. Straight jumping is further divided into horizontal jumping and vertical jumping. When jumping, first jump straight, then jump diagonally. When jumping straight, if you jump to an obstacle or a boundary, return to the parent node parent to jump diagonally; when the node after the diagonal jump is an obstacle or a boundary, stop jumping.
[0057] In the JPS algorithm, new jump points are continuously added to the Openlist priority queue by jumping each jump point, and the points that the jump points can jump to are added to the closedlist to prevent repeated searches. Finally, the key points in the Openlist priority queue are searched and the search algorithm ends. At this time, the jumping directions recorded in the forced_neighbor_list of all jump points in the Openlist priority queue are connected together, which is the optimal path obtained by the JPS algorithm.
[0058] Adding up the optimal path lengths of all unmanned vehicles will give the total distance under this allocation scheme.
[0059] In summary, the above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for integrating tasks and path planning of heterogeneous multi-unmanned vehicles for multi-targets, characterized in that The steps of the method include: The first step is to perform a rasterization operation on the structure map of the current working area to obtain a binary raster map matrix; The second step is to unify the target requirements and the parameters of the unmanned vehicle into a unified code; The third step is to allocate the initialization schemes to the unmanned vehicle and the target according to the unified coding in the second step, and obtain multiple allocation schemes. The multiple allocation schemes obtained form the initial allocation results. According to the initial allocation results and the binary grid map matrix obtained in the first step, the JPS algorithm is called to calculate the distance sum of the current path and the current initial allocation result, and the distance sum is marked as P1; The fourth step is to exchange a set of allocation plans in the initial allocation result according to the unified coding in the second step. The multiple allocation plans after the exchange form the second allocation result. The JPS algorithm is called according to the second allocation result and the binarized raster map matrix obtained in the first step to calculate the sum of the distances of the current path and the second allocation result. The sum of the distances is marked as P2, and P1 and P2 are compared. If P2 is less than P1, the exchange is valid and the second allocation result is retained. If P2 is not less than P1, the exchange is invalid and the initial allocation result is retained. Step 5: Repeat step 4. When the number of iterations reaches the set threshold or the distance and change after n iterations are less than the set accuracy, the path and allocation results are obtained, and the fusion task and path planning of heterogeneous multi-unmanned vehicles for multiple targets are completed, and n is less than the set threshold.
2. According to claim 1, a method for integrating tasks and path planning of heterogeneous multi-unmanned vehicles for multiple targets, characterized in that: In the first step, when the rasterization operation is performed, when there is an obstacle in the current grid, it is marked as +∞, when the current grid is in a dangerous area, it is marked as +∞, and when the current grid is passable, it is marked as 1.
3. According to claim 1, a method for integrating tasks and path planning of heterogeneous multi-unmanned vehicles for multiple targets, characterized in that: In the fifth step, n is 10.
