Abstract
We propose an algorithm using method of evolving junctions to solve the optimal path planning problems with piece-wise constant flow fields. In such flow fields, we prove that the optimal trajectories, with respect to a convex Lagrangian in the objective function, must be formed by piece-wise constant velocity motions. Taking advantage of this property, we transform the infinite dimensional optimal control problem into a finite dimensional optimization and use intermittent diffusion to solve the problems. The algorithm is proven to be complete. At last, we demonstrate the performance of the algorithm with various simulation examples.
Similar content being viewed by others
References
Chen, Y., He, Z., & Li, S. (2019). Horizon-based lazy optimal RRT for fast, efficient replanning in dynamic environment. Autonomous Robots, 43(8), 2271–2292.
Chow, S.N., Yang, T.S., & Zhou, H.M. (2013). Global optimizations by intermittent diffusion. In: Chaos, CNN, Memristors and Beyond: A Festschrift for Leon Chua With DVD-ROM, composed by Eleonora Bilotta. World Scientific, pp. 466–479.
Forrest, J., Hirst, J., & Tomlin, J. A. (1974). Practical solution of large mixed integer programming problems with umpire. Management Science, 20(5), 736–773.
Gammell, J. D., Barfoot, T. D., & Srinivasa, S. S. (2018). Informed sampling for asymptotically optimal path planning. IEEE Transactions on Robotics, 34(4), 966–984.
Hou, M., Cho, S., & Zhou, H., et al. (2021). Bounded cost path planning for underwater vehicles assisted by a time-invariant partitioned flow field model. Frontiers in Robotics and AI , 8.
Hou, M., Zhai, H., & Zhou, H., et al. (2019). Partitioning ocean flow field for underwater vehicle path planning. In: OCEANS 2019-Marseille, IEEE, pp. 1–8.
Janson, L., Schmerling, E., Clark, A., et al. (2015). Fast marching tree: A fast marching sampling-based method for optimal motion planning in many dimensions. The International Journal of Robotics Research, 34(7), 883–921.
Ji, D. H., Choi, H. S., Kang, J. I., et al. (2019). Design and control of hybrid underwater glider. Advances in Mechanical Engineering, 11(5), 1687814019848.
Kaiser, E., Noack, B. R., Cordier, L., et al. (2014). Cluster-based reduced-order modelling of a mixing layer. Journal of Fluid Mechanics, 754, 365–414.
Karaman, S., & Frazzoli, E. (2011). Sampling-based algorithms for optimal motion planning. The International Journal of Robotics Research, 30(7), 846–894.
Kuffner, J., & LaValle, S. (2000). RRT-connect: An efficient approach to single-query path planning. In: IEEE International Conference on Robotics and Automation.
Kularatne, D., Bhattacharya, S., & Hsieh, M. A. (2017). Optimal path planning in time-varying flows using adaptive discretization. IEEE Robotics and Automation Letters, 3(1), 458–465.
Kularatne, D., Bhattacharya, S., & Hsieh, M. A. (2018). Going with the flow: A graph based approach to optimal path planning in general flows. Autonomous Robots, 42(7), 1369–1387.
LaValle, S. M. (1998). Rapidly-exploring random trees: A new tool for path planning. Tech. rep.: Department of Computer Science, Iowa State University.
Leonard, N. E., Paley, D. A., Davis, R. E., et al. (2010). Coordinated control of an underwater glider fleet in an adaptive ocean sampling field experiment in Monterey Bay. Journal of Field Robotics, 27(6), 718–740. https://doi.org/10.1002/rob.20366.
Li, W., Lu, J., Zhou, H., et al. (2017). Method of evolving junctions: A new approach to optimal control with constraints. Automatica, 78, 72–78.
Lolla, S.V.T. (2016). Path planning and adaptive sampling in the coastal ocean. PhD thesis, Massachusetts Institute of Technology,.
Martin, P.J. (2000). Description of the navy coastal ocean model version 1.0. , Tech. Rep. NRL/FR/7322–00-9962, Naval Research Lab.
Noreen, I., Khan, A., & Habib, Z. (2016). Optimal path planning using RRT* based approaches: a survey and future directions. International Journal of Advanced Computer Science and Applications, 7(11), 97–107.
Ozog, P., Carlevaris-Bianco, N., Kim, A. Y., et al. (2016). Long-term mapping techniques for ship hull inspection and surveillance using an autonomous underwater vehicle. Journal of Field Robotics, 33, 265–289.
Pereira, A. A., Binney, J., Hollinger, G. A., et al. (2013). Risk-aware path planning for autonomous underwater vehicles using predictive ocean models. Journal of Field Robotics, 30(5), 741–762. https://doi.org/10.1002/rob.21472.
Poole, D. L., & Mackworth, A. K. (2010). Artificial Intelligence: foundations of computational agents. Cambridge University Press.
Rhoads, B., Mezic, I., & Poje, A. C. (2012). Minimum time heading control of underpowered vehicles in time-varying ocean currents. Ocean Engineering, 66(1), 12–31.
Russell, S., & Norvig, P. (2002). Artificial intelligence: a modern approach.
Ser-Giacomi, E., Rossi, V., López, C., et al. (2015). Flow networks: A characterization of geophysical fluid transport. Chaos: An Interdisciplinary Journal of Nonlinear Science, 25(3), 036404.
Sethian, J. A. (1999). Level set methods and fast marching methods: Evolving interfaces in geometry, fluid mechanics. Computer Vison and Material Science: Cambridge University Press.
Shi, C., Wei, B., Wei, S., et al. (2021). (2021) A quantitative discriminant method of elbow point for the optimal number of clusters in clustering algorithm. EURASIP Journal on Wireless Communications and Networking, 1, 1–16.
Shome, R., Solovey, K., Dobson, A., et al. (2020). dRRT*: Scalable and informed asymptotically-optimal multi-robot motion planning. Autonomous Robots, 44(3), 443–467.
Sinha, A., Malo, P., & Deb, K. (2017). A review on bilevel optimization: from classical to evolutionary approaches and applications. IEEE Transactions on Evolutionary Computation, 22(2), 276–295.
Smith, R. N., Chao, Y., Li, P. P., et al. (2010). Planning and implementing trajectories for autonomous underwater vehicles to track evolving ocean processes based on predictions from a Regional Ocean Model. The International Journal of Robotics Research, 29(12), 1475–1497.
Soulignac, M. (2011). Feasible and optimal path planning in strong current fields. IEEE Transactions on Robotics, 27(1), 89–98. https://doi.org/10.1109/tro.2010.2085790.
Acknowledgements
The authors would like to thank the support from NSF Grants DMS-1830225, ONR Grant N00014-21-1-2891, ONR Grants N00014-19-1-2556 and N00014-19-1-2266; AFOSR Grant FA9550-19-1-0283; NSF Grants CNS-1828678, S &AS-1849228 and GCR-1934836; NRL Grants N00173-17-1-G001 and N00173-19-P-1412 ; and NOAA Grant NA16NOS0120028.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix
Appendix
In this appendix, we give proofs for the properties related to Algorithm 1.
First we present proof of Theorem 4.1. The proof leverages the following theorem in Chow et al. (2013).
Theorem 6.1
Let Q be the set of global minimizers, U be a small neighborhood of Q and \(\lambda _{opt}\) the optimal solution obtained by the ID process. Then for any given \(\epsilon >0\), there exists \(\tau >0\), \(\sigma _0>0\) and \(N_0>0\) such that if \(T_i-S_i>\tau \), \(\sigma _i<\sigma _0\) (for \(i=1,\cdots ,N\)) and \(N>N_0\),
Then we provide completeness proof of Algorithm 1.
Proof of Theorem 4.1
The proof includes two steps. First, we show that the decision tree returns all cell sequences with total cost less than or equal to the lowest-cost path found so far. Then we prove that given a fixed cell sequence, the global minimizer can be found by Algorithm 2.
The DFS algorithm, which avoids repeated states in the graph, is complete in finite state spaces (Russell and Norvig, 2002). In a static flow field divided into convex regions, the optimal path will not visit a cell boundary curve more than one time. Hence, the optimal path connecting the root and the target node in the decision tree does not contain loops. Therefore, the BnBDFS returns all cell sequences with total cost less than or equal to the lowest-cost found so far.
Next we show that the ID algorithm is complete. We combine Theorem 4.4, together with Bellman principle, to show that the global optimal path must be in the structure of constant motion within each flow region. To prove that the proposed algorithm is convergent, we only need to show that there exists a global minimizer \(\lambda ^*=(\lambda _1^*,\cdots ,\lambda _K^*)\), around which there is a closed neighborhood \(U\subset \prod _{i=1}^KD_i\) such that \(vol(U)>0\) (vol is the product Lebesgue measure in \(\prod _{i=1}^KD_i\)) and for all \(\lambda \in U\), the gradient flow \(\dot{\lambda }=-\nabla J(\lambda )\) converges to \(\lambda ^*\). If this condition holds, we can follow the proof of intermittent diffusion and get the desired results.
To this end, if there exists such U that \(vol(U)>0\) and for all \(\lambda \in U\), we have \(J(\lambda )\le J(\mu )\) for arbitrary \(\mu \in S\) for some \(S\subset U\), then the proof is done. Now if the global minimizers are isolated, then given any global minimizer \(\lambda ^*=(\lambda _1^*,\cdots ,\lambda _K^*)\), since J is continuous differentiable, we can have a closed neighborhood \(U\subset \prod _{i=1}^KD_i\) with \(vol(U)>0\) (within the neighborhood, the dimension of the domain does not change) such that \(J(\lambda )>J(\lambda ^*)\) and \(\nabla J(\lambda )\ne 0\) for all \(\lambda \in U\backslash \{\lambda ^*\}\), then the gradient flow starting at \(\lambda \in U\) converges to \(\lambda ^*\).
Therefore, we prove the algorithm is complete. \(\square \)
Proof of Lemma 4.2
We write the value function as
To make the problem complete, we define \(\psi (x,t)=+\infty \) if the vehicle cannot reach x in time t, which gives the final value function to be
If only the reachable part is considered, from the above equation, we can calculate \(\psi _t=0\) and
We can rewrite \(v=v^0+v^\perp \) and \(V^2=\Vert v^0\Vert ^2+\Vert v^\perp \Vert ^2\) if we denote
where I is the identity matrix. And u can be decomposed in the same manner \(u=u_0+u^\perp \). It is easy to see that \(v^\perp =-u^\perp \) since \((v+u)/\Vert v+u\Vert =(x-x_0)/\Vert x-x_0\Vert \). Then, we see that \(\Vert v+u\Vert =\Vert v_0\Vert +\Vert u_0\Vert \) and
Hence, we have
Taking \(\nabla \Vert v+u\Vert \) back to (21) and noticing that \(v^\perp =-u^\perp \), we reduce the gradient to be
With the above equation, the Hamiltonian is
which leads to the conclusion that the value function induced by the maximum speed constant velocity motion solves the Hamilton-Jacobi equation, thus is the optimal moving pattern in a constant flow speed region since \(\min _t\psi =\psi \). \(\square \)
Meanwhile, using the same notation and logic, we can give the proof of Proposition 3.1:
Proof of Proposition 3.1
First we show that the objective function is well-defined if there exists a feasible trajectory, and \(\Vert u_{c_i}\Vert \le V\). If \((x_i-x_{i-1})^T u_{c_i}\le 0\), unless \(V>\Vert u_{c_i}\Vert \), there does not exists a feasible path. Therefore,
Since \(\Vert u_{c_i}\Vert ^2-V^2<0\), we have \(t_i^*>0\). On the other hand, if \((x_i-x_{i-1})^Tu_{c_i}>0\), we can have two cases: \(V>\Vert u_{c_i}\Vert \), which shares the same conclusion as the first case, and \(V<\Vert u_{c_i}\Vert \). In the latter circumstance, since \(\Vert u_{c_i}\Vert ^2-V^2>0\) and
it is still true that \(t_i^*>0\).
Meanwhile, When \((x_i-x_{i-1})^Tu_{c_i}>0\), \(t_i^*>0\) still holds if \(V=\Vert u_{c_i}\Vert \) and actually
However, if \((x_i-x_{i-1})^Tu_{c_i}\le 0\), \(V=\Vert u_{c_i}\Vert \) becomes a singular point since there is no feasible path. Thus, in this case, we cannot formally solve the problem.
Since \(g^t_i(x_i,x_{i-1})=g^t_i(x_i-x_{i-1})\) and \(g^e_i(x_i,x_{i-1})=g^e_i(x_i-x_{i-1})\), we only need to consider the differentibility of
where
First of all, when equality in (10) holds, we have
We take the plus sign since \(\sqrt{\Vert u_{c_i}\Vert ^2+C}\ge \Vert u_{c_i}\Vert \). Meanwhile from (10) and (22), we can derive the following equation
Therefore, g(a) is continuous. Similar calculations shows that
which gives us the desired result. \(\square \)
Proof of Lemma 4.3
In the case of minimum energy planning, \(L(x,v)=\Vert v\Vert ^2+C\) where \(C\ge 0\) is a constant running cost. To calculate the optimal solution for the vehicle running from \(x_0\) to the target x in a constant flow velocity field, we again study the constant speed straight line motion. However in this circumstance, the vehicle may no longer travel with maximum speed, hence we take the travel time in the region into consideration. Suppose that the the vehicle moves from \(x_0\) to x in time t, we set the vehicle velocity to be
assuming that
Then the value function is
Further we take
Then by direct calculation with the finite part of \(\psi \), we have
The Hamilton-Jacobi equation is in the form of
To solve the optimization part of (27), we denote
and calculate its critical point as
which means that the optimal is
and by (25), we have
which leads to the fact that \(F(v^*)=\sup _{v:\Vert v\Vert \le V}F(v)\). Let us take (25),(26) into (28) and the result is
Combining (24) and (30) finally results in the constructed \(\psi \) being the solution of (27).
Based on the solution \(\psi \), we further find the minimizer over time t and solve the minimization problem as follow:
It is easy to see that the global minimizer of \(\psi \) over t is
and the corresponding minimum is
Thus, if \(t^*\) is reachable, that is, using (23), we have
the optimal is given as (31).
On the other hand, if \(\Vert v(t^*)\Vert >V\), the global minimizer \(t^*\) is on longer in the domain of our problem. In this case, we notice that \(\Vert v\Vert ^2\) is decreasing on the interval
and is increasing on
Also by noticing that \(\lim _{t\rightarrow +\infty }\Vert v\Vert ^2=\Vert u\Vert ^2\le V^2\), we conclude that there exists \(t_0>t^*\) when \(t\ge t_0>t^*\), \(\Vert v\Vert \le V\). Meanwhile, when \(t>t^*\), \(\psi \) is monotone increasing with respect to t. Hence, to get the minimum, we should take the time \(t=t_0\), where \(\Vert v(t_0)\Vert =V\). By taking the equality in (23), we have then
from which we have
and \(\min _{t}\psi =(V^2+C)t_0\). \(\square \)
Proof of Theorem 3.1
Denoting g(w) to be the inverse of f such that if \(w=f(u+v)\) then \(u+v=g(w)\), we will show that
satisfies the HJB equation (20). First of all, the Hessian matrix \(\mathcal {H}(v)\) is positive definite for all \(\Vert v\Vert \le V\) since L is convex. Therefore, for any \(v_1,v_2\) in the domain, there exists \(\xi \) such that
Further if \(\nabla _vL(v_1)=\nabla _vL(v_2)\), then \(\mathcal {H}(\xi )(v_2-v_1)=0\). Because of the positive definite property for \(\mathcal {H}\), we have \(v_2=v_1\), which implies that \(\nabla _vL(v)\) is one-to-one.
Then we do the following calculation on the non-infinity part of \(\psi \)
Since L is convex, we further have the relaxed optimization
is a convex problem and get the condition for the optimal \(v^*\) to be
Combining this with (33), we have
and \(\Vert v^*\Vert \le V\) holds. Thus, \(v^*\) is the maximizer of \(H(x,\nabla \psi )\). Taking (32), (33) and (34), we have
implying that (20) holds. At last notice that
since 0 is in the range of f. We have that
Thus, we have \(t^*>0\) such that given x,
Thus, \(v^*=g((x-x_0)/t^*)-u\) gives us a constant velocity motion. \(\square \)
Rights and permissions
Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Zhai, H., Hou, M., Zhang, F. et al. Method of evolving junction on optimal path planning in flows fields. Auton Robot 46, 929–947 (2022). https://doi.org/10.1007/s10514-022-10058-5
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10514-022-10058-5