Unmanned aerial vehicle inspection path planning method

Through the Astar algorithm and UAV aerial road network technology, the problem of low efficiency of UAV inspection path planning and obstacle avoidance is solved, efficient autonomous inspection and safety improvement are achieved, and it is suitable for complex environments.

CN118583170APending Publication Date: 2024-09-03AEROSPACE SCI & IND SMART IND DEV CO LTD
View PDF 0 Cites 5 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing UAV inspection path planning methods are inefficient, cannot effectively avoid obstacles, and cannot adapt to complex and changeable environments.

Method used

The Astar algorithm is used in conjunction with the UAV aerial road network to generate the UAV aerial road network through data preprocessing, feature extraction and node mapping, calculate the optimal path, and optimize the path to ensure flight safety and inspection efficiency.

Benefits of technology

It achieves fast, accurate and safe planning of drone inspection paths, improves the efficiency and safety of inspection tasks, reduces labor costs, and adapts to complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118583170A
    Figure CN118583170A
Patent Text Reader

Abstract

The invention relates to the technical field of unmanned aerial vehicle inspection, in particular to an unmanned aerial vehicle inspection path planning method, which comprises the following steps of: firstly, acquiring a data set, and processing inspection data in the data set to obtain a processed data set; the inspection data comprises historical route data of the unmanned aerial vehicle and geographic data of an inspection area; then, based on the processed data set, generating an unmanned aerial vehicle air road network; then, based on an Astar algorithm and an unmanned aerial vehicle air road network, calculating an optimal path from a starting point to a terminal point; and finally, optimizing the optimal path to ensure the flight safety and the inspection efficiency of the unmanned aerial vehicle. According to the unmanned aerial vehicle inspection path planning method provided by the invention, the optimal inspection path of the unmanned aerial vehicle can be quickly and effectively planned.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of drone inspection technology, and in particular to a drone inspection path planning method. Background Art

[0002] Drones are increasingly being used in a variety of industries, especially in inspection missions. However, how to efficiently plan the flight path of drones to complete specific inspection missions is a technical challenge.

[0003] Existing UAV path planning methods can be classified into graph search algorithms, sampling methods, spline curve methods and numerical optimization methods. Among them, the graph search algorithm has a large amount of calculation, can obtain the optimal trajectory and has a high search efficiency; the sampling method requires the generation of a probability graph in advance, and the algorithm is probabilistically complete; the single curve of the spline curve method cannot represent complex routes; the numerical optimization method is easy to converge to the local optimal solution and has poor stability.

[0004] After comprehensively analyzing the advantages and disadvantages of the existing methods, this application provides a method for UAV inspection path planning. This application first provides a set of aerial road network construction methods for collecting waypoints and constructing directed graphs from massive UAV historical route data. Then the Astar algorithm is introduced to obtain the optimal path. The Astar algorithm is a graph search algorithm that has the advantages of being able to obtain the optimal track and having high search efficiency. This application can solve the problems of low path planning efficiency, inability to effectively avoid obstacles, and inability to adapt to complex and changing environments that exist in traditional UAV inspection path planning methods. Summary of the invention

[0005] The embodiment of the present application provides a method for planning an inspection path for a drone, which can quickly and effectively plan an optimal inspection path for a drone.

[0006] To solve the above technical problems, an embodiment of the present application provides a method for UAV inspection path planning, comprising the following steps: first, obtaining a data set, and processing the inspection data in the data set to obtain a processed data set; the inspection data includes the historical route data of the UAV and the geographic data of the inspection area; then, based on the processed data set, a UAV aerial road network is generated; next, based on the Astar algorithm and the UAV aerial road network, the optimal path from the starting point to the end point is calculated; finally, the optimal path is optimized to ensure the flight safety and inspection efficiency of the UAV.

[0007] In some exemplary embodiments, the inspection data is acquired through satellite images, geographic information systems, and on-site surveys; the historical route data of the drone includes the three-dimensional spatial coordinate information of the starting and ending points of the route and key path points; the geographic data of the inspection area includes the geographic information of the drone inspection area, wherein the geographic information includes terrain, landforms, building locations, heights, and weather conditions.

[0008] In some exemplary embodiments, the inspection data in the data set is processed, including: performing data preprocessing, feature extraction, node mapping, and data integration processing on the inspection data in the data set in sequence.

[0009] In some exemplary embodiments, data preprocessing of the inspection data in the data set includes: removing erroneous and incomplete data in the data set and cleaning the data set; converting the inspection data in the cleaned data set into the format required by the Astar algorithm, and fusing the inspection data from different sources to obtain preprocessed data.

[0010] In some exemplary embodiments, the inspection data in the data set are subjected to feature extraction, node mapping and data integration processing, including: extracting features useful for the inspection task from the preprocessed data, the features including areas suitable for drone flight, obstacle locations and risk areas; mapping the extracted features to the nodes in the inspection area, using the nodes as key points in the Astar algorithm for calculating the path; integrating the data after data preprocessing, feature extraction and node mapping to obtain a processed data set for use by the Astar algorithm.

[0011] In some exemplary embodiments, a drone aerial road network is generated based on a processed data set, including: generating all key nodes in the inspection area and the connection relationship between each key node and its adjacent nodes based on the processed data set; forming a drone aerial road network based on the key nodes and the connection relationship between each key node and its adjacent nodes.

[0012] In some exemplary embodiments, based on the processed data set, all key nodes in the inspection area and the connection relationship between each key node and its adjacent nodes are generated, including: sampling key points of valid historical route data in the processed data set to obtain key nodes; wherein each sampling point represents a potential node, and the density of the sampling points depends on the operating accuracy of the UAV and the requirements of the inspection task; defining necessary attributes for each key node; the attributes include coordinate position, whether it is an obstacle, and the passability of the node; determining the connection relationship between each key node and its adjacent nodes according to the flight capability of the UAV; adjusting the attributes of the key nodes and the connection relationship between each key node and its adjacent nodes according to real-time or predicted environmental data.

[0013] In some exemplary embodiments, based on the Astar algorithm and the aerial road network of the drone, the optimal path from the starting point to the end point is calculated, and the Astar algorithm process includes the following steps: Step 1, initialization parameters; at the beginning of the algorithm, the neighboring nodes of the starting point are added to the open list, and the starting point is moved to the closed list; Step 2, loop search; find the node with the lowest evaluation function value f(n) from the open list and use it as the current node; move the current node from the open list to the closed list; Step 3, node expansion; for each neighbor node of the current node, if the neighbor node is unreachable or already in the closed list, it is ignored; otherwise, its evaluation function f(n) is calculated =g(n)+h(n); where g(n) is the actual cost from the starting point to the current node; h(n) is the estimated cost from the current node to the target; Step 4: Path construction; If the neighbor node is not in the open list, add it to the open list and set the current node as its corresponding parent node; If the neighbor node is already in the open list, check whether the new path is better; If it is better, update its g(n) and f(n), and change the parent node; Step 5: Repeat steps 2 to 4 until the target node is added to the open list, indicating that the path is found; Step 6: Path backtracking; Starting from the target node, the path backtracking to the starting point through the parent node is the shortest path.

[0014] In some exemplary embodiments, in the Astar algorithm, the Euclidean distance is used as the heuristic function of the Astar algorithm to improve the efficiency of the algorithm; the heuristic function is expressed as:

[0015]

[0016] Among them, (x n ,y n , z n ) and (x m ,y m , z m ) represent the three-dimensional spatial coordinates of the current node n and the neighbor node m respectively.

[0017] In some exemplary embodiments, the optimal path is optimized to ensure the flight safety and inspection efficiency of the UAV, including: path smoothing, jump point search processing and optimization of the heuristic function of the Astar algorithm to improve the accuracy of path planning and ensure the flight safety and inspection efficiency of the UAV.

[0018] The technical solution provided by the embodiments of the present application has at least the following advantages:

[0019] An embodiment of the present application provides a method for planning a drone inspection path, which includes the following steps: first, obtaining a data set, and processing the inspection data in the data set to obtain a processed data set; the inspection data includes historical route data of the drone and geographic data of the inspection area; then, based on the processed data set, a drone air road network is generated; next, based on the Astar algorithm and the drone air road network, the optimal path from the starting point to the end point is calculated; finally, the optimal path is optimized to ensure the flight safety and inspection efficiency of the drone.

[0020] This application builds a drone aerial road network based on a large amount of historical drone inspection navigation data, and uses the efficient Astar algorithm for drone inspection path planning. The Astar algorithm combines the characteristics of the best-first search and Dijkstra algorithms, and can use heuristic information to guide the search direction during the search process, thereby greatly improving the search efficiency. Compared with traditional methods, this application can find the optimal or approximately optimal inspection path more quickly, reducing the time and energy consumption of the drone during the cruise process. By introducing an obstacle avoidance mechanism, the drone can automatically avoid obstacles when planning the path, ensuring the safety and stability of the inspection process. In addition, this application also has strong flexibility and scalability. For different inspection tasks and scenarios, users can adjust the parameters and heuristic functions of the Astar algorithm as needed to adapt to different path planning requirements.

[0021] The UAV inspection path planning method provided in this application is an efficient method that liberates the intelligent path planning function from the traditional manual or simple algorithm planning method. This application aims to achieve the goal of quickly, accurately and safely planning the UAV inspection path by introducing the Astar algorithm and combining the actual flight characteristics of the UAV. At the same time, because the Astar algorithm has the characteristics of heuristic search, it can effectively avoid obstacles in complex environments and find the optimal or approximately optimal inspection path. This technological innovation improves the problems of low path planning efficiency and inability to adapt to changing environments in traditional methods. The UAV inspection path planning method provided in this application can realize efficient and autonomous inspections of UAVs in complex environments, improve the execution efficiency and safety of inspection tasks, reduce labor costs, and provide strong technical support for the application of UAVs in more fields. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Unless otherwise stated, the pictures in the drawings do not constitute proportional limitations.

[0023] Figure 1 It is a flow chart of a method for planning a drone inspection path provided in one embodiment of the present application.

[0024] Figure 2 It is a flowchart of the Astar algorithm provided in one embodiment of the present application. DETAILED DESCRIPTION

[0025] As can be seen from the background technology, the existing UAV path planning methods have problems such as large computational complexity, inability to represent complex routes, and poor stability.

[0026] To solve the above technical problems, the embodiment of the present application provides a method for planning a drone inspection path, comprising the following steps: first, obtaining a data set, and processing the inspection data in the data set to obtain a processed data set; the inspection data includes the drone's historical route data and the geographic data of the inspection area; then, based on the processed data set, generating a drone air road network; next, based on the Astar algorithm and the drone air road network, calculating the optimal path from the starting point to the end point; finally, optimizing the optimal path to ensure the flight safety and inspection efficiency of the drone. The embodiment of the present application provides a method for planning a drone inspection path, which can quickly and effectively plan the optimal inspection path of the drone.

[0027] The following will describe the various embodiments of the present application in detail with reference to the accompanying drawings. However, it will be appreciated by those skilled in the art that in the various embodiments of the present application, many technical details are provided in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solution claimed in the present application can be implemented.

[0028] See also Figure 1 The present application provides a method for planning a drone inspection path, comprising the following steps:

[0029] Step S1, obtaining a data set, and processing the inspection data in the data set to obtain a processed data set; the inspection data includes the historical route data of the drone and the geographic data of the inspection area.

[0030] Step S2: Generate a drone aerial road network based on the processed data set.

[0031] Step S3: Calculate the optimal path from the starting point to the end point based on the Astar algorithm and the drone aerial road network.

[0032] Step S4: Optimize the optimal path to ensure the flight safety and inspection efficiency of the UAV.

[0033] The UAV inspection path planning method provided in this application is a UAV inspection path planning method based on the Astar algorithm, which mainly includes four aspects: First, the processing of the UAV cruise historical route data, collecting the UAV historical route data and the geographic information and related data of the inspection area; Second, the formation of the aerial road network, generating all possible nodes in the inspection area according to the UAV historical route and geographic information, and forming a UAV aerial road network; Third, obtaining the optimal path based on the Astar algorithm, and applying the Astar algorithm to calculate the optimal path from the starting point to the end point; Fourth, optimizing the calculated path to ensure that the found path is not only the shortest, but also feasible and efficient, to ensure the flight safety and inspection efficiency of the UAV.

[0034] The drone inspection path planning method provided in this application generates a drone aerial road network through a processed data set, which is used to collect waypoints and construct a directed graph from massive drone historical route data. Based on the drone aerial road network, the optimal path can be constructed in the drone inspection task to solve the problems of low path planning efficiency, inability to effectively avoid obstacles, and inability to adapt to complex and changing environments in traditional drone inspection path planning methods. In addition, this application also introduces the Astar algorithm, combined with its efficient search and heuristic information guidance characteristics, which can significantly improve the efficiency and accuracy of drone inspection path planning. The Astar algorithm can comprehensively consider known information and heuristic information in the search process, so as to quickly find the optimal or approximately optimal inspection path.

[0035] In some embodiments, the inspection data in step S1 is obtained through satellite images, geographic information systems and on-site surveys; the historical route data of the drone includes the three-dimensional spatial coordinate information of the starting and ending points of the route and key path points; the geographic data of the inspection area includes the geographic information of the drone inspection area, wherein the geographic information includes terrain, landforms, building locations, heights and weather conditions.

[0036] Specifically, the collection of inspection data is mainly divided into two aspects: one is to collect a large amount of historical drone cruise route data, including the starting and ending points of the route, the three-dimensional spatial coordinates of key path points and other information; the other is to collect detailed geographic information of the drone inspection area, including but not limited to topography, landforms, building locations, heights, meteorological conditions, etc. These data can be obtained through satellite images, geographic information systems (GIS), on-site surveys, etc.

[0037] In some embodiments, after obtaining the data set in step S1, the inspection data in the data set is processed, including:

[0038] Step S101: perform data preprocessing, feature extraction, node mapping and data integration processing on the inspection data in the data set in sequence.

[0039] In some embodiments, the data preprocessing of the inspection data in the data set in step S101 includes the following steps:

[0040] Step S1011: remove erroneous and incomplete data from the data set and clean the data set.

[0041] Step S1012: convert the inspection data in the cleaned data set into the format required by the Astar algorithm, and fuse or integrate the inspection data from different sources to obtain pre-processed data.

[0042] It should be noted that the inspection data processing process of step S101 needs to be implemented in combination with specific application scenarios and technical requirements. For example, if the drone is inspecting power lines, the focus may be on identifying wires, poles and other related facilities.

[0043] In some embodiments, the inspection data in the data set is subjected to feature extraction, node mapping and data integration processing in step S101, including:

[0044] Step S1021: extract features useful for inspection tasks from the preprocessed data, the features including areas suitable for drone flight, obstacle locations, and risk areas.

[0045] Step S1022: Map the extracted features to the nodes in the inspection area, and use the nodes as key points in the Astar algorithm to calculate the path.

[0046] Step S1023: Integrate the data after data preprocessing, feature extraction, and node mapping to obtain a processed data set for use by the Astar algorithm.

[0047] In some embodiments, generating a drone aerial road network based on the processed data set in step S2 includes:

[0048] Step S201: Based on the processed data set, all key nodes in the inspection area and the connection relationship between each key node and its adjacent nodes are generated.

[0049] Step S202: Based on the key nodes and the connection relationship between each key node and its adjacent nodes, a drone aerial road network is formed.

[0050] In some embodiments, in step S201, all key nodes in the inspection area and the connection relationship between each key node and its adjacent nodes are generated based on the processed data set, including:

[0051] Step S2011: Sampling key points of valid historical route data in the processed data set to obtain key nodes; each sampling point represents a potential node, and the density of the sampling points depends on the operating accuracy of the UAV and the requirements of the inspection task.

[0052] Step S2022: define necessary attributes for each key node; the attributes include coordinate position, whether it is an obstacle, and the passability of the node.

[0053] Step S2023: determine the connection relationship between each key node and its adjacent nodes according to the flight capability of the UAV; and adjust the attributes of the key nodes and the connection relationship between each key node and its adjacent nodes according to the real-time or predicted environmental data.

[0054] The generation of the aerial road network in step S2 is an important step in determining the search space. The generation of the aerial road network includes the following steps: defining the search area, sampling key nodes, determining node attributes, connecting adjacent nodes, and generating an aerial road network node graph.

[0055] According to the historical routes and geographic information of the drone, all possible nodes in the inspection area are generated to form the drone aerial road network. In the drone inspection path planning method based on the Astar algorithm, the generation of key nodes is an important step in determining the search space. The generation of key nodes mainly involves the following aspects: defining the search area, sampling key nodes, determining node attributes, connecting adjacent nodes, considering environmental factors, and generating aerial road network node diagrams.

[0056] In the process of defining the search area, first, based on the specific tasks of the drone inspection and geographic information data, define the search area where the path needs to be planned.

[0057] In the process of key node sampling, key points are sampled for valid historical route data. Each sampling point represents a potential node. The density of sampling nodes depends on the operating accuracy of the drone and the requirements of the inspection task.

[0058] Then, determine the node attributes; specifically, define necessary attributes for each sampling point, such as coordinate position, whether it is an obstacle, node accessibility, etc.

[0059] Next, connect the adjacent nodes; specifically, determine the connection relationship between each node and its adjacent nodes based on the drone's flight capabilities. For example, if the drone can fly diagonally, a node will be connected to multiple nodes around it (including diagonal ones). If the surrounding nodes are obstacles or inaccessible, they will not be connected.

[0060] Before finally generating the aerial road network node graph, environmental factors also need to be considered; specifically, the attributes or connection relationships of the nodes are adjusted according to real-time or predicted environmental data (such as wind speed and climate conditions). For example, nodes in strong wind areas may be marked as impassable or high risk.

[0061] Finally, an aerial road network node graph is generated; specifically, all nodes and their connection relationships are generated into an aerial road network node graph, which will serve as the basis for the Astar algorithm to find the optimal path.

[0062] This process ensures that the inspection path planning of the drone takes into account all necessary geographical and environmental factors, while also providing a clear search space for the Astar algorithm. In this way, the drone can complete the inspection task efficiently and safely according to the optimal path calculated by the algorithm.

[0063] In step S3, the shortest path from the starting point to the end point is calculated based on the Astar algorithm. The Astar algorithm is an efficient heuristic search algorithm widely used in path planning and navigation systems.

[0064] Specifically, in some embodiments, in step S3, based on the Astar algorithm and the drone aerial road network, the optimal path from the starting point to the end point is calculated. The Astar algorithm process is as follows: Figure 2 As shown, the following steps are included:

[0065] Step 1: Initialize parameters; at the beginning of the algorithm, add the adjacent nodes of the starting point to the open list, and move the starting point to the closed list.

[0066] Step 2: Circular search; find the node with the lowest evaluation function value f(n) from the open list and use it as the current node; move the current node from the open list to the closed list.

[0067] Step 3: Node expansion; for each neighbor node of the current node, if the neighbor node is unreachable or is in the closed list, ignore it; otherwise, calculate its evaluation function f(n) = g(n) + h(n); where g(n) is the actual cost from the starting point to the current node; h(n) is the estimated cost from the current node to the target.

[0068] Step 4: Path construction; if the neighbor node is not in the open list, add it to the open list and set the current node as its corresponding parent node; if the neighbor node is already in the open list, check whether the new path is better; if it is better, update its g(n) and f(n), and change the parent node.

[0069] Step 5: Repeat steps 2 to 4 until the target node is added to the open list, indicating that the path is found.

[0070] Step 6: Path backtracking: Starting from the target node, the path that goes back through the parent node to the starting point is the shortest path.

[0071] The key to the Astar algorithm lies in the choice of the heuristic function h(n), which affects the efficiency of the algorithm and whether the shortest path can be found. A good heuristic function can ensure that the shortest path is found while reducing the time and space complexity of the search. In drone inspections, since drones can fly arbitrarily in three-dimensional space, the Euclidean distance is generally used as the heuristic function of the Astar algorithm.

[0072] In some embodiments, in the Astar algorithm, the Euclidean distance is used as the heuristic function of the Astar algorithm to improve the efficiency of the algorithm; the heuristic function is expressed as:

[0073]

[0074] Among them, (x n ,y n , z n ) and (x m ,y m , z m ) represent the three-dimensional spatial coordinates of the current node n and the neighbor node m respectively.

[0075] In some embodiments, the optimal path is optimized in step S4 to ensure the flight safety and inspection efficiency of the UAV, including: path smoothing, jump point search processing and optimization of the heuristic function of the Astar algorithm to improve the accuracy of path planning and ensure the flight safety and inspection efficiency of the UAV.

[0076] Specifically, the calculated path is optimized to ensure the flight safety and inspection efficiency of the drone. Path optimization involves the following aspects:

[0077] Path smoothing: The Astar algorithm may generate a path with many turns, which is not ideal for drone flight. Therefore, various smoothing techniques can be used to reduce the turning points on the path, making the path more straight, thereby reducing the number of turns the drone has to make.

[0078] Skip-point search: Skip certain nodes by detecting blocking points on a straight path, thereby reducing the search space and computation time.

[0079] Improvement of heuristic function: The traditional Astar algorithm uses Euclidean distance or Manhattan distance as the heuristic function, but this may not always be optimal. A more suitable heuristic function can be designed according to the specific problem to improve the accuracy of path planning.

[0080] Adaptive step length strategy: According to the positional relationship between the current point and the end point, the priority order of the path-finding direction is set to reduce the redundant planning calculation amount in unreasonable directions, and the judgment condition for reaching the end point is modified to realize the path jump.

[0081] Optimization of neighborhood node selection: The traditional Astar algorithm may cause the path to pass through the corners of obstacles in the selection of sub-nodes, increasing the risk of collision. Optimize the selection rules of sub-nodes, consider the correlation between sub-nodes and obstacle positions, and avoid potential dangers.

[0082] Improvements in grid map modeling: Traditional grid maps may not accurately describe complex environments. Improve the grid model and subdivide it into obstacle model, threat model, and road model to simulate the environment more realistically.

[0083] The present application provides a method for planning the inspection path of a drone. Based on the massive historical route data of drones, waypoints are collected and directed graphs are constructed, and the Astar algorithm is introduced to obtain the optimal path. Compared with the traditional drone cruise path planning method, its technical innovation is mainly reflected in the following aspects: the present application constructs an aerial road network for drone inspection, which can solve the problems of low efficiency of path planning, inability to effectively avoid obstacles, and inability to adapt to complex and changing environments in the traditional drone inspection path planning method. The present application adopts the efficient Astar algorithm for drone inspection path planning. Compared with the traditional method, the present application can find the optimal or approximately optimal inspection path more quickly, reducing the time and energy consumption of the drone during the cruise process. By introducing an obstacle avoidance mechanism, the drone can automatically avoid obstacles when planning the path, ensuring the safety and stability of the inspection process. In addition, the present application also has strong flexibility and scalability. For different inspection tasks and scenarios, users can adjust the parameters and heuristic functions of the Astar algorithm as needed to adapt to different path planning requirements.

[0084] Based on the above technical scheme, an embodiment of the present application provides a method for UAV inspection path planning, which includes the following steps: first, obtaining a data set, and processing the inspection data in the data set to obtain a processed data set; the inspection data includes the historical route data of the UAV and the geographical data of the inspection area; then, based on the processed data set, a UAV aerial road network is generated; next, based on the Astar algorithm and the UAV aerial road network, the optimal path from the starting point to the end point is calculated; finally, the optimal path is optimized to ensure the flight safety and inspection efficiency of the UAV.

[0085] This application builds a drone aerial road network based on a large amount of historical drone inspection navigation data, and uses the efficient Astar algorithm for drone inspection path planning. The Astar algorithm combines the characteristics of the best-first search and Dijkstra algorithms, and can use heuristic information to guide the search direction during the search process, thereby greatly improving the search efficiency. Compared with traditional methods, this application can find the optimal or approximately optimal inspection path more quickly, reducing the time and energy consumption of the drone during the cruise process. By introducing an obstacle avoidance mechanism, the drone can automatically avoid obstacles when planning the path, ensuring the safety and stability of the inspection process. In addition, this application also has strong flexibility and scalability. For different inspection tasks and scenarios, users can adjust the parameters and heuristic functions of the Astar algorithm as needed to adapt to different path planning requirements.

[0086] The UAV inspection path planning method provided in this application is an efficient method that liberates the intelligent path planning function from the traditional manual or simple algorithm planning method. This application aims to achieve the goal of quickly, accurately and safely planning the UAV inspection path by introducing the Astar algorithm and combining the actual flight characteristics of the UAV. At the same time, because the Astar algorithm has the characteristics of heuristic search, it can effectively avoid obstacles in complex environments and find the optimal or approximately optimal inspection path. This technological innovation improves the problems of low path planning efficiency and inability to adapt to changing environments in traditional methods. The UAV inspection path planning method provided in this application can realize efficient and autonomous inspections of UAVs in complex environments, improve the execution efficiency and safety of inspection tasks, reduce labor costs, and provide strong technical support for the application of UAVs in more fields.

[0087] Those skilled in the art can understand that the above-mentioned embodiments are specific examples for implementing the present application, and in practical applications, various changes can be made to them in form and detail without departing from the spirit and scope of the present application. Any person skilled in the art can make their own changes and modifications without departing from the spirit and scope of the present application, so the scope of protection of the present application shall be based on the scope defined in the claims.

Claims

1. A method for planning a drone inspection path, characterized in that: The following steps are involved: Acquire a data set, and process the inspection data in the data set to obtain a processed data set; the inspection data includes historical route data of the drone and geographic data of the inspection area; Generate the drone aerial road network based on the processed data set; Based on the Astar algorithm and the aerial road network of the drone, the optimal path from the starting point to the end point is calculated; The optimal path is optimized to ensure the flight safety and inspection efficiency of the UAV.

2. The method for planning a drone inspection path according to claim 1, characterized in that: The inspection data is obtained by means of satellite images, geographic information systems and on-site surveys; The historical route data of the UAV includes the starting and ending points of the route and the three-dimensional spatial coordinate information of key path points; The geographic data of the inspection area includes geographic information of the drone inspection area, wherein the geographic information includes topography, landforms, building locations, heights and weather conditions.

3. The method for planning a drone inspection path according to claim 1, characterized in that: Processing the inspection data in the data set includes: The inspection data in the data set are sequentially subjected to data preprocessing, feature extraction, node mapping and data integration processing.

4. The method for planning a drone inspection path according to claim 3, characterized in that: The data preprocessing of the inspection data in the data set includes: Removing erroneous and incomplete data from the data set, and cleaning the data set; The inspection data in the cleaned data set is converted into the format required by the Astar algorithm, and the inspection data from different sources are fused to obtain the preprocessed data.

5. The method for planning a drone inspection path according to claim 4, characterized in that: The inspection data in the data set is subjected to feature extraction, node mapping and data integration processing, including: Extracting features useful for inspection tasks from the preprocessed data, the features including areas suitable for UAV flight, obstacle locations, and risk areas; Mapping the extracted features to the nodes in the inspection area, using the nodes as key points in the Astar algorithm to calculate the path; The data after data preprocessing, feature extraction, and node mapping are integrated to obtain the processed data set for use by the Astar algorithm.

6. The method for planning a drone inspection path according to claim 1, characterized in that: Based on the processed data set, a drone aerial road network is generated, including: Based on the processed data set, all key nodes in the inspection area and the connection relationship between each key node and its adjacent nodes are generated; Based on the key nodes and the connection relationship between each key node and its adjacent nodes, a drone aerial road network is formed.

7. The method for planning a drone inspection path according to claim 6, characterized in that: Based on the processed data set, all key nodes in the inspection area and the connection relationship between each key node and its adjacent nodes are generated, including: Sampling key points of valid historical route data in the processed data set to obtain key nodes; wherein each sampling point represents a potential node, and the density of the sampling points depends on the operating accuracy of the UAV and the requirements of the inspection task; Defining necessary attributes for each key node; the attributes include coordinate location, whether it is an obstacle, and the passability of the node; According to the flight capability of the UAV, the connection relationship between each key node and its adjacent nodes is determined; Based on real-time or predicted environmental data, the properties of key nodes and the connection relationship between each key node and its adjacent nodes are adjusted.

8. The method for planning a drone inspection path according to claim 1, characterized in that: Based on the Astar algorithm and the drone aerial road network, the optimal path from the starting point to the end point is calculated. The Astar algorithm process includes the following steps: Step 1: Initialize parameters; at the beginning of the algorithm, add the adjacent nodes of the starting point to the open list, and move the starting point to the closed list; Step 2: Search in a loop; find the node with the lowest evaluation function value f(n) from the open list and use it as the current node; move the current node from the open list to the closed list; Step 3: Node expansion: For each neighbor node of the current node, if the neighbor node is unreachable or already in the closed list, ignore it; otherwise, calculate its evaluation function f(n) = g(n) + h(n); where g(n) is the actual cost from the starting point to the current node; h(n) is the estimated cost from the current node to the target; Step 4: Path construction; if the neighbor node is not in the open list, add it to the open list and set the current node as its corresponding parent node; if the neighbor node is already in the open list, check whether the new path is better; if it is better, update its g(n) and f(n), and change the parent node; Step 5: Repeat steps 2 to 4 until the target node is added to the open list, indicating that the path is found; Step 6: Path backtracking: Starting from the target node, the path that goes back through the parent node to the starting point is the shortest path.

9. The method for planning a drone inspection path according to claim 1, characterized in that: In the Astar algorithm, the Euclidean distance is used as the heuristic function of the Astar algorithm to improve the efficiency of the algorithm; The heuristic function is expressed as: Among them, (x n ,y n , z n ) and (x m ,y m , z m ) represent the three-dimensional spatial coordinates of the current node n and the neighbor node m respectively.

10. The method for planning a drone inspection path according to claim 1, characterized in that: The optimal path is optimized to ensure the flight safety and inspection efficiency of the drone, including: The optimal path is smoothed, a jump point search is performed, and the heuristic function of the Astar algorithm is optimized to improve the accuracy of path planning and ensure the flight safety and inspection efficiency of the UAV.

Citation Information

Cited By

  • Distribution network line inspection path planning method based on oil-electricity hybrid unmanned aerial vehicle

    CN119396191A

  • Unmanned aerial vehicle flight path planning method and system for electric power operation and maintenance

    CN119596989A

  • Unmanned aerial vehicle urban inspection task allocation method based on two-order heuristic algorithm

    CN119886629A

  • Patrol trajectory planning optimization method for power transmission equipment

    CN120952290A

  • Unmanned aerial vehicle-based concrete bridge disease inspection path planning method

    CN123135065A