Next Article in Journal
A Novel Design Methodology and Numerical Simulation of BLDC Motor for Power Loss Reduction
Previous Article in Journal
The Effect of Ultraviolet Aging Duration on the Rheological Properties of Sasobit/SBS/Nano-TiO2-Modified Asphalt Binder
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on Lazy Theta* Route Planning Algorithm Based on Grid Point Optimization

1
Air Traffic Control and Navigation College, Air Force Engineering University, Xi’an 710051, China
2
State Key Laboratory of Air Traffic Management System and Technology, Nanjing 210007, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2022, 12(20), 10601; https://doi.org/10.3390/app122010601
Submission received: 17 September 2022 / Revised: 13 October 2022 / Accepted: 17 October 2022 / Published: 20 October 2022
(This article belongs to the Section Aerospace Science and Engineering)

Abstract

:

Featured Application

This research can be applied to route planning in a complex threat environment.

Abstract

In recent years, the problem of route planning in complex battlefield environments has attracted significant attention. With the increasingly worrying international situation, safety and flyability in a continuously changing threat environment are critical factors in route planning research. Thus, this paper proposes an improved Lazy Theta* algorithm that adapts to a complex battlefield environment and finds the optimal route. Specifically, given the low computational efficiency and data redundancy of the existing environmental threat modeling, the developed scheme first employs an octree grid to divide the environment into a grid. Furthermore, based on a real environmental threat model and flight constraints, we design a Lazy Theta* algorithm based on octree grid points, which shortens the planning path and reduces the path cost. Finally, this paper proposes an equally spaced B-spline to smooth the route and improve its smoothness and flyability. Several simulated experiments verify that the smoothed route improves safety and flight ability while reducing the route’s distance. Overall, the simulation results prove that the proposed method significantly improves the planning efficiency and flyability compared with traditional methods.

1. Introduction

In modern warfare, air defense systems continuously improve, prohibiting aircraft from reaching the target area in a complex environment. Therefore, how to reach the destination and complete the task while facing multiple threats is currently a significant problem [1]. To solve this problem, scholars have proposed various methods for improving a flight’s efficiency and safety. Among these methods, route planning reduces the influence of a complex environment on the aircraft’s power consumption and improves flight safety [2]. Therefore, route planning has attracted significant research attention.
The literature currently presents several route planning algorithms, each with its advantages and disadvantages, and applicable scenarios. According to the planning method, the algorithms can be divided into traditional and intelligent planning algorithms [3]. The former algorithms include the Dijkstra algorithm [4], the artificial potential field method [5], and the simulated annealing algorithm [6]. Although the traditional algorithms ensure route optimality, their computation burden is long and thus unsuitable for real-time planning. Therefore, only a few route planning applications adopt this route planning type. In contrast, modern intelligent algorithms are widely used and closer to actual needs. The most commonly used are the A*, genetic, RRT, and ant colony [7] algorithms.
The A* algorithm [8,9,10], the most commonly studied route planning algorithm, is inspired by the Dijkstra algorithm and introduces a heuristic function to realize fast searching. The A* algorithm has been extended to facilitate mission requirements. For instance, Ou et al. [11] utilized the Hdl_graph_slam mapping algorithm to construct a two-dimensional grid map and introduced a path smoothing strategy and a safety protection mechanism in the A* algorithm to determine whether obstacles exist between the two path nodes. The latter strategy aimed to eliminate redundant and minimum angle points, improving path smoothness and search efficiency. Xiang et al. [12] proposed an A* algorithm that combined a multi-objective path planning strategy with a greedy algorithm, and improved the cost function to make the A* algorithm converge faster and have a shorter path length. Zhou et al. [13] decomposed the three-dimensional route planning into two parts and replaced the original three-dimensional planning with two-dimensional and height planning. In this scheme, first, the dynamic time warping distance was used as a heuristic function to conduct two-dimensional planning. Then, height information was obtained from the calculated two-dimensional route and combined with a digital elevation map. The three-dimensional route plan was generated. This method effectively remapped the problem from a three-dimensional space into a two-dimensional space. By reducing the dimension, the A* algorithm’s efficacy was increased by drastically lowering the number of search nodes.
The RRT algorithm [14,15,16] is a smart probabilistic roadmap method (PRM) with flexible search capabilities, and can be employed for path planning in various complex environments. However, RRT does not consider the path cost, and the obtained path is not optimal. Spurred by these defects, Nasir et al. [17] put forward the RRT*-Smart algorithm, which realized an intelligent sampling search through heuristic sampling. Although this method affords a faster convergence, it presents poor adaptability. Gammell et al. [18] suggested the Informed-RRT* algorithm, which limits the node sampling range by generating elliptical sampling subsets and increases the convergence velocity of the best route. Nevertheless, the overall time cost is still significant.
Simulating the process of biological genetic evolution is the fundamental idea of a genetic algorithm. According to the principle of selection, crossover, mutation, and other operations, the problem is gradually approached from the initial to the optimal solution. Such a strategy affords an efficient, parallel, global search-based method. Shorakaei et al. [19] combined the parallel genetic algorithm with a probability map to realize the cooperative route planning of multiple UAVs. The parallel genetic algorithm overcomes the premature problem very well; however, it does not consider the UAV flight performance constraint. Duan et al. [20] developed a multi-frequency vibration genetic algorithm that uses two mutation operations acting on the entire population and elite individuals, respectively, providing global and local diversity for the population. Thereby, it effectively avoids the algorithm’s prematurity and improves its search accuracy.
Spurred by the shortcomings of the above research, this paper proposes a Lazy Theta* route planning method based on octree grid optimization. Based on 3D gridded scene modeling, this work develops a Lazy Theta* [21]–based algorithm that uses grid points instead to realize route planning. The complex terrain environment and flight constraints are considered during planning, and a route cost function that considers various threat costs is designed to improve the route’s safety and flyability during an actual flight. Finally, an equally spaced B-spline is proposed to smooth the flight path and further improve the path’s smoothness and flight ability.
The innovation of this paper is route planning based on a grid point subdivision environment. This method can adapt to environments of differing complexity. According to the complexity of the environment, different grid scales are set to achieve different step-size route planning, which can more effectively avoid various flight obstacles and improve flight safety and flight efficiency. It also provides a new idea for route planning.

2. Octree Meshing Modeling

Based on the meshing model, we establish a geographic environment model in which the static terrain is associated with a three-dimensional grid through terrain meshing to form a phasic mapping data model. This strategy models and retrieves the terrain environment by using the spatial and temporal properties of the grid to index the terrain environment [22].

2.1. Octree Meshing

Octree [23] is a tree-like data structure that describes a three-dimensional space. Figure 1 illustrates an Octree in which each node represents a cubical volume element and has eight child nodes. The sum of the eight child node volumes equals the parent node volume.
Octrees recursively divide space into eight squares, organized and stored in memory as octrees [24]. Figure 2 depicts the data organization of the environment illustrated in Figure 1. Specifically, the ball P in Figure 1 is stored within a child node, continuously divided into octaves to obtain a cube storing the ball P.
In the octree data storage setup, the idle nodes can be pruned, and only the parent and the target nodes are retained [25], saving memory and improving search efficiency. When planning a route, the octree grid divides the global environment, significantly improving planning accuracy, safety, and efficiency.
Compared with the standard grid, the octree grid is more convenient to identify and query objects. Figure 3 shows that the calculation methods of the standard grid and the octree grid subdivision model are different. The grid occupied by the red numbers (letters) in the figure indicates that it is also occupied by the model.
Figure 3a illustrates that the standard grid subdivision model is queried by traversing all grids to find the grids occupied by the model; this method is slow in computing large-scale models.
Figure 3b shows the query method of the octree grid subdivision model. It searches the grid occupied by the model through the continuous octree division of space, which has a higher search efficiency. At the same time, due to the characteristics of the octree structure, it is convenient to encode the grid. In addition, octree grids can be pruned to remove unoccupied grids, reducing the number of grids while further improving search efficiency.

2.2. Encoding Method

As illustrated in Figure 4, the cubic grid structure includes grid cells, grid points, grid edges, and grid faces, representing the cube’s eight vertices, 12 edges, and six faces, respectively [26].
The grid coding method is divided into cell coding, grid edge coding, and grid point coding according to the grid structure. A subspace of the same size is further divided into subspaces until the target level, or the highest level of the grid, is obtained. The grid coding is coded in a Z-curve manner, and the grid coordinates are coded in octal numbers in the order presented in Figure 1 [26,27,28].
The steps for converting grid coordinates ( X , Y , Z ) at a level N to octal encoding are as follows.
  • Convert ( X , Y , Z ) to binary number ( X , Y , Z ) 2 .
  • According to the order Z Y X , the bits are crossed to obtain the code H 2 = Z Y X .
  • Shift H 2 to the left by three bits to obtain the encoded H 2 = H 2 < < 3 .
  • Convert the binary code H 2 to the octal code I 8 .
The above steps constitute the octal coding method of the grid cells, and on this basis, the grid points are encoded, with the relevant steps being presented below.
  • Reverse the cross-bit of the binary cell code H 2 to obtain the binary coordinate ( X 2 , Y 2 , Z 2 ) .
  • The calculation formula of the first hexagram limit grid point code H d 1 is presented in Equation (1).
    { X 2 = X 2 + 1 Y 2 = Y 2 + 1 Z 2 = Z 2 + 1 H d 1 = Z 2 Y 2 X 2
The above coding method encodes according to the Z-shaped curve based on each level [29].

2.3. Building a Grid Point Map

Before route planning, a grid point map needs to be constructed, mainly including the following steps [30]:
  • Determine the grid level within the environmental range required by the task; i.e., the grid scale is determined, and the minimum step size of the flight is limited. Let the grid side length of grid level N be l N . Then, the minimum step size S satisfies Equation (2). According to the flight mission requirements, determine the flight range, reduce the unnecessary grids, and shorten the planning path.
    1 4 l N < S < 1 2 l N
  • To determine the grid level and planning range, divide the grid into a point grid.
  • Based on the gridded scene, assign a value to the grid point, where zero means the grid point is passable, and one means the grid point is occupied and not passable.

3. Route Planning Modeling

3.1. Flight Condition Constraints

During the flight mission, the aircraft is affected by the external environment and threats, and so various constraints must be added to the aircraft. This section mainly considers these constraints [31].

3.1.1. Maximum Range Constraint

Maximum range is the maximum flight path length of an aircraft. Let the maximum range be L max and the actual flight route comprise n segments. Then, the maximum range constraint is defined:
i = 1 n L i < L max

3.1.2. Maximum Steering Angle Constraint

The maximum steering angle refers to the aircraft’s maximum steering angle in the horizontal direction in a unit of time. In a grid point map, maximum steering angle constraints can be converted into a horizontally connected domain problem. This paper utilizes the Lazy Theta* algorithm for route planning. Hence, the maximum steering angle is arctan 2 , and the steering angle constraint is:
φ arctan 2 0

3.1.3. Maximum Climb/Dive Angle Constraints

The maximum climb/dive angle is the aircraft’s maximum allowed climb and dive angle. The maximum climb/dive angle constraint in the grid point map can be transformed into a vertically connected domain problem. The maximum climb/dive angle is arctan 2 , and the climb/dive angle constraint is:
α arctan 2 0

3.1.4. Turning Radius Constraints

The minimum turning radius constraint is transformed into a limit on the number of nodes to be expanded. Hence, according to the heading of the current node, five of the eight nodes are selected to be expanded around the current node. As illustrated in Figure 5, m is the current node and n is its parent node. The route planning efficiency is improved by limiting the number of nodes to be expanded.

3.1.5. Flight Altitude Constraints

During route planning, the aircraft’s flight altitude must be limited. The minimum flight height is represented by h min , and the maximum by h max . The current height h of the aircraft should satisfy Equation (6).
h max h h max

3.2. Threat Modeling

Threats are external factors that may adversely affect the aircraft’s flight safety, survival, and mission performance [32].

3.2.1. Terrain Threat

Terrain threat mainly refers to the threat posed to a flight by basic topography and a mountainous environment. The basic terrain model can be expressed as:
z 1 ( x , y ) = sin ( y + a ) + b sin ( x ) + c cos ( d x 2 + y 2 ) + e cos ( y ) + f sin ( g x 2 + y 2 )
where x and y are the coordinates of the model points projected onto the horizontal plane, z 1 is the elevation value that corresponds to the horizontal plane, and a , b , c , d , e , f , g are the constant factors that control the undulation of the reference terrain.
The mountain environment model mainly refers to higher natural mountains in the flight route, represented by an exponential function. The mathematical model is described as:
z 2 ( x , y ) = i = 1 n h i exp [ ( x x i x s t ) 2 ( y y i y s t ) 2 ]
where z 2 ( x , y ) is the peak elevation value, ( x i , y i ) is the center coordinate of the i peak, h i is the terrain parameter that controls the peak’s height, and x s i , y s i are the attenuation of the peak along the x and y axes, respectively, to control the slope. n represents the total number of peaks.
The safety threshold requirement should be met between the flight height and the terrain height, and the terrain constraint can be expressed as:
min ( z i h p i ) h s a f e 0
where z i is the height of the current waypoint, h p i is the terrain height at the current waypoint, and h s a f e is the safe height threshold.
The terrain threat probability is presented below:
P G = { 0 min ( z i h p i ) h s a f e 0 1 min ( z i h p i ) h s a f e > 0

3.2.2. Detection Threat

The detection threat mainly refers to the threat caused when the aircraft is detected by a radar, which is related to the radar’s maximum detection distance. The radar signal-to-noise ratio formula is given by:
S N = P t G t G r p σ λ 2 ( 4 π ) 3 K s L m B n T s d R 4
where P t G t G r p σ λ 2 ( 4 π ) 3 K s L m B n T s is a parameter related to the performance of the radar, regarded as a constant. After transforming the above formula, the following equation is obtained:
S N = K a 1 d R 4
where d R represents the straight-line distance between the aircraft and the radar, and K a is the radar performance parameter.
The radar threat range can be simplified as an inverted hemisphere, with its horizontal section illustrated in Figure 6.
The radar detection threat probability is formulated as:
P R = { 0 d R > R max h R < H b R max d R R max + d R · R 4 max R 4 max + d R 4 d R < R max h R > H b
where R max is the radar’s maximum detection range and H b is the radar detection height boundary, given by:
H b = K a L 2
where K a is the radar detection coefficient, and L is the distance from the aircraft’s horizontal projection to the radar’s center, which is less than the radar’s blind area detection H b .

3.2.3. Fire Threat

Fire threats include surface-to-air missiles and anti-aircraft artillery threats [33].
  • Surface-to-air missile threat model
The threat range of surface-to-air missiles can be approximated as a drum, with its horizontal section being a sector (Figure 7). Since the missile launch direction is uncertain, the horizontal section can be approximated as a circle. Due to the missile’s maneuverability, the target within the shortest distance cannot be attacked, and so the cross-section of the missile threat range can be simplified as a ring.
In Figure 7, A B ¯ is the highest limit of the strike area and the maximum height is h m max , D C ¯ is the lowest limit of the strike area and the lowest height is h m min , and B C ¯ is the farthest limit of the strike area and the farthest distance is R m max . A E D ¯ is the closest limit of the strike area and the closest distance is R m min .
The aircraft’s flying altitude is typically lower than the striking height of the surface-to-air missile. Therefore, the influence of the height on the threat is ignored, with the corresponding overall missile threat probability being formulated as:
P m = { 0 d m R m min 4 ( R m max d m ) ( d m R m min ) ( R m max R m min ) 2 R m min d m R m max 0 d m R m max
where d m is the slant distance between the aircraft and the launch point of the missile, and R m min and R m max are the shortest and the farthest distances the missile can strike, respectively.
  • Anti-aircraft gun threat model
The threat range of the anti-aircraft gun is approximately a sphere, with its horizontal section depicted in Figure 8.
The center of the sphere is the deployment position of the anti-aircraft gun, and the radius is the effective range. The threat probability of the anti-aircraft gun can be simplified to:
P a = { 1 d a < R a 1 d a R a d a R a max 0 d a > R a max
where d a is the slant distance from the aircraft to the anti-aircraft gun, R a max is the farthest strike distance of the anti-aircraft gun, and R a is the effective range.

3.2.4. No-Fly Zone Threat

A cylinder represents the no-fly zone, and the threat likelihood associated with the no-fly zone is given as:
P N = { 0 l i S N F Z = 1 l i S N F Z
where l i represents the i route and S N F Z is the no-fly zone.

4. Lazy Theta* Algorithm Based on Grid Point Optimization

4.1. Map Grid Point

Current smart algorithms focus their planning process on the grid’s center, with the grid itself operating as a mobile unit. Nevertheless, the actual motion trajectory varies, and the aircraft’s location is not always at the center of the grid. Furthermore, flight conflicts are more likely in the actual flight location [34].
Using the grid points illustrated in Figure 9 allows the aircraft to select among more routes and simultaneously choose a planned flight route closer to the real flight route.
In Figure 10a, for a grid with an edge length a , the aircraft flies within the unit grid in the left, right, and top-right directions dependent on the grid’s center.
l is the flight length per unit of time, as defined by Equation (18).
a < l < 2 a
The aircraft illustrated in Figure 10b is located at a grid point map with eight movable directions. l is defined by:
1 / 2 a < l < 2 2 a

4.2. Theta* Algorithm

In order to search for solutions, A* uses a grid-based heuristic method. Researchers have made several tweaks to the A* algorithm to increase its search efficiency, but the current variants still suffer from many issues. Theta* is an improvement of the A* algorithm that takes into account a visual inspection to produce a more accurate route prediction [35].
As can be seen in Figure 11a, the paths generated by the A* algorithm can only advance in grid units, hence the route that has been planned does not meet the genuine path condition depicted in Figure 11b.
Equation (20) shows the cost function of the A* algorithm.
f ( s ) = g ( s ) + h ( s )
In this case, where h ( s ) corresponds to the cost estimated from the current node to the target, and g ( s ) refers to the path cost from start node s s t a r t to the current one s , the path cost includes the path length cost and threat cost in some threat areas. There are two lists in algorithm A*: o p e n   l i s t and c l o s e   l i s t , one to hold the current points and the other to rank the order in which nodes should be extended. The A* algorithm updates g ( s ) and the current node s to the un-extended neighbor s , and updates the parent nodes p a r e n t ( s ) and g ( s ) of s by comparing the new path while the shortest present one is in effect.
Similarly, the Theta* algorithm’s cost function is conveyed via Equation (20). In contrast to the A* technique, the parent node of the current node in Theta* can be any vertex. The specific calculation steps are described below [36]:
  • Initialize o p e n   l i s t and c l o s e   l i s t ; put s s t a r t to o p e n   l i s t .
  • When the o p e n   l i s t is empty, the search cannot determine the shortest route.
  • Choose the smallest node f ( s ) in the o p e n   l i s t and insert it into the c l o s e   l i s t and make it the current node.
  • Given a current node s with a target node s g o a l , determine the route from the original point to the final destination using s ’s parent node p a r e n t ( s ) , and the search terminates. If s is not the destination node, step 5 is executed.
  • Search the c l o s e   l i s t with each nearby node s to s . If s is in the lists, disregard s . If not, go to step 6.
  • Compute the cost of s , then check the visibility of the p a r e n t ( s ) and s .
  • When there are two visible points: the route cost of s s t a r t p a r e n t ( s ) s s is recorded as g ( s ) , and the path cost of s s t a r t p a r e n t ( s ) s is recorded as g ( p a r e n t ( s ) ) + g ( s ) , where g ( s ) is the path cost of p a r e n t ( s ) s . If g ( p a r e n t ( s ) ) + g ( s ) < g ( s ) , update g ( s ) = g ( p a r e n t ( s ) ) + g ( s ) . If s already appears on the o p e n   l i s t , update s . If not, add s to o p e n   l i s t .
  • There are two points that are not visible. Check whether s is present already in the o p e n   l i s t ; if so, write down the cost of s s t a r t s s as g ( s ) + g ( s ) and the cost of s s t a r t s as g ( s ) , if g ( s ) + g ( s ) < g ( s ) , g ( s ) = g ( s ) + g ( s ) . Otherwise, add s to the o p e n   l i s t .
  • Sort nodes in the o p e n   l i s t based on the path cost, and go to step 2.
According to Figure 12, path 2 uses the A* algorithm from s to s and path 1 uses the Theta* algorithm, checking the visibility of s and p a r e n t ( s ) . It can be observed that path 1 has a lower path cost.

4.3. Grid Point-Based Lazy Theta* Algorithm

Based upon the Theta* algorithm, the Lazy Theta* algorithm is enhanced, reducing unnecessary visibility calculations; i.e., it directly judges that s is visible to p a r e n t ( s ) , and puts it directly in o p e n   l i s t . When s is removed from the o p e n   l i s t for expansion, check the visibility of s with the p a r e n t ( s ) . If it is visible, the next neighboring point will be located. Otherwise, it looks for a neighboring parent node in the c l o s e   l i s t [37].
A* can swiftly compute a route associated to a grid edge; in many cases, the planned route is constrained by the form of the grid. However, the Theta* algorithm can design a route at any angle [38]. However, there is a cap on the possible routes between nodes because of the number of vertices in the square grid. Therefore, grid point-based route planning may not only enhance the accuracy of planned routes and enable better danger avoidance, but it can also expand the range of aircrafts and give a more practical method for planning better routes.
Lazy Theta* grid path planning is shown in Figure 13a. If the aircraft makes a turn when it hits an obstruction while it is still within the red zone, it will crash into the black circle. Figure 13b depicts the grid environment at level N = 2 and then employs the Lazy Theta* algorithm to plan the path. The pilot completes the steering of the aircraft before striking the red barrier. This avoids obstacles and collisions. There are also more paths to choose from that are closer to the true flight path.
After a grid point Lazy Theta* has been designed, the previous grid’s vertex are replaced with grid points, and the visibility of the p a r e n t ( p ) and the neighboring grid point p is checked if the present grid point p is expanded. If they are visible to each other, the route keeps growing using p as the present grid point until it reaches the desired grid point [39,40].
It is common practice to use the distance between the starting and ending grid points as a proxy for the projected cost involved in moving from one grid point to another. When the moving distance of the aircraft is short, combined with the characteristics of the grid point, we use the heuristic function given by Euclid [41], which is written as:
h ( s ) = ( x g o a l x i ) 2 + ( y g o a l y i ) 2 + ( z g o a l z i ) 2
where ( x g o a l , y g o a l , z g o a l ) are the destination point coordinates and ( x i , y i , z i ) are the current point coordinates.
When the aircraft is far away from the target point, affected by the curvature of the earth, the calculation of the straight-line distance between the two points is no longer applicable. At this time, the Haversive distance is used as the heuristic function, which is written as:
h a v ( d R ) = h a v ( φ 2 φ 1 ) + cos ( φ 1 ) cos ( φ 2 ) h a v ( λ 2 λ 1 )
In Equation (22), d represents the distance between two places, R is the radius of the earth, and ( φ 1 , λ 1 ) and ( φ 2 , λ 2 ) are the latitude and longitude coordinates of two points, respectively. The Haversive distance allows you to calculate the distance between two latitude and longitude coordinates, suitable for long flight distances.

5. B-Spline Route Smoothing

The B-spline curve is a parametric curve appropriate for three-dimensional space, and a smooth continuous curve can be obtained by specifying the control points for calculation. The route planned by the intelligent algorithm is usually a polyline, which must be smoothed to be close to the real flight trajectory [42].

5.1. B-Spline Uniform Sampling

The control point sequence of the route is { P i ( x i , y i , z i } i = 1 N . By entering the order K of the B-spline curve and setting the curve parameter t , the corresponding coordinates on the curve are obtained [43,44]:
{ x ( t ) = i = 1 N x i · B i , k ( t ) y ( t ) = i = 1 N y i · B i , k ( t ) z ( t ) = i = 1 N z i · B i , k ( t )
where B i , k ( t ) is the mixing function of the B-spline:
B i , K ( t ) = ( t K n o t ( i ) ) B i , K 1 ( t ) K n o t ( i + K 1 ) K n o t ( i ) + ( K n o t ( i + K ) t ) B i + 1 , K 1 ( t ) K n o t ( i + k ) K n o t ( i + 1 )
with
K n o t ( i ) = { 0 i < K i K + 1 K i N N K + 2 i > N
B i , 1 ( t ) = { 1 K n o t ( i ) t K n o t ( i + 1 ) 1 K n o t ( i ) t K n o t ( i + 1 ) t = N K + 2 0   otherwise
The uniform B-spline performs uniform sampling on the definition domain of the parameter t , as shown in Figure 14, and the red square in the figure refers to the control point, Black dots represent sampling points, where the spatial distribution of the sampling point sequence is not uniform.

5.2. B-Spline Equally Spaced Sampling

The equidistant sampling point sequence of the B-spline curve is more suitable for aircraft route planning, as it is a polyline according to the connection of the uniform sampling points of B-spline about t , and accumulates the length of the line segment along the polyline. When the length is close to the sampling interval, the equidistant sampling method uses the binary method to search for a point so that the point reaches the previous sampling point. The distance is equal to the sampling spacing [45].
The calculation steps are as follows.
  • According to B-spline uniform sampling, a uniform sampling point sequence about parameter t is obtained, denoted as { p ( t m ) } m = 1 M = { p ( x ( t m ) , y ( t m ) , z ( t m ) ) } m = 1 M , where p ( t m ) p ( x ( t m ) , y ( t m ) , z ( t m ) ) is the m -th sampling point about the parameter t , t m = ( m 1 ) · ( N K + 1 ) M , and M N K .
  • Let point P d p ( t 1 ) = p ( x ( t 1 ) , y ( t 1 ) , z ( t 1 ) ) , and put p d into S d , s , where p d is the first sampling point. Let m a = 1 be used to mark the sampling point p ( t m a ) in S t , and m a is used for the iterative process of the dichotomy.
  • In S t , starting from point p ( t m a ) , find the next sampling point p ( t m a ) , which is required to satisfy Equation (27).
    m a arg min m { m | d ( p d , p ( t m ) ) d , m a m M }
    where d ( , ) represents the cumulative distance and d ( p d , p ( t m ) ) is the path length from point p d to point p ( t m ) along the polyline specified by S t .
(1)
If any point p ( t m ) has d ( p d , p ( t m ) ) < d ( m a m M ) , then: let m a = M , p d = p ( t M ) ; put point p d into S d , ε ; point p d is the last sampling point of S d , ε ; and move to step 5.
(2)
If m a = M , the last point of S t has been searched. Let p d = p ( t M ) , and place point p d into S d , ε , where point p d is the last sampling point of S d , ε . Skip to step 5.
(3)
If m a < M , then d ( p d , p ( t m a 1 ) ) < d , meaning that the point whose cumulative distance to point p d is d is located on p ( t m a ) p ( t m a + 1 ) . Move to step 4 to search for this point by dichotomy.
(4)
On the line segment p ( t m a ) p ( t m a + 1 ) , use the dichotomy to find the point p ( t ¯ ) , such that d ( p d , p ( t ¯ ) ) d or | d ( p d , p ( t ¯ ) ) d | ε , where ε is the sampling spacing error, which is used to control the search accuracy of the dichotomy. Let p d = p ( t ¯ ) , put p d into S d , s as a new sampling point, and let m a = m a . Move to step 3 to continue execution.
(5)
Obtain S d , s by calculation; that is, the sequence of the equally spaced sampling points of the B-spline route.
Figure 15 is a schematic diagram of the accumulated distance, and Figure 16 is a schematic diagram of a smooth route with equal spacing sampling, where the red squares represent the control points and the black dots represent the sampling points

6. Simulation Experiment and Analysis

6.1. Meshing Experiment

  • Simulation
In the same environment, the same model is divided into a single-scale octree grid with increasing levels ranging over 1~10, and the number of divisions is 1000 times. Dividing the model into different levels requires calculating and analyzing the number of meshes to fit the model expressed by:
O = V M V n
where V M is the model volume and V n is the mesh volume required to enclose the model.
Figure 17 illustrates the effect of the octree meshing model, which is the seventh-level meshing.
The experimental results of the other levels of octree meshing are shown in Figure A1 of Appendix A. The following is a statistical analysis of the relevant data obtained from the experiment.
2
Analysis of results
Once the model is divided 1000 times, the average data values are obtained to define the number of grids. Then, a model-fitting process is required for each level, as reported in Table 1.
By analyzing the data in Table 1, the changing trend illustrated in Figure 18 is obtained, highlighting that as the mesh level increases, the number of meshes required increases exponentially, and the corresponding model fit also increases significantly.
In this experiment, the number of meshes required for one to ten-level mesh generation models and the degree of model fit are analyzed. Through the analysis of the data, it is concluded that with the increase in the grid level, the number of grids required is also increasing, and it increases exponentially after the eighth level, while the growth rate of the model fit is relatively stable. Therefore, in this experiment, we preliminarily judged that the eighth level is a more suitable calculation level.

6.2. Route Planning Algorithm Comparison Experiment

We compare the proposed route planning algorithm through two experiments and verify its application value. The first set of experiments compares the A*, Lazy Theta*, and RRT* algorithms based on the grid and grid points in a three-layer grid environment. The evaluation is based on comparing their path length, path cost, maximum pitch angle, and maximum turning angle. The route planning is set in a cuboid environment of size S = 100 × 100 × 10 , where P s = ( 20 , 20 , 0 ) are the starting point coordinates and P e = ( 90 , 90 , 0 ) are the target point coordinates.
The coordinates of the radar threat center are (20, 10, 0), the detection height boundary is H b = 1 , and the detection range is R max = 15 . The surface-to-air missile threat coordinates are (70, 70, 0), the minimum strike distance is R m min = 4 , and the maximum distance is R m max = 6 . The coordinates of the anti-aircraft gun are (50, 60, 0), the effective strike distance is R a = 2 , and the maximum strike distance is R a max = 3 . There is a no-fly zone with the central coordinates of (58, 78, 0), and the radius is R N F Z = 5 .
We set the aircraft’s minimum flight altitude h s a f e = 0.1 and the threat weight ( α , β , γ , σ , ε , ζ ) = ( 0.5 , 0.1 , 0.1 , 0.1 , 0.1 , 0.1 ) .

6.2.1. Route Planning Algorithm Comparison Experiment

  • Simulation
This simulation compares and analyzes the route planning results of A*, Lazy Theta* and RRT* at three to five grid levels, and compares them with the algorithms under the grid points.
The route planning simulation at the fifth grid level is shown in Figure 19, Figure 19a is the result of the grid Lazy Theta* and its top view, and Figure 19b is the result of grid point Lazy Theta* proposed in this paper.
Other levels as well as the A* and RRT* simulation results are shown in Figure A2, Figure A3 and Figure A4 in Appendix B. Next, the experimental data of A*, Lazy Theta*, and RRT* route planning based on the grid and grid points at three to five levels are analyzed and compared.
2
Analysis of results
Table 2 displays the experimental results, and the data change trend is illustrated in Figure 20.
The data change diagram in Figure 20 can be obtained through the simulation experiment. As the grid level increases, the path length and path cost obtained by A*, Lazy Theta*, and RRT* planning are reduced to varying degrees.
Under the same grid level, the path length, path cost, and running time based on the grid points are significantly smaller than those based on the grid. A closer look at Figure 20 shows that the grid point-based Lazy Theta* algorithm has the lowest values in four aspects: path length, path cost, maximum pitch angle, and maximum turning angle, and the grid-based A* algorithm has the shortest running time. This indicates that the grid point-based Lazy Theta* algorithm can better control the aircraft’s flight and turning angles than the competing algorithms, preserving the route to be as short as possible. In this case, the flight operation difficulty is reduced, and the flight safety and efficiency are improved. Similarly, we can find that as the grid level increases, the running time of the three algorithms increases in varying degrees.
To summarize the above analysis: (1) Compared with the grid, the grid points are optimized in the path length, path cost, maximum turning angle, maximum pitch angle, and running time of the algorithm. (2) The running time increases as the grid level increases, but the path length, path cost, maximum turn angle, and maximum pitch angle are also optimized. (3) Among the five algorithms, the path planned by the grid point of Lazy Theta* has the highest flyability, and the grid point A* has the fastest planning time.

6.2.2. Grid Point-Based Lazy Theta* Route Planning at Different Grid Levels

This section carries out simulation tests and analyzes the outcomes of grid point-based Lazy Theta* algorithm planning at various grid levels. The route planning utilizes the grid levels ranging from N = 3 to N = 9, and compares the path length, path cost, maximum pitch angle, and maximum turning angle of the planned route. The grid level that is most suitable for route planning is selected.
  • Simulation
Figure 21 illustrates the route planning results for grid point Lazy Theta* at grid levels 3 and 7.
The route planning simulation results at other grid levels are shown in Figure A5 of Appendix B. Next, the data obtained from this simulation experiment are analyzed and compared.
2
Analysis of results
The experimental data are reported in Table 3, and the corresponding trend of the data change is depicted in Figure 22.
By analyzing the above experimental results, it can be seen that with an increase in the grid level, the path length and path cost of the planning algorithm show a downtrend. After level 7, the decrease is minimal, and the maximum pitch angle is the smallest at level 5, which then gradually increases. The maximum turn angle is the smallest at level 7 and then gradually increases. The running time always increases; it grows slowly at levels 3–7 and grows very quickly after level 7. The algorithm has lost its timeliness when at level 9. Since the increase in the grid level will lead to an exponential increase in the number of calculations, according to the data analysis, the path length, path cost, maximum pitch angle, and maximum turning angle can be guaranteed to be as small as possible at the seventh level, while ensuring the calculation efficiency. Therefore, grid level 7 is the most appealing grid level for route planning, this conclusion is also similar to that of the eighth level grid obtained in Experiment 1.

6.2.3. Route Smoothing Experiment

  • Simulation
For a grid level of N = 3 , the flight direction of the planned route obviously changes. It is convenient to observe the effect of the B-spline smoothing route, so the route planning result of the grid-based Lazy Theta* algorithm under the grid level N = 3 is used as the smoothing experiment object. The competitor smoothing methods are the uniform quadratic B-spline, uniform cubic B-spline, equally spaced quadratic B-spline, and equally spaced cubic B-spline. By comparing the maximum altitude and path length after smoothing, a method suitable for smoothing the route is obtained. The equally spaced B-spline results for route smoothing are depicted in Figure 23, in which a green dotted line represents the original path, and the smoothed path is represented by a red curve.
Figure A6 in Appendix B complements the smooth simulation results of the uniform B-spline. The following is an analysis and comparison of the data obtained from the smooth simulation experiment.
2
Analysis of results
The experimental data of the smooth route are presented in Table 4.
The data in Table 4 show that the uniform B-spline cannot connect to the route’s starting point, while the equally spaced B-spline is a smooth curve connecting to the route’s starting point. Therefore, the equally spaced B-spline is more suitable for the smoothing method of the route. Regarding path length, the path length of the equally spaced cubic B-spline is the shortest, which further improves flight efficiency and makes the planning result closer to the real flight path. From the perspective of maximum altitude, three B-splines with equal spacing can reduce altitude changes and make the flight more stable and controllable.
Overall, the above experimental analysis verifies the equidistant B-spline’s effectiveness, proving that the equidistant cubic B-spline is more suitable for route smoothing in complex terrains.

7. Conclusions

This paper proposes a Lazy Theta* route planning algorithm based on grid point optimization, which calculates the optimal route by setting the grid size according to the threat environment and actual mission requirements, and the proposed approach is verified by three groups of experiments.
In experiment 1, octree grids of different levels are used to divide the model. The changes in the number of meshes, model fit, and calculation time required to mesh the model at different mesh levels are analyzed. The results show that as the grid level increases, the number of grids required for the subdivision model and the model fit will also increase. The number of grids increases exponentially after the eighth level, and the model fit continues to increase at a stable rate.
In experiment 2, grid A*, grid point A*, grid Lazy Theta*, grid point Lazy Theta*, RRT * are used for route planning simulations. At the same time, the data of path length, path cost, maximum turning angle, maximum pitch angle, and calculation time are obtained. By analyzing and comparing these data, it is found that: (1) With the increase in the grid level, the path length, path cost, maximum turning angle, and maximum pitch angle of A*, Lazy Theta*, and RRT will be optimized, but the running time will also increase. (2) In the same level of grid, the algorithm based on the grid point has a shorter path length, a smaller path cost, maximum pitch angle, maximum turning angle, and less running time than that based on the grid. (3) The path planned by the grid point Lazy Theta* algorithm has the lowest path length, path cost, maximum turn angle, and maximum pitch angle, and the grid point A* has the smallest calculation time. Grid point Lazy Theta* can improve the flyability of the route and the flight safety in complex environments while ensuring computational efficiency. (4) At Level 7, the grid point Lazy Theta* is able to plan a major route with as short a running time as possible.
In experiment 3, the smoothing results of the equally spaced B-spline proposed in this paper and the uniform B-spline are compared, the findings demonstrate that the proposed smoothing approach increases safety and flyability. In the future, the optimized Lazy Theta* algorithm can be further combined with dynamic obstacle avoidance, which has a broad application value. Future works will consider more environmental factors and actual mission requirements for more realistic applications in the field of route planning.
The effectiveness of the proposed approach in route planning is verified by the above experiments. This approach can determine the subdivision fineness of the model and the step size of route planning by setting the grid level, and has more path choices in the face of complex environments. However, it also has some shortcomings. The following are plans to improve these deficiencies: (1) The increase in grid level will lead to a multiplication of the running time, and a better mesh generation method is needed to reduce the impact on running time. (2) This paper only considers the route planning of a single aircraft; the next step will be to try multi-aircraft cooperative route planning. The approach proposed in this paper may be able to inspire some research in other fields. For example, for the spatial control of a city, buildings can be identified by gridding the city, and buildings can be regarded as obstacles to plan the city’s transportation network or communication site network to improve the utilization of space and the order of planning.

Author Contributions

Conceptualization, Z.G. and X.X.; methodology, Z.G.; chart data extraction, L.W.; validation, Z.G.; customary route plan design, M.C.; algorithm programming, Z.G.; data curation, L.W.; writing—original draft preparation, L.W.; writing—review and editing, Z.G. and X.X.; supervision, L.W.; funding acquisition, M.C. All authors have read and agreed to the published version of the manuscript.

Funding

This study was supported by the National Natural Science Foundation of China, the funder was Lujun Wan, with the funding number of 61703425. At the same time by the China Postdoctoral Science Foundation, funded by Yun Zhong, funding number 2021M693942.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Appendix A supplements and explains the gridding effect of the remaining levels in Experiment 1. Figure A1 illustrates the meshing effect for N = 1 ~ N = 10 grids.
Figure A1. Single-scale Octree Grid Sectioning Hierarchical Experiment, with a grid level of (a) 1, (b) 2, (c) 3, (d) 4, (e) 5, (f) 6, (g) 7, (h) 8, (i) 9, and (j) 10.
Figure A1. Single-scale Octree Grid Sectioning Hierarchical Experiment, with a grid level of (a) 1, (b) 2, (c) 3, (d) 4, (e) 5, (f) 6, (g) 7, (h) 8, (i) 9, and (j) 10.
Applsci 12 10601 g0a1aApplsci 12 10601 g0a1b

Appendix B

Appendix B Supplements Results of Route Planning Experiments.
  • Route planning algorithm comparison experiment
    (1)
    N = 3
When the grid level is 3, the corresponding route planning effect is presented in Figure A2.
Figure A2. When N = 3 , the comparison experiment of the route planning algorithm’s planning result, top view, and altitude change curve. (a) Grid-based route planning with the A* algorithm, (b) A* algorithm route grid point-based planning, (c) Grid-based route planning with Lazy Theta* algorithm, (d) Grid point-based Lazy Theta* route planning, and (e) RRT* route planning using 25-steps.
Figure A2. When N = 3 , the comparison experiment of the route planning algorithm’s planning result, top view, and altitude change curve. (a) Grid-based route planning with the A* algorithm, (b) A* algorithm route grid point-based planning, (c) Grid-based route planning with Lazy Theta* algorithm, (d) Grid point-based Lazy Theta* route planning, and (e) RRT* route planning using 25-steps.
Applsci 12 10601 g0a2aApplsci 12 10601 g0a2b
(2)
N = 4
For a grid level of 4, the route planning effect is illustrated in Figure A3.
Figure A3. When N = 4 , the comparison experiment of the route planning algorithm’s planning result, top view, and altitude change curve. (a) Grid-based route planning with the A* algorithm, (b) A* algorithm route grid point-based planning, (c) Grid-based route planning with Lazy Theta* algorithm, (d) Grid point-based Lazy Theta* route planning, and (e) RRT* route planning using 12.5-steps.
Figure A3. When N = 4 , the comparison experiment of the route planning algorithm’s planning result, top view, and altitude change curve. (a) Grid-based route planning with the A* algorithm, (b) A* algorithm route grid point-based planning, (c) Grid-based route planning with Lazy Theta* algorithm, (d) Grid point-based Lazy Theta* route planning, and (e) RRT* route planning using 12.5-steps.
Applsci 12 10601 g0a3aApplsci 12 10601 g0a3b
(3)
N = 5 .
When the grid level is 5, the route planning effect is depicted in Figure A4.
Figure A4. When N = 5 , the comparison experiment of the route planning algorithm’s planning result, top view, and altitude change curve. (a) Grid-based route planning with the A* algorithm, (b) A* algorithm route grid point-based planning, (c) Grid-based route planning with Lazy Theta* algorithm, (d) Grid point-based Lazy Theta* route planning, and (e) RRT* route planning using 6.25-steps.
Figure A4. When N = 5 , the comparison experiment of the route planning algorithm’s planning result, top view, and altitude change curve. (a) Grid-based route planning with the A* algorithm, (b) A* algorithm route grid point-based planning, (c) Grid-based route planning with Lazy Theta* algorithm, (d) Grid point-based Lazy Theta* route planning, and (e) RRT* route planning using 6.25-steps.
Applsci 12 10601 g0a4aApplsci 12 10601 g0a4bApplsci 12 10601 g0a4c
2
Grid point-based Lazy Theta* route planning at different grid levels.
Figure A5 illustrates the effect of grid Lazy Theta* route planning at different levels.
Figure A5. Lazy Theta* route planning at different grid levels. (a) N = 3, (b) N = 4, (c) N = 5, (d) N = 6, (e) N = 7, (f) N = 8, and (g) N = 9.
Figure A5. Lazy Theta* route planning at different grid levels. (a) N = 3, (b) N = 4, (c) N = 5, (d) N = 6, (e) N = 7, (f) N = 8, and (g) N = 9.
Applsci 12 10601 g0a5aApplsci 12 10601 g0a5bApplsci 12 10601 g0a5c
3
Route Smoothing Experiment
Figure A6 supplements the route smoothing simulation, including the smoothing results of the quadratic uniform B-spline and cubic uniform B-spline.
Figure A6. Top view and altitude curve after route smoothing. (a) Original route, (b) Uniform quadratic B-Spline smoothing, (c) Uniform cubic B-spline smoothing, (d) Equally spaced quadratic B-spline smoothing, and (e) Equally spaced cubic B-spline smoothing.
Figure A6. Top view and altitude curve after route smoothing. (a) Original route, (b) Uniform quadratic B-Spline smoothing, (c) Uniform cubic B-spline smoothing, (d) Equally spaced quadratic B-spline smoothing, and (e) Equally spaced cubic B-spline smoothing.
Applsci 12 10601 g0a6aApplsci 12 10601 g0a6bApplsci 12 10601 g0a6c

References

  1. Gao, Y. Research on Path Planning Technology in Penetration. Master’s Thesis, Xidian University, Xi’an, China, 2021. [Google Scholar]
  2. Hu, S.; Xu, T.; Wang, B. Route-Planning Method for Plant Protection Rotor Drones in Convex Polygon Regions. Sensors 2021, 21, 2221. [Google Scholar] [CrossRef] [PubMed]
  3. Liu, X.; Zhou, S.; Xiao, Z.; Qi, Y.; Dai, F. A Review of Research on UAV Obstacle Avoidance Methods. J. Ordnance Equip. Eng. 2022, 43, 40–47. [Google Scholar]
  4. Zhaoying, L.; Ruoling, S.; Zhao, Z. A New Path Planning Method Based on Sparse A* Algorithm with Map Segmentation. Trans. Inst. Meas. Control 2022, 44, 916–925. [Google Scholar] [CrossRef]
  5. Bing, H.; Lai, L. Improvement and Application of Dijkstra Algorithms. Acad. J. of Comput. Inf. Sci. 2022, 5, 97–102. [Google Scholar]
  6. BinKai, Q.; Mingqiu, L.; Yang, Y.; XiYang, W. Research on UAV Path Planning Obstacle Avoidance Algorithm Based on Improved Artificial Potential Field Method. J. Phys. Conf. Ser. 2021, 1948, 012060. [Google Scholar] [CrossRef]
  7. Wang, Y.; Shi, Y.; Liu, Y. Research on Improved Genetic Simulated Annealing Algorithm for Multi-UAV Cooperative Task Allocation. J. Phys. Conf. Ser. 2022, 2246, 012081. [Google Scholar] [CrossRef]
  8. Lin, N.; Zhang, Y.L. The Frontier of Route Planning Algorithm for UAV. Adv. Mater. Res. 2014, 926–930, 3577–3580. [Google Scholar]
  9. Wang, X.; Zhang, H.; Liu, S.; Wang, J.; Wang, Y.; Shangguan, D. Path Planning of Scenic Spots Based on Improved A* Algorithm. Sci. Rep. 2022, 12, 1320. [Google Scholar] [CrossRef]
  10. Yijun, Z.; Jiadong, X.; Chen, L. A Fast Bi-Directional A* Algorithm Based on Quad-Tree Decomposition and Hierarchical Map. IEEE Access 2021, 9, 102877–102885. [Google Scholar] [CrossRef]
  11. Cai, C.; Chen, J. An AUV Path Planner for Large-Scale Search and Rescue Based on A* Algorithm. J. Phys. Conf. Ser. 2021, 2050, 012017. [Google Scholar] [CrossRef]
  12. Ou, Y.; Fan, Y.; Zhang, X.; Lin, Y.; Yang, W. Improved A* Path Planning Method Based on the Grid Map. Sensors 2022, 22, 6198. [Google Scholar] [CrossRef] [PubMed]
  13. Xiang, D.; Lin, H.; Ouyang, J.; Huang, D. Combined Improved A* and Greedy Algorithm for Path Planning of Multi-Objective Mobile Robot. Sci. Rep. 2022, 12, 13273. [Google Scholar] [CrossRef] [PubMed]
  14. Zhou, H. Application of UAV Remote Sensing Mapping Technology in Engineering Surveying and Mapping. Surv. Mapp. Geol. Miner. Resour. 2020, 3, 37. [Google Scholar] [CrossRef]
  15. Wang, H.; Li, G.; Hou, J.; Chen, L.; Hu, N. A Path Planning Method for Underground Intelligent Vehicles Based on an Improved RRT* Algorithm. Electronics 2022, 11, 294. [Google Scholar] [CrossRef]
  16. Wu, Z.; Meng, Z.; Zhao, W.; Wu, Z. Fast-RRT: A RRT-Based Optimal Path Finding Method. Appl. Sci. 2021, 11, 11777. [Google Scholar] [CrossRef]
  17. Xiong, J.; Duan, X. Path planning for UAV based on improved dynamic step RRT algorithm. J. Phys. Conf. Ser. 2021, 1983, 012034. [Google Scholar] [CrossRef]
  18. Nasir, J.; Islam, F.; Malik, U.; Ayaz, Y.; Hasan, O.; Khan, M.; Muhammad, M.S. RRT*-SMART: A Rapid Convergence Implementation of RRT*. Int. J. Adv. Robot. Syst. 2013, 10, 299. [Google Scholar] [CrossRef] [Green Version]
  19. Ryu, H.; Park, Y. Improved Informed RRT* Using Gridmap Skeletonization for Mobile Robot Path Planning. Int. J. Precis. Eng. Manuf. 2019, 20, 2033–2039. [Google Scholar] [CrossRef]
  20. Shorakaei, H.; Vahdani, M.; Imani, B.; Gholami, A. Optimal Cooperative Path Planning of Unmanned Aerial Vehicles by a Parallel Genetic Algorithm. Robotica 2016, 34, 823–836. [Google Scholar] [CrossRef]
  21. Duan, H.; Yu, Y.; Zhang, X.; Shao, S. Three-Dimension Path Planning for UCAV Using Hybrid Meta-Heuristic ACO-DE Algorithm. Simul. Model. Pract. Theory 2010, 18, 1104–1115. [Google Scholar] [CrossRef]
  22. Faria, M.; Marín, R.; Popović, M.; Maza, I.; Viguria, A. Efficient Lazy Theta* Path Planning over a Sparse Grid to Explore Large 3D Volumes with a Multirotor UAV. Sensors 2019, 19, 174. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  23. Cheng, C.; Wu, F.; Wang, R.; Qin, Y.; Tong, X.; Chen, B. Study on Globe Spatial Grid Reference System Construction. Acta Sci. Nat. Univ. Pekin. 2016, 52, 1041–1049. [Google Scholar] [CrossRef]
  24. Wu, X.; Liu, W.; Wang, T. Octree Structure Based Voxelization of Polygonal Meshes. J. Graph. 2005, 4, 1–7. [Google Scholar]
  25. Ulmer, B.; Samavati, F. Toward Volume Preserving Spheroid Degenerated-Octree Grid. Geoinformatica 2020, 24, 505–529. [Google Scholar] [CrossRef]
  26. Li, Q.; Li, D. 3D run-length encoding of octrees. Geomat. Inf. Sci. Wuhan Univ. 1997, 2, 12–16. [Google Scholar]
  27. Wu, X. Research on Scene Grid Modeling and Application Method for Urban Space Management and Control. Master’s Thesis, PLA Strategic Support Force Information Engineering University, Zhengzhou, China, 2020. [Google Scholar]
  28. Wu, Y.; Cao, X. A Hilbert Octree-Oriented Adjacent Cell Calculation Algorithm. Geomat. Inf. Sci. Wuhan Univ. 2022, 47, 613–622. [Google Scholar] [CrossRef]
  29. Zhai, W.; Chen, B.; Tong, X.; Cheng, C. Research on Continuity of Multi-Scale Space-Filling Curves. Acta Sci. Nat. Univ. Pekin. 2018, 54, 331–335. [Google Scholar] [CrossRef]
  30. Wu, X.; Tong, X.; Lei, Y.; Li, H.; Guo, C.; Zhang, Y.; Lai, G.; Zhou, S. Rapid Computation of Set Boundaries of Multi-Scale Grids and Its Application in Coverage Analysis of Remote Sensing Images. Comput. Geosci. 2021, 146, 104573. [Google Scholar] [CrossRef]
  31. Ahmed, R.; Mahmud, K.H.; Tuya, J.H. A GIS-Based Mathematical Approach for Generating 3D Terrain Model from High-Resolution UAV Imageries. J. Geovis. Spat. Anal. 2021, 5, 24. [Google Scholar] [CrossRef]
  32. Dong, S. The Research of Route Planning Method under Complex Constraints. Master’s Thesis, Beijing Institute of Technology, Beijing, China, 2016. [Google Scholar]
  33. Wu, W.; Guo, X.; Zhou, S. Path planning algorithm based on NURBS and GOBL-ACDE. Syst. Eng. Electron. 2020, 42, 1073–1082. [Google Scholar]
  34. Zhang, H.; Gan, X.; Li, S.; Feng, Z.; Jin, Y. UAV route planning considering regional risk assessment under complex low altitude environment. Chin. J. Sci. Instrum. 2021, 42, 257–266. [Google Scholar] [CrossRef]
  35. Han, X.; Zhang, X. Multi-Scale Theta* Algorithm for the Path Planning of Unmanned Surface Vehicle. Proc. Inst. Mech. Eng. Part M J. Eng. Marit. Environ. 2021, 236, 147509022110396. [Google Scholar] [CrossRef]
  36. Ren, T.; He, J.; Zou, J. 3D Route Planning for Helicopters Based on Improved Theta* Algorithm. Electron. Opt. Control 2022, 29, 45–48. [Google Scholar]
  37. Daniel, K.; Nash, A.; Koenig, S.; Felner, A. Theta*: Any-Angle Path Planning on Grids. J. Artif. Intell. Res. (JAIR) 2014, 39, 533–579. [Google Scholar] [CrossRef] [Green Version]
  38. Le, P.T.H.; Lee, K. Weight Value and Map Complexity in Theta*. MATEC Web Conf. 2016, 54, 05003. [Google Scholar] [CrossRef] [Green Version]
  39. Zhang, C.; Tang, Y.; Liu, H. Late Line-of-Sight Check and Partially Updating for Faster Any-Angle Path Planning on Grid Maps. Electron. Lett. 2019, 55, 690–692. [Google Scholar] [CrossRef]
  40. De Filippis, L.; Guglieri, G.; Quagliotti, F. Path Planning Strategies for UAVS in 3D Environments. J. Intell. Robot. Syst. 2012, 65, 247–264. [Google Scholar] [CrossRef]
  41. Yiu, Y.; Du, J.; Mahapatra, R. Evolutionary Heuristic A* Search: Pathfinding Algorithm with Self-Designed and Optimized Heuristic Function. Int. J. Semant. Comput. 2019, 13, 5–23. [Google Scholar] [CrossRef]
  42. Tran, N.H.; Nguyen, A.D.; Nguyen, T.N. A Genetic Algorithm Application in Planning Path Using B-Spline Model for Autonomous Underwater Vehicle (AUV). Appl. Mech. Mater. 2020, 902, 54–64. [Google Scholar]
  43. Sun, Y.; Zhang, C.; Liu, C. Collision-Free and Dynamically Feasible Trajectory Planning for Omnidirectional Mobile Robots Using a Novel B-Spline Based Rapidly Exploring Random Tree. Int. J. Adv. Robot. Syst. 2021, 18, 17298814211016608. [Google Scholar] [CrossRef]
  44. Hu, Z.; Xu, X.; Chen, Z. Non-uniform cubic B-spline smoothing algorithm for UAV 3D track. Control Eng. China 2020, 27, 1259–1266. [Google Scholar] [CrossRef]
  45. Zhang, L.; Zhao, Q.; Zhang, X.; Guo, L.; Sun, Q. Through Research of Determining Step Size for Approaching of Cubic Spline Curve. Mach. Tool Hydraul. 2016, 44, 136–139. [Google Scholar]
Figure 1. Schematic diagram of the octree partitioning structure.
Figure 1. Schematic diagram of the octree partitioning structure.
Applsci 12 10601 g001
Figure 2. Schematic diagram of data organization of octree.
Figure 2. Schematic diagram of data organization of octree.
Applsci 12 10601 g002
Figure 3. Comparison of octree grid and standard grid. (a) Standard grid subdivision model, and (b) Octree grid partition model.
Figure 3. Comparison of octree grid and standard grid. (a) Standard grid subdivision model, and (b) Octree grid partition model.
Applsci 12 10601 g003
Figure 4. Schematic illustration of the cubic mesh structure.
Figure 4. Schematic illustration of the cubic mesh structure.
Applsci 12 10601 g004
Figure 5. Schematic diagram of turning radius constraints.
Figure 5. Schematic diagram of turning radius constraints.
Applsci 12 10601 g005
Figure 6. Horizontal section view of the radar’s detection threat range.
Figure 6. Horizontal section view of the radar’s detection threat range.
Applsci 12 10601 g006
Figure 7. Horizontal section of surface-to-air missile threat range.
Figure 7. Horizontal section of surface-to-air missile threat range.
Applsci 12 10601 g007
Figure 8. Horizontal section of anti-aircraft gun threat range.
Figure 8. Horizontal section of anti-aircraft gun threat range.
Applsci 12 10601 g008
Figure 9. Grid point map.
Figure 9. Grid point map.
Applsci 12 10601 g009
Figure 10. Comparison of the flying directions under the grid and grid point map. (a) Grid map and (b) Grid point map.
Figure 10. Comparison of the flying directions under the grid and grid point map. (a) Grid map and (b) Grid point map.
Applsci 12 10601 g010
Figure 11. Comparison of the expected path of A* algorithm and actual shortest path. (a) A* algorithm-based route planning and (b) True shortest path.
Figure 11. Comparison of the expected path of A* algorithm and actual shortest path. (a) A* algorithm-based route planning and (b) True shortest path.
Applsci 12 10601 g011
Figure 12. A* Algorithm and Theta* Algorithmic Planning Path Comparison.
Figure 12. A* Algorithm and Theta* Algorithmic Planning Path Comparison.
Applsci 12 10601 g012
Figure 13. Theta* planning options for grids and grid points. (a) Theta* algorithm route planning under grid and (b) Theta* algorithm route planning under grid point.
Figure 13. Theta* planning options for grids and grid points. (a) Theta* algorithm route planning under grid and (b) Theta* algorithm route planning under grid point.
Applsci 12 10601 g013
Figure 14. B-spline uniform sampling to smooth the route.
Figure 14. B-spline uniform sampling to smooth the route.
Applsci 12 10601 g014
Figure 15. Schematic diagram of cumulative distance.
Figure 15. Schematic diagram of cumulative distance.
Applsci 12 10601 g015
Figure 16. Schematic diagram of B-spline equally spaced sampling smoothing route.
Figure 16. Schematic diagram of B-spline equally spaced sampling smoothing route.
Applsci 12 10601 g016
Figure 17. The seventh-level subdivision model of octree grid.
Figure 17. The seventh-level subdivision model of octree grid.
Applsci 12 10601 g017
Figure 18. Variation trend of grid number and model fit.
Figure 18. Variation trend of grid number and model fit.
Applsci 12 10601 g018
Figure 19. Lazy Theta* route planning at grid level 5. (a) Route planning based on grid, and (b) Route planning based on grid point.
Figure 19. Lazy Theta* route planning at grid level 5. (a) Route planning based on grid, and (b) Route planning based on grid point.
Applsci 12 10601 g019
Figure 20. Route planning algorithm data comparison chart. (a) Path length comparison, (b) Path cost comparison, (c) Maximum pitch angle comparison, (d) Maximum turning angle comparison, and (e) Running time comparison.
Figure 20. Route planning algorithm data comparison chart. (a) Path length comparison, (b) Path cost comparison, (c) Maximum pitch angle comparison, (d) Maximum turning angle comparison, and (e) Running time comparison.
Applsci 12 10601 g020aApplsci 12 10601 g020b
Figure 21. Lazy Theta* route planning at different grid levels. (a) Grid level N = 3, and (b) N = 7.
Figure 21. Lazy Theta* route planning at different grid levels. (a) Grid level N = 3, and (b) N = 7.
Applsci 12 10601 g021
Figure 22. Lazy Theta* data change diagram of grid points at different grid levels. (a) Path length variation graph, (b) Path cost variation graph, (c) Maximum turning angle change diagram, (d) Maximum pitch angle change diagram, and (e) Running time.
Figure 22. Lazy Theta* data change diagram of grid points at different grid levels. (a) Path length variation graph, (b) Path cost variation graph, (c) Maximum turning angle change diagram, (d) Maximum pitch angle change diagram, and (e) Running time.
Applsci 12 10601 g022aApplsci 12 10601 g022b
Figure 23. Top view and altitude curve after route smoothing. (a) Equally spaced quadratic B-spline smoothing, and (b) Equally spaced cubic B-spline smoothing.
Figure 23. Top view and altitude curve after route smoothing. (a) Equally spaced quadratic B-spline smoothing, and (b) Equally spaced cubic B-spline smoothing.
Applsci 12 10601 g023
Table 1. Single-scale octree gridded data.
Table 1. Single-scale octree gridded data.
Grid LevelNumber of GridsModel Fit
1140.2%
2840.2%
34165.40%
426473.76%
5124578.65%
6645783.70%
730,99487.24%
8147,92591.08%
9711,87493.16%
103,405,64494.56%
Table 2. Multi-scale grid comparison data.
Table 2. Multi-scale grid comparison data.
AlgorithmGrid LevelPath LengthPath CostMax Pitch AngleMax Turn AngleRunning Time
Grid A*3120.89103.004.0445.140.91
4113.4893.934.0445.141.53
5100.9382.354.0445.141.95
Grid point A*3113.5796.645.7145.140.98
495.7182.603.0245.141.02
591.9376.352.0245.141.72
Grid Lazy Theta*3116.4097.354.0463.461.34
4110.6389.863.0356.322.36
598.1579.371.5922.832.54
Grid point Lazy Theta*3105.0286.392.8663.641.25
491.2674.011.9936.872.02
587.9068.011.4616.582.38
RRT*step size = 25164.97132.0214.3362.411.91
step size = 12.5145.73116.6114.3758.433.44
step size = 6.25105.1084.1410.5858.595.23
Table 3. Lazy Theta* route planning data of different grid levels.
Table 3. Lazy Theta* route planning data of different grid levels.
AlgorithmGrid LevelPath LengthPath CostMax Pitch AngleMax Turn AngleRunning Time
Grid point Lazy Theta*3105.0286.392.8663.641.25
491.2674.011.9936.872.02
587.9068.011.4616.582.38
683.6766.584.044.624.45
779.4564.752.702.296.85
878.3663.828.057.4413.45
978.9463.255.1118.8258.64
Table 4. Route smoothing experimental data.
Table 4. Route smoothing experimental data.
Route Planning AlgorithmSmoothing MethodPath Length after SmoothingMaximum Height after Smoothing
Grid point Lazy Theta*Original route105.025.00
Uniform quadratic B-Splines100.594.38
Uniform cubic B-splines98.614.17
Equally spaced quadratic B-splines96.894.17
Equally spaced cubic B-splines90.503.61
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Gao, Z.; Wan, L.; Cai, M.; Xu, X. Research on Lazy Theta* Route Planning Algorithm Based on Grid Point Optimization. Appl. Sci. 2022, 12, 10601. https://doi.org/10.3390/app122010601

AMA Style

Gao Z, Wan L, Cai M, Xu X. Research on Lazy Theta* Route Planning Algorithm Based on Grid Point Optimization. Applied Sciences. 2022; 12(20):10601. https://doi.org/10.3390/app122010601

Chicago/Turabian Style

Gao, Zhizhou, Lujun Wan, Ming Cai, and Xinyu Xu. 2022. "Research on Lazy Theta* Route Planning Algorithm Based on Grid Point Optimization" Applied Sciences 12, no. 20: 10601. https://doi.org/10.3390/app122010601

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop