Grid based path search method for UAV delivery operations in urban environment
11915599 ยท 2024-02-27
Assignee
- City University of Hong Kong; (Hong Kong, HK)
- Hangzhou Antwork Network Technology Co., Ltd. (Hangzhou, CN)
Inventors
Cpc classification
B64U2101/64
PERFORMING OPERATIONS; TRANSPORTING
B64U2101/00
PERFORMING OPERATIONS; TRANSPORTING
B64U10/80
PERFORMING OPERATIONS; TRANSPORTING
B64C39/024
PERFORMING OPERATIONS; TRANSPORTING
G05D1/606
PHYSICS
International classification
G05D1/00
PHYSICS
Abstract
The present invention provides a method for planning a shortest possible three-dimensional path for autonomous flying robots to traverse from one location to the other in a geographical region, including translating a three-dimensional (3D) environment, discretizing the 3D environment into a graph of many grid cells or nodes, employing a modified any-angle path planning algorithm to calculate non-uniform traversal cost of each grid cell and by averaging the total traversal costs along the path to shorten the corresponding computation time, whilst incorporating operational costs other than the traversal cost specific to the autonomous flying robots to be traversed. The shortest possible path found by the present method does not only consider the path length, but also takes different costs of traversing and operating the flying robots into account, which increases its feasibility and flexibility to be applied in a wide variety of situations and technological areas.
Claims
1. A computer-implemented method for planning an optimal three-dimensional path for autonomous flying robots to traverse from one location to the other in a geographical region and for controlling the autonomous flying robots to fly along the optimal three-dimensional path, including: translating the geographical region into a three-dimensional environment, by a computer processor; discretizing the three-dimensional environment into a graph comprising a plurality of three-dimensional cells or nodes, by the computer processor; deriving a path between a first node and a last node in the graph to be traversed by the autonomous flying robots, by the computer processor; assigning a weighting factor to each of the nodes, the weighting factor being associated with traversal cost of the autonomous flying robots in each of the nodes, and calculating the traversal cost of the autonomous flying robots from one node to the other along the path, by the computer processor; checking line-of-sight between the first node and the last node of the path, by the computer processor; adding other costs into an any-angle path planning algorithm and approximating thereof to generate a natural and smooth path compatible with vehicle dynamics of the autonomous flying robots in order to obtain the optimal three-dimensional path of the autonomous flying robots between two locations in the geographical region, by the computer processor, wherein the optimal three-dimensional path is stored in computer-readable storage media, wherein the other costs of the path include turning costs of the autonomous flying robots between two consecutive segments within the path, as well as climbing costs and descending costs of the autonomous flying robots at one or more segments within the path, respectively, wherein the turning costs of the autonomous flying robots comprise the costs involved in adjusting, meeting or overcoming horizontal turning angle, adjacent turning distance, and consecutive turning decay of the autonomous flying robots, wherein the climbing or descending costs comprise the costs involved in adjusting, meeting or overcoming climbing or descending angle, linear weight cost multiplier, climbing or descending angle threshold of the autonomous flying robots; and controlling an objective autonomous flying robot to fly along the optimal three-dimensional path by the method.
2. The method of claim 1, wherein the autonomous flying robots comprise unmanned aerial vehicles (UAVs), micro aerial vehicles (MAS), and alike used in unmanned aerial system (UAS).
3. The method of claim 1, wherein the calculation of the traversal cost is based on an approximation method that the traversal cost of a path is an average cost of the traversed cells on the path.
4. The method of claim 1, wherein the cell size is assumed to substantially zero when calculating the traversal cost.
5. The method of claim 1, wherein the other costs of the path is calculated by converting the path into a plurality of segments each representing a partial path to be traversed by the autonomous flying robots, determining relative horizontal and/or vertical orientations of the autonomous flying robots between every two consecutive segments, and calculating the costs in addition to the traversal cost of the path on changing the autonomous flying robots from one orientation to the other according to the determined relative horizontal and/or vertical orientations between the two consecutive segments.
6. The method of claim 1, wherein the other costs of the path are added into the any-angle path planning algorithm as corresponding terms to heuristics of the algorithm.
7. The method of claim 1, wherein the shortest possible three-dimensional path is calculated according to the following equations:
8. The method of claim 7, further comprising penalizing paths inducing unnecessary or excessive turns for the autonomous flying robots according to the following equations:
9. The method of claim 8, wherein the other costs are calculated by the following equations:
10. The method of claim 9, wherein the cost function obtained by Eq. (13) is changed to a piece-wise function as follows:
11. The method of claim 1, wherein objects and/or obstacles with a uniform shape and location in the geographical region are converted into convex polyhedrons or polygons in the graph after said translating and prior to said discretizing into the plurality of cells or nodes.
12. A computer-implemented method for planning an optimal three-dimensional path for autonomous flying robots to traverse from one location to the other in a geographical region and for controlling the autonomous flying robots to fly along the optimal three-dimensional path, including: translating the geographical region into a three-dimensional environment, by a computer processor; discretizing the three-dimensional environment into a graph comprising a plurality of three-dimensional cells or nodes, by the computer processor; deriving a path between a first node and a last node in the graph to be traversed by the autonomous flying robots, by the computer processor; assigning a weighting factor to each of the nodes, the weighting factor being associated with traversal cost of the autonomous flying robots in each of the nodes, and calculating the traversal cost of the autonomous flying robots from one node to the other along the path, by the computer processor; checking line-of-sight between the first node and the last node of the path, by the computer processor; adding other costs into an any-angle path planning algorithm and approximating thereof to generate a natural and smooth path compatible with vehicle dynamics of the autonomous flying robots in order to obtain the optimal three-dimensional path of the autonomous flying robots between two locations in the geographical region, by the computer processor, wherein the optimal three-dimensional path is stored in computer-readable storage media, wherein the other costs of the path include costs at least associated with turning costs of the autonomous flying robots between two consecutive segments within the path and involved in adjusting, meeting or overcoming horizontal turning angle, adjacent turning distance, and consecutive turning decay of the autonomous flying robots; and controlling an objective autonomous flying robot to fly along the optimal three-dimensional path by the method.
13. The method of claim 12, wherein the cell size is assumed to substantially zero when calculating the traversal cost.
14. The method of claim 12, wherein the other costs of the path are added into the any-angle path planning algorithm as corresponding terms to heuristics of the algorithm.
15. A computer-implemented method for planning an optimal three-dimensional path for autonomous flying robots to traverse from one location to the other in a geographical region and for controlling the autonomous flying robots to fly along the optimal three-dimensional path, including: translating the geographical region into a three-dimensional environment, by a computer processor; discretizing the three-dimensional environment into a graph comprising a plurality of three-dimensional cells or nodes, by the computer processor; deriving a path between a first node and a last node in the graph to be traversed by the autonomous flying robots, by the computer processor; assigning a weighting factor to each of the nodes, the weighting factor being associated with traversal cost of the autonomous flying robots in each of the nodes, and calculating the traversal cost of the autonomous flying robots from one node to the other along the path, by the computer processor; checking line-of-sight between the first node and the last node of the path, by the computer processor; adding other costs into an any-angle path planning algorithm and approximating thereof to generate a natural and smooth path compatible with vehicle dynamics of the autonomous flying robots in order to obtain the optimal three-dimensional path of the autonomous flying robots between two locations in the geographical region, by the computer processor, wherein the optimal three-dimensional path is stored in computer-readable storage media, wherein the other costs of the path include costs at least associated with climbing costs and descending costs of the autonomous flying robots at one or more segments within the path, respectively, wherein the climbing or descending costs comprise the costs involved in adjusting, meeting or overcoming climbing or descending angle, linear weight cost multiplier, climbing or descending angle threshold of the autonomous flying robots; and controlling an objective autonomous flying robot to fly along the optimal three-dimensional path by the method.
16. The method of claim 15, wherein the cell size is assumed to substantially zero when calculating the traversal cost.
17. The method of claim 15, wherein the other costs of the path are added into the any-angle path planning algorithm as corresponding terms to heuristics of the algorithm.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Embodiments of the invention are described in more details hereinafter with reference to the drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION OF THE INVENTION
(11) In the following description, systems and methods for path planning for traversal of autonomous and unmanned vehicles and the likes are set forth as preferred examples. It will be apparent to those skilled in the art that modifications, including additions and/or substitutions may be made without departing from the scope and spirit of the invention. Specific details may be omitted so as not to obscure the invention; however, the disclosure is written to enable one skilled in the art to practice the teachings herein without undue experimentation.
(12) It should be apparent to practitioner skilled in the art that the foregoing examples of the system and method are only for the purposes of illustration of working principle of the present invention. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed.
(13) As compared to A* algorithm, by using some any-angle path planning algorithms like Theta*, paths can be found without constrains to headings of the paths; Lazy Theta* can even reduce the time of line-of-sight checks and generate substantially identical result to that from Theta*, only the path length may be longer by using Lazy Theta*. As shown in
(14) Incorporation of Non-Uniform Traversal Cost of Flying Robots into Path Finding
(15)
(16)
(17) Approximation of Average Non-Uniform Traversal Cost
(18) Both Theta* and Lazy Theta* have to perform line-of-sight check, they have to go through a voxel traversal process between two examined cells and to check whether every traversed cell is accessible to the flying robots (
(19)
(20) Therefore, the present invention incorporates an approximation method to calculate the traversal cost into the existing algorithm to result in a modified Lazy Theta*, as follows:
(21)
(22) Instead of calculating the product of the precise length of each segment and the associated traversal cost, the present invention proposes calculating an average cost of the traversed cells on the path and thereby defining the average cost as the path cost. By this approximation method, the computation time is significantly reduced, and the cost on overlapping calculation is not saved. However, the path length may be increased or accuracy may be reduced. To alleviate the negative effect of these shortcomings, grid size is significantly reduced to substantially zero during computation.
(23) Turning Cost
(24) UAVs consume more energy when performing turns, thus, the present invention further incorporates penalty to penalize paths with unnecessary or excessive turns, in addition to the average non-uniform traversal cost among the traversed cells along the path as path cost, as follows:
(25)
(26) The turning cost is considered as a linear function of the turning angle (s) between every two consecutive segments; the linear weight is tunable to trade-off between path length and path turning; assuming turns are very close to each other, short previous segment length l.sub.1 is penalized; a decay factor .sub.t is added to the turning cost of the parent cell in consideration of consecutive turns.
(27) Climbing or Descending Cost:
(28) Climb cost is calculated for en-route section because take-off and landing from or to a terminal area by some of the flying robots such as UAV require a large absolute climb/descending angle, resulting in a large climb/descending cost. Hence, in the following equations, both s and parent(s) are considered to be located in different terminal areas in order not to overwhelm the other costs, in addition to the non-uniform traversal cost for optimal path finding:
(29)
where g(s) is the length of the shortest path from start vertex to vertex s found so far, and thereby is an estimate of the start distance of vertex s; h(s) is an estimate of the goal distance of vertex s; t(s) is the traversal cost obtained from Eq. (8); c(s) is other costs in addition to t(s) en route.
(30) To ensure that no route segment has climb or descending angle exceeding an absolute threshold .sub.c, the cost function in Eq. (13) is changed to a piece-wise function as follows:
(31)
Examples
(32) Taking the geographical region as shown in
(33) By the present invention, the tested geographical region is discretized into a plurality of grid cells or nodes. Different traversal cost is assigned to each of the grid cells depending on whether the cell is within a free space, desired moving space, or not. According to a preferred embodiment of the present invention, the three-dimensional environment of the tested geographical region is converted into a two-dimensional graph, and each grid cell corresponds to a node in the graph, where each node connects with the nodes which have line-of-sight with. A path planning problem from an origin to a destination in a three-dimensional environment is converted into a graph-based path planning problem from a first node to a last node on the graph as-converted according to the method of the present invention.
(34) The foregoing description of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations will be apparent to the practitioner skilled in the art.
(35) All or portions of the embodiments disclosed herein may be implemented using one or more of specially configured computing devices, computer processors, or electronic circuitries including but not limited to graphics processing units (GPUs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), and other programmable logic devices configured or programmed according to the teachings of the present disclosure. Computer instructions or codes running in the computing devices, computer processors, or programmable logic devices can readily be prepared by practitioners skilled in the software or electronic art based on the teachings of the present disclosure. The aforesaid one or more computing devices may include one or more of server computers, personal computers, laptop computers, mobile computing devices such as smartphones and tablet computers.
(36) The electronic embodiments include computer-readable storage media having the computer instructions or codes stored therein, which can be used to configure or program the computing devices, computer processors, or electronic circuitries to perform any of the processes of the present invention; and to store data generated by any of the processes of the present invention. The computer-readable storage media include, but are not limited to, floppy disks, optical discs, Blu-ray Disc, DVD, CD-ROMs, magneto-optical disks, solid-state discs, ROMs, RAMs, SRAMs, DRAMs, flash memory devices, electrically programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), or any type of media or devices suitable for storing instructions, codes, and/or data.
(37) The foregoing description of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations will be apparent to the practitioner skilled in the art.
(38) The embodiments were chosen and described in order to best explain the principles of the invention and its practical application, thereby enabling others skilled in the art to understand the invention for various embodiments and with various modifications that are suited to the particular use contemplated.
INDUSTRIAL APPLICABILITY
(39) The present invention is not just limited to the use in unmanned vehicles, but also in all possible transportations or moving objects requiring time- and cost-saving path planning and/or on-the-journey search, in particular, the designated vehicles need to travel from one location to the other in a highly variable and/or unpredictable environment. Approximation method of the non-uniform traversal cost proposed in the present invention is also applicable in other graph-based path planning algorithms, and should not be restricted to the algorithms mentioned as examples in the present disclosure. Addition and approximation of other costs specific to unmanned aerial vehicle into the calculation of the optimal path according to certain embodiments of the present invention also provides a solution to other unmanned vehicles which their corresponding operation cost is largely dependent on the vehicle dynamics. Also described herein as one of the aspects, the present invention is also applicable to any other fields requiring path planning not just limited to the shortest possible path but also taking non-uniform traversal cost into account when computing the optimal path.