UAV Path Planning Using Artificial Potential Field Method Updated by Optimal Control Theory
UAV Path Planning Using Artificial Potential Field Method Updated by Optimal Control Theory
To cite this article: Yong-bo Chen, Guan-chen Luo, Yue-song Mei, Jian-qiao Yu & Xiao-long Su
(2016) UAV path planning using artificial potential field method updated by optimal control theory,
International Journal of Systems Science, 47:6, 1407-1420, DOI: 10.1080/00207721.2014.929191
UAV path planning using artificial potential field method updated by optimal control theory
Yong-bo Chen, Guan-chen Luo, Yue-song Mei, Jian-qiao Yu∗ and Xiao-long Su
School of Aerospace Engineering, Beijing Institute of Technology, Beijing, P. R. China
(Received 19 March 2013; accepted 24 May 2014)
The unmanned aerial vehicle (UAV) path planning problem is an important assignment in the UAV mission planning.
Based on the artificial potential field (APF) UAV path planning method, it is reconstructed into the constrained optimisation
problem by introducing an additional control force. The constrained optimisation problem is translated into the unconstrained
optimisation problem with the help of slack variables in this paper. The functional optimisation method is applied to reform
this problem into an optimal control problem. The whole transformation process is deduced in detail, based on a discrete
UAV dynamic model. Then, the path planning problem is solved with the help of the optimal control method. The path
following process based on the six degrees of freedom simulation model of the quadrotor helicopters is introduced to verify
the practicability of this method. Finally, the simulation results show that the improved method is more effective in planning
path. In the planning space, the length of the calculated path is shorter and smoother than that using traditional APF method.
In addition, the improved method can solve the dead point problem effectively.
Keywords: path planning; functional optimisation problem; artificial potential field (APF); additional control force; optimal
control
∗
Corresponding author. Email: [email protected]
C 2014 Taylor & Francis
1408 Y.-b. Chen et al.
route planning design technique for a group of UAVs’ au- 2. Modelling of the UAV path planning problem
tonomous navigation based on the combination of evolu- In order to simplify the algorithm, we can use the simplified
tionary algorithms and modified APF methods. Although linear particle dynamics to replace the real dynamic model
the effect of the combined algorithm may be well, it always in the path planning process. The UAV particle dynamics
causes some new problems, such as the higher operational is based on the APF method with the additional control
complexity, the larger calculated amount and so on. The force. The main idea of the APF method is to use repulsive
other way is to improve the APF method by some new potential fields emanating from the obstacles to force the
concepts or some new ways of modelling. Shim, Kim, and UAV away and an attractive potential field emanating from
Sastry (2003) established a decentralised discrete-time op- the target so as to attract the UAV.
timal control problem based on the potential field method,
and then solved the optimisation problem with the help Remark 1: The UAV in this paper means the rotary wing
of the non-linear model predictive control (NMPC). The vertical take-off and landing (VTOL) aircraft.
approach is less susceptible to the local minima problem Remark 2: The path planning process is one part of the
due to its predictive nature. However, because the NMPC guidance process. For most situations, the model of an air-
method is based on the optimisation in the finite receding craft in the guidance process is the simple particle model
horizon, the effect of this approach is directly related to the which only needs to limit the velocity and overload of the
range of the horizon. The bigger the horizon is, the better aircraft. In other words, it only needs to guarantee that the
the effect of the result will be and the larger the calculated path planning result, which is a space curve varying with
amount will be. Therefore, the choice of the horizon range time, is flyable for the UAV. Finally, the UAV can move in
is the most important and difficult parameter in this ap- the space according to the computed path. Therefore, the
proach. Analogously, Yang and Sukkarieh (2012) also used model of the UAV can be simplified into the linear particle
the model predictive control (MPC) based on the improved dynamics under some constraints.
APF method to solve the navigation problem of the UAV.
There are various forms of repulsive field functions
The distances to obstacles, angles to obstacles, obstacle size
and attractive field functions. Many entirely different field
and the UAV velocity were introduced to improve the effect
functions have been used in earlier studies. The repulsive
of the APF method. However, the improved APF method
field and attractive field are defined in simple mathematical
is not very suitable for the irregular obstacles. Luo updated
forms in the following.
the APF method by introducing the additional control force
(Luo, Yu, Zhang, & Zhang, 2012). However, the solution
algorithm for this updated method was not discussed in
2.1. Description of force fields
her paper, and it did not make a detailed analysis of the
optimisation model. Indeed, it is difficult to solve the addi- 2.1.1. The attractive field
tional control force, as the variable is time-varying. More- The attractive field ϕ is chosen as
over, it is also hard to ensure the optimality index of the
solution. p , p = 0
φ( p ) =
A further discussion to solve these problems is estab- 0, p =0 , (1)
lished in this paper by remodelling the functional opti-
misation model. This model, based on the UAV particle where p = pt − p, and p is the vector from the origin to
dynamics system, uses the APF method and takes the ad- the mass centre of the UAV and pt is the vector from the
ditional control force as an independent variable. Also, origin to the target point.
the constraint conditions and the objective function are The gradient of the field function is the field force:
analysed in detail in this work. Moreover, the optimal
control method is applied to solve the additional control p p = 0
force. Fy = p , . (2)
0, p =0
The structure of this paper is as follows. In Section 2, the
functional optimisation model is established by introducing
the additional control force into the dynamic model. In The attractive field covers the whole planning space
Section 3, the optimal control theory is applied to solve (Aitsaadi, Achir, Boussetta, & Pujolle, 2011).
the additional control force, and the control sequence can
be obtained to achieve the real-time control. In Section
4, the path following process is presented to verify the 2.1.2. The repulsive field
reasonability of the computed path. In Sections 5 and 6, The repulsive field function ϕ i is chosen as
two different simulations are carried out. The results verify ∗
εe−l pi ,
∗
the proposed algorithm. Some conclusions are drawn and
ϕi p∗i = pi∗ ≤ d0 , (3)
further discussions are presented in Section 7. 0, pi > d0
International Journal of Systems Science 1409
I tI T
A= , B= t 2
I tI (6)
O I 2
where α and β are weighted coefficients, and they are sub- 2.4.4. The boundary conditions
jected to the following conditions: 0 ≤ α ≤ 1 and 0 ≤ The boundary values of the UAV path planning problem are
β ≤ 1. the starting point and the target point. The value range of k
is [0, n], and n is not fixed.
p∈
/ S, (13) 3. Solution for the additional control force
According to the functional optimisation model (17), the
where S is the set of the obstacles. design variable u(k) varies with discrete time. Because of
The existence of the repulsive fields keeps the UAV the complexity of the objective function and constraint con-
away from the obstacles. In other words, the constraint ditions, the solving process of u(k) is very difficult. The
above is satisfied by establishing the repulsive fields. paper introduces the optimal control theory based on the
idea of the variational method to solve the problem.
The general form of the discrete system in the optimal
2.4.3. The dynamic constraints control theory (Wu, 2008) is
kf −1
Because of the UAV dynamic constraints, there exist dif-
ferential and integral relationships among the force, the min J = θ [x(kf ), kf ] + ϕ(x(k), u(k), k)
u(k)
acceleration, the speed and the position. k=k0
The dynamic constraints are shown in Equation (5). As s.t. x(k + 1) = g(x(k), u(k), k)
Equation (7), they are rewritten as follows: x(k0 ) = x0 , (18)
The linear discrete optimal system is According to the minimum theorem (Liu, 2000), the
necessary conditions to achieve the optimal control are as
1 T follows:
n−1
min J = [x (k)Q̃(k)x (k) + uT (k)R ˜ u (k)]
u(k) 2 k=0
(1) Based on the adjoint equation (the co-state
⎧
⎪ x (k + 1) = (k)x (k) + u (k) equation),
⎪
⎨ T
x (0) = pTs v T (0)
s.t. T . (38) δH δg(x (k) , u (k) , k)
⎪
⎪ x
(n) = p T
v T
(n) λ(k) = + T
⎩ t γ (k) ,
um ≥ u (k) − α R̃ −1 S T (k)x (k) δx (k) δx (k)
(44)
we have
In the above formula, R̃ and Q̃(k) can be proved to
be positive-definite and semi-positive-definite, respectively.
λ(k) = x (k)Q̃(k) + λ(k + 1) T
(k)
The above expression has met the standard form of the linear
δg(x (k) , u (k) , k)
discrete system with terminal constraints and inequality + γ T (k) (k) + γ T (k) .
constraints. δx (k)
The inequality constraint can be transformed into an (45)
equality constraint by introducing a slack variable τ ∈ R:
(2) In the optimum trajectory, the Hamiltonian function
u (k) − α R̃ −1 S T (k) x (k) − um + τ 2 = 0. (39) needs to get the absolute minimum. Therefore, we
have
Then, the constrained optimisation problem (38) can be
transformed into the unconstrained optimisation problem:
min H (x ∗ , u∗ , λ∗ , k) = H (x ∗ , u , λ∗ , k)
n−1
u∗ ∈U
1 H (x ∗ , u∗ , λ∗ , k) ≤ H (x ∗ , u , λ∗ , k) , (46)
min J = υ T x (n) − pt + x (k)Q̃(k)x T (k)
u(k)
k=0
2
1
+ u (k)R̃u T (k) + λT (k + 1)[ (k)x (k) where u (k) is the random control vector in U, u∗ (k) is the
2 control vector which can get the absolute minimum of the
+ (k)u (k) − x (k + 1)] Hamilton function, x∗ (k) is the optimal state trajectory and
+ γ T (k) u (k)−αR ˜−1 S T (k)x (k) λ∗ (k) is the optimal Lagrange multiplier.
In the optimum trajectory, we have
− um + α12 , (40)
δH δg(x (k) , u (k) , k)
(k) = −γ (k)
T
. (47)
where υ, λ(k) and γ (k) are three Lagrange multipliers. δu δu (k)
The unconstrained optimisation problem can be given
as Therefore, the following expression cannot be guaran-
teed in the allowable interval of the control vector u (k):
n−1
min J = υ T [x (n) − pt ] + [H (x (k), u (k),
u(k) δH
k=0 = 0. (48)
λ(k + 1), γ (k), ϕ(k), k) − λ (k)x(k) + γ T (k)g(x (k) ,
T δu (k)
u (k) , k)], (41) Based on Equations (47) and (48), the global minimum
may not be reachable. However, the local minimum is at-
where Hamiltonian function is tained in the allowable interval U. Then we can get the
approximate solution of the control vector (Fang & Wang,
H x (k), u (k), λ(k + 1), γ (k), ϕ(k), k 2006; Li, 2011):
1 1
= x (k)Q̃(k)x T (k) + u (k)R̃(k)uT (k)
2 2 u (k) = u∗ (k) = [u∗x (k) u∗y (k)u∗z (k)]T
+ λT (k + 1)[ (k)x (k) + (k)u (k)], (42) umin (k) = [ux min (k) uy min (k) uz min (k)]T
⎧
⎪
⎪ um (u• min ≥ um )
and g(x (k) , u (k) , k) is given by ⎪
⎪
⎨
u∗• (k) = u• min (k) (umin (k) ∈ U ) , (49)
g(x (k) , u (k) , k) = u (k) − α R̃ −1 (k) S T (k) x (k) ⎪
⎪
⎪
⎪
⎩
− um + α12 . (43) −um (u• min ≤ −um )
International Journal of Systems Science 1413
where umin (k) is the optimal control u (k) without the con-
trol constraint, and the subscript · represents x, y, z.
According to the unconstrained optimal control
algorithm, let
T
P (k) = (k)P (k + 1) (k) + Q̃(k)
˜ Figure 2. Sketch map of the quadrotor helicopter.
T
− (k)P (k + 1) [R + T
P (k + 1) ]−1
T
× P (k + 1) (k). (51) to follow the planning results which include the position
information of the UAV. Obviously, the position informa-
Therefore, the control force umin (k) is given by tion is time-varying. After this process, the practicability
of the method is verified. The sketch map of the quadrotor
umin (k) = −R̃ −1 (k) T
(P −1 (k + 1) helicopter is shown in Figure 2.
+ R̃ −1 (k) T −1
)
(k)x (k). (52) Those time-varying position results of the path planning
method are the input of the position tracker of the UAV. The
In this expression, the matrices R̃(k), , (k), position tracker makes up by an inner-loop attitude con-
P(k + 1), Q̃(k) and x (k) are all known. Therefore, the ad- troller and an outer-loop position controller. The dynamic
ditional control force u (k) is gained in the optimal control model of the quadrotor helicopter is given by Bai, Liu, Shi,
problem. In order to obtain the u(k), the linear inverse trans- and Zhong (2012). The attitude controller and the position
form of (38) is obtained. The additional control force u(k) controller are both realised with the classical proportion
makes up of a(k) according to (7). Finally, a(k) can be used integration differentiation (PID) method. The structure of
to attain the UAV’s path via (5). the whole system is shown in Figure 3.
the shortest distance rule are used. So compromising them obvious that the path planned by the improved method
at α = 1 and β = 1 in (10). is smoother and shorter in the simulation result, which
means the improved method is more effective in path
planning.
5.2. Simulation result In order to verify the feasibility of the red line, the path
5.2.1. Situation 1 following process is finished by the frame of Section 4. The
path following result is shown in Figure 6, where the red
First, point A is chosen as the starting point to compare
line means the real path following result, and the blue line
the updated path planning method with the traditional APF
means the UAV path planning result. During the whole path
method. The simulation result is shown in Figure 5, where
following process, the path following error of the UAV is
the blue path is planned by the traditional APF method
shown in Figure 7, and the velocity and the acceleration are
while the red path is planned by the improved APF method.
shown in Figure 8. Therefore, the feasibility of the planning
The total distance of the blue path is 827.95 m, and
result is verified.
the total distance of the red path is 820.25 m. It is
The length, width and height of the planning space are 6.2. Simulation result
5000, 6000 and 1000 m, respectively. The discrete time Both the traditional APF method and the improved APF
interval is t = 1 s, and the mass of the UAV is m = 1 kg. method are used in the digital map scene. The simula-
The starting point coordinates of the UAV (A) are tion result is shown in Figure 14, where the Figure 14(a)
(2000 m, 2500 m, 500 m) in the second situation. The is planned by the traditional APF method while the Fig-
target point coordinates are (6000 m, 7000 m, 0 m). The ure 14(b) is planned by the improved APF method.
new scene is shown in Figure 13. Then, the path following process is introduced to verify
The additional control force constraint is um = 0.1 m/s2 ; the rationality of the planning result. All the errors are below
the flight altitude constraint is above the ground level. In 2 m, and the flying data are reasonable under the constraint
this paper, both the least control energy rule and the shortest conditions.
distance rule are used. So compromising them at α = 1 and
β = 1 in (10).
6.3. Simulation result analysis
The new simulated results show some similar conclusions
as the simulation example 1. These results show that the
7. Conclusion
In this paper, the additional control force is introduced into
the APF method for the UAV path planning problem. Since
the additional control force can be regarded as the optimi-
sation variable, the path planning problem is transformed
into an optimisation problem. Then, by introducing cer-
tain slack variables, the original constrained optimisation
problem is converted into an unconstrained optimisation
problem, which can be easily solved via optimal control.
The whole process is deduced in detail in this paper, based
on a discrete UAV dynamic model. The optimal control law
is obtained via Riccati equation approximately. Therefore,
Figure 13. UAV simulation task 2.
the updated method is more effective and convenient to
achieve. The optimal simulation results have verified the
updated method, demonstrating its strong ability in path
planning.
Funding
This work was supported by the National Natural Science Foun-
dation of China [grant number 61350010].
Notes on contributors
Yongbo Chen was born in 1990. He received
his BS degree in Beijing Institute of Tech-
nology in 2012. He is currently working to-
wards a doctoral degree at the School of
Aerospace Engineering, Beijing Institute of
Technology, Beijing, China. His research in-
terest is UAV path planning.
Jianqiao Yu was born in 1972. He received aerial vehicles. Proceedings of the Institution of Mechani-
BS, MS and PhD degrees from Beijing Insti- cal Engineers, Part G: Journal of Aerospace Engineering,
tute of Technology in 1994, 1997 and 2007, 224(11), 1229–1242.
respectively, and now is a professor there. Liu, B. (2000). The modern control theory. Beijing: China
His main research interests include flight Machine Press.
dynamics and control, cooperative control, Luo, G.-c., Yu, J.-q., Zhang, S.-y., & Zhang, W. (2012). Artificial
flight vehicle system design and robust con- potential field based receding horizon control for path plan-
trol. ning. In G.-H. Yang, W.-D. Zhang (Eds.), The 24th Chinese
Control and Decision Conference (CCDC) (pp. 3665–3669).
Xiaolong Su was born in 1989. He re- Piscataway, NJ: IEEE.
ceived his BS degree from Beijing Institute Oland, Espen, & Kristiansen, Raymond. (2013). Collision and
of Technology in 2012. He is a postgrad- terrain avoidance for UAVs using the potential field method.
uate in flight vehicle design from Beijing In IEEE Aerospace Conference (pp. 1–7). Washington, DC:
Institute of Technology. His research inter- IEEE Computer Society.
ests include flight dynamics and control and Park, M.G., Jeon, J.H., & Lee, M.C. (2001). Obstacle avoidance
flight vehicle system design. for mobile robots using artificial potential field approach with
simulated annealing. In M. H. Lee, H. Haneda (Eds.), Pro-
ceedings of the IEEE International Symposium on Industrial
Electronics (pp. 1530–1535). Piscataway, NJ: IEEE Service
References Center.
Aitsaadi, N., Achir, N., Boussetta, K., & Pujolle, G. (2011). Paul, Tobias, Krogstad, Thomas R., & Gravdahl, Jan Tommy.
Artificial potential field approach in WSN deployment: (2008). Modelling of UAV formation flight using 3D poten-
Cost, QoM, connectivity, and lifetime constraints. Computer tial field. Simulation Modelling Practice and Theory, 16(9),
Networks, 55, 84–105. 1453–1462.
Bai, Y.-q., Liu, H., Shi, Z.-y., & Zhong, Y.-s. (2012). Robust flight Scherer, S., Singh, S., Chamberlain, L., & Elgersma, M. (2008).
control of quadrotor unmanned air vehicles. Robot, 34(5), Flying fast and low among obstacles: Methodology and ex-
519–524. periments. The International Journal of Robotics Research,
Berry, A., Howitt, J., Gu, D.-W., & Postlethwaite, I. (2010). En- 27, 549–574.
abling the operation of multiple micro-air-vehicles in increas- Shim, D.H., Kim, H.J., & Sastry, S. (2003). Decentralized non-
ingly complex obstacle-rich environments. In J. Rankin (Ed.), linear model predictive control of multiple flying robots. In
AIAA Infotech@ Aerospace 2010, Atlanta, Georgia (p. 1–14). D. A. Lawrence, T. Parisini (Eds.), Proceedings of the 42nd
Reston, VA: American Institute of Aeronautics and Astronau- IEEE Conference on Decision and Control (pp. 3621–3626).
tics Inc.. Piscataway, NJ: IEEE Operations Center.
Caves, A.D.J. (2010). Human-automation collaborative RRT for Srikanthakumar, S., Liu, C., & Chen, W.H. (2012). Optimization-
UAV mission path planning. Cambridge, MA: Massachusetts based safety analysis of obstacle avoidance systems for un-
Institute of Technology. manned aerial vehicles. Journal of Intelligent & Robotic Sys-
Charifa, S., & Bikdash, M. (2009). Comparison of geometrical, tems, 65(1–4), 219–231.
kinematic, and dynamic performance of several potential field Sun Jinsheng, L.J., & Wang Zhiquan. (1994). Discrete fault-
methods. In A. Wilson, B. Marshal, M. L. Smith (Eds.), South- tolerant control system design based on Riccati equations.
eastcon, 2009. SOUTHEASTCON’09. IEEE: (pp. 18–23). Pis- Journal of Nanjing University of Aeronautics & Astronautics,
cataway, NJ: IEEE Service Center. 26S1, 48–52.
Chen, Y., Zhao, X., & Han, J. (2010). Review of 3D path planning Wu, S.Z. (2008). Optimal control theory and application. Beijing:
methods for mobile robot. Robot, 32, 568–576. China Machine Press.
Deb, K. (2005). Multi-objective optimization. Search Methodolo- Xiao-Qun, C., Wei-Min, Z., Jun-Qiang, S., Xiao-Qian, Z., & Jun,
gies, 273–316. Z. (2012). Parameter identification of map chaotic system
Fang, Q., & Wang, X. (2006). Application of the maximum prin- with discrete variational method. Acta Physica Sinica, 61(2):
ciple with state constraints to reservoir operation. Acta Auto- 020507. p. 1–7.
matica Sinica, 32, 767–773. Xie, L.-j., Xie, G.-r., Chen, H.-w., & Li, X.-l. (2008). Solution
Khatib, O. (1986). Real-time obstacle avoidance for manipula- to reinforcement learning problems with artificial potential
tors and mobile robots. The International Journal of Robotics field. Journal of Central South University of Technology, 15,
Research, 5, 90–98. 552–557.
Koren, Y., & Borenstein, J. (1991). Potential field methods and Xu, Xinying, Xie, Jun, & Xie, Keming. (2006). Path planning
their inherent limitations for mobile robot navigation. In Pro- and obstacle-avoidance for soccer robot based on artificial
ceedings of the IEEE International Conference on Robotics potential field and genetic algorithm. In T.-Y. Chai, Meng
and Automation (pp. 1398–1404). Piscataway, NJ: IEEE. Max Q.-H. (Eds.), The Sixth World Congress on Intelligent
Lee, M.C., & Park, M.G. (2003). Artificial potential field based Control and Automation (pp. 3494–3498). Piscataway, NJ:
path planning for mobile robots using a virtual obstacle con- IEEE.
cept. In H. Hashimoto (Ed.), Proceedings of the IEEE/ASME Yang, K., & Sukkarieh, S. (2012). Model predictive unified plan-
International Conference on Advanced Intelligent Mechatron- ning and control of rotary-wing unmanned aerial vehicle. In
ics (pp. 735–740). Piscataway, NJ: IEEE. N.-S. Hur, C.-G. Kang (Eds.), The 12th International Confer-
Li, B. (2011). Optimal control problems with constraints on the ence on Control, Automation and Systems (pp. 1974–1979).
state and control and their applications. Harbin City, Hei- Piscataway, NJ: IEEE.
longjiang Province, China: Curtin University. Yin, L., & Yin, Y.-x. (2009). Simulation research on path planning
Lin, C.L., Li, Y.H., & Aouf, N. (2010). Potential-field-based evo- based on dynamic artificial potential field. Journal of System
lutionary route planner for the control of multiple unmanned Simulation, 21, s3325–s3329.
1420 Y.-b. Chen et al.
If the discrete time interval is short enough, the result of ||u|| ≤ um ≤ min(μvm − C1 − C2 , mam − C1 − C2 − μvm ).
the discrete time system and the continuous time system will (A6)
be very close. In order to simplify the proof procedure, we use
the continuous time system to replace the discrete time system. Let um ≤ min(μvm − C1 − C2 , mam − C1 − C2 − μvm ). Then,
According to the UAV particle dynamics, we have (11) and (12) are satisfied simultaneously.
Above all, the sound APF and the sound distance between the
dv 1 UAV and the obstacles can ensure the constraints of a and v.
= (F y + F c + F z + u). (A3)
dt m Theorem is proved.