A dynamic path planning method for point inspection based on multi-stage heuristic algorithm
Through the combination of multi-stage heuristic algorithm and NSGA-Ⅱ genetic algorithm, route points are screened layer by layer and dynamic traffic and road network structure are taken into consideration, which solves the problem of path planning calculation complexity and low efficiency, and achieves fast and stable path planning. result.
Patent Information
- Application Number
- CN202410840668.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-27
AI Technical Summary
Existing path planning algorithms have problems with computational complexity and low computational efficiency when dealing with multi-way point path planning problems. Especially in large-scale instances, it is difficult for traditional full-permutation greedy algorithms and heuristic algorithms to achieve efficient and stable optimal solutions. , while deep learning and reinforcement learning models have low adaptability to instance problems.
A point-based dynamic path planning method based on a multi-stage heuristic algorithm is used to filter route points layer by layer to compress the feasible solution space of path planning. It also considers dynamic traffic congestion and road network topology in combination with the NSGA-Ⅱ genetic algorithm to quickly solve the problem. Optimal path.
It achieves rapid iterative convergence of path planning and improves the calculation speed. It is suitable for dynamic path planning of one-way multi-way points, solves the problems of large feasible solution space and long calculation time, and has the advantages of fast calculation and stable operation.
Smart Images

Figure CN118392204B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of path planning, and in particular to a point inspection dynamic path planning method based on a multi-stage heuristic algorithm. Background Art
[0002] In real-life applications, route planning is a common problem in logistics distribution, transportation navigation, and food delivery. It is a complex nonlinear problem that depends on multiple conditions such as destination demand, vehicle attributes, and traffic conditions. Path planning problems in real life are relatively complex. For example, common starting points and destinations have such path planning problems: the destination has time requirements and has a large number of optional waypoints. It is necessary to plan a shortest path that passes through multiple waypoints.
[0003] In the field of path planning, the multi-way point path planning problem is TSP (Traveling Salesman Problem), which is a combinatorial optimization problem with great computational complexity. For large instances with many calculation points, traditional full-permutation greedy algorithms and heuristic algorithms cannot achieve efficient, stable and absolutely optimal solutions, while deep learning neural networks require a large number of sample training, and reinforcement learning to construct path planning policy functions is extremely complex, and the model has low adaptability to instance problems. Summary of the invention
[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides a point inspection dynamic path planning method based on a multi-stage heuristic algorithm.
[0005] In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is:
[0006] A point inspection dynamic path planning method based on a multi-stage heuristic algorithm includes the following steps:
[0007] Obtain the starting and ending point information of the point inspection, as well as the global route point information;
[0008] The global waypoint information is filtered according to the starting point and the end point information to obtain the waypoints filtered for the first time;
[0009] Determine the number of waypoints according to the starting point and end point information and the waypoint information screened for the first time;
[0010] The waypoints screened for the first time are screened according to the waypoint priorities to obtain the waypoints screened for the second time;
[0011] Based on the waypoints and the number of waypoints screened for the second time, a heuristic algorithm is used to solve the path planning set;
[0012] Match the road network information and traffic condition information with the path planning set to obtain the optimal path planning result.
[0013] Preferably, the global waypoint information is screened according to the starting point and the end point information to obtain the waypoints screened for the first time, including the following steps:
[0014] Generate a rectangular frame with the starting point and the end point; the length of the rectangular frame is the distance between the starting point and the end point, the width of the rectangular frame is the set point range, and the direction of the long side of the rectangular frame is the direction of travel from the starting point to the end point;
[0015] Rotate the lower left corner vertex and the upper right corner vertex of the rectangular frame and the coordinates of all the waypoints to obtain the rotated coordinates of the rectangular frame vertices and the waypoints;
[0016] The waypoints for the first screening are obtained by screening according to the coordinates of the vertices of the rotated rectangular frame and the coordinates of the waypoints.
[0017] Preferably, determining the number of waypoints according to the starting point and end point information and the waypoint information screened for the first time comprises the following steps:
[0018] According to the number and operation duration of the waypoints screened for the first time, the average operation duration of the waypoints is calculated;
[0019] Calculate road travel time based on the distance between the starting point and the end point;
[0020] The number of waypoints is calculated based on the latest arrival time at the destination, the average operation time at the waypoints, and the road travel time.
[0021] Preferably, the road travel time is calculated according to the distance between the starting point and the end point, specifically:
[0022]
[0023] in, is the road travel time, is the distance between the starting point and the end point, is the nonlinear coefficient, is the road delay coefficient, is the average vehicle speed.
[0024] Preferably, the number of waypoints is calculated based on the latest arrival time of the destination, the average operation time of the waypoints, and the road travel time, specifically:
[0025]
[0026] in, is the number of waypoints, is the latest arrival time at the destination, To allow for late arrivals, The starting time is is the road travel time, is the average operation time of the waypoints.
[0027] Preferably, the waypoints screened for the first time are screened according to the waypoint priorities to obtain the waypoints screened for the second time, including the following steps:
[0028] Based on the waypoints screened for the first time, the distance from each waypoint to the straight line between the starting point and the end point is calculated;
[0029] The priority index of each pathway point is calculated based on the time of the last update, the location from the air monitoring station, and the properties of the pollution source;
[0030] The distance from each waypoint to the straight line between the starting point and the end point is weighted according to the corresponding priority index, and a determined number of waypoints are selected from the waypoints screened for the first time.
[0031] Preferably, according to the waypoints and the number of waypoints screened for the second time, a heuristic algorithm is used to solve the path planning set, including the following steps:
[0032] According to the path points screened for the second time, a directed weighted graph is constructed;
[0033] Calculate the Euclidean distance between each waypoint in the second screening and construct a pheromone matrix based on the objective function;
[0034] Construct an initial solution based on the number of waypoints;
[0035] Calculate the pheromone value of the solution and update the pheromone matrix;
[0036] Within the range of the number of iterations, all feasible solution spaces are traversed, and the second number of paths with larger pheromone values are retained to obtain a path planning set.
[0037] Preferably, the objective function is:
[0038]
[0039] in, is the objective function, is the minimum function, is the distance weight, For waypoint i With waypoints j The Euclidean distance between is the priority index weight, For waypoint i The priority index, is the set of waypoints for the second screening, is the number of waypoints.
[0040] Preferably, matching the road network information and the road condition information with the path planning set to obtain the optimal path planning result includes the following steps:
[0041] Obtain the road network topology and road section traffic congestion index, and construct the distance matrix and congestion coefficient matrix of the road network nodes;
[0042] The NSGA-Ⅱ genetic algorithm is used to iterate the path planning set, select the path with the shortest travel time, and obtain the optimal path planning result.
[0043] The present invention has the following beneficial effects:
[0044] The present invention adopts a multi-stage model to screen waypoints layer by layer, compress the size of the feasible solution space of path planning, and make the traditional heuristic algorithm iterative convergence faster. At the same time, considering the dynamic traffic congestion state and the road network topology structure, the NSGA-Ⅱ genetic algorithm is used to plan the road network trajectory between two points in small batches multiple times, with fast calculation speed and stable operation. The present invention is suitable for the problem of dynamic path planning with multiple waypoints in a single trip, and can well solve the path planning problem with a particularly large feasible solution space and a long calculation time, and has the advantages of fast calculation speed and stable operation results. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 The figure is a flowchart of a dynamic path planning method for point inspection based on a multi-stage heuristic algorithm. DETAILED DESCRIPTION
[0046] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.
[0047] like Figure 1 As shown, an embodiment of the present invention provides a point inspection dynamic path planning method based on a multi-stage heuristic algorithm, comprising the following steps S1 to S6:
[0048] S1. Obtain the starting and ending point information of the point inspection, as well as the global route point information;
[0049] In an optional embodiment of the present invention, the present embodiment obtains the known starting point Ps, end point Pe, and the longitude and latitude of multiple waypoints P1 to Pk to form a set of points: , there is no limit on the number of passing points k.
[0050] S2. Filter the global waypoint information according to the starting point and the end point information to obtain the waypoints filtered for the first time;
[0051] In an optional embodiment of the present invention, the present embodiment filters the global waypoint information according to the starting point and the end point information to obtain the waypoints filtered for the first time, including the following steps:
[0052] Generate a rectangular frame with the starting point and the end point; the length of the rectangular frame is the distance between the starting point and the end point, the width of the rectangular frame is the set point range, and the direction of the long side of the rectangular frame is the direction of travel from the starting point to the end point;
[0053] Rotate the lower left corner vertex and the upper right corner vertex of the rectangular frame and the coordinates of all the waypoints to obtain the rotated coordinates of the rectangular frame vertices and the waypoints;
[0054] The waypoints for the first screening are obtained by screening according to the coordinates of the vertices of the rotated rectangular frame and the coordinates of the waypoints.
[0055] Specifically, in this embodiment, when the starting point Ps and the end point Pe are known, it is necessary to initially screen the waypoints in the path direction, using the starting point and the end point as a rectangular frame, and the length of the rectangular frame is the distance between the starting point and the destination point. , width D is the range of points that need to be screened.
[0056] To implement rectangular range screening, we can first rotate the longitude and latitude of all waypoints, the lower left corner vertex of the rectangular box, and the upper right corner vertex of the rectangular box by an angle of θ. According to the coordinate transformation formula, we can get the new coordinate system and the new coordinates of each waypoint, which are expressed as:
[0057]
[0058]
[0059] in, is the y-axis coordinate of the end point Pe, is the y-axis coordinate of the starting point Ps, is the x-axis coordinate of the end point Pe, is the x-axis coordinate of the starting point Ps, For waypoint The new x-axis coordinate of For waypoint The new y-axis coordinate of For waypoint The x-axis coordinate of For waypoint The y-axis coordinate of the rectangle can be filtered out by the new latitude and longitude values.
[0060] Under the condition of known azimuth and distance, the new coordinates of the starting point Ps and the end point Pe are ( , )、 ( , ), the width of the rectangular box D is used to calculate the coordinates of the lower left corner vertex and the upper right corner vertex of the converted rectangular box, that is, ( , ), ( , ). Other waypoints are converted into coordinate points by ( , ) is transformed into ( , ), then the waypoints after the rectangular box screening are the new set NKP:
[0061]
[0062] in, are the new coordinates of the waypoints in the set NKP, is the new x-axis coordinate of the waypoint in the set NKP, is the new y-axis coordinate of the waypoint in the set NKP, is the new x-axis coordinate of the lower left corner of the rectangle. is the new x-axis coordinate of the upper right corner of the rectangle. is the new y-axis coordinate of the lower left corner of the rectangle. The new y-axis coordinate of the upper right corner of the rectangle.
[0063] The obtained NKP point set is the passing points in the direction of travel. The threshold can be adjusted to the width D of the rectangular box. The threshold value range is .
[0064] S3, determining the number of waypoints according to the starting point and end point information and the waypoint information screened for the first time;
[0065] In an optional embodiment of the present invention, the embodiment determines the number of waypoints according to the starting point and end point information and the waypoint information screened for the first time, including the following steps:
[0066] According to the number and operation duration of the waypoints screened for the first time, the average operation duration of the waypoints is calculated;
[0067] Calculate road travel time based on the distance between the starting point and the end point;
[0068] The number of waypoints is calculated based on the latest arrival time at the destination, the average operation time at the waypoints, and the road travel time.
[0069] Specifically, this embodiment calculates the average operation time of the waypoints according to the number of waypoints screened for the first time and the operation time, which is expressed as:
[0070]
[0071] in, is the average operation time of the waypoints, is the number of path points screened for the first time, is the set of waypoints screened for the first time, is the operation time of the waypoint Pi.
[0072] In this embodiment, the distance between the starting point and the end point is multiplied by the non-linear coefficient r and the road delay coefficient , divided by the average vehicle speed, expressed as:
[0073]
[0074] in, is the road travel time, is the distance between the starting point and the end point, is the nonlinear coefficient, is the road delay coefficient, is the average vehicle speed.
[0075] In this embodiment, the latest arrival time of the destination is , the average operation time of the waypoint Pi , Road travel time , calculate the number of waypoints that can be completed n , expressed as:
[0076]
[0077] in, is the number of waypoints, is the latest arrival time at the destination, To allow for late arrivals, The starting time is is the road travel time, is the average operation time of the waypoints.
[0078] The latest arrival time of the known destination Pe is , this time window is a soft time window, which can accept a maximum of , that is, the route L of the entire path planning must satisfy ,in It indicates the time when starting from the starting point Ps. Represents the travel time between two waypoints.
[0079] The number of waypoints that can be completed is calculated by taking into account other factors besides driving time and operation time. n Round down.
[0080] S4, filtering the waypoints screened for the first time according to the waypoint priorities to obtain waypoints screened for the second time;
[0081] In an optional embodiment of the present invention, the embodiment filters the waypoints filtered for the first time according to the waypoint priorities to obtain the waypoints filtered for the second time, including the following steps:
[0082] Based on the waypoints screened for the first time, the distance from each waypoint to the straight line between the starting point and the end point is calculated;
[0083] The priority index of each pathway point is calculated based on the time of the last update, the location from the air monitoring station, and the properties of the pollution source;
[0084] The distance from each waypoint to the straight line between the starting point and the end point is weighted according to the corresponding priority index, and a determined number of waypoints are selected from the waypoints screened for the first time.
[0085] Specifically, this embodiment, based on the first screening of the waypoints, the set of waypoints Further screening will reduce the complexity of the subsequent overall solution space, thereby avoiding falling into the local optimal solution and improving the computational efficiency. Further screening will calculate the straight line from the waypoint to the starting point-destination in NKP The distance d between them. Generally speaking, points near a straight line will be more "convenient", so distance is the first factor to consider.
[0086]
[0087] in, represents the coordinates of the starting point Ps and the end point Pe, is the coordinate of the calculated point, and d is the distance from the calculated point to the straight line. distance.
[0088] On the other hand, waypoints have their own priority indexes. In this embodiment, the priority index combines factors such as the time of the last update, the location from the air monitoring station, and the properties of the pollution source. Given waypoint Pi, the point priority index satisfies , which represents the weighted sum of the M factors considered, that is, the priority index of the waypoint Pi , the influencing factors of the path point Pi are , the corresponding weight is .
[0089] In this embodiment, the distance from the point to the line is weighted according to the priority index, and the distance from the point to the line is weighted according to the priority index. Filter out n optimal path points, expressed as:
[0090]
[0091] Among them, NTP represents the n points whose distance and priority are optimal for the route (Ps, Pe), and n is generally taken as 0.3~0.5 times the number of points, ; is the i-th path point to the straight line distance.
[0092] This embodiment processes the data of the waypoints and screens the points in the travel direction through two-layer screening logic, thereby compressing the feasible solution space of the path planning.
[0093] S5. Solve the path planning set using a heuristic algorithm based on the waypoints and the number of waypoints screened for the second time;
[0094] In an optional embodiment of the present invention, this embodiment uses a heuristic algorithm to solve the path planning set according to the waypoints and the number of waypoints screened for the second time, including the following steps:
[0095] According to the path points screened for the second time, a directed weighted graph is constructed;
[0096] Calculate the Euclidean distance between each waypoint in the second screening and construct a pheromone matrix based on the objective function;
[0097] Construct an initial solution based on the number of waypoints;
[0098] Calculate the pheromone value of the solution and update the pheromone matrix;
[0099] Within the range of the number of iterations, all feasible solution spaces are traversed, and the second number of paths with larger pheromone values are retained to obtain a path planning set.
[0100] Specifically, this embodiment uses a heuristic algorithm to construct an initial solution and a multi-objective loss function based on the path points and the number of path points screened for the second time, and optimizes and iterates until the optimal solution is found. This embodiment uses an improved ant colony algorithm, and uses the walking path of ants to represent the feasible solution to the path problem. All paths of the entire ant colony constitute the solution space of the problem to be optimized. Ants with shorter paths release more pheromones. As time goes by, the accumulated pheromone concentration on the shorter path gradually increases, and the number of ants choosing this path also increases. In the end, the entire ant will concentrate on the best path under the action of positive feedback, which corresponds to the optimal solution to the problem to be optimized. The overall objective function is defined as follows:
[0101]
[0102] in, is the objective function, is the minimum function, is the distance weight, For waypoint i With waypoints j The Euclidean distance between is the priority index weight, For waypoint i The priority index, is the set of waypoints for the second screening, is the number of waypoints.
[0103] The result calculated by the improved ant colony algorithm in this embodiment can be expressed as L = (Ps, , Pe), that is, the n waypoints selected from the NTP point set are inserted between the starting and ending points in a certain order to meet the goals of a small overall path distance and a large total value of the priority of the waypoints, forming a path starting from the current point Ps through n intermediate points to reach Pe, and the size of the solution is n+2.
[0104] This embodiment ultimately retains the top five path solutions because when the heuristic algorithm solves the path, the calculated straight-line distance is different from the actual road network structure, so the best five results are retained to match the actual road network and real-time traffic congestion conditions, and then the real-time travel path planning is determined.
[0105] S6. Match the road network information and road condition information with the path planning set to obtain the optimal path planning result.
[0106] In an optional embodiment of the present invention, this embodiment matches the road network information and the road condition information with the path planning set to obtain the optimal path planning result, including the following steps:
[0107] Obtain the road network topology and road section traffic congestion index, and construct the distance matrix and congestion coefficient matrix of the road network nodes;
[0108] The NSGA-Ⅱ genetic algorithm is used to iterate the path planning set, select the path with the shortest travel time, and obtain the optimal path planning result.
[0109] Specifically, this embodiment obtains road network data, uses ArcGIS to create a topological road network structure G, and then obtains the road section traffic congestion index of the Amap API to construct a distance matrix and a congestion coefficient matrix of the road network nodes.
[0110] The actual travel path between points needs to be iterated through an optimization algorithm. In this example, the NSGA-Ⅱ genetic algorithm is used for solution because its elite strategy can converge quickly and reduce the calculation time. The result of step S5 is L, and the number of points is n+2. It is necessary to calculate the actual travel of n+1 sections and splice them into the overall travel trajectory, so it is necessary to run the NSGA-Ⅱ genetic algorithm model n+1 times, but the distance between the points in the result L is not much different, and the algorithm calculation iteration converges very quickly each time. The characteristics of the NSGA-Ⅱ genetic algorithm model determine that the model operation rate of multiple batches of small-distance points is much greater than the long-distance path operation. At the same time, the geographic information acceleration strategy is applied to find a better initial solution and set a smaller number of iterations, so that the model converges faster. It is the route that takes the least time in the actual walking trajectory, which is selected from the result set L. In this embodiment, the starting and ending points of the inspectors are used as input, and the pollution source points along the way are planned according to the time window requirements.
[0111] Existing path planning focuses on planning that traverses all points, relies too much on artificial intelligence algorithm models, and lacks data processing content, resulting in a large amount of calculation for path planning, which is very easy to fall into a local optimal solution, and the results of each model operation are inconsistent. The present invention adopts a multi-stage model to screen waypoints layer by layer, compress the size of the feasible solution space for path planning, and make the traditional heuristic algorithm iterative convergence faster. At the same time, considering the dynamic traffic congestion state and the road network topology structure, the NSGA-Ⅱ genetic algorithm is used to plan the road network walking trajectory between two points in small batches multiple times, with fast calculation speed and stable operation. The embodiment is based on the daily inspection scene of the inspectors, plans convenient waypoints in the direction of travel, and returns the path planning results to the user terminal, realizing the transformation from traditional experience decision-making to intelligent decision-making. The present invention is suitable for the problem of dynamic path planning for one-way multi-waypoints, and can well solve the path planning problem with a particularly large feasible solution space and a long calculation time. It has the advantages of fast calculation rate and stable operation results.
[0112] Different from the existing technology, the feature of the present invention is that it uses a lightweight model to quickly select appropriate waypoints and then determine the travel order and route. For example, Amap inputs waypoints to determine the navigation route map, and its waypoints and travel order are manually input in advance, and the number is limited. Similar path planning problems are essentially different from the present invention.
[0113] The present invention is based on the actual scene of pollution source inspection in the field of environmental protection, and solves the problem of low efficiency caused by inspectors manually planning inspection routes based on experience and importance. The model algorithm is encapsulated into an API (Application Programming Interface) module and embedded in the inspector's mobile app, which enables the rapid generation of travel plans to be checked among tens of thousands or hundreds of thousands of pollution source points, and is applicable to a variety of path planning problems with and without destinations. The present invention adopts a multi-stage lightweight model method, taking into account multi-objective requirements such as destination demand, importance of waypoints, real-time traffic, etc., avoiding the disadvantages of low calculation efficiency and unstable results of traditional simulation algorithms.
[0114] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0115] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0116] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1The steps for the functions specified in one or more boxes.
[0117] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
[0118] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.
Claims
1. A point inspection dynamic path planning method based on a multi-stage heuristic algorithm, characterized in that: The following steps are involved: Obtain the starting and ending point information of the point inspection, as well as the global route point information; The global waypoint information is filtered according to the starting point and the end point information to obtain the waypoints filtered for the first time; Determine the number of waypoints according to the starting point and end point information and the waypoint information screened for the first time; The waypoints screened for the first time are screened according to the waypoint priorities to obtain the waypoints screened for the second time; According to the waypoints and the number of waypoints screened for the second time, a heuristic algorithm is used to solve the path planning set; the following steps are included: According to the path points screened for the second time, a directed weighted graph is constructed; The Euclidean distance between each waypoint in the second screening is calculated, and a pheromone matrix based on the objective function is constructed; the objective function is: in, is the objective function, is the minimum function, is the distance weight, For waypoint i With waypoints j The Euclidean distance between is the priority index weight, For waypoint i The priority index of is the set of waypoints for the second screening, is the number of waypoints; Construct an initial solution based on the number of waypoints; Calculate the pheromone value of the solution and update the pheromone matrix; Within the range of iteration times, all feasible solution spaces are traversed, and the second number of paths with larger pheromone values are retained to obtain a path planning set; Matching the road network information and traffic condition information with the path planning set to obtain the optimal path planning result includes the following steps: Obtain the road network topology and road section traffic congestion index, and construct the distance matrix and congestion coefficient matrix of the road network nodes; The NSGA-Ⅱ genetic algorithm is used to iterate the path planning set, select the path with the shortest travel time, and obtain the optimal path planning result.
2. According to claim 1, a method for dynamic path planning for point inspection based on a multi-stage heuristic algorithm is characterized in that: The global waypoint information is screened according to the starting point and the end point information to obtain the waypoints screened for the first time, including the following steps: Generate a rectangular frame with the starting point and the end point; the length of the rectangular frame is the distance between the starting point and the end point, the width of the rectangular frame is the set point range, and the direction of the long side of the rectangular frame is the direction of travel from the starting point to the end point; Rotate the lower left corner vertex and the upper right corner vertex of the rectangular frame and the coordinates of all the waypoints to obtain the rotated coordinates of the rectangular frame vertices and the waypoints; The waypoints for the first screening are obtained by screening according to the coordinates of the vertices of the rotated rectangular frame and the coordinates of the waypoints.
3. According to claim 1, a method for dynamic path planning for point inspection based on a multi-stage heuristic algorithm is characterized in that: According to the starting point and end point information and the waypoint information screened for the first time, the number of waypoints is determined, including the following steps: According to the number and operation duration of the waypoints screened for the first time, the average operation duration of the waypoints is calculated; Calculate road travel time based on the distance between the starting point and the end point; The number of waypoints is calculated based on the latest arrival time at the destination, the average operation time at the waypoints, and the road travel time.
4. According to claim 3, a method for dynamic path planning for point inspection based on a multi-stage heuristic algorithm is characterized in that: Calculate the road travel time based on the distance between the start and end points as follows: in, is the road travel time, is the distance between the starting point and the end point, is the nonlinear coefficient, is the road delay coefficient, is the average vehicle speed.
5. According to claim 3, a method for dynamic path planning for point inspection based on a multi-stage heuristic algorithm is characterized in that: The number of waypoints is calculated based on the latest arrival time of the destination, the average operation time of the waypoints, and the road travel time. Specifically: in, is the number of waypoints, is the latest arrival time at the destination, To allow for late arrivals, The starting time is is the road travel time, is the average operation time of the waypoints.
6. The method for dynamic path planning for point inspection based on a multi-stage heuristic algorithm according to claim 1, characterized in that: The waypoints screened for the first time are screened according to the waypoint priorities to obtain the waypoints screened for the second time, including the following steps: Based on the waypoints screened for the first time, the distance from each waypoint to the straight line between the starting point and the end point is calculated; The priority index of each pathway point is calculated based on the time of the last update, the location from the air monitoring station, and the properties of the pollution source; The distance from each waypoint to the straight line between the starting point and the end point is weighted according to the corresponding priority index, and a determined number of waypoints are selected from the waypoints screened for the first time.
