Conference PaperPDF Available

Obstacle Clustering and Path Optimization for Drone Routing

Authors:

Abstract

To enable safe and efficient Unmanned Aircraft Systems (UAS) operations at low altitudes, it is necessary to conduct airspace management and operations for UAS traffic. This study focuses on deterministic clustering-based drone routing, with specific emphasis on the trade-off between horizontal and vertical travel costs. The routing problem is simplified to a 2D problem that we solve at several altitude candidates. Altitude candidates were generated based on clustered static obstacles in low urban airspace. Fast-Marching algorithm is performed to generate the shortest path at each altitude candidate. The optimal altitude is determined by weighing the vertical cost for ascent and descent over the horizontal cruising cost at certain altitude. Experiments are conducted to choose proper number of clusters and weight given to building height in the clustering procedure, and different shortest path algorithms are compared. Larger scale of Unmanned Aerial Vehicles (UAV) missions are simulated, based on which we analyze the relationship between optimal travel altitude and shortest cruise path, and estimate the UAV cost function.
ICRAT 2020
1
Obstacle Clustering and Path Optimization for Drone
Routing
Ang Li, Mark Hansen
Department of Civil and Environmental Engineering
University of California, Berkeley
Berkeley, CA, USA
angli@berkeley.edu, mhansen@ce.berkeley.edu
AbstractTo enable safe and efficient Unmanned Aircraft
Systems (UAS) operations at low altitudes, it is necessary to
conduct airspace management and operations for UAS traffic.
This study focuses on deterministic clustering-based drone
routing, with specific emphasis on the trade-off between
horizontal and vertical travel costs. The routing problem is
simplified to a 2D problem that we solve at several altitude
candidates. Altitude candidates were generated based on clustered
static obstacles in low urban airspace. Fast-Marching algorithm is
performed to generate the shortest path at each altitude candidate.
The optimal altitude is determined by weighing the vertical cost
for ascent and descent over the horizontal cruising cost at certain
altitude. Experiments are conducted to choose proper number of
clusters and weight given to building height in the clustering
procedure, and different shortest path algorithms are compared.
Larger scale of Unmanned Aerial Vehicles (UAV) missions are
simulated, based on which we analyze the relationship between
optimal travel altitude and shortest cruise path, and estimate the
UAV cost function.
Keywords-UAV path planning; UAV cost function; Fast-
Marching; A star (JPS);
I. INTRODUCTION
UAV have received increasing attention over the last decade,
because of their immense potential to benefit commercial and
industrial activities [1]. With large potential demand, it
becomes necessary to manage UAV traffic in urban airspace.
Organizations including National Aeronautics and Space
Administration (NASA) [2] and Netherlands Aerospace Centre
(NLR) [3], have undertaken the task of developing traffic
management methods for UAV operations. There are also
emerging UAS Traffic Management projects from Europe,
Singapore and Korea.
The aim of UAV path planning is to identify efficient, safe
flight trajectories in a timely manner, so that UAV can
accomplish their missions and avoid threats. Performance of
multiple UAV path planning algorithms were compared in
various environments. These include Dijkstra’s algorithm,
Bellman Ford’s algorithm, Floyd-Warshall’s algorithm and the
A Star algorithm in [4], and A star is found to perform better
than others. A Star (JPS) is an improved path planning
algorithm based on A Star [5,6,7]. Reference [8] finds that A
Star (JPS) has better performance than Rectangular Symmetry
Reduction (RSR). Fast-Marching methods have been found to
yield consistent, accurate and highly efficient algorithms in
optimal path planning around obstacles [9]. Reference [10] uses
Fast-Marching algorithms to navigate a small quadrotor on an
optimal collision avoidance path with a helicopter. Reference
[11] presents both an offline optimal path planning algorithm
based on A Star without considering the computation cost, and
real-time suboptimal path planning algorithm based on genetic
algorithm and potential fields technology. A spline-based path
planning scheme that generates feasible flight routes for an
UAV is developed in [12], which allows quick computation
using a decomposition strategy.
An understanding of the path-related costs of UAV
operation is needed for path planning. Horizontal and vertical
cost ratio was used in [13] for drone routing. Horizontal path
length cost and height cost were specified in [14] to perform 3D
UAV trajectory planning. Reference [15] used required number
of turns to measure cost function. Dublin path length was used
in [16] as travel cost.
The primary purpose of this paper is to investigate the
combined cost of horizontal and vertical distance when routing
drones in low-altitude airspace in the presence of tall buildings.
Using San Francisco as a case study, we investigate the trade-
offs between routing a single drone at lower altitude with the
resulting need to avoid many obstacles and using a higher
altitude, which allows more direct horizontal paths but entails
more vertical flight. The “sweet spot” in this trade-off depends
on the relative cost of horizontal and vertical flight, and we
study this relationship parametrically.
ICRAT 2020
2
As part of this investigation, we consider different
approaches to represent tall building obstacles for purposes of
path planning, and also compare the performance of Fast-
Marching and A Star routing algorithms. We assume that
airspace structures will incorporate “no fly zones” that keep
UAVs from tall buildings, but that to avoid undue complexity,
these zones will be defined based on a relatively small number
of building groups rather than a multiplicity of zones, each
corresponding to an individual building. We therefore propose
a methodology for identifying these building groups based on
clustering, and consider how the number of clusters and the
weight attached to building altitude in the clustering algorithm
affects route efficiency and the computation time. The choice
of routing algorithm is also critical in our analysis. In this
regard, we show that Fast-Marching dominates A Star, even
when a faster variant of the latter is used.
The contribution of this paper is that we apply obstacle
clustering to efficiently reduce the obstacle complexity for
routing. We applied Fast-Marching to horizontal drone routing
and combined with obstacle clustering, which quickly returns
better routes than many other shortest path algorithms. Finally,
this paper proposes a UAV path cost function that predicts the
cost of the least-cost path as a function of direct-line distance
and the relative cost of horizontal and vertical travel.
II. DATA
This paper uses the financial district in San Francisco (SF)
as study area. Only buildings are considered as static obstacles
in urban airspace. San Francisco building footprints data from
DataSF was used. The data contains San Francisco building
footprint features, including roof boundary and building height.
The research was performed using the projected coordinate
system of EPSG 32610, WGS 84 / UTM zone 10N.
III. ASSUMPTIONS
The deterministic clustering-based single drone routing
focuses on the trade-off between horizonal and vertical costs.
For the purposes of our analysis make several simplifying
assumptions. Since wind or any other features that cause
uncertainties are not considered in this stage, cost is insensitive
to where along its path the drone ascends and descends. We
assume the drone flies at a single altitude, after vertically
ascending at the origin and prior to descending at the
destination, and correspondingly that the cost of the route
depends on the vertical distance and the horizontal distance of
the route. Cost of turning is not considered in this research.
Though we didn’t explicitly consider random deviations
between the actual path of the drone and its nominal path, in
order to ensure safety, a keep-out geofence, the safety distance
that drones are required to keep away from buildings, is
considered when we generate aggregated obstacles by
clustering. We simply add the keep-out geofence distance by
expanding the actual building boundary outward a certain
distance. All the following research is using 10-meter keep-out
geofence distance. In addition, we don’t consider any
geographical ground level in the current stage. Above Ground
Level (AGL) or Median Sea Level (MSL) can be added by
performing this research in corresponding projected coordinate
system.
IV. METHODOLOGY
The routing approach can be simplified from 3D path
planning to 2D by routing at several attitudes with assumptions
above. The optimal travel altitude will be determined by
weighing the horizontal travel cost over vertical cost for ascent
and descent. A set of altitude candidates is needed to compare
the vertical and horizontal cost since exhaustive search over all
altitudes is computational expensive. Obstacle complexity will
influence the computation time of shortest path algorithm. In
order to generate the most appropriate altitude candidates and
reduce complexity of the obstacle field, employ a clustering
approach to summarize the height and location of the numerous
static obstacles. Based on the generated altitude candidates set,
horizontal shortest paths that avoid obstacles will then be
generated for each altitude candidate. We compare the vertical
and horizontal costs to decide the optimal travel altitude and 2D
cruise path at optimal altitude.
A. Static Obstacles Clustering for Altitude Candidates
A set of altitude candidates was generated by clustering
obstacles. The K-means clustering algorithm is applied to
perform clustering over all buildings in SF financial district.
We first generate the minimum bounding rectangle containing
the footprint of each building, since the K-means algorithm
requires the same feature dimensions for every building
observation. Each building is summarized by nine features: X
and Y coordinates of four minimum bounding rectangle
building vertices plus building height. While all variables are in
units of meters, height is unique because it varies far less than
the X and Y coordinates. For this reason, building heights are
rescaled by different factors. We presented the results of 20, 30,
and 40 clusters, with scale of 10, 20, 30, 40, and 50 times for
building height in this paper.
After clustering, the convex hull of all minimum bounding
rectangle vertices of buildings in the same cluster forms an
aggregated obstacle whose altitude is the maximum height of
buildings in the cluster. The path planning method in later
section is performed with the aggregated obstacles. Two trade-
offs of obstacle clustering, number of clusters and building
height rescaling factor, are shown in Fig. 1. On the one hand,
when the number of clusters is small, more airspace will be
ICRAT 2020
3
made unavailable as a result of being included in the polygons
of aggregated obstacles. On the other hand, when the number
of clusters increases the complexity of the obstacle field
increases and it will be more computationally expensive to
generate shortest paths. With larger rescaling factor, buildings
with similar height will be more likely to be clustered in the
same aggregated obstacle, instead of buildings that are located
closer. Aggregated obstacles are most dispersed but of more
uniform height in the case with more scaling. We perform
sensitivity analysis for these two factors in Section V.
Fig. 2 shows an example of aggregated obstacles at altitude
146.07m in 20-cluster case. Red dots are the boundary points
of aggregated obstacles after clustering, and the aggregated
obstacles area is filled with green. Dots with the same color
within the boundary, as well as the red boundary points, are the
minimum bounding rectangles vertices of buildings belong to
the same cluster. Grey points represent all the other buildings
lower than the current altitude in SF financial district.
B. Optimal Horizontal Travel Route
The height of each aggregated obstacle, which is the
maximum actual building height within each cluster, forms the
altitude candidates set. The optimal 2D cruise path is generated
at each altitude candidate in this subsection.
The Fast-Marching (FM) algorithm is used to generate the
shortest cruise path. Compared to the traditional Dijkstra
algorithm or A star algorithm, FM replaces the graph update by
a local resolution of gradient descent, instead of only
considering standard 8 directions of neighbors, which
significantly reduces the grid bias. The computation complexity
of FM is , where N is the total number of grid points,
which is the number of visited points during the computation in
practice. FM method has less computation complexity
compared to A star whose complexity depends on heuristic, and
FM yields a better approximation of the true shortest path.
In our research, the grid size is set to be 1m and the step size
is set to be 5m. Fig. 3 shows an example of shortest path results
for the case with 20 clusters and 50x building height rescaling.
The dark blue areas in the plots represent all aggregated
obstacles at given altitude. The red and green dots represent the
origin and destination. As the altitude increases, some obstacles
disappear, leaving more available airspace for drone to travel.
The shortest cruise path decreases accordingly.
C. Determine Optimal Travel Altitude
Shortest travel paths at different candidate altitudes are
generated as described above. To decide the optimal travel
altitude, we are interested in how the length of the shortest path
changes at different altitudes. Fig. 4 plots the pattern of shortest
path length at different altitude candidates of the same OD as
in Fig. 3 with 20 clusters and 50x rescaling of building height.
The red dots represent the data at each altitude candidate, and
Figure 1. Trade-offs of different number of clusters and building height rescaling factors
Figure 2. Sky view of aggregated obstacles in SF financial district
(20 clusters)
ICRAT 2020
4
we superimpose step lines. Based on the shortest path length
profile in this case, we can determine the optimal route altitude
for a given ratio of vertical cost to horizontal cost. (In this paper
we represent vertical unit cost as the average of climbing and
descending unit cost.) This ratio determines the slope of the
black iso-cost line in Fig. 4. The point where the lowest iso-cost
line touches the red plot will give the optimal travel altitude. A
given altitude will be optimal for a range of cost ratios.
V. EXPERIMENTS
This section performs sensitivity analysis for the number of
clusters and the building height rescaling factor, and compares
different shortest path algorithms. 10 random OD pairs were
generated for analysis in this section.
Figure 4. Shortest horizontal path lengths at different altitudes
Figure 3. An example of path planning at different altitudes for the same OD
ICRAT 2020
5
A. OD Sampling
A random sample of OD’s is generated within the red circle
containing all obstacles in San Francisco area shown in Fig. 5.
The center of the red circle is the middle point of maximum and
minimum X and Y coordinates of all obstacles. The radius is
1100 meters, which just contains all obstacles in study area.
Points are randomly sampled within the red circle. We assume
that only the points not located in the minimum bounding
rectangle of buildings can be used as O’s and D’s. Red and
green dots are the sampled origins and destinations. The
obstacles area (filled with blue) here uses the minimum
bounding rectangle of buildings without clustering. As
mentioned in the last section, there exists O’s or D’s located in
the clustered aggregated obstacle area but not in the actual
obstacles, because of wasted airspace by clustering. These
points located in the wasted airspace can be used as O’s and
D’s, but the shortest path is only feasible at altitude higher than
both altitudes of aggregated obstacles at origin and destination.
We only consider OD’s with Euclidean Distance longer than
1000 meters to reduce the possibility that the travel paths of OD
samples are obstacle free.
B. Sensitivity Analysis of the Number of Clusters
Sensitivity analysis of 20, 30 and 40 clusters, assuming 30x
height rescaling, for 10 OD’s is performed in this subsection in
order to determine the proper number of clusters. An example
of altitude vs. horizontal path length plot is shown in Fig. 6. The
shortest cruise path length is always shorter with more clusters,
since less available airspace is wasted. More clusters require
more computation time (see Table Ⅰ). The largest distance gap
(refer to Fig. 6) between 20 and 40 clusters cases is calculated
for all 10 OD samples. The maximum percentage savings of
shortest cruise path length are calculated as the largest distance
gap divided by corresponding 20-cluster shortest path length.
The average maximum path length savings is only about 10%
using 40 clusters compared to 20 clusters. Therefore, we pick
20 clusters for later study considering both path length savings
and computational convenience.
TABLE I. COMPUTATION TIME WITH DIFFERENT CLUSTER NUMBERS
# clusters
20
30
40
Computation time for 10 OD’s /s
386.2
549.7
950.2
The influence of different numbers of clusters on path cost
is also analyzed. We assume constant unit costs for vertical and
horizontal travel. Given vertical and horizontal cost ratio (V/H),
the adjusted cost, in horizontal distance units can be calculated
by the following equations:
  
 
  
  
 
 
Where is the shortest horizontal path length at altitude ,
and  is the optimal altitude that minimizes total cost. We
use simple enumeration among all the altitude candidates to find
. Cost ratios of 1, 2, 5, and 10 are used to compare cost
results since vertical cost is higher than horizontal travel cost in
most cases [17]. As shown in Fig. 7, total travel cost has lower
mean with more clusters for all four cost ratios. The optimal
travel altitude is lower with more clusters, since less airspace is
wasted and horizontal path is shorter. The cost difference with
different numbers of clusters increases as the V/H cost ratio
increases. When V/H cost ratio is small (e.g. V/H=1 in Fig. 7),
cost is quite insensitive to the number of clusters, since the
optimal paths are higher and therefore avoid most obstacles. The
sensitivity to the number of clusters becomes greater when high
Figure 5. OD Sampling
Figure 6. Horizontal shortest path lengths at different altitudes with
30X scaling of building height
ICRAT 2020
6
costs of vertical movement push optimal paths toward lower
altitudes, where obstacles matter more.
C. Sensitivity Analysis of Building Height Rescaling Factor
While all features in clustering are in units of meters, height
is unique because it varies far less than the X and Y coordinates.
The height of a cluster is the height of the tallest building in the
cluster. For this reason, building heights are rescaled by
different factors. The impact of changing the building height
rescaling factor from 10 to 50 times is analyzed in this
subsection. In Fig. 8, the total travel cost is larger with higher
V/H cost ratio. The cost is not monotonically increasing or
decreasing as building height rescaling factor changes when
V/H cost ratio is small (V/H=1 or 2). This can be explained by
the trade-off of rescaling factor described in Fig. 1. The more
we scale, the more likely available airspace between buildings
with similar height is regarded as obstacles. However, if we
don’t scale enough, more airspace is wasted because of building
height difference. Drones will be able to travel at lower altitude
with higher rescaling factor, since a higher rescaling factor
saves more airspace associated with the height difference of
buildings, which results in lower cost with higher rescaling
factor if the cost ratio is large (V/H=5 or 10).
In order to determine the proper rescaling factor, we plot the
total volume of obstacles in study airspace under different cases
in Fig. 9. The total volume of obstacles decreases with more
clusters, since less available airspace will be counted as
obstacles. The total volume of obstacles in the airspace
decreases at first as rescaling factor increases, then stays almost
stable, after the 30x rescaling factor. Fig. 8 suggests that a
higher rescaling factor (e.g. 50) yields a lower cost when V/H
is high, without any significant cost penalty when V/H is small.
The computation time does not change significantly with
different building height rescaling factors.
D. Comparison with A star (JPS)
The A Star Jump Point Search (JPS) algorithm makes
pathfinding on a rectangular grid more efficient, especially in
open spaces. It performs very well on quickly generating a path.
This algorithm is compared with Fast-Marching method.
The cumulative frequency diagram of cost difference
between A star (JPS) and Fast-Marching algorithms with
different cost ratios is presented in Fig. 10. Cost difference of
two algorithms is distributed in a larger range with higher cost
ratio. Given different vertical and horizontal cost ratios, cost
using A star (JPS) is always larger since Fast-Marching gives a
near-optimal shortest path and A star (JPS) does not necessarily
do so. The travel cost difference between two algorithms
amplifies with larger vertical and horizontal cost ratio. In
addition, by comparing computation time in Table , we see
Fast-Marching has better performance. For this reason, we
subsequently used Fast Marching.
ICRAT 2020
7
TABLE II. COMPUTATION TIME OF DIFFERENT ALGORITHMS
Shortest path algorithm
A star (JPS)
Fast-Marching
Computation time for 10 OD’s /s
585.07
386.2
VI. LARGER SAMPLE ANALYSIS
More OD pairs are simulated in this section to analyze the
relationship between shortest cruise path length and travel
altitude, and trade-off between horizontal and vertical cost. 200
OD pairs are generated using the same sampling strategy in
Section . Results in this section are based on 20 clusters and
30x rescaling factor case.
A. Analysis of Path Length and Altitude
The ratio of shortest cruise path length and horizontal
Euclidean Distance at different altitudes is presented in Fig. 11.
The median of shortest path length and Euclidean Distance ratio
decreases with altitude, since less obstacles must be avoided.
From altitude 258.49m to 23.26m, the median distance ratio
increases from 1 to around 1.25, and the 75th percentile
increases from 1.05 to around 1.35. At the highest altitude of
20 clusters, 258.49m, more than 75% of the paths are of
Euclidean Distance, while for the balance the path must be
adjusted to avoid the single obstacle cluster that has this
maximum altitude.
The relationship between additional shortest cruise path
length compared to Euclidean Distance and Euclidean Distance,
at altitudes 258.49m, 109.71m, and 23.26m are presented in Fig.
12. At very high altitude, 258.49m, most of shortest cruise paths
equal to Euclidean Distance, as drones fly direct Euclidean
Distance for most OD’s. The shortest cruise path length varies
much more at the lower bound altitude 23.26m. At the
intermediate altitude of 109.71m, the shortest cruise path length
varies more with longer distance between OD, because at
shorter distances it is more likely that the shortest cruise path is
obstacle free.
B. Cost Function Estimation
Based on the analysis of the relationship between cost and
other features, we generate the UAV path cost function. This
function predicts the cost of the least cost path in horizontal
distance units, taking into account both the vertical and
horizontal cost. We propose the following cost function
specification:
   
  
where ED is the Euclidean Distance between OD, and are
the coefficients to be estimated. The intuition for this functional
form is that if V/H=0, the optimal solution is to climb to an
obstacle-free altitude and fly the Euclidean Distance. However,
as this ratio increases, the optimal altitude will decrease,
resulting in more circuitous paths as well as a larger vertical cost
component.
Assigning cost ratios from 1 to 20 with increment 0.5, cost
function is estimated based on 200 OD samples using linear
regression. As before the minimum cost for a given OD is found
by simple enumeration of all the altitude candidates. The
estimated result is:
     
   
The R-square is 0.7, indicating the cost function is a good fit.
The beta coefficient in the cost function is 0.617 from estimation.
It is intuitive that this coefficient should be less than 1, since a
higher cost ratio reduces the optimal altitude.
Predicted cost and actual cost are compared in Fig. 13. The
blue scatter points show obvious quasi-linear patterns, which
correspond to the results for different OD pairs, and the cost
function captures the overall linear trend very well. Systematic
differences between the OD pairs are also evident. The different
curvatures of the OD-specific quasi-linear patterns show that
least-cost paths for different OD’s have different sensitivities to
the V/H value; the results in equation (4) thus reflect the average
of this sensitivity across the 200 OD’s. Further analysis is
expected to yield a cost model that is more sensitive to
differences between OD pairs.
VII. CONCLUSIONS
This paper finds that a clustering-based method can
efficiently summarize the trade-off between low altitude routes
that must avoid many buildings and high-altitude routes that
involve larger vertical cost. In the case of San Francisco, we
Figure 12. Horizontal shortest path length difference at three altitudes
ICRAT 2020
8
represented 931 buildings with 20-40 clusters. Each of these
clusters has an altitude defined by the tallest building it contains
and thus defines a candidate altitude for drone routing. Thus we
can capture the essential trade-off with a small number of
altitude candidates. For example, we find that the median ratio
of horizontal path length to Euclidean Distance decreases from
1.25 to 1.0 if the drone climbs from about 30 meters to 250
meters. For a given ratio of vertical to horizontal cost, one of
these candidates yields the lowest total path cost. The trade-off
can be succinctly summarized with a cost function that gives the
lowest total cost (vertical plus horizontal) for a route as a
function of the Euclidean Distance between the origin and
destination and the value V/H, which, despite having a very
simple form, has very good predictive performance.
Future work should move along several lines. First, the cost
function should be improved by considering other features of the
OD pair aside from Euclidean Distance. Second, the analysis
should be extended to other cities. Third, topography should be
taken into account by performing the routing in a projected AGL
coordinate system. Third, path costs should capture additional
factors as such turning, operator-drone connectivity, population
density, drone type, payload, and stochastic factors such as wind.
Finally, once the single-drone problem have been satisfactorily
solved, we must move on to the multiple drone routing problem,
which requires de-conflicting drone paths in space and time.
REFERENCES
[1] Mordor Intelligence Industry Reports, "Global UAVs Market - Growth,
Trends and Forecasts (2016 - 2021)," Mordor Intelligence, September
2016.
[2] P. Kopardekar, J. Rios, T. Prevot, M. Johnson, J. Jung and J. E. Robinson
III, "Unmanned Aircraft System Traffic Management (UTM) Concept of
Operations," in 16th AIAA Aviation Technology, Integration, and
Operations Conference, AIAA Aviation, Washington, D.C., 2016.
[3] Netherlands Aerospace Centre (NLR), "Annual Report 2011,"
Netherlands Aerospace Centre (NLR), Netherlands, 2011.
[4] B. Moses Sathyaraj, L. C. Jain, A. Finn, S. Drake, "Multiple UAVs path
planning algorithms: a comparative study, " Fuzzy Optimization and
Decision Making 7, 257267, 2008.
[5] A. Botea, M. Müller, and J. Schaeffer, "Near Optimal Hierarchical Path-
finding, " in Journal of Game Development (Issue 1, Volume 1), 2004.
[6] D. Harabor, A. Botea, and P. Kilby, "Path Symmetries in Uniform-cost
Grid Maps, " in Symposium on Abstraction Reformulation and
Approximation (SARA), 2011.
[7] D. Harabor and A. Grastien, "Online Graph Pruning for Pathfinding on
Grid Maps, " in National Conference on Artificial Intelligence (AAAI),
2011.
[8] F. Duchoň, A. Babinec, M. Kajan, P. Beňo, M. Florek, T. Fico, and L.
Jurišica, “Path Planning with Modified a Star Algorithm for a Mobile
Robot”, Procedia Eng., vol. 96, pp. 59–69, 2014.
[9] J.A. Sethian, "Fast-Marching methods, " SIAM Rev., 41, p. 199, 1999.
[10] Z. Liu, and A. G. Foina, "An Autonomous Quadrotor Avoiding a
Helicopter in Low-Altitude Flights, " IEEE Aerospace and Electronic
Systems Magazine, Vol. 31, No. 9, pp. 3039. doi:10.1109/MAES. 2016.
150131, 2016.
[11] Y. Qu, Q. Pan, J. Yan, "Flight path planning of UAV based on
heuristically search and genetic algorithms", Proc. 31st Annu. Conf. IEEE
Ind. Electron. Soc., Nov. 2005.
[12] K.B. Judd, T.W. McLain, "Spline based path planning for unmanned air
vehicles, " in: AIAA Guidance, Navigation, and Control Conference and
Exhibit, Montreal, Canada, 2000.
[13] S. Scherer, D. Ferguson, S. Singh, "Efficient C-space and cost function
updates in 3D for unmanned aerial vehicles, " in IEEE international
conference on robotics and automation, ICRA’09 (pp. 2049–2054). New
York: IEEE Press, 2009.
[14] M. Bagherian, and A. Alos, "3D UAV trajectory planning using
evolutionary algorithms: A comparison study, " Aeronautical Journal,
119, (1220), pp 1271-1285, October 2015.
[15] A. Otto, N. Agatz, J. Campbell, B. Golden and E. Pesch, Optimization
approaches for civil applications of unmanned aerial vehicles (UAVs) or
aerial drones: A survey, Networks 72, 411458, 2018.
[16] H. Oh, S. Kim, A. Tsourdos, B.A. White, "Coordinated Road-Network
Search Route Planning by a Team of UAVs, " International Journal of
Systems Science, doi: 10.1080/00207721. 2012. 737116, 2012.
[17] Z. Liu, R. Sengupta and A. Kurzhanskiy, "A power consumption model
for multi-rotor small unmanned aircraft systems," 2017 International
Conference on Unmanned Aircraft Systems (ICUAS), Miami, FL, USA,
2017, pp. 310-315, doi: 10.1109/ICUAS.2017.7991310.
Figure 11. Horizontal path length ratio distribution at different altitudes of 200 samples Figure 13. Comparison between actual and predicted cost
... Ng et al. (2014) use optimal control to develop flight trajectories that approximately minimize aircraft travel time and fuel burn. Our previous work compared several path planning algorithms and concluded that Fast-Marching methods outperform several other path planning algorithms (Li and Hansen, 2020). ...
... Compared to the traditional Dijkstra algorithm or A* algorithm, Fast Marching methods (FM) replace the graph update by a local resolution of gradient descent, instead of only considering standard eight directions of neighbors, which significantly reduces the grid bias. After comparing several shortest path algorithms, Li and Hansen (2020) found that FM is the most efficient method in terms of both computation time and solution quality for UAV horizontal path planning. Compared with traditional Fast Marching Algorithm, Saturated FM2 imposes a speed penalty that increases continuously with proximity to obstacles within a specified threshold distance. ...
Article
Full-text available
This research proposes a framework of Unmanned Aircraft Vehicles (UAV) system traffic management in the context of parcel delivery in low-altitude urban airspace, including clustering-based UAV path planning, Unmanned Aircraft System Traffic Management (UTM) with conflict detection and resolution (CD&R), and mechanism design for airspace resource allocation. For UAV path planning, we develop a procedure by first clustering a large variety of obstacles that arise from building heights and terrain topology and can impede UAV flying. Based on the clustered obstacles, Saturated Fast-Marching Square (Saturated FM2) algorithm is then employed to generate optimal and alternative paths for each UAV mission. While identifying the optimal and alternative paths does not consider UAV traffic interactions, several traffic management models are proposed to efficiently allocate spatial and temporal airspace resources to UAV missions. The UTM models determine the departure time and the path to take for each UAV flight while resolving path conflicts from different perspectives. Specifically, four UTM models are proposed: Sequential Delay (SD) Model, Sequential Delay/Reroute (SDR) Model, Full Optimization (FO) Model, and Batch Optimization (BO) Model. Among the four models, the BO model is of particular interest as it strikes a balance between seeking a system optimum solution and maintaining computational tractability. Given that traffic management requires private information from UAV operators, the Vickrey-Clarke-Groves (VCG) mechanism is further adapted to the UTM context, in which airspace resource allocation is performed in conjunction with a payment scheme to incentivize truthful private information reporting by UAV operators. Extensive numerical analysis is conducted with San Francisco as the case study area. The results show the effectiveness of the proposed framework, particularly the scalability of the BO model. We also find that payment by a UAV flight under the adapted VCG mechanism depends critically on traffic density and the extent of interaction the UAV flight has with other flights.
... Dense high-rise building in urban environments is another challenge for UAV operations. Potential collisions with buildings pose property damage risks, and densely distributed high-rise buildings also limit the speed of traffic flow, resulting in the inefficiency of the UAS system [51]. The property damage risk cost model also integrates the operational efficiency cost, which is accounted for planning and optimization of airspace and traffic flow. ...
... Because in lower altitude airspace the buildings are denser, which increases the collision probability of UAV with buildings. That also limits the flight speed and increases the intensity of flight maneuvers, resulting in loss of operational efficiency [51]. Noise impact also matters, and it can be solved by flying at a higher altitude. ...
Article
Various applications of unmanned aerial vehicles (UAVs) in urban environments facilitate our daily life and public services. However, UAV operations bring third party risk (TPR) issues, as UAV may crash to pedestrians and vehicles on the ground. It may also cause property damages to critical infrastructures and noise impacts to the public. Path planning is an effective method to mitigate these risks and impacts by avoiding high-risk areas before flight. However, most of the existing path planning methods focus on minimizing flight distance or energy cost, rarely considered risk cost. This paper develops a novel flight path optimization method that considers an integrated cost assessment model. The assessment model incorporates fatality risk, property damage risk, and noise impact, which is an extension of current TPR indicators at modeling and assessment levels. To solve the proposed integrated cost-based path optimization problem, a hybrid estimation of distribution algorithm (EDA) and CostA* (named as EDA-CostA*) algorithm is proposed, which provides both global and local heuristic information for path searching in cost-based environments. A downtown area in Singapore is selected for the case study. Simulation results demonstrate the effectiveness of the developed cost-based path optimization model in reducing the risk cost. The statistical analysis for 100 sampled environments also shows the reliability of the proposed method, which reduced the cost by [42.64%, 44.15%] at 95% confidence level.
... Furthermore, the field of clustering is a well-explored research domain, as comprehensively reviewed in [28], and it has found diverse applications within robotics. Prior research has employed clustering techniques to group buildings, streamlining path planning processes [29], and to categorize lidar points effectively [30]. In the context of obstacle avoidance, clustering has been utilized, as seen in [31], primarily focusing on static obstacles and clustering points within a point cloud to identify obstacles. ...
Preprint
Full-text available
Proactive collision avoidance measures are imperative in environments where humans and robots coexist. Moreover, the introduction of high quality legged robots into workplaces highlighted the crucial role of a robust, fully autonomous safety solution for robots to be viable in shared spaces or in co-existence with humans. This article establishes for the first time ever an innovative Detect-Track-and-Avoid Architecture (DTAA) to enhance safety and overall mission performance. The proposed novel architectyre has the merit ot integrating object detection using YOLOv8, utilizing Ultralytics embedded object tracking, and state estimation of tracked objects through Kalman filters. Moreover, a novel heuristic clustering is employed to facilitate active avoidance of multiple closely positioned objects with similar velocities, creating sets of unsafe spaces for the Nonlinear Model Predictive Controller (NMPC) to navigate around. The NMPC identifies the most hazardous unsafe space, considering not only their current positions but also their predicted future locations. In the sequel, the NMPC calculates maneuvers to guide the robot along a path planned by D+^{*}_{+} towards its intended destination, while maintaining a safe distance to all identified obstacles. The efficacy of the novelly suggested DTAA framework is being validated by Real-life experiments featuring a Boston Dynamics Spot robot that demonstrates the robot's capability to consistently maintain a safe distance from humans in dynamic subterranean, urban indoor, and outdoor environments.
... To ensure UAVs do not interfere with other aircraft or endanger people on the ground, governments need to establish detailed regulations around where and how drones can be operated within designated airspace, involving the definition of restricted areas, airspace priorities for given applications, altitudes, speed, and time limitations. Aside from conflict detection and avoidance procedures ( Yasin et al., 2020 ), geofencing can be a promising technique to reduce the risk of incorrect path planning and collisions with infrastructure or obstacles, through defining virtual airspace boundaries for specific geographical areas ( Cho & Yoon, 2018;Hermand et al., 2018;Li & Hansen, 2020;. Moreover, the dronespecific traffic management needs to integrate pre-flight procedures, inflight controls and post-flight feedback, which will lead to more complex policies. ...
Article
Full-text available
The application of drone technology promises to revolutionize the transportation industry. Particularly, the combination of drones with ground vehicles has tremendous advantages for delivery applications, including an increased delivery speed and reduced operating costs, while keeping drones lightweight and small. Accordingly, the number of research studies targeting the Coordinated Delivery of Trucks and Drones (CDTD) has increased significantly in the past decade. Most of these existing studies, however, have put a strong emphasis on the optimization aspects, usually by solving combinatorial problems induced by the delivery coordination and the goal to minimize a specific objective function. Here, we contribute to the extant body of literature by providing a comprehensive review and discussion of policy-related challenges for a successful CDTD implementation. Given that various industry stakeholders, e.g., Amazon, Uber, and SF express, are already in the process of pushing the envelope for CDTD operations, we believe that our contribution is timely and complementary, helping policy makers to make informed decision regarding the support and regulation of this new technology.
... The airspace topology proposed by Geister and Korn [10] lies between structured and unstructured, as the airspace is separated into different regions by geofence; inside each region, aircraft can perform free flight. The layered airspace topology discretized the airspace into grids to generate flight routes at each layer that are approximations of shortest paths [11,12], whereas Tang et al. [13] constructed flight routes based on the obstacle vertices at each layer with minimal nodes and edges, and the routes generated are actual shortest paths. ...
Article
Urban air mobility (UAM) is envisioned to move to highly automated and high-density operations in low-altitude urban airspace in the future. Providers of services for UAM (PSU), rather than the legacy air traffic control, are anticipated to support operators with operational planning, aircraft deconfliction, conformance monitoring, and emergency information dissemination. Such services, for hundreds to thousands of simultaneous UAM operations in constrained airspace, can only be realized with automated systems. In this study, airspace and deconfliction models for generating predeparture conflict-free four-dimensional (4-D) flight trajectories are proposed, which can be further developed into an automated flight planning tool for PSU. A semistructured scalable airspace design for future UAM is proposed (i.e., a layered airspace topology with direct routes between vertiports, avoiding physical obstacles, such as buildings, obstructions, and restricted airspace) using the visibility graph method. Based on the proposed airspace design, deconfliction strategies (e.g., flight-level assignment and departure delay) are applied to obtain predeparture conflict-free 4-D trajectories of UAM operations by solving a mixed-integer programming problem, with the objective function to minimize the operating cost of UAM operations. Furthermore, sensitivity analysis is performed to investigate the impacts of three key cost parameters (electricity price, crew hourly rate, and maintenance hourly rate). The relationships of departure delay bound (maximum departure delay allowed) vs operating cost saving and departure delay bound vs delay cost to passengers are examined, as is the tradeoff between operating cost saving and passenger delay cost.
... The airspace topology proposed by [11] lies between structured and unstructured, as the airspace is separated into different regions by geofence; inside each region, aircraft can perform free flight. The layered airspace topology proposed by [12,13] discretized the airspace into grids to generate flight routes at each layer that are approximations of shortest paths, whereas [14] constructed flight routes based on the obstacle vertices at each layer with minimal nodes and edges and the routes generated are actual shortest paths. ...
Conference Paper
Full-text available
View Video Presentation: https://doi.org/10.2514/6.2022-3318.vid Urban air mobility (UAM) is envisioned to move to highly automated and high-density operations in low altitude urban airspace in the future. Providers of services for UAM (PSU), rather than the legacy Air Traffic Control, are anticipated to support operators with operational planning, aircraft deconfliction, conformance monitoring, and emergency information dissemination. Such services, for hundreds to thousands of simultaneous UAM operations in constrained airspace, can only be realized with automated systems. In this study, we propose methods for generating pre-departure conflict-free four-dimensional (4D) flight trajectories, which can be further developed into an automated flight planning tool for PSU. We propose a semi-structured airspace design for future UAM, i.e., a layered airspace topology with direct routes between vertiports, avoiding physical obstacles such as buildings, obstructions, and restricted airspace using the visibility graph method. Based on the proposed airspace design, deconfliction strategies, e.g., flight level assignment and departure delay, are applied to obtain pre-departure conflict-free 4D trajectories of UAM operations by solving a mixed-integer programming model, with the objective function minimizing the operating cost of UAM operations. Furthermore, sensitivity analysis is performed to investigate the impacts of three key cost parameters (electricity price, crew hourly rate, and maintenance hourly rate). The relationships of departure delay bound (maximum departure delay allowed) vs. operating cost saving and departure delay bound vs. delay cost to passengers are examined, as is the tradeoff between operating cost saving and passenger delay cost.
... Path planning in urban airspace especially for drone operations has been studied based on various operational scenarios, such as delivery [11], surveillance [12], building inspection [13]. Many typical algorithms for path planning have been applied to aircraft applications, including sampling based algorithms like rapid exploring random tree (RRT) [14] and probabilistic road maps (PRM) [15], graph-based optimal algorithms like Dijkstra's algorithm [16] and A-Star (A*) [17,18] algorithm, potential field method [19], optimal control [20], population-based algorithms [21,22], etc. ...
Article
Full-text available
Urban air mobility (UAM) has attracted the attention of aircraft manufacturers, air navigation service providers and governments in recent years. Preventing the conflict among urban aircraft is crucial to UAM traffic safety, which is a key in enabling large scale UAM operation. Pre-flight conflict-free path planning can provide a strategic layer in the maintenance of safety performance, thus becomes an important element in UAM. This paper aims at tackling conflict-free path planning problem for UAM operation with a consideration of four-dimensional airspace management. In the paper, we first introduce AirMatrix, previously developed by the team, and extend it as a four-dimensional airspace management concept. On the basis of AirMatrix, we formulate the shortest flight time path planning problem considering resolution of conflicts with both static and dynamic obstacles. A Conflict-Free A* (CFA*) algorithm is developed for planning four-dimensional paths based on first-come-first-served scheme. The algorithm contains a novel design of heuristic function as well as a conflict detection and resolution strategy. Numerical simulation was carried out using the building information in a typical urban area in Singapore. The results show that the algorithm can generate paths resolving a significant number of potential conflicts in airspace utilization, with acceptable computational time and flight delay. The findings of this study will provide references for stakeholders to support the development of UAM.
Research Proposal
Fueled by burgeoning e-commerce, urban parcel delivery (UPD) has emerged as a high growth market that is undergoing rapid technological change, particularly in the business-to-consumer segment. New classes of vehicles such as drones, droids, and autonomous ground vehicles, combined with new delivery models featuring crowdsourcing, parcel lockers, and mobile lockers, will enable a significant shift away from the conventional model of a dedicated delivery person operating a van. To reach the full potential of these changes to reduce costs and increase convenience, it is necessary to develop a complementary set of demand management strategies that will enable the next-generation parcel delivery system to mitigate current traffic congestion problems and avoid creating new ones. The project aims to (1) quantify the current and anticipated future contributions of UPD to urban congestion and related problems, such as traffic accidents and (2) identify opportunities for incentivizing consumers and delivery services to modify their behaviors to reduce the congestion impacts of UPD. To accomplish these objectives, the focus is on (1) demand models of e-commerce behaviors, (2) measuring the impact of delivery service operations on urban congestion using macroscopic fundamental diagrams, and (3) urban operations of drone deliveries to assess their potential for removing parcel delivery demand on roads. The modeling system will be used to assess the congestion reduction benefits of a range of policies geared toward encouraging consumers and service providers to adopt behaviors that reduce the congestion caused by urban delivery. In addition, an analytical framework for assessing the safety impacts, including non-recurring congestion reductions, of innovative UPD technologies is proposed. The method for identifying UPD crashes and statistical models for estimating UPD crash risks at TAZ levels by given demographic, roadway, and traffic conditions.
Conference Paper
Full-text available
Urban parcel delivery has emerged as a high growth market, and the resulting delivery traffic can pose great challenges in dense urban areas. There is growing interest in supplanting the conventional model of a dedicated delivery person operating a van to alternatives featuring new classes of vehicles such as drones, autonomous ground vehicles, cargo bikes and non-motorized vehicles. This work proposes combined delivery strategies using trucks, cargo bikes and drones. We develop and compare multi-modal delivery strategies with various mode combinations. We work on zone-based multi-modal delivery strategies in multi-echelon networks. Then, we evaluate the benefit of multi-modal delivery in both uncongested and congested transportation networks. Results show that delivery models with multiple vehicles modes in both single-and multi-echelon networks are more efficient in terms of total delivery cost than truck only scenario. The multi-modal delivery strategies in two-echelon networks outperform other strategies in extremely congested situations. We suggest taking advantage of synergistic operation among emerging vehicle types, especially drones for more efficient parcel delivery.
Article
Spatial information is geometrical information combined with the properties of an object. In city areas where unmanned aerial vehicle (UAV) usage demand is high, it is necessary to determine the appropriate driving altitude considering the height of buildings for safe driving. In this study, we propose a data-provision method that generates the driving altitude of UAVs with a pseudo-3D building model. The pseudo-3D building model is developed using high-precision spatial information provided by the National Geographic Information Institute. The proposed method generates the driving altitude of the UAV in terms of tile information, including the UAV's starting and arrival points and a straight line between the two points, and provides the data to users. To evaluate the efficacy of the proposed method, UAV driving altitude information was generated using data of 763 551 pseudo-3D buildings in Seoul. Subsequently, the generated driving altitude data of the UAV was verified in AirSim. In addition, the execution time of the proposed method and the calculated driving altitude were analyzed.
Article
Full-text available
Unmanned aerial vehicles (UAVs), or aerial drones, are an emerging technology with significant market potential. UAVs may lead to substantial cost savings in, for instance, monitoring of difficult‐to‐access infrastructure, spraying fields and performing surveillance in precision agriculture, as well as in deliveries of packages. In some applications, like disaster management, transport of medical supplies, or environmental monitoring, aerial drones may even help save lives. In this article, we provide a literature survey on optimization approaches to civil applications of UAVs. Our goal is to provide a fast point of entry into the topic for interested researchers and operations planning specialists. We describe the most promising aerial drone applications and outline characteristics of aerial drones relevant to operations planning. In this review of more than 200 articles, we provide insights into widespread and emerging modeling approaches. We conclude by suggesting promising directions for future research.
Article
Full-text available
This article deals with path planning of a mobile robot based on a grid map. Essential assumption for path planning is a mobile robot with functional and reliable reactive navigation and SLAM. Therefore, such issues are not addressed in this article. The main body of the article introduces several modifications (Basic Theta*, Phi*) and improvements (RSR, JPS) of A star algorithm. These modifications are focused primarily on computational time and the path optimality. Individual modifications were evaluated in several scenarios, which varied in the complexity of environment. On the basis of these evaluations, it is possible to choose path planning method suitable for individual scenario.
Conference Paper
Full-text available
When operating in partially-known environments, autonomous vehicles must constantly update their maps and plans based on new sensor information. Much focus has been placed on developing efficient incremental planning algorithms that are able to efficiently replan when the map and associated cost function changes. However, much less attention has been placed on efficiently updating the cost function used by these planners, which can represent a significant portion of the time spent replanning. In this paper, we present the Limited Incremental Distance Transform algorithm, which can be used to efficiently update the cost function used for planning when changes in the environment are observed. Using this algorithm it is possible to plan paths in a completely incremental way starting from a list of changed obstacle classifications. We present results comparing the algorithm to the Euclidean distance transform and a mask-based incremental distance transform algorithm. Computation time is reduced by an order of magnitude for a UAV application. We also provide example results from an autonomous micro aerial vehicle with on-board sensing and computing.
Article
Full-text available
This paper presents a road-network search route planning algorithm by which multiple autonomous vehicles are able to efficiently visit every road identified in the map in the context of the Chinese postman problem. Since the typical Chinese postman algorithm can be applied solely to a connected road-network in which ground vehicles are involved, it is modified to be used for a general type of road map including unconnected roads as well as the operational and physical constraints of unmanned aerial vehicles (UAVs). For this, a multi-choice multi-dimensional knapsack problem is formulated to find an optimal solution minimising flight time and then solved via mixed integer linear programming. To deal with the dynamic constraints of the UAVs, the Dubins theory is used for path generation. In particular, a circular–circular–circular type of the Dubins path is exploited based on a differential geometry to guarantee that the vehicles follow the road precisely in a densely distributed road environment. Moreover, to overcome the computational burden of the multi-choice multi-dimensional knapsack algorithm, a nearest insertion and auction-based approximation algorithm is newly introduced. The properties and performance of the proposed algorithm are evaluated via numerical simulations operating on a real village map and randomly generated maps with different parameters. http://www.tandfonline.com/eprint/bkxYXmQWMq3GUTkQY6ZS/full#.UfcMmm2YAwM
Article
Full-text available
The problem of path-finding in commercial computer games has to be solved in real time, often under constraints of limited memory and CPU resources. The computational effort required to find a path, using a search algorithm such as A*, increases with size of the search space. Hence, path-finding on large maps can result in serious performance bottlenecks. This paper presents HPA* (Hierarchical Path-Finding A*), a hierarchi-cal approach for reducing problem complexity in path-finding on grid-based maps. This technique abstracts a map into linked local clusters. At the local level, the optimal distances for crossing each cluster are pre-computed and cached. At the global level, clusters are traversed in a single big step. A hi-erarchy can be extended to more than two levels. Small clusters are grouped together to form larger clusters. Computing crossing distances for a large cluster uses distances computed for the smaller contained clusters. Our method is automatic and does not depend on a specific topology. Both random and real-game maps are successfully handled using no domain-specific knowledge. Our problem decomposition approach works very well in domains with a dynamically changing environment. The technique also has the advantage of simplicity and is easy to implement. If desired, more sophisticated, domain-specific algorithms can be plugged in for increased performance. The experimental results show a great reduction of the search effort. Compared to a highly-optimized A*, HPA* is shown to be up to 10 times faster, while finding paths that are within 1% of optimal.
Article
Full-text available
Unmanned aerial vehicles (UAVs) are used in team for detecting targets and keeping them in its sensor range. There are various algorithms available for searching and monitoring targets. The complexity of the search algorithm increases if the number of nodes is increased. This paper focuses on multi UAVs path planning and Path Finding algorithms. Number of Path Finding and Search algorithms was applied to various environments, and their performance compared. The number of searches and also the computation time increases as the number of nodes increases. The various algorithms studied are Dijkstra’s algorithm, Bellman Ford’s algorithm, Floyd-Warshall’s algorithm and the AStar algorithm. These search algorithms were compared. The results show that the AStar algorithm performed better than the other search algorithms. These path finding algorithms were compared so that a path for communication can be established and monitored.
Conference Paper
Full-text available
Pathfinding in uniform-cost grid environments is a problem commonly found in application areas such as robotics and video games. The state-of-the-art is dominated by hierar- chical pathfinding algorithms which are fast and have small memory overheads but usually return suboptimal paths. In this paper we present a novel search strategy, specific to grids, which is fast, optimal and requires no memory overhead. Our algorithm can be described as a macro operator which iden- tifies and selectively expands only certain nodes in a grid map which we call jump points. Intermediate nodes on a path connecting two jump points are never expanded. We prove that this approach always computes optimal solutions and then undertake a thorough empirical analysis, comparing our method with related works from the literature. We find that searching with jump points can speed up A* by an order of magnitude and more and report significant improvement over the current state of the art.
Article
Recent advances in sensing and computing technology has made unmanned aerial vehicles/systems (UAV/UAS) low cost but still increasingly capable of executing complex missions in challenging environments. They have gained popularity in a vast range of civilian applications, including search and rescue, disaster relief, and filming. Recently, the Federal Aviation Administration (FAA) has issued the Notice of Proposed Rulemaking (NPRM) on UAS certifications [1], indicating that a large number of UAS will be present in the National Airspace System (NAS) in the near future. The NASA UTM project is an effort on enabling low-altitude UAS flights [2]. Big value envisaged by Amazon Prime Air [3] happens only when the drone is able to fly itself tens of miles from the distribution center to people’s homes autonomously. One prerequisite for such flights is collision avoidance. Our research aims at drones that travel in class G airspace. This article is an exploration of the drone collision avoidance problem in urban areas. The main contribution is a safety control framework that enables a UAS to perform collision avoidance with manned aircraft during autonomous navigation.
Article
This paper focuses on the three dimensional flight path planning for an unmanned aerial vehicle (UAV) on a low altitude terrain following\terrain avoidance mission. The UAV trajectory planning problem is to compute an optimal or near-optimal trajectory for a UAV to do its mission objectives in a surviving penetration through the hostile enemy environment, considering the shape of the earth and the kinematics constraints of the UAV. Using the three dimensional terrain information, three dimensional flight path from a starting point to an end point, minimising a cost function and regarding the kinematics constraints of the UAV is calculated. The geographic information of the earth shape and enemy locations is generated using digital terrain model (DTM) and geographic information system (GIS), and is displayed in a 3D environment. Using 3D-maps containing the geographic data accompanied by DTM, and GIS, the problem is modelled by deriving the motion equations of the UAV. Two heuristic algorithms are proposed for this problem: genetic and particle swarm algorithms. Genetic and particle swarm algorithms are general purposes algorithms, because they can solve a wide range of problems, so they have to be adjusted to solve the trajectory planning problem. To test and compare the paths obtained from these algorithms, a software program is built using GIS tools and the programming languages C# and MATLAB.