Abstract
The differential evolution algorithm has been widely applied on unmanned aerial vehicle (UAV) path planning. At present, four random tuning parameters exist for differential evolution algorithm, namely, population size, differential weight, crossover, and generation number. These tuning parameters are required, together with user setting on path and computational cost weightage. However, the optimum settings of these tuning parameters vary according to application. Instead of trial and error, this paper presents an optimization method of differential evolution algorithm for tuning the parameters of UAV path planning. The parameters that this research focuses on are population size, differential weight, crossover, and generation number. The developed algorithm enables the user to simply define the weightage desired between the path and computational cost to converge with the minimum generation required based on user requirement. In conclusion, the proposed optimization of tuning parameters in differential evolution algorithm for UAV path planning expedites and improves the final output path and computational cost.
Introduction
In recent years, unmanned aerial vehicles (UAVs) have received significant attention from the military and commercial industries. Moreover, many studies have been conducted on UAV development because of its wide variety of applications, including surveillance, traffic monitoring, rescue mission, and aerial photography [1–12]. Aircraft path planning is a UAV operation that aims to generate an optimum flight path from the starting coordinate to the destination location.
Various algorithms are applicable for UAV path planning. This includes graph search algorithm [13, 14], potential field based algorithm [15], probabilistic roadmap algorithm [16, 17], rapidly-exploring random trees algorithm [18, 19], Dubin curve based algorithm [20, 21] and evolutionary algorithm [22]. Each method has its own strengths and weaknesses over others. Graph search algorithms like Dijkstra, Bellman Ford and A* are algorithms with straight forward implementation. Yet, graph search algorithms are not efficient when they are used in large search space environment.
Hence, Differential evolution (DE) algorithm has often been used in UAV path planning because of its good performance in addressing real-world optimization problems. DE a type of evolutionary algorithm, which is a stochastic, population based optimization algorithm. Thus, it may also be used in non-differential and non-linear optimization problems. In addition, DE has good convergence properties with easy implementation into applications [23–25].
There are several control parameters in DE, namely the population size, differential weight, and crossover. Obtaining an optimum value for these control parameters in DE is difficult and requires trial and error because different applications require different optimum parameter settings. DE performance is sensitive to the control parameter setting [26]. Furthermore, tuning the control parameters is often time consuming [26, 27] and justifying the optimum performance of DE is difficult. To overcome this issue, the use of mimetic algorithm in DE has been proposed [28].
Furthermore, studies claim that dynamic control parameters in the DE perform better than constant control parameters. However, most of these parameters conduct analyses by using standard test functions and are rarely specific in a particular field [25, 27, 29, 30]. Zielinski [31] has conducted a parameter study of DE by using the power allocation problem. In addition, parameter optimization has been studied in other system such as power system using Genetic algorithm and Kalman-based methods [32–36].
Besada-Portas [24] has presented a performance comparison method by using evolutionary algorithms for UAV path planning. However, this method does not analyze the control parameters in detail. Thus, the optimum control parameter strategy of DE in UAV path planning is unclear. In this study, we thoroughly investigate the effect of the control parameters in DE for UAV path planning. Thus, the proposed DE control parameter optimization expedites and improves in obtaining the desired path and computational cost for UAV path planning.
Methodology
Problem Formulation
The main objective of path planning is to produce an optimum 3D flight path in both computational time and path distance from initial coordinate to target coordinate. To implement DE in path planning with high search speed, the initial point is connected with the final point as the virtual x-axis. Depending on the number of waypoint throughout the flight path, the virtual x-axis is divided into the same number of intervals and forms a virtual y-axis at each point of interval (Fig 1). The start and the goal for the desired path throughout the simulations are similar in Fig 1 which are [10, 90] and [90, 10] respectively. The map chosen for this study is from an alpine region, where the mountains and hills are treated as the path obstacles.
Function Cost
The function costs of UAV path planning include flight path distance, real-time computational time, minimum turning radius, power consumption, and threat area. However, only the path distance and computational time are analyzed in this study. The other function costs require study using a specific UAV model to ensure impartial comparison can be done. Yet, this limits application of the proposed DE model for a particular type of UAV. Thus, by only optimizing path distance and computational time, the proposed method benefits all types of UAV.
Also, there are 5 parameters in DE algorithm, namely maximum generation number, length of solution (number of waypoint in this case study), population size, differential weight and crossover. Generally, solutions can evolve further when generation number is increased. The length of solution decides the complexity of the problem while population size, differential weight and crossover alter the performance of DE. Hence, this work analyzes the effect of population size, differential weight, and crossover on DE to obtain optimized range for those parameters.
Therefore, the UAV is assumed to carry sufficient power throughout the flight regardless of the length of the flight with no threat area on a 3D terrain map. The UAV will also maintain a minimum altitude of 100 m from the ground at each waypoint coordinate. The function cost can be evaluated by using the following:
(1) |
where w is the number of waypoints and l is the length between the previous and current location.
Principles of DE Algorithm
DE was first proposed by renowned researchers Storn and Price [37]. Similar to genetic algorithm (GA), DE involves selection, crossover, and mutation but in a different sequence. The population is initialized by randomizing individuals within a search space. The population then undergoes mutation, and an individual is generated by using the following equation [38–43]:
(2) |
where x is an individual from the population r ϵ (1, NP), G is the generation or iteration, NP is the population size, and F is the differential weight. However, not all particles from the mutation will be used in the next operation, depending on crossover probability. Population with trial individuals uG+1 is produced by the crossover process with the following condition:
(3) |
where randij is a random value between zero and one for the ith individual at the jth particle. Thereafter, the trial population will go through the selection process. Unlike GA, the selection process of DE compares the current population and trial population. The individual with lowest cost in the trial population will replace the individual of the current population:
(4) |
The process is repeated from mutation to selection until the termination condition is met.
Fig 2 demonstrates the flow of the DE algorithm.
Results and Discussions
To determine the effect of population size, differential weight, and crossover in DE, all combinations of control parameter values are tested. The range of differential weight is set from 0.1 to 1. Both crossover and population size parameters are set from 10 to 100. The generation number is from 100 to 1000. Furthermore, the number of waypoints is fixed at 50 in this investigation.
However, similar to other evolutionary algorithms, DE output depends on certain random probability to obtain better solutions; as a result, the output of DE is uncertain every time. Therefore, each combination simulation will be repeated 100 times to obtain the average output performance of DE.
The average path and computational cost at the 1000th generation with variations in differential weight and crossover at various NPs are given in Fig 3. Increasing the differential weight will favor the reduction of the average path cost when the population size is small because it increases the diversity of the population. However, an immoderate differential weight will reduce the performance of DE.
Moreover, a bigger population size tends to limit the optimum range of differential weight because the diversity of the population is sufficient for bigger populations. An excessive differential weight will retard the decline of the average path cost. If the crossover increases, the optimum differential weight prone will increase, particularly when the population size is small.
Additionally, increasing both the crossover and differential weight increases the average computational cost. The reason behind this effect is that more work is needed for higher crossover probability, whereas a high differential weight is prone to have values outside the search space. Furthermore, extra work is required to adjust the values within the search space.
Optimization of Differential Weight and Crossover
According to the average path and computational cost given in Fig 3, the balanced value of the differential weight at various crossover settings can be assumed at the interception point of the average path cost and computational cost. This assumption is valid because increasing the differential weight will reduce the average path cost to a certain level before it increases again with a significant increase in computational cost.
Fig 4 presents an example for obtaining the optimum differential weight at a population size of 10, generation number of 1000, and crossover rate of 100%. Each interception point from all combinations of crossover, population size, and generation number is recorded by using the same method. Hence, the optimum differential weight for different crossover rates at various population sizes from a generation number of 200 to 1000 is obtained.
In each generation, the average computational cost of various crossovers for the same population size is almost the same for all cases in the same generation number, as given in Fig 5. Furthermore, the trend of the average path cost from various crossovers for the same population size is a parabola with a minimum point. Thus, we assume that the optimum crossover with its optimum differential weight can be determined at the lowest average path cost of a particular population size. Fig 6 displays the optimum crossover value and differential weight for different population sizes from a generation number of 100 to 1000.
Overall Optimization of Control Parameters
The optimum crossover has a tendency to decrease with increasing generation number, whereas the optimum differential weight is the opposite. A larger population size will have lower path cost and higher computational cost and vice versa (Fig 6). Moreover, a similar trend between the average path and computational cost is shown in Fig 7.
Thus, the interception point between both is identified as the balanced performance of the DE algorithm. The optimum population size at various generation numbers is illustrated in Fig 8. The figure indicates that the optimum population is almost consistent at the same level when the generation number increases within the range. Therefore, the optimum population size will not be affected evidently in these simulations from the initial stage to the convergence stage. The optimum population size in relation to the maximum generation numbers may be determined by using the following equation:
(5) |
The optimum differential weight and crossover along the generation number is shown in Fig 9. At this instance, the number of generation is small when the optimum differential weight is small. As the generation number becomes larger, the optimum differential weight increases with decreasing rate. However, the optimum crossover decreases as the generation number grows with decreasing rate. Therefore, the optimum differential weight and crossover in relation to the generation numbers may be determined by using Eqs (6) and (7), respectively,
(6) |
(7) |
The optimized setting of population size, differential weight and crossover using Eqs (5) till (7) for different maximum generation number is shown in Table 1. This simplifies the need to trial and error of the crucial parameters especially population size, differential weight and crossover for the specific maximum generation number. As a result, the intended output to obtain the desired path distance and computational time may be achieved for aircraft path planning mission.
Table 1. Optimized setting of population size, differential weight & crossover at various maximum generation number.
Generation | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 |
---|---|---|---|---|---|---|---|---|---|---|
Population | 34 | 35 | 35 | 36 | 37 | 37 | 38 | 39 | 39 | 40 |
Differential Weight | 0.10 | 0.12 | 0.13 | 0.14 | 0.14 | 0.14 | 0.14 | 0.14 | 0.14 | 0.14 |
Crossover (%) | 72 | 64 | 57 | 51 | 45 | 40 | 35 | 31 | 28 | 26 |
Proposed DE Algorithm Optimization Result
The analyses on the effect of using and optimized DE algorithm are presented. In this occasion, a simulation was done for a maximum generation number input value of 1000, to make a performance comparison between the optimized parameter setting (i.e. shown in Table 1) and the all other setting. Fig 10 illustrates the average path cost changes in percentage when compared to the optimized parameter setting at maximum generation number of 1000.
These analyses clearly indicates that the average path cost at optimized parameter setting is better than all other setting, except for 3 combination setting (i.e. when Differential Weight is 0.2 and Crossover rate of 30, 40 and 50%). Still, the path cost at these non-optimized parameter setting are only better in the range of 1–3%. Moreover, the average path cost at all other setting are generally higher than optimized parameter setting, which may be by almost 200%.
The average computational cost changes in percentage when compared to the optimized parameter setting at maximum generation number of 1000 is shown in Fig 11. In contrast to the path distance cost, the computational time of optimized parameter setting were better than all non-optimized parameter setting. In addition, some non-optimized parameter setting have achieved more than 100% increment in computational time. This clearly indicates the importance for an optimized parameter setting in DE algorithm for aircraft path planning using optimized setting based on maximum generation number.
Conclusion
Instead trial and error, an optimization of the DE algorithm for tuning the parameters of UAV path planning is presented in this paper. The parameters focused are population size, differential weight, crossover, and generation number. In conclusion, the proposed optimization of the tuning parameters in the DE algorithm for UAV path planning has enabled an expedited and improved simulation of the final output path and computational cost. The developed algorithm enables the user to simply define the weightage desired between the path and computational cost to converge with the minimum generation required based on user requirement.
Supporting Information
Data Availability
All relevant data are within the paper and its Supporting Information file.
Funding Statement
This study was supported by Universiti Sains Malaysia; short term grant no. 304/PAERO/60312047 and MYLAB-KPM grant no. 304/PHUMANITI/650718. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
References
- 1.Cayero J, Morcego B, Nejjari F. Modelling and adaptive backstepping control for TX-1570 UAV path tracking. Aerospace Science and Technology. 2014; 39: 342–351. [Google Scholar]
- 2.Kontogiannis SG, Ekaterinaris JA. Design, performance evaluation and optimization of a UAV. Aerospace Science and Technology. 2013; 29(1): 339–350. [Google Scholar]
- 3.Panagiotou P, Kaparos P. Yakinthos K. Winglet design and optimization for a MALE UAV using CFD. Aerospace Science and Technology. 2014; 39: 190–205. [Google Scholar]
- 4.Kownacki C. Design of an adaptive Kalman filter to eliminate measurement faults of a laser rangefinder used in the UAV system. Aerospace Science and Technology. 2015; 41: 81–89. [Google Scholar]
- 5.Li Z, Liu Y, Walker R, Hayward R, Zhang J. Towards automatic power line detection for a UAV surveillance system using pulse coupled neural filter and an improved Hough transform. Machine Vision and Applications. 2010; 21(5): 677–686. [Google Scholar]
- 6.Coifman B, McCord M, Mishalani RG, Iswalt M, Ji Y. Roadway traffic monitoring from an unmanned aerial vehicle. IEEE Proceedings-Intelligent Transport Systems. 2006; 153(1): 11–20. [Google Scholar]
- 7.Doherty P, Rudol P. A UAV search and rescue scenario with human body detection and geolocalization. AI 2007: Advances in Artificial Intelligence. 2007; 4830: 1–13. [Google Scholar]
- 8.Rathinam S, Almeida P, Kim Z, Jackson S, Tinka A, Grossman W, et al. Autonomous searching and tracking of a river using an UAV. American Control Conference, 2007 ACC'07; IEEE. 10.1109/ACC.2007.4282475 [DOI]
- 9.Semsch E, Jakob M, Pavlicek D, Pechoucek M. Autonomous UAV surveillance in complex urban environments. Web Intelligence and Intelligent Agent Technologies, 2009 WI-IAT'09 IEEE/WIC/ACM International Joint Conferences on: IET. 10.1109/WI-IAT.2009.132 [DOI]
- 10.Ro K, Oh J, Dong L. Lessons Learned: Application of Small UAV for Urban Highway Traffic Monitoring. 45th AIAA Aerospace Sciences Meeting and Exhibit, Aerospace Sciences Meetings. 2007; 10.2514/6.2007-596 [DOI]
- 11.Bernard M, Kondak K, Maza I, Ollero A. Autonomous transportation and deployment with aerial robots for search and rescue missions. J. Field Robotics. 2011, 28: 914–931. 10.1002/rob.20401 [DOI] [Google Scholar]
- 12.Lin Y, Saripalli S. Road detection from aerial imagery. Robotics and Automation (ICRA), 2012 IEEE International Conference on: IEEE. 2012; 3588–3593: 10.1109/ICRA.2012.6225112 [DOI]
- 13.Qu Y, Pan Q, Yan J. Flight path planning of UAV based on heuristically search and genetic algorithms. Industrial Electronics Society, 2005 IECON 31st Annual Conference of IEEE. 10.1109/IECON.2005.1568876 [DOI]
- 14.Jun M, D’Andrea R. Path planning for unmanned aerial vehicles in uncertain and adversarial environments. Cooperative control: models, applications and algorithms. 2003; 10.1007/978-1-4757-3758-5_6 [DOI] [Google Scholar]
- 15.Scherer S, Singh S, Chamberlain L, Elgersma M. Flying fast and low among obstacles: Methodology and experiments. The International Journal of Robotics Research. 2008; 27(5): 549–574. [Google Scholar]
- 16.Pettersson PO, Doherty P. Probabilistic roadmap based path planning for an autonomous unmanned helicopter. Journal of Intelligent & Fuzzy Systems: Applications in Engineering and Technology. 2006; 17(4): 395–405. [Google Scholar]
- 17.Hrabar S. 3D path planning and stereo-based obstacle avoidance for rotorcraft UAVs. Intelligent Robots and Systems. 2008 IROS IEEE/RSJ International Conference on: IEEE. 10.1109/IROS.2008.4650775 [DOI]
- 18.Bry A, Roy N. Rapidly-exploring random belief trees for motion planning under uncertainty. Robotics and Automation (ICRA), 2011 IEEE International Conference on. 10.1109/ICRA.2011.5980508 [DOI]
- 19.Lin Y, Saripalli S. Sense and avoid for Unmanned Aerial Vehicles using ADS-B. Robotics and Automation (ICRA), 2015 IEEE International Conference on: IEEE. 10.1109/ICRA.2015.7140098 [DOI]
- 20.Shanmugavel M, Tsourdos A, White B, Zbikowski R. 3D Dubins Sets Based Coordinated Path Planning for Swarm of UAVs. AIAA Guidance, Navigation, and Control Conference and Exhibit, Guidance, Navigation, and Control and Co-located Conferences. 10.2514/6.2006-6211 [DOI]
- 21.Lin Y, Saripalli S. Path planning using 3D dubins curve for unmanned aerial vehicles. Unmanned Aircraft Systems (ICUAS), 2014 International Conference on: IEEE. 10.1109/ICUAS.2014.6842268 [DOI]
- 22.Ergezer H, Leblebicioğlu MK. 3D path planning for UAVs for maximum information collection. Unmanned Aircraft Systems (ICUAS), 2013 International Conference on; IEEE. 10.1109/ICUAS.2013.6564676 [DOI]
- 23.Fu Y, Ding M, Zhou C, Hu H. Route planning for unmanned aerial vehicle (UAV) on the sea using hybrid differential evolution and quantum-behaved particle swarm optimization. Systems, Man, and Cybernetics: Systems, IEEE Transactions on. 2013; 43(6): 1451–1465. [Google Scholar]
- 24.Besada-Portas E, De La Torre L, Moreno A, Risco-Martín JL. On the performance comparison of multi-objective evolutionary UAV path planners. Information Sciences. 2013; 238: 111–125. [Google Scholar]
- 25.Fan Q, Yan X. Self-adaptive differential evolution algorithm with discrete mutation control parameters. Expert Systems with Applications. 2015; 42(3): 1551–1572. [Google Scholar]
- 26.Gämperle R, Müller SD, Koumoutsakos P. A parameter study for differential evolution. Advances in intelligent systems, fuzzy systems, evolutionary computation. 2002; 10: 293–298. [Google Scholar]
- 27.Qin AK, Huang VL, Suganthan PN. Differential evolution algorithm with strategy adaptation for global numerical optimization. Evolutionary Computation, IEEE Transactions on. 2009; 13(2): 398–417. [Google Scholar]
- 28.Neri F, Tirronen V. On memetic differential evolution frameworks: a study of advantages and limitations in hybridization. Evolutionary Computation, 2008 CEC IEEE World Congress on Computational Intelligence. 10.1109/CEC.2008.4631082 [DOI]
- 29.Brest J, Zumer V, Maucec M. Self-adaptive differential evolution algorithm in constrained real-parameter optimization. Evolutionary Computation, 2006 CEC IEEE Congress on. 10.1109/CEC.2006.1688311 [DOI]
- 30.Wang Y, Cai Z, Zhang Q. Differential evolution with composite trial vector generation strategies and control parameters. Evolutionary Computation, IEEE Transactions on. 2011; 15(1): 55–66. [Google Scholar]
- 31.Zielinski K, Weitkemper P, Laur R, Kammeyer K-D. Parameter study for differential evolution using a power allocation problem including interference cancellation. Evolutionary Computation, 2006 CEC 2006 IEEE Congress on. 10.1109/CEC.2006.1688533 [DOI]
- 32.Zhang L, Wang Z, Hu X, Sun F, Dorrell DG. A comparative study of equivalent circuit models of ultracapacitors for electric vehicles. Journal of Power Sources. 2015; 274: 899–906. [Google Scholar]
- 33.Zhang L, Hu X, Wang Z, Sun F, Dorrell DG. Experimental impedance investigation of an ultracapacitor at different conditions for electric vehicle applications. Journal of Power Sources. 2015; 287: 129–138. [Google Scholar]
- 34.Zhang L, Wang Z, Sun F, Dorrell DG. Online parameter identification of ultracapacitor models using the extended Kalman filter. Energies. 2014; 7(5): 3204–3217. [Google Scholar]
- 35.Hu X-S, Sun F-C, Zou Y. Online model identification of lithium-ion battery for electric vehicles. Journal of Central South University of Technology. 2011; 18: 1525–1531. [Google Scholar]
- 36.Sun F, Hu X, Zou Y, Li S. Adaptive unscented Kalman filtering for state of charge estimation of a lithium-ion battery for electric vehicles. Energy. 2011; 36(5): 3531–3540. [Google Scholar]
- 37.Storn R, Price K. Differential Evolution—A simple and efficient adaptive scheme for global optimization over continuous spaces. Journal of Global Optimization. 1995; 11(4): 12. [Google Scholar]
- 38.Le-Anh L, Nguyen-Thoi T, Ho-Huu V, Dang-Trung H, Bui-Xuan T. Static and frequency optimization of folded laminated composite plates using an adjusted Differential Evolution algorithm and a smoothed triangular plate element. Composite Structures. 2015; 127: 382–394. [Google Scholar]
- 39.Gao L, Zhou Y, Li X, Pan Q, Yi W. Multi-objective optimization based reverse strategy with differential evolution algorithm for constrained optimization problems. Expert Systems with Applications. 2015; 42(14): 5976–5987. [Google Scholar]
- 40.Khan A, Jaffar MA, Shao L. A modified adaptive differential evolution algorithm for color image segmentation. Knowledge and Information Systems. 2014; 43(3): 583–597. [Google Scholar]
- 41.Yi W, Gao L, Li X, Zhou Y. A new differential evolution algorithm with a hybrid mutation operator and self-adapting control parameters for global optimization problems. Applied Intelligence. 2015; 42(4): 642–660. [Google Scholar]
- 42.Torres SP, Castro CA. Specialized differential evolution technique to solve the alternating current model based transmission expansion planning problem. International Journal of Electrical Power & Energy Systems. 2015; 68: 243–251. [Google Scholar]
- 43.Roque C, Martins P. Differential evolution optimization for the analysis of composite plates with radial basis collocation meshless method. Composite Structures. 2015; 124: 317–326. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
All relevant data are within the paper and its Supporting Information file.