A UAV coverage path planning method for urban areas
Through the combination of integer planning and generalized travel dealer problems, the problem of computational complexity and optimization variables of UAV coverage path planning in complex urban areas is solved, and efficient and safe coverage path planning is achieved, which is suitable for complex urban areas. Drone mission.
Patent Information
- Application Number
- CN202411524162.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2044-10-30
AI Technical Summary
The existing UAV coverage path planning method has problems such as high computational complexity, many optimization variables, and insufficient planning optimization when dealing with complex urban areas, which is difficult to meet the coverage needs of complex urban areas.
The integer planning method of set division decomposes the target area into multiple feasible subspaces without obstacles, and the optimization problem is equivalent to a generalized travel dealer problem, which is handled through adaptive drone flight altitude model and area decomposition method. Obstacles, generating the optimal coverage path.
Efficient and secure UAV coverage path planning in complex urban areas is realized, which reduces the computational complexity and number of subspaces, and improves the coverage efficiency and optimal planning.
Smart Images

Figure CN119043340B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of unmanned aerial vehicle (UAV) path planning, and in particular relates to a UAV coverage path planning method for urban areas. Background Art
[0002] Drones have been widely used due to their strong maneuverability and high flexibility. Especially in urban areas, drones play an important role in traffic monitoring, network services, aerial patrols, fire monitoring and emergency rescue. Therefore, it is extremely important to design a safe, efficient and feasible drone coverage path planning method for urban areas, which is of great significance to improving the efficiency, safety and reliability of drone operations in cities. The goal of coverage path planning is to plan a series of paths under the premise of meeting the constraints of drone movement and mission space, so that the drone can fully cover the target area and ensure the optimal time and energy consumption indicators during the flight.
[0003] Traditional UAV coverage path planning mostly uses the grid method. First, the target area is divided into a series of closely connected and uniformly sized grids. Then, the UAV visits all grids in turn to achieve coverage of the entire target area. However, as the area of the target area increases, the computational memory occupied by the grid increases linearly, resulting in an exponential increase in the computational complexity of solving feasible coverage paths. Therefore, the grid method is difficult to apply to large area coverage tasks. Unlike the grid method, by designing a series of parallel UAV reciprocating motion paths, a large area can be efficiently covered without complex calculations. However, the reciprocating motion path cannot handle obstacles in the area and can mostly only be applied to coverage tasks in open areas, such as UAV spraying pesticides. In order to solve the coverage planning problem in the obstacle space, researchers began to study the coverage planning method based on graph theory. The core idea is to obtain multiple feasible subspaces by segmenting the target area, and then construct a path optimization algorithm on this basis to achieve the optimal planning of the coverage path. Compared with other methods, it solves the coverage planning results by traversing the feasible subspace, which effectively reduces the computational complexity, and the subspace segmentation can significantly reduce the number of turns and flight distance of the UAV, thereby improving the coverage efficiency. However, the existing segmentation methods do not fully merge subspaces, and there are bottleneck problems such as multiple subspaces, complex optimization variables, slow solution speed, and insufficient planning optimality. In addition, the coverage planning efficiency and spatial constraints are not fully considered in the construction of the optimization problem, resulting in the coverage planning results being difficult to apply to complex urban areas.
[0004] In order to further promote the application of drones in traffic monitoring, network services, aerial patrols, fire monitoring and emergency rescue in complex urban areas, it is urgent to invent an efficient and safe drone coverage path planning method. Summary of the invention
[0005] In view of the above technical problems, the present invention provides a UAV coverage path planning method for urban areas.
[0006] The technical solution adopted by the present invention to solve the technical problem is:
[0007] A method for planning a UAV coverage path for an urban area, the method comprising the following steps:
[0008] S100: Determine the starting point and end point coordinates of the UAV coverage mission, and build a map model based on the terrain database of the area where the flight mission is located;
[0009] S200: Establishing a height model for the UAV coverage flight, preprocessing the grid map according to the height model, and obtaining a feasible space for the coverage task;
[0010] S300: Design an integer programming method for set partitioning to decompose the target area into multiple feasible subspaces that do not contain obstacles, and obtain a spatial decomposition diagram of the task area;
[0011] S400: Based on the space decomposition graph, construct an optimization problem with the cost of minimizing the path length and the starting point, end point and covering direction of the subspace coverage planning as output;
[0012] S500: The optimization problem is equivalently converted into a generalized traveling salesman problem for solution, a path covering each subspace is generated, and path planning covering the entire target area is completed.
[0013] Preferably, S100 includes:
[0014] S110: Determine the starting point and end point coordinates of the UAV flight according to the UAV coverage mission requirements and initial conditions;
[0015] S120: Generate a digital topographic map of the target area using the terrain data, clearly define the horizontal and vertical boundaries of the coverage task, and the vertex positions and height information of obstacles in the area;
[0016] S130: Convert digitized topographic map into raster map:
[0017] ;
[0018] in Represents the target area, Represents the horizontal and vertical coordinates of the drone, Represents the height of the grid point, represents the entire set of real numbers.
[0019] Preferably, S200 includes:
[0020] S210: Establish UAV altitude model;
[0021] S220: Before executing the mission, adjust the altitude of the drone's coverage flight according to the mission requirements and the target area environmental information, and pre-process the raster map of the area according to the flight altitude, wherein the obstacle area greater than the drone's flight altitude is regarded as an inaccessible area, and the obstacle area less than the drone's flight altitude is regarded as a reachable area, and generate a target area raster map for coverage planning.
[0022] Preferably, S210 specifically includes:
[0023] ;
[0024] in Represents the altitude of the drone, Represents the requirement for clarity, represents the clarity weight, Represents the wind factor in the target area, represents the safety weight, It is the standard flight altitude of drones;
[0025] The specific processing process in S220 is as follows:
[0026] ;
[0027] in represents the flight altitude of the drone, and k represents the altitude of the drone. The accessibility of Indicates that the drone is unreachable. Represents drone reachable;
[0028] The new grid map is as follows:
[0029] ;
[0030] According to the query The value of can determine the corresponding Obstacle situation at the location.
[0031] Preferably, S300 includes:
[0032] S310: Extending edges of obstacles with inner angles less than 180 degrees until they hit a map boundary or other obstacles, and extending the edges to divide the target space into multiple subspaces;
[0033] S320: merging the divided subspaces by using an integer programming algorithm for set partitioning, thereby reducing the number of subspaces;
[0034] S330: Decomposing the target area into a plurality of sub-areas that do not contain obstacles by solving an integer programming problem.
[0035] Preferably, the integer programming model for set partitioning in S320 is specifically:
[0036] ;
[0037] ;
[0038] ;
[0039] ;
[0040] in By strategy The width of the generated convex polygon, represents the selected strategy, Represents all strategies that can be merged, , Indicates whether to select a strategy , 1 if selected, 0 otherwise, represents the subspace, Represents a collection of subspaces. If the merging strategy Include Sub-Polygons ,but is 1, otherwise it is 0;
[0041] Preferably, S400 includes:
[0042] S410: Based on the obtained task area spatial decomposition diagram, it is necessary to determine the starting point, end point and covering direction of the subspace, wherein the direction selection depends on the direction of each edge of the subspace, that is: ,in Represents the covering direction, F represents all the edges of the subspace, and the starting and ending points are the vertices of each subspace, that is: ,in , Represent the starting point and the end point respectively, and V represents all the nodes in the subspace;
[0043] S420: Establishing an optimization problem with minimizing the path length as the cost and taking the starting point, end point and coverage direction of the subspace coverage planning as the output;
[0044] Preferably, the optimization problem of the path cost in S420 is specifically:
[0045] ;
[0046] in, is the total number of sub-regions decomposed, ) is the The sub-regions cover the coordinates of the path end points, ) is the The sub-regions cover the coordinates of the path starting point, Represents the cost of transitioning between different subspaces.
[0047] Preferably, S500 includes:
[0048] S510: Define adjacency graph: ,in represents the set of subspaces, Represents the access order, that is, from arrive The order in which access is performed; each access sequence There is a arrive The shortest path , use the existing graph search algorithm to obtain the distance of the shortest path;
[0049] S520: The path is planned using the speed ramp function parameterization. The total cost of the trajectory is the sum of the costs of all segmented trajectories. The cost of each segment of the trajectory is The value depends on the distance between the two points 、Maximum speed of drone and maximum acceleration :
[0050] ;
[0051] in , , is the time to accelerate to maximum speed, is the distance the drone travels when accelerating, is the maximum speed, is the maximum acceleration, For arrive The shortest path; since the starting and ending points of the area coverage do not coincide, the cost matrix is asymmetric, that is ;
[0052] S530: Based on S300, the vertex set of each subspace is fixed. By selecting appropriate starting and ending points and the order of visiting the subspaces to ensure the minimization of the transition time, the following generalized traveling salesman problem is constructed:
[0053] ;
[0054] in Represents the total cost, The first visit represents the starting point. The last visited one is the end point. Indicates that all nodes have been visited;
[0055] The computational geometry algorithm library CGAL is used to solve the generalized traveling salesman problem, and the final path obtained can achieve optimal coverage of the urban area.
[0056] The above-mentioned UAV coverage path planning method for urban areas proposes an adaptive UAV flight altitude model to enable the UAV to dynamically adjust the flight altitude under uncertain environments, thereby meeting different precision task requirements; a regional decomposition method is proposed to deal with obstacles in urban areas and reduce the number of sub-target areas; the problem is equivalently converted into a generalized traveling salesman problem, and by designing an objective function under multiple constraints, it can be solved quickly. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 This is a flow chart of a method for planning a UAV coverage path for an urban area in one embodiment of the present invention;
[0058] Figure 2 It is a schematic diagram of the initial map of the present invention;
[0059] Figure 3 A pre-processed map of the present invention, including a starting point, an end point and obstacles;
[0060] Figure 4 This is a schematic diagram of the present invention after regional decomposition, where the entire map is divided into several subspaces;
[0061] Figure 5 The present invention is directed to the selection of the subspace area coverage direction;
[0062] Figure 6 The coverage result generated by the present invention for a given map;
[0063] Figure 7 This is the path finally generated by the present invention. DETAILED DESCRIPTION
[0064] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings.
[0065] In one embodiment, Figure 1 As shown, a method for planning a UAV coverage path for an urban area comprises the following steps:
[0066] S100: Determine the starting point and end point coordinates of the UAV coverage mission, and build a map model based on the terrain database of the area where the flight mission is located;
[0067] S200: Establishing a height model for the UAV coverage flight, preprocessing the grid map according to the height model, and obtaining a feasible space for the coverage task;
[0068] S300: Design an integer programming method for set partitioning to decompose the target area into multiple feasible subspaces that do not contain obstacles, and obtain a spatial decomposition diagram of the task area;
[0069] S400: Based on the space decomposition graph, construct an optimization problem with the cost of minimizing the path length and the starting point, end point and covering direction of the subspace coverage planning as output;
[0070] S500: The optimization problem is equivalently converted into a generalized traveling salesman problem for solution, a path covering each subspace is generated, and path planning covering the entire target area is completed.
[0071] The above-mentioned UAV coverage path planning method for urban areas proposes an adaptive UAV flight altitude model to enable the UAV to dynamically adjust the flight altitude under uncertain environments, thereby meeting different precision task requirements; a regional decomposition method is proposed to deal with obstacles in urban areas and reduce the number of sub-target areas; the problem is equivalently converted into a generalized traveling salesman problem, and by designing an objective function under multiple constraints, it can be solved quickly.
[0072] In one embodiment, S100 includes:
[0073] S110: Determine the starting point and end point coordinates of the UAV flight according to the UAV coverage mission requirements and initial conditions;
[0074] S120: Generate a digital topographic map of the target area using the terrain data, clearly define the horizontal and vertical boundaries of the coverage task, and the vertex positions and height information of obstacles in the area;
[0075] S130: Convert digitized topographic map into raster map:
[0076] ;
[0077] in Represents the target area, Represents the horizontal and vertical coordinates of the drone, Represents the height of the grid point, represents the entire set of real numbers.
[0078] In one embodiment, S200 includes:
[0079] S210: Establish UAV altitude model;
[0080] S220: Before executing the mission, adjust the altitude of the drone's coverage flight according to the mission requirements and the target area environmental information, and pre-process the raster map of the area according to the flight altitude, wherein the obstacle area greater than the drone's flight altitude is regarded as an inaccessible area, and the obstacle area less than the drone's flight altitude is regarded as a reachable area, and generate a target area raster map for coverage planning.
[0081] Specifically, by comprehensively considering the wind conditions, visibility and other information in the city, a suitable altitude for covering the flight is generated. Figure 2 As shown in Figure 1, after selecting the flight altitude of the drone, there are obstacles whose height exceeds the flight plane of the drone. The preprocessed map is as follows Figure 3 shown.
[0082] In one embodiment, S210 specifically includes:
[0083] ;
[0084] in Represents the altitude of the drone, Represents the requirement for visibility, represents the visibility weight, Represents the wind factor in the target area, represents the safety weight, It is the standard flight altitude of drones;
[0085] Take the DJI Mavic3E mapping drone as an example, its standard flight altitude When the visibility is 2 and the wind factor is 3, the design parameters are as required. They are -0.5 and -1 respectively. The flight altitude is 76.
[0086] The specific processing process in S220 is as follows:
[0087] ;
[0088] in represents the flight altitude of the drone, and k represents the altitude of the drone. The accessibility of Indicates that the drone is unreachable. Represents drone reachable;
[0089] The new grid map is as follows:
[0090] ;
[0091] According to the query The value of can determine the corresponding Obstacle situation at the location.
[0092] In one embodiment, Figure 4 As shown, S300 includes:
[0093] S310: Select an edge less than 180° in the obstacle space and extend it to divide the target space into multiple subspaces;
[0094] S320: merging the divided subspaces by using an integer programming algorithm for set partitioning, thereby reducing the number of subspaces;
[0095] S330: Decomposing the target area into a plurality of sub-areas that do not contain obstacles by solving an integer programming problem.
[0096] In one embodiment, the integer programming model for set partitioning in S320 is specifically:
[0097] ;
[0098] ;
[0099] ;
[0100] ;
[0101] in By strategy The width of the generated convex polygon, represents the selected strategy, Represents all strategies that can be merged, , Indicates whether to select a strategy , 1 if selected, 0 otherwise, represents the subspace, Represents a collection of subspaces. If the merging strategy Include Sub-Polygons ,but is 1 if the value is true, otherwise it is 0.
[0102] Specifically, in the integer programming model of set partitioning, the first one is the objective function, and the second and third ones are constraints. The objective function minimizes the total width of the sub-polygons, the second constraint ensures that all initial sub-polygons are included in the selected merging scheme, and the third constraint is an integral constraint on the decision variables.
[0103] In one embodiment, Figure 5As shown, S400 includes:
[0104] S410: Based on the obtained task area spatial decomposition diagram, it is necessary to determine the starting point, end point and covering direction of the subspace, wherein the direction selection depends on the direction of each edge of the subspace, that is: ,in Represents the covering direction, F represents all the edges of the subspace, and the starting and ending points are the vertices of each subspace, that is: ,in , Represent the starting point and the end point respectively, and V represents all the nodes in the subspace;
[0105] S420: Establish an optimization problem with minimizing the path length as the cost and taking the starting point, end point and coverage direction of the subspace coverage planning as the output.
[0106] Specifically, for a single subspace, the coverage direction with the least number of turns is the optimal solution, but for the global situation, the distance between the end point of the previous subspace and the starting point of the next subspace also needs to be considered. For the same coverage path, the nature of the path will change by choosing different path starting points and path endings.
[0107] In one embodiment, the optimization problem of the path cost in S420 is specifically:
[0108] ;
[0109] in, is the total number of sub-regions decomposed, ) is the The sub-regions cover the coordinates of the path end points, ) is the The sub-regions cover the coordinates of the path starting point, Represents the cost of transitioning between different subspaces.
[0110] Specifically, the planning problem of full coverage of the entire target area is transformed into an optimization problem of minimizing the path cost by selecting the starting point, end point and sequence of the subspace coverage path. In order to solve this problem efficiently, it is equivalently transformed into a generalized traveling salesman problem.
[0111] In one embodiment, S500 includes:
[0112] S510: Define adjacency graph: ,in represents the set of subspaces, Represents the access order, that is, from arrive The order in which access is performed; each access sequence There is a arrive The shortest path , use the existing graph search algorithm to obtain the distance of the shortest path;
[0113] S520: The path is planned using the speed ramp function parameterization. The total cost of the trajectory is the sum of the costs of all segmented trajectories. The cost of each segment of the trajectory is The value depends on the distance between the two points 、Maximum speed of drone and maximum acceleration :
[0114] ;
[0115] in , , is the time to accelerate to maximum speed, is the distance the drone travels when accelerating, is the maximum speed, is the maximum acceleration, For arrive The shortest path; since the starting and ending points of the area coverage do not coincide, the cost matrix is asymmetric, that is ;
[0116] S530: Based on S300, the vertex set of each subspace is fixed. By selecting appropriate starting and ending points and the order of visiting the subspaces to ensure the minimization of the transition time, the following generalized traveling salesman problem is constructed:
[0117] ;
[0118] in Represents the total cost, The first visit represents the starting point. The last visited one is the end point. Indicates that all nodes have been visited;
[0119] The computational geometry algorithm library CGAL is used to solve the generalized traveling salesman problem, and the final path obtained can achieve optimal coverage of the urban area.
[0120] Specifically, in S520, since the UAV can hover and turn in place, it is assumed that the trajectory of the UAV between the waypoints of the flight segment conforms to a straight line, and the speed ramp function is used to parameterize the planned path. Figure 6 and7 As shown, the corresponding coverage results generated for a given map and the final generated path diagram.
[0121] The above-mentioned UAV coverage path planning method for urban areas decomposes the urban area into multiple feasible obstacle-free subspaces, proposes an optimization-based coverage path planning algorithm, and can achieve optimal coverage path planning in urban areas. It has the advantages of high flexibility, low computational complexity, strong robustness, and high safety.
[0122] The above is a detailed introduction to a UAV coverage path planning method for urban areas provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the core idea of the present invention. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Claims
1. A method for planning a UAV coverage path for an urban area, characterized in that: The method comprises the following steps: S100: Determine the starting point and end point coordinates of the UAV coverage mission, and build a map model based on the terrain database of the area where the flight mission is located; S200: Establishing a height model for the UAV coverage flight, preprocessing the grid map according to the height model, and obtaining a feasible space for the coverage task; S200 includes: S210: Establish UAV altitude model; S220: Before executing the mission, the altitude of the drone's coverage flight is adjusted according to the mission requirements and the target area environmental information, and the raster map of the area is preprocessed according to the flight altitude, wherein the obstacle area greater than the drone's flight altitude is regarded as an unreachable area, and the obstacle area less than the drone's flight altitude is regarded as a reachable area, and a raster map of the target area for coverage planning is generated; S210 is specifically: ; in Represents the altitude of the drone, Represents the requirement for clarity, represents the clarity weight, Represents the wind factor in the target area, represents the safety weight, It is the standard flight altitude of drones; The specific processing process in S220 is as follows: ; in represents the flight altitude of the drone, and k represents the altitude of the drone. The accessibility of Indicates that the drone is unreachable. Represents drone reachable; The new grid map is as follows: ; According to the query The value of can determine the corresponding Obstacle conditions at the location; S300: Design an integer programming method for set partitioning to decompose the target area into multiple feasible subspaces that do not contain obstacles, and obtain a spatial decomposition diagram of the task area; S400: Based on the space decomposition graph, construct an optimization problem with the cost of minimizing the path length and the starting point, end point and covering direction of the subspace coverage planning as output; S500: The optimization problem is equivalently converted into a generalized traveling salesman problem for solution, a path covering each subspace is generated, and path planning covering the entire target area is completed.
2. The method according to claim 1, characterized in that S100 includes: S110: Determine the starting point and end point coordinates of the UAV flight according to the UAV coverage mission requirements and initial conditions; S120: Generate a digital topographic map of the target area using the terrain data, clearly define the horizontal and vertical boundaries of the coverage task, and the vertex positions and height information of obstacles in the area; S130: Convert digitized topographic map into raster map: ; in Represents the target area, Represents the horizontal and vertical coordinates of the drone, Represents the height of the grid point, represents the entire set of real numbers.
3. The method according to claim 2, characterized in that S300 includes: S310: Extending edges of obstacles with inner angles less than 180 degrees until they hit a map boundary or other obstacles, and extending the edges to divide the target space into multiple subspaces; S320: merging the divided subspaces by using an integer programming algorithm for set partitioning, thereby reducing the number of subspaces; S330: Decomposing the target area into a plurality of sub-areas that do not contain obstacles by solving an integer programming problem.
4. The method according to claim 3, characterized in that The integer programming model for set partitioning in S320 is specifically: ; ; ; ; in By strategy The width of the generated convex polygon, represents the selected strategy, Represents all strategies that can be merged, , Indicates whether to select a strategy , 1 if selected, 0 otherwise, represents the subspace, Represents a collection of subspaces. If the merging strategy Include Sub-Polygons ,but is 1 if the value is true, otherwise it is 0.
5. The method according to claim 4, characterized in that S400 includes: S410: Based on the obtained task area spatial decomposition diagram, it is necessary to determine the starting point, end point and covering direction of the subspace, wherein the direction selection depends on the direction of each edge of the subspace, that is: ,in Represents the covering direction, F represents all the edges of the subspace, and the starting and ending points are the vertices of each subspace, that is: ,in , Represent the starting point and the end point respectively, and V represents all the nodes in the subspace; S420: Establish an optimization problem with minimizing the path length as the cost and taking the starting point, end point and coverage direction of the subspace coverage planning as the output.
6. The method according to claim 5, characterized in that The optimization problem of the path cost in S420 is specifically: ; in, is the total number of sub-regions decomposed, ) is the The sub-regions cover the coordinates of the path end points, ) is the The sub-regions cover the coordinates of the path starting point, Represents the cost of transition in different subspaces.
7. The method according to claim 6, characterized in that S500 includes: S510: Define adjacency graph: ,in represents the set of subspaces, Represents the access order, that is, from arrive The order in which access is performed; each access sequence There is a arrive The shortest path , use the existing graph search algorithm to obtain the distance of the shortest path; S520: The path is planned using the speed ramp function parameterization. The total cost of the trajectory is the sum of the costs of all segmented trajectories. The cost of each segment of the trajectory is The value depends on the distance between the two points 、Maximum speed of drone and maximum acceleration : ; in , , is the time to accelerate to maximum speed, is the distance the drone travels when accelerating, is the maximum speed, is the maximum acceleration, For arrive The shortest path; since the starting and ending points of the area coverage do not coincide, the cost matrix is asymmetric, that is ; S530: Based on S300, the vertex set of each subspace is fixed. By selecting appropriate starting and ending points and the order of visiting the subspaces to ensure the minimization of the transition time, the following generalized traveling salesman problem is constructed: ; ; in Represents the total cost, The first visit represents the starting point. The last visited one is the end point. Indicates that all nodes have been visited; The computational geometry algorithm library CGAL is used to solve the generalized traveling salesman problem, and the final path obtained can achieve optimal coverage of the urban area.