Next Article in Journal
Investigation of Cutting Path Effect on Spindle Vibration and AE Signal Features for Tool Wear Monitoring in Micro Milling
Next Article in Special Issue
Innovative Forward Fusion Feature Selection Algorithm for Sentiment Analysis Using Supervised Classification
Previous Article in Journal
The Study of Thermal Stability of Mechanically Alloyed Al-5 wt.% TiO2 Composites with Cu and Stearic Acid Additives
Previous Article in Special Issue
High Performing Facial Skin Problem Diagnosis with Enhanced Mask R-CNN and Super Resolution GAN
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

RJA-Star Algorithm for UAV Path Planning Based on Improved R5DOS Model

1
College of Information Technology, Jilin Agricultural University, Changchun 130118, China
2
Bioinformatics Research Center of Jilin Province, Changchun 130118, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(2), 1105; https://doi.org/10.3390/app13021105
Submission received: 5 December 2022 / Revised: 9 January 2023 / Accepted: 10 January 2023 / Published: 13 January 2023
(This article belongs to the Special Issue Recent Advances in Machine Learning and Computational Intelligence)

Abstract

:
To improve the obstacle avoidance ability of agricultural unmanned aerial vehicles (UAV) in farmland settings, a three-dimensional space path planning model based on the R5DOS model is proposed in this paper. The direction layer of the R5DOS intersection model is improved, and the RJA-star algorithm is constructed with the improved jump point search A-star algorithm in our paper. The R5DOS model is simulated in MATLAB. The simulation results show that this model can reduce the computational complexity, computation time, the number of corners and the maximum angles of the A-star algorithm. Compared with the traditional algorithm, the model can avoid obstacles effectively and reduce the reaction times of the UAV. The final fitting results show that compared with A-star algorithm, the RJA-star algorithm reduced the total distance by 2.53%, the computation time by 97.65%, the number of nodes by 99.96% and the number of corners by 96.08% with the maximum corners reduced by approximately 63.30%. Compared with the geometric A-star algorithm, the running time of the RJA-star algorithm is reduced by 95.84%, the number of nodes is reduced by 99.95%, and the number of turns is reduced by 67.28%. In general, the experimental results confirm the effectiveness and feasibility of RJA star algorithm in three-dimensional space obstacle avoidance.

1. Introduction

Smart agriculture means that rural workers use advanced technology and experience to carry out agricultural production. The development of social, economic and technological smart agriculture in rural areas is closely related [1]. which is essential in eliminating poverty, helping developed economies “catch up” and forming strategies that promote development in China. Intelligent agriculture includes areas such as: internet technologies, wireless sensor technology [2,3] and remote control technology. As a very important part of intelligent equipment, UAVs are the focus of more attention because of their practical usefulness. UAVs are widely used in agriculture [4,5], forestry [6], disaster relief [7], and geological exploration [8]. The Agricultural UAV [9,10] plays an important role in the fields of crop monitoring, crop yield assessment and plant protection. However, when the UAV sprays precisely at low altitude, farmland obstacles such as plant protection network, residence, electric pole, communication tower, lighting objects and various organisms will pose a serious threat to the UAVs [11]. The main task in agricultural work is to effectively avoid obstacles and achieve the set goals. Significant research has been carried out to solve this problem. Autonomous flight can be achieved to a certain extent by means of sensors, reliable control algorithms and pre-measured obstacle position information [12,13].
A large amount of path planning and obstacle avoidance algorithms have been developed for the path planning of UAVs. For example, A-star algorithm [14], ant colony algorithm [15], artificial potential field [16], DIJKSTRA [17] and so on. Deep learning technology can also be used as an effective method for UAV path planning. A-star algorithm is an effective tool, but the computational complexity of the traditional A-star algorithm space will increase exponentially with the size of the map, resulting in a significant increase in computational complexity and computational time. In order to solve these problems, domestic and foreign scholars have done significant research. Anh et al. [18]., proposed a zigzag global planner based on a-star, which improves the search efficiency of a-star algorithm in narrow space. Hong et al. [19]., proposed an improved A-star algorithm based on terrain data, reducing the calculation time of the algorithm. Zhang et al. [20]., added A-star algorithm to the artificial potential field algorithm, which optimizes the path xu of the UAV and better reflects the actual environment of the UAV. Li et al. [21]., improved the genetic algorithm with A-star algorithm. Ma et al. [22]., adopted the idea of collision ji to improve A-star algorithm. Li et al. [23]., proposed an improved A-star algorithm combined with the jump point search algorithm to reduce the computational cost of A-star algorithm. However, there are still problems in using the nearest neighbor interpolation method to process the path.
To sum up, the a-star algorithm in two-dimensional space has been greatly improved. But there is little improvement regarding the three-dimensional space A-star algorithm [24]. Dilip Mandloi et al. [25], made a detailed comparison on the path planning strategies of star a, Lazy Theta and Theta in a three-dimensional environment. Zhang et al. [26], constructed an improved path planning model using three-dimensional two-way sector expansion method and variable step search strategy. Although the moving distance is reduced by 7.53%, the time cost is increased by 2.66 times. These researches still have the problems of complex computation and large time cost, to solve this problem, this paper presents an algorithm of RJA-star (R5DOS Jump A-star) based on the R5DOS(RCC5-Direction-Octant-Strongly-exists model) model in three-dimensional space. Firstly, the topology of UAV and UAV detection area is expressed, and the A-star algorithm is improved by the JPS(jump point search) algorithm. The model combines the JPS algorithm with the three-dimensional space algorithm to improve A-star algorithm.
The purpose of this study is as follows:
(1)
Reduce the complexity of A-star algorithm in three-dimensional space.
(2)
Optimize the path selection of A-star algorithm, reduce the corners of the path and make the path more smooth.
(3)
Reduce the mobile cost of UAVs, including computing time, path length and access nodes.

2. Materials and Methods

2.1. Abstract Topological Representation of UAV

Li et al., improved the R5DOS model and proposed a multi UAV formation model, dividing the space into 16 regions, combined with Topology [27]. We modified the R5DOS model, cancelled its formation, and placed the UAV at the center of the model.
According to the R5DOS model, the UAV can be divided into two parts: the body area and the detection area. The detection area is used as the area for UAV to obtain information and perceive the surrounding environment, and is mainly responsible for detecting obstacles and target points, this can be considered a safe area. UAV fuselage area is the area where obstacles need to be avoided during flight.
According to reference [28], we can get the definition of five topological relationships, which are: Discrete (DR), Partial Overlap (PO), Proper Part (PP), Equal (EQ), Proper Part Inverses (PPI), as shown in Figure 1.
The UAV Area C is included in area B, satisfies topological relationship PP (B, C), note that the coordinates of the UAV are ( x u , y u , z u ) , and the coordinates of the target point are ( x t , y t , z t ) , as shown in Figure 2:

2.2. Brief Introduction to A-Star Algorithm

The A-star algorithm is a method of finding the shortest path in static scenes. The calculation principle of the A-star algorithm is both simple and fast, but this will slow down with the increase of map size. The increase in computing space will also be exponential, with the larger the map, the greater the computing time and storage footprint. The A-star algorithm will take significant time and space for path calculation. In addition, the computation time will determine the routing efficiency of A star algorithm.
The A-star algorithm is a fast and efficient way to find the right heuristic. Among them, H ( n ) is the function expression of the shortest path cost of UAV starting from the nth node ( x n , y n , z n ) to the target ( x t , y t , z t ) . G ( n ) represents the shortest path between the starting point ( x s , y s , z s ) and the nth node. Wherein, F c o t ( n ) , H ( n ) , G ( n ) can be expressed by Equation (1).
H ( n ) = ( x t x n ) 2 + ( y t y n ) 2 + ( z t z n ) 2 G ( n ) = ( x n x s ) 2 + ( y n y s ) 2 + ( z n z s ) 2 F c o t ( n ) = G ( n ) + H ( n )

2.3. Jump Point Search Algorithms

A-star requires a lot of unnecessary computation and memory space [29], to improve this an adaptive JPS algorithm was introduced. JPS algorithm is a special search strategy, which only accesses special nodes in the calculation process [30]. This can be thought of as a pre-processing method. After pre-processing, the remaining nodes to be searched are called jump points. As shown in Figure 3, the current node is dotted in blue. From the blue node A5 to the orange node G5, we can ignore the grey node B4, C4, B6, C6 and so on, because the cost of going through B5 to G5 is minimal. When extending to node G5, since node G6 is an obstacle, G5 is the forced neighbor of hop G6.
This will greatly increase computing time while reducing computing efficiency. In this paper, we will add a preprocessing process to all nodes based on the A-star algorithm to obtain a batch of special hops. In this way, the improved RJA star algorithm can reduce a lot of unnecessary analysis and calculation.
This article defines it according to the actual situation. Take the three-dimensional view of Figure 4a and the cross-section of Figure 4b as an example, assuming that the grey area is an obstacle. The connecting line between UAV and target is defined as L u t , the length as d u t = ( x t x u ) 2 + ( y t y u ) 2 + ( z t z u ) 2 , and the direction vector as L u t = ( ( x t x u ) d u t , ( y t y u ) d u t , ( z t z u ) d u t ) . Taking the connection line L u t as the central axis of the detection area B, the length of the UAV body is r, and in order to ensure that the UAV can safely avoid obstacles without being affected by other factors, we set the diameter of B as 3r, to determine if there is an obstacle A i , ( i = 1 , 2 , ) and B intersecting, that is, the topological relationship is R ( A i , B , C ) = ( 0 1 0 1 1 1 0 1 ) , where B represents the detection area and C represents the UAV body Area.
If such an obstacle exists, the nearest obstacle to the UAV is considered as the forcing neighbor, the vertices and boundary points with special distance on the obstacle are regarded as the next round of search nodes, namely, that is, the yellow nodes in the Figure 4a,b.
When the algorithm executes the JPS algorithm once, it repeats the above steps until no obstacle intersects with L ut in Figure 5b, and then completes the JPS. Note:
{ J 0 ,     the   coordinates   of   the   starting   point   of   the   UAV J i ( i = 1 , 2 , , n 1 ) , the   coordinates   of   the   jump   point   J n ,     the   coordinates   of   the   target   point
During the implementation of the A-star algorithm, the path is not smooth enough because there are many corners, which does not conform to the movement mode of the UAV. To ensure that the UAV can move smoothly and be safe enough, first, we filter out all the jumping points. Then consider expanding a sphere with a diameter of 3r at each node and call it a “jumping body”. At the same time, the moving target of UAV is not the selected jumping point, but the jumping body corresponding to each jumping point. Starting from the origin, every time the UAV moves to the next jump body, we will obtain the coordinates of the current node and the next two jump points of the UAV. In the three-dimensional plane the two jumping bodies will intersect on the corresponding spherical tangent plane.
There are two types of UAV paths:
  • When flying from the starting point, move the tangent line from the current position to the circle.
  • Obtain two tangent points x1 and x2 of the same circle on the path, connect them with the center of the circle to obtain the vectors Vx1 and Vx2, then the rotation angle is: cos ( α ) = V x 1 V x 2 | V x 1 | | V x 2 | .
  • When moving from one body to another, first move along the circle until you leave the body, then move toward the tangent of the next body, as shown in Figure 5.
The current position of the UAV is updated after each movement, and the process is repeated until the movement reaches the target point.

2.4. Improved Path Planning Algorithm

According to Section 2.1, Section 2.2, Section 2.3, Section 2.4, RJA star path planning Algorithm 1 is as follows:
  • Detects obstacles in the path between the UAV current position and the target point.
  • If there is an obstacle, consider the one closest to the UAV as a coercive neighbor. If there is no obstacle, end the search and fly directly to the target point.
  • Consider the Vertex of the forcing neighbor and its closest boundary point as the jump point.
  • Repeat steps 2–3 until all hops are searched.
  • Compute the cost functions for all hops, compare them, and choose the best path.
  • The UAV chooses the jumping body to move in turn, and the moving path is on the plane formed by the adjacent jumping points.
  • Move in sequence until you reach the target point.
The pseudo-code of RJA-star is:
Algorithm 1: RJA-star
1 algorithm RJA-star (start point, current_node, child node, goal point)
2  Fcot(current_node) = G(current_node) + H(current_node)
3 if current_node = goal point found the feasible path; break
4 Generate child node that come after current_node
5 for child node of current_node
6   if R ( A i , B , C ) = ( 0 0 0 1 1 1 0 1 ) then Jumpbody.f Ø
7    if R ( A i , B , C ) = ( 0 1 0 1 1 1 0 1 ) then open Jump bodys
8     else closed Jump bodys
9    end if
10  end if
11   closed current_node
12    if Path(current_node) and RJAPath(current_node) then
13     final closed
14    end if
15 end for
16 end
17 return
18 if (current_node ! = goal point) exit with error (the open list is empty)
The algorithm flow is shown in Figure 6.

3. Results

We simulated maps of different map sizes in Matlab. The starting point is (0,0,0), aand the target point is the point farthest from the origin under the current dimension, and generate disjoint obstacles based on the xoy plane. The number of obstacles is 8/10 of the projected area of the current map on the xoy plane, and then a random height is given.
In order to discuss the advantages of RJA star algorithm more intuitively, we simulate A-star algorithm and RJA star algorithm on maps of different sizes. Calculate the running time of the algorithm to evaluate the effectiveness of the RJA star algorithm.The running time starts from the map generation and ends when the UAV reaches the target point
Our simulation environment is as follows:
CPU:Intel® Core™ i7-8750H;
GPU:NVIDIA GTX 1060 Max-Q 6 GB.
We repeated the average value of 100 simulation experiments as the result. We fixed the height of the experimental map at 15 m and set several scenarios, as shown in Table 1.
We simulate the RJA star algorithm and A-star algorithm in scenario 11, as shown in Figure 7a–d.
To compare the experimental results, we use Equation (2) to calculate the results of RJA star algorithm and A-star algorithm in computing time, exploration nodes, and path length.
( I A I R J A ) I A × 100 % , I A / R J A = { c o m p u t i n g   t i m e ,   e x p l o r a t i o n   n o d e s , p a t h   l e n g t h }
Through Equation (2), we can calculate the reduced computation time, probe node and path length of the RJA star algorithm. Figure 8 is the results of a simulation run under scenario 11. Compared with A-star algorithm, RJA star algorithm reduces 94.4% rotation angle, 99.87% calculation time and 10.05% path length. It can be seen from the results in Figure 9 that the path of the JPS algorithm will stick to the obstacle, which will threaten the safety of the UAV. The RJA star path is smoother and safer than the JPS algorithm, and it can avoid obstacles to reach the destination in many cases. We can see that the RJA-star algorithm avoided obstacles well.
After 100 simulation experiments, we fit the two algorithms into the scenario 1—scenario 10. We limit the random range within the current map, and generate disjoint obstacles based on the xoy plane. The number of obstacles is 8/10 of the projected area of the current map on the xoy plane, and then a random height is given. We compare the two algorithms on a 20 m long map and a 10 m long map. We can obtain the path lengths (as shown in Figure 8), exploration nodes (as shown in Figure 9), computation time (as shown in Figure 10) and the number of corners (as shown in Figure 11) for the A-star algorithm and the RJA-star algorithm. The maximum number of corners are shown in Figure 11.
The result shows that the path length of the RJA star algorithm is not much different from that of the A-star algorithm.
It can be seen from the results in the Figure that the number of nodes of RJA star algorithm is far less than that of A star algorithm.
The y-axis on the left of Figure 9 and Figure 10 respectively represents the number of exploration nodes and average time, and the y-axis on the right represents the percentage reduction of RJA star algorithm compared with A-star algorithm,, which can be calculated by Equation (2). We may know from the Figure that RJA star algorithm has the advantage of short computing time. The five sizes of the map are compared in Table 2.

Discussion

We select scenario 1, 4, 7, 9. Make the number of obstacles equal to 5/10 of the area of the xoy plane, run the algorithm 20 times on each map, and conduct statistical analysis on the algorithm. From the results, we can get the mean and variance of RJA star algorithm and A-star algorithm under each size map, as shown in Table 3.
It can be concluded from Table 3 that the RJA star algorithm has smaller variance and mean value in both running time and nodes, which means that the RJA star algorithm is more stable and excellent in running time and nodes performance. The RJA star algorithm considers the safety distance, so the mean value of path is less than A-star algorithm, but the variance is greater than A-star algorithm. Regression analysis was conducted for our data. As shown in Figure 12a–c.
We can see that the number of nodes and path moving length of the two algorithms show a linear regression trend. The regression accuracy of their path lengths can reach 93.02% and 92.64% respectively. The running time of A-star algorithm is exponential regression, with an accuracy of 83.69%. The running time of RJA star algorithm is linear regression, with an accuracy of 76.63%.
Tang et al. proposed the geometric A-star algorithm [31]. To compare the advantages and disadvantages of A-star algorithm, geometric A-star algorithm and improved RJA algorithm, we simulated 100 experiments in scenario 9, and took the average value to Table 4.
Overall, the RJA-star algorithm performs better in terms of computing time and detecting nodes.

4. Conclusions

This paper proposes a new path planning algorithm, namely RJA star algorithm. The experimental results show that the RJA star algorithm reduces the mobile path by 2.53%, the computation time by 97.65%, the number of nodes by 99.96% and the number of corners by 96.08% with the maximum corners reduced by approximately 63.30%.smaller angles and smoother paths. In general, our method can effectively reduce the number of turns, calculate the nodes and the angle of turns in the process of UAV motion.
The contributions of this study are as follows:
(1)
In order to solve the problem of high computational complexity of three-dimensional A-star algorithm, RJA star path algorithm is proposed.
(2)
The pretreatment process is added to screen out a batch of hops and optimize the path between hops. The access and calculation time of nodes are reduced, and the calculation speed is improved.
(3)
When obstacles are detected, the algorithm generates hops to optimize the moving path to avoid obstacles.
The organizational structure of this paper is: In the Section 2, we introduce the specific improved form of RJA star algorithm and pseudo code. In Section 3, we simulated in a 3D map to verify the progressiveness of our algorithm. Finally, we draw conclusions in Section 4 and conceive the future work.
The RJA-star algorithm mainly works offline on already known scenarios, without considering the fact that the actual working environment of the UAV should be dynamic and complex. Future work should focus on studying complex dynamic scenarios, including the consideration of flying birds and moving agricultural machinery and other factors.

Author Contributions

Conceptualization, J.L. and W.Z.; methodology, J.L. and Y.H.; software, S.F. and C.L.; validation, S.F., C.L. and W.Y.; data curation, C.L.; writing—original draft preparation, W.Z.; writing—review and editing, W.Z.; funding acquisition, J.L. and Y.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Jilin Province Development and Reform Commission China, grant number 2020C037-7; The Education Department of Jilin Province China, grant number JJKH20220332KJ; The Science and Technology Project of Education Department of Jilin Province grant number JJKH20220330KJ; Changchun Science and Technology Development Plan China, grant number 21ZGN26.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Janc, K.; Konrad, C.; Marcin, W. In the starting blocks for smart agriculture: The internet as a source of knowledge in transitional agriculture. NJAS-Wagening J. Life Sci. 2019, 90, 100309. [Google Scholar] [CrossRef]
  2. Li, H.P.; Zhang, C.; Zhang, S.Q.; Ding, X.H.; Atkinson, P.M. Iterative Deep Learning (IDL) for agricultural landscape classification using fine spatial resolution remotely sensed imagery. Int. J. Appl. Earth Obs. Geoinf. 2021, 102, 102437. [Google Scholar] [CrossRef]
  3. Li, H.P.; Zhang, C.; Zhang, Y.; Zhang, S.; Ding, X.; Atkinson, P.M. A Scale Sequence Object-based Convolutional Neural Network (SS-OCNN) for crop classification from fine spatial resolution remotely sensed imagery. Int. J. Digit. Earth 2021, 14, 1528–1546. [Google Scholar] [CrossRef]
  4. Basudeb, B.; Anusha, V.; Ashok, K.D.; Pascal, L.; Muhammad, K.K. Private blockchain-envisioned drones-assisted authentication scheme in IoT-enabled agricultural environment. Comput. Stand. Interfaces 2022, 80, 103567. [Google Scholar]
  5. Hovhannisyan, T.; Efendyan, P.; Vardanyan, M. Creation of a digital model of fields with application of DJI phantom 3 drone and the opportunities of its utilization in agriculture. Ann. Agrar. Sci. 2018, 16, 177–180. [Google Scholar] [CrossRef]
  6. Liang, M.; Delahaye, D. Drone fleet deployment strategy for large scale agriculture and forestry surveying. In Proceedings of the 2019 IEEE Intelligent Transportation Systems Conference (ITSC), Auckland, New Zealand, 27–30 October 2019; pp. 4495–4500. [Google Scholar]
  7. Al-Naji, A.; Perera, A.G.; Mohammed, S.L.; Chahl, J. Life signs detector using a drone in disaster zones. Remote Sens. 2019, 11, 2441. [Google Scholar] [CrossRef] [Green Version]
  8. Park, S.; Choi, Y. Applications of unmanned aerial vehicles in mining from exploration to reclamation: A Review. Minerals 2020, 10, 663. [Google Scholar] [CrossRef]
  9. Chen, C.J.; Huang, Y.Y.; Li, Y.S.; Chen, Y.C.; Chang, C.Y.; Huang, Y.M. Identification of fruit tree pests with deep learning on embedded drone to achieve accurate pesticide spraying. IEEE Access 2021, 9, 21986–21997. [Google Scholar] [CrossRef]
  10. Colloredo-Mansfeld, M.; Laso, F.J.; Arce-Nazario, J. Drone-Based participatory mapping: Examining local agricultural knowledge in the Galapagos. Drones 2020, 4, 62. [Google Scholar] [CrossRef]
  11. Wang, L.; Lan, Y.; Zhang, Y.; Zhang, H.; Tahir, M.N.; Ou, S.; Liu, X.; Chen, P. Applications and prospects of agricultural unmanned aerial vehicle obstacle avoidance technology in China. Sensors 2019, 19, 642. [Google Scholar] [CrossRef] [Green Version]
  12. Hosseinpoor, H.R.; Samadzadegan, F.; DadrasJavan, F. Pricise target geolocation and tracking based on UAV video imagery. ISPRS-Int. Arch. Photogramm. Remote Sens. Spat. Inf. Sci. 2016, XLI-B6, 243–249. [Google Scholar] [CrossRef]
  13. Huang, A.S.; Bachrach, A.; Henry, P.; Krainin, M.; Maturana, D.; Fox, D.; Roy, N. Visual Odometry and Mapping for Autonomous Flight Using an RGB-D Camera; Springer International Publishing: Cham, Switzerland, 2016; pp. 235–252. [Google Scholar]
  14. Liu, Z.; Liu, H.; Lu, Z. A dynamic fusion pathfinding algorithm using delaunay triangulation and improved a-star for mobile robots. IEEE Access 2021, 9, 20602–20621. [Google Scholar] [CrossRef]
  15. Miao, C.; Chen, G.; Yan, C. Path planning optimization of indoor mobile robot based on adaptive ant colony algorithm. Comput. Ind. Eng. 2021, 156, 107230. [Google Scholar] [CrossRef]
  16. Orozco-Rosas, U.; Montiel, O.; Sepúlveda, R. Mobile robot path planning using membrane evolutionary artificial potential field. Appl. Soft Comput. 2019, 77, 236–251. [Google Scholar] [CrossRef]
  17. Luo, M.; Hou, X.; Yang, J. Surface optimal path planning using an extended Dijkstra algorithm. IEEE Access 2020, 8, 147827–147838. [Google Scholar] [CrossRef]
  18. Le, A.V.; Prabakaran, V.; Sivanantham, V.; Mohan, R.E. Modified A-Star algorithm for efficient coverage path planning in tetris inspired self-reconFigurable robot with integrated laser sensor. Sensors 2018, 18, 2585. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  19. Hong, Z.; Sun, P.; Tong, X.; Pan, H.; Zhou, R.; Zhang, Y.; Han, Y.; Wang, J.; Yang, S.; Xu, L. Improved A-Star algorithm for long-distance off-road path planning using terrain data map. ISPRS Int. J. Geo Inf. 2021, 10, 785. [Google Scholar] [CrossRef]
  20. Zhang, J.; Wu, J.; Shen, X.; Li, Y. Autonomous land vehicle path planning algorithm based on improved heuristic function of A-Star. Int. J. Adv. Robot. Syst. 2021, 18, 17298814211042730. [Google Scholar] [CrossRef]
  21. Li, Y.; Dong, D.; Guo, D. Mobile robot path planning based on improved genetic algorithm with A-star heuristic method. In Proceedings of the 2020 IEEE 9th Joint International Information Technology and Artificial Intelligence Conference (ITAIC), Chongqing, China, 11–13 December 2020; pp. 1306–1311. [Google Scholar]
  22. Ma, L.; Zhang, H.T.; Meng, S.J.; Liu, J.Y. Volcanic ash region path planning based on improved A-star algorithm. J. Adv. Transp. 2022, 2022, 9938975. [Google Scholar] [CrossRef]
  23. Li, J.; Liao, C.; Zhang, W.; Fu, H.; Fu, S. UAV Path Planning Model Based on R5DOS Model Improved A-Star Algorithm. Appl. Sci. 2022, 12, 11338. [Google Scholar] [CrossRef]
  24. Zhao, X.; Qin, N.; Huang, J.; Miao, Y. The Application of Adaptive A-star Algorithm in Layout of Spatial Pipeline. In Proceedings of the IEEE 9th Data Driven Control and Learning Systems Conference (DDCLS), Liuzhou, China, 19–21 June 2020; pp. 272–277. [Google Scholar]
  25. Mandloi, D.; Arya, R.; Verma, A.K. Unmanned aerial vehicle path planning based on A* algorithm and its variants in 3d environment. Int. J. Syst. Assur. Eng. Manag. 2021, 12, 990–1000. [Google Scholar] [CrossRef]
  26. Zhang, Z.; Wu, J.; Dai, J.; He, C. Optimal path planning with modified A-Star algorithm for stealth unmanned aerial vehicles in 3D network radar environment. Proc. Inst. Mech. Eng. Part G J. Aerosp. Eng. 2022, 236, 72–81. [Google Scholar] [CrossRef]
  27. Li, J.; Zhang, W.; Hu, Y.; Li, X.; Wang, Z. Leader-Follower UAV formation model based on R5DOS-Intersection model. CMC-Comput. Mater. Contin. 2021, 69, 2493–2511. [Google Scholar] [CrossRef]
  28. Gao, X.; Li, G. A KNN model based on manhattan distance to identify the SNARE proteins. IEEE Access 2020, 8, 112922–112931. [Google Scholar] [CrossRef]
  29. Liu, H.; Shan, T.; Wang, W. Automatic routing study of spacecraft cable based on A-star algorithm. In Proceedings of the IEEE 5th Information Technology and Mechatronics Engineering Conference (ITOEC), Chongqing, China, 12–14 June 2020; pp. 716–719. [Google Scholar]
  30. Xiang, D.; Lin, H.; Ouyang, J. Combined improved A-star and greedy algorithm for path planning of multi-objective mobile robot. Sci. Rep. 2022, 12, 13273. [Google Scholar] [CrossRef]
  31. Tang, G.; Tang, C.; Claramunt, C.; Hu, X.; Zhou, P. Geometric A-Star algorithm: An improved A-star algorithm for AGV path planning in a port environment. IEEE Access 2021, 9, 59196–59210. [Google Scholar] [CrossRef]
Figure 1. Definition and representation of five topological relationships.
Figure 1. Definition and representation of five topological relationships.
Applsci 13 01105 g001
Figure 2. Abstract topology representation of UAV area.
Figure 2. Abstract topology representation of UAV area.
Applsci 13 01105 g002
Figure 3. The shortest path selection example of JPS algorithm.
Figure 3. The shortest path selection example of JPS algorithm.
Applsci 13 01105 g003
Figure 4. (a) Schematic diagram of obstacles and UAV. (b) Cross sectional sketch of obstacles and UAV.
Figure 4. (a) Schematic diagram of obstacles and UAV. (b) Cross sectional sketch of obstacles and UAV.
Applsci 13 01105 g004
Figure 5. Path Selection for UAV Obstacle Avoidance.
Figure 5. Path Selection for UAV Obstacle Avoidance.
Applsci 13 01105 g005
Figure 6. Work flow diagram of RJA star algorithm.
Figure 6. Work flow diagram of RJA star algorithm.
Applsci 13 01105 g006
Figure 7. (a) The fitting results and details of RJA star algorithm on scenario 11. (b) Fitting result of XY plane of RJA star algorithm in scenario 11. (c) Fitting result of XZ plane of RJA star algorithm in scenario 11. (d) Fitting result of YZ plane of RJA star algorithm in scenario 11.
Figure 7. (a) The fitting results and details of RJA star algorithm on scenario 11. (b) Fitting result of XY plane of RJA star algorithm in scenario 11. (c) Fitting result of XZ plane of RJA star algorithm in scenario 11. (d) Fitting result of YZ plane of RJA star algorithm in scenario 11.
Applsci 13 01105 g007aApplsci 13 01105 g007b
Figure 8. Comparison of path length between the two algorithms.
Figure 8. Comparison of path length between the two algorithms.
Applsci 13 01105 g008
Figure 9. Comparison of two algorithms for exploring nodes.
Figure 9. Comparison of two algorithms for exploring nodes.
Applsci 13 01105 g009
Figure 10. Comparison of the average time of the two algorithms.
Figure 10. Comparison of the average time of the two algorithms.
Applsci 13 01105 g010
Figure 11. Comparison of the number of corners and the maximum angle between the two algorithms.
Figure 11. Comparison of the number of corners and the maximum angle between the two algorithms.
Applsci 13 01105 g011
Figure 12. (a) Regression analysis of computing time of two algorithms. (b) Regression analysis of two algorithms’ access nodes. (c) Regression analysis of path length of two algorithms.
Figure 12. (a) Regression analysis of computing time of two algorithms. (b) Regression analysis of two algorithms’ access nodes. (c) Regression analysis of path length of two algorithms.
Applsci 13 01105 g012aApplsci 13 01105 g012b
Table 1. Scenario Names of Different Map Sizes.
Table 1. Scenario Names of Different Map Sizes.
Scenario NameMap SizeScenario NameMap Size
scenario 120 × 20 × 15scenario 780 × 80 × 15
scenario 230 × 30 × 15scenario 890 × 90 × 15
scenario 340 × 40 × 15scenario 9100 × 100 × 15
scenario 450 × 50 × 15scenario 10110 × 110 × 15
scenario 560 × 60 × 15scenario 1130 × 90 × 15
scenario 670 × 70 × 15
Table 2. Comparison of experimental data of three different specifications of network diagrams.
Table 2. Comparison of experimental data of three different specifications of network diagrams.
Map SizePath ParametersTraditional A-StarRJA-StarRJA-Star Reduced Proportion
20 × 20Average running time/s2.561.06858.28%
Average number of nodes4710999.81%
Total distance/s36.80634.8064.80%
Max turning90°11.286°96.59%
Number of turns11187.46%
40 × 40Average running time/s28.7424.21385.34%
Average number of nodes20,8062099.90%
Total distance/s64.84762.1134.22%
Max turning90°29°67.78%
Number of turns21195.24%
60 × 60Average running time/s91.836.21193.24%
Average number of nodes39,54629.599.93%
Total distance/s93.13190.9312.36%
Max turning90°25.51°71.66%
Number of turns31293.55%
80 × 80Average running time/s221.5478.85896.00%
Average number of nodes64,1835599.91%
Total distance/s121.645120.1781.21%
Max turning90°56.85°36.83%
Number of turns41490.24%
100 × 100Average running time/s475.78511.18497.65%
Average number of nodes100,6098199.96%
Total distance/s150.335146.8392.53%
Max turning90°33.024°63.31%
Number of turns56296.08%
Table 3. Mean and variance of different indexes of two algorithms.
Table 3. Mean and variance of different indexes of two algorithms.
Map SizeMap IDEvaluating IndicatorEstimated ParametersA-StarRJA-Star
20 × 201–20Average running time/smean1.194 0.501
variance0.106 0.031
Average number of nodesmean1937.950 12.300
variance3,139,070.892 85.484
Total distance/smean34.729 34.007
variance0.293 1.181
50 × 5021–40Average running time/smean33.634 2.900
variance619.427 0.352
Average number of nodesmean23,298.050 19.050
variance57,624,445.210 96.787
Total distance/smean77.010 74.192
variance0.275 0.624
50 × 5041–60Average running time/smean119.688 4.893
variance308.581 0.844
Average number of nodesmean48,848.400 37.550
variance23,670,949.090 350.892
Total distance/smean119.351 117.597
variance0.020 15.461
100 × 10061–80Average running time/smean323.165 2.900
variance50,306.815 0.352
Average number of nodesmean79,975.700 40.900
variance829,201,538.100 526.937
Total distance/smean147.947 145.607
variance0.454 12.160
Table 4. Comparison of indexes of three algorithms.
Table 4. Comparison of indexes of three algorithms.
Path ParametersTraditional A-StarRJA-StarGeometric A-Star Reduced ProportionRJA-Star
Reduced Proportion
Average running time/s475.78511.18441.1%97.65%
Average number of nodes100,6098119%99.96%
Total distance/s150.335146.83913%2.53%
Max turning90°33.024°66.7%63.30%
Number of turns56284.1%96.08%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, J.; Zhang, W.; Hu, Y.; Fu, S.; Liao, C.; Yu, W. RJA-Star Algorithm for UAV Path Planning Based on Improved R5DOS Model. Appl. Sci. 2023, 13, 1105. https://doi.org/10.3390/app13021105

AMA Style

Li J, Zhang W, Hu Y, Fu S, Liao C, Yu W. RJA-Star Algorithm for UAV Path Planning Based on Improved R5DOS Model. Applied Sciences. 2023; 13(2):1105. https://doi.org/10.3390/app13021105

Chicago/Turabian Style

Li, Jian, Weijian Zhang, Yating Hu, Shengliang Fu, Changyi Liao, and Weilin Yu. 2023. "RJA-Star Algorithm for UAV Path Planning Based on Improved R5DOS Model" Applied Sciences 13, no. 2: 1105. https://doi.org/10.3390/app13021105

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