Next Article in Journal
Some Relationships for the Generalized Integral Transform on Function Space
Next Article in Special Issue
Possibilities and Advantages of Rational Envelope and Minkowski Pythagorean Hodograph Curves for Circle Skinning
Previous Article in Journal
Improving the Teaching of Hypothesis Testing Using a Divide-and-Conquer Strategy and Content Exposure Control in a Gamified Environment
Previous Article in Special Issue
Neural-Network-Based Curve Fitting Using Totally Positive Rational Bases
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Path Planning Algorithm for a Dynamic Environment Based on Proper Generalized Decomposition

1
ESI International Chair@CEU-UCH, Departamento de Matemáticas, Física y Ciencias Tecnológicas, Universidad Cardenal Herrera-CEU, CEU Universities, San Bartolomé 55, 46115 Alfara del Patriarca, Spain
2
Departamento de Ingeniería Mecánica y Construcción, Universitat Jaume I, Avd. Vicent Sos Baynat s/n, 12071 Castellón, Spain
3
Departamento de Ingeniería Mecánica y de Materiales, Universitat Politècnica de València Camino de Vera, s/n, 46022 Valencia, Spain
*
Author to whom correspondence should be addressed.
Mathematics 2020, 8(12), 2245; https://doi.org/10.3390/math8122245
Submission received: 9 November 2020 / Revised: 3 December 2020 / Accepted: 10 December 2020 / Published: 19 December 2020
(This article belongs to the Special Issue Computer Aided Geometric Design)

Abstract

:
A necessity in the design of a path planning algorithm is to account for the environment. If the movement of the mobile robot is through a dynamic environment, the algorithm needs to include the main constraint: real-time collision avoidance. This kind of problem has been studied by different researchers suggesting different techniques to solve the problem of how to design a trajectory of a mobile robot avoiding collisions with dynamic obstacles. One of these algorithms is the artificial potential field (APF), proposed by O. Khatib in 1986, where a set of an artificial potential field is generated to attract the mobile robot to the goal and to repel the obstacles. This is one of the best options to obtain the trajectory of a mobile robot in real-time (RT). However, the main disadvantage is the presence of deadlocks. The mobile robot can be trapped in one of the local minima. In 1988, J.F. Canny suggested an alternative solution using harmonic functions satisfying the Laplace partial differential equation. When this article appeared, it was nearly impossible to apply this algorithm to RT applications. Years later a novel technique called proper generalized decomposition (PGD) appeared to solve partial differential equations, including parameters, the main appeal being that the solution is obtained once in life, including all the possible parameters. Our previous work, published in 2018, was the first approach to study the possibility of applying the PGD to designing a path planning alternative to the algorithms that nowadays exist. The target of this work is to improve our first approach while including dynamic obstacles as extra parameters.

1. Introduction

One of the most important tasks in the navigation problems of mobile robots is to plan a path free of collisions from an initial to a target position in a dynamic environment. The computational cost of this goal is high; consequently, it is unlikely to be applied in real-time (RT) applications [1].
There are many publications in robotics related to geometric path planning (or the piano mover’s problem). Researchers have divided the investigation of this topic into different problems. It is possible to distinguish sub-classes of the general problem: sampling-based planners, grid-based and interval-based planners, potential-field-based techniques, [2,3], etc.
The artificial potential field technique (APF) ([1,4,5]) is one of the most important algorithms for solving these problems. The APF generates an artificial potential field that guides the trajectory of the robot. The target position originates an attractive force which makes the mobile robot move towards it. The dynamic obstacles generate repulsive forces to avoid them. Consequently, it is possible to obtain a unique trajectory from the start to the goal. Its computation is fast, and for that reason, APF works perfectly in RT applications. However, repulsive fields generally create local minima and the robot may not reach the goal even if a solution exist.
To solve the local minima problem, harmonic functions (proposed in [6]) have been used to generate the potential field [7]. The properties of harmonic functions are very interesting for robot planning, see [8]. The main objective is to avoid the appearance of deadlocks, and as the harmonic functions verify the min-max principle, it is possible, [9]. After that, path planning can be considered achieved when harmonic functions are used including some assumptions. Moreover, the environment where the robot has to be guided has dynamic and static obstacles. For that reason, when the robot is close to the obstacles it is necessary to improve the behavior of the robot. This improvement can be obtained through the principle of superposition that satisfies the solutions to Laplace’s equation. Besides this, the velocity reference of the robot navigation is also needed, and this vector is acquired with the gradient of an harmonic function.
However, there are some disadvantages when path planning is computed through harmonic functions. These functions cannot be computed in closed form. Therefore, solutions can only be obtained using discrete approximations and the computational burden of these methods is really high. As a consequence, their use is not recommended [10]. For instance, the Laplace equation can be solved using standard numerical methods ([8,11]). This methodology is useful when the robot moves in an environment including the start and goal positions and the environment does not change. If the environment changes, it is compulsory to recompute the harmonic function, which is unfeasible for RT robot planning. The only profit of this methodology is when the environment remains static, which is not the standard situation. In spite of this, some techniques have sped up this computation ([12,13]), but the computational burden is still high for RT path planning, with 646s for an environment with 512 × 512 nodes using the EGSOR algorithm in [13].
Therefore, during the last few years researchers have almost discarded these types of functions for RT path planning and have focused on similar approaches. For instance, those developed for underwater robots that account for ocean currents and obstacles by means of the definition of drift fields and the use of grid-based planning strategies ([14,15]). Additionally, the optimal control theory is very popular for path planning in this context, particularly multi-population genetic algorithms or clustering-based algorithms to solve vehicle task assignments [16].
A short time ago, an original technique called proper generalized decomposition (PGD) was developed to give an approximation of the solutions of non-linear convex variational problems [17]. It is a new methodology for solving problems in high-dimensional spaces ([18,19]).
The main advantage of PGD is that the solution of the problem is solved once in life, including all the possible solutions and parameters. It is named computational vademecum. PGD opens the possibility of solving problems with a new strategy not possible in the past.
It is possible to see in [11] how important is to have the trajectory precomputed when the obstacles and the goal are fixed. PGD offers the option of obtaining the streamline maps for all the possible solutions combining start/goal positions. This was not possible in the 90s, as the algorithm to solve partial differential equations (PDE) parametrically did not yet exist and researchers had discarded this technique.
Our previous work, references [20,21] developed a PGD-based computational vademecum (PGD-vademecum) or abacus to solve the Laplace equation, allowing the use of the potential flow theory in RT applications when the robot is guided in a static environment [22]. In this paper, the formulation of the PGD-vademecum for dynamic environments with dynamic obstacles is derived, the progressive PGD-vademecum, where the obstacles are considered in the representation as extra parameters. This is modeled as a matrix modifying the properties of the initial domain, and in the context of the potential flow theory, the porosity of the medium.
This work has been organized in different sections: In Section 2, we introduce a PGD-based computational vademecum for robot path planning in a dynamic environment. Later, Section 3 explains the progressive construction of a variational vademecum. In Section 4 we provide a numerical example. Finally, Section 5 draws conclusions and future works.

2. A Variational Vademecum for a Dynamic Obstacle Robotic Problem

Now the variational vademecum is introduced using the potential flow theory in robotics to explain the definition along with a real-life application.

2.1. Potential Flow Theory for a Dynamic Obstacle Robotic Problem

Path planning for a dynamic robotic problem based on the potential flow theory has been applied in the literature during the last few years, see [11,17,23,24,25]. In these articles, the problem is based on the Laplace equation. To begin with, it is necessary to describe the algorithm that describes the flow of an inviscid incompressible fluid. Let us assume a uniform condition irrational flow in a Eulerian configuration, the velocity vector υ , satisfies
× υ = 0 ,
and hence the velocity can be characterized as the gradient of a scalar potential function, i.e., υ = X ̲ u . As a consequence, the function u appears as a solution of the equation:
Δ u = 0 .
By using a 2.5D mould filling model similar to [23], represented by a two dimensional domain denoted by Ω X ̲ , a Dirac function δ S (respectively, δ T ) is introduced in the right side of the Equation (2). This δ S means the fluid source (respectively, sink). We can also introduce a matrix term A modelling the porosity of the medium as follows. We assume a unit amount of fluid injected at point S ̲ Ω X ̲ during a unit of time and the same unit withdrawn at the point T ̲ Ω X ̲ . The velocity of the fluid is now the solution of the D’Arcy like equation, which includes the source term f = δ S ̲ δ S ̲ and the porosity of the medium represented by matrix A as follows:
A · X ̲ u = δ S δ T .
Equation (3) needs to be modified introducing boundary conditions. The condition υ · n ( n being a vector normal to the boundary Γ ) represents that the fluid will not be able to flow across the boundaries. In particular, the resolution of Equation (3), when A is the identity matrix and under the above conditions, is a field of vectors joining the Start point S ̲ (source) to the Target point S ̲ (sink) without deadlocks [25].
In practice, we can implemented (3) as follows. Consider that the source term f is non-uniform, that is, f = g S 1 Ω X ̲ g T 1 Ω X ̲ where the function 1 Ω X ̲ ( x , y ) = 1 when X ̲ = ( x , y ) Ω X ̲ and zero otherwise. The functions g S : Ω X ̲ × Ω P ̲ R and g T : Ω X ̲ R are two-dimensional Gaussian density distributions centered in S ̲ = ( s 1 , s 2 ) and T ̲ = ( t 1 , t 2 ) , respectively, and they both have equal variance that is given by a diagonal matrix Σ = diag ( r , r ) for some r > 0 . We can write, more precisely, g S = g S ( ( x , y ) ; S ̲ , r ) = ( 2 π r ) 1 e 1 2 r ( ( x s 1 ) 2 + ( y s 2 ) 2 ) , g T = g T ( ( x , y ) ; T ̲ , r ) = ( 2 π r ) 1 e 1 2 r ( ( x t 1 ) 2 + ( y t 2 ) 2 ) and hence Ω X ̲ = Ω x ̲ × Ω y ̲ , Ω P ̲ = Ω s ̲ × Ω r ̲ and Ω T ̲ = Ω t ̲ × Ω r ̲ , Ω X ̲ = Ω s ̲ = Ω t ̲ R 2 and Ω r ̲ ( 0 , ) here. Then, the Equation (3) is now
A ( X ̲ ) · X ̲ u ( X ̲ ) = f ( X ̲ ; S ̲ , T ̲ , r )
where f : = g S g T and the solution is in the form
u = u ( ( x , y ) ; ( s 1 , s 2 ) , ( t 1 , t 2 ) , r ) .

2.2. Introducing the Variational Vademecum

The Hilbert space H 0 1 ( Ω X ̲ ) is the closure of C c ( Ω X ̲ ) (functions in C ( Ω X ̲ ) with compact support in Ω X ̲ ) in H 1 ( Ω X ̲ ) with respect to the norm in H 1 ( Ω X ̲ ) . Thus, the space H 0 1 ( Ω X ̲ ) is characterized with this norm
u H 1 ( Ω X ̲ ) : = x u L 2 ( Ω X ̲ ) 2 + y u L 2 ( Ω X ̲ ) 2 1 / 2
which is equivalent to the classical norm on H 1 ( Ω X ̲ ) .
From now on, we will assume that that the common variance r takes a fixed value and the parameter P ̲ = ( S , T , U 1 , , U d ) Ω P ̲ R 4 + 2 d includes the starting point S ̲ (source) and the target point S ̲ (sink), and also other points of Ω X ̲ , denoted by U 1 , , U d , for which the matrix A = A ( X ̲ , P ̲ ) satisfies that A ξ is close to zero for all ξ in a small neighborhood of each U i for 1 i d . The classical variational formulation for (4) along with u | Ω X ̲ = 0 is: For each fixed parameters values P ̲ and r find u H 0 1 ( Ω X ̲ ) such that
Ω X ̲ A X ̲ u · X ̲ v = Ω X ̲ f v
holds for all v H 0 1 ( Ω X ̲ ) . Here X ̲ denotes the gradient in the coordinates X ̲ = ( x , y ) . The variational vademecum is then the solution of (4) and the solution u ( X ̲ ; P ̲ ) contains all the possible configurations of a dynamic obstacle robotic problem taking the variables ( X ̲ ; P ̲ ) Ω X ̲ × Ω P ̲ R 6 + 2 d . In this case, u gives us the set of variational solutions of (4) for all the possible parameter values P ̲ Ω P ̲ . We remark that solving once (5) we solve variationally (4) for all the possible parameter values P ̲ Ω P ̲ .
To search the vademecum u we use a closed subspace of the tensor Hilbert space L 2 ( Ω X ̲ × Ω P ̲ ) constructed as follows. Let the algebraic tensor product space be
H 0 1 ( Ω X ̲ ) a L 2 ( Ω P ̲ ) = span { u 1 ( X ̲ ) u 2 ( P ̲ ) : u 1 ( X ̲ ) H 0 1 ( Ω X ̲ ) , u 2 ( P ̲ ) L 2 ( Ω P ̲ ) }
endowed with the norm
u ( X ̲ ; P ̲ ) ( 1 , 0 ) 2 : = Ω X ̲ × Ω P ̲ ( ( x u ( X ̲ ; P ̲ ) ) 2 + ( y u ( X ̲ ; P ̲ ) ) 2 ) d Ω X ̲ d Ω P ̲ = x u ( X ̲ ; P ̲ ) L 2 ( Ω X ̲ × Ω P ̲ ) 2 + y u ( X ̲ ; P ̲ ) L 2 ( Ω X ̲ × Ω P ̲ ) 2 .
The norm · ( 1 , 0 ) is indeed a cross-norm because
u 1 ( X ̲ ) u 2 ( P ̲ ) ( 1 , 0 ) = u 1 ( X ̲ ) H 0 1 ( Ω X ̲ ) u 2 ( P ̲ ) L 2 ( Ω P ̲ )
holds for all u 1 H 0 1 ( Ω X ̲ ) and u 2 L 2 ( Ω P ̲ ) . By taking its completion over this norm, the Hilbert tensor space is obtained as follows:
H 0 : = H 0 1 ( Ω X ̲ ) a L 2 ( Ω P ̲ ) ¯ · ( 1 , 0 ) L 2 ( Ω X ̲ × Ω P ̲ ) .
The inner product · , · ( 1 , 0 ) is given by
u , v ( 1 , 0 ) = Ω X ̲ × Ω P ̲ ( x u x v ) + y u y v ) d Ω X ̲ d Ω P ̲ .
In particular, we obtain for the so-called rank-one tensors
u 1 ( X ̲ ) u 2 ( P ̲ ) ) , v 1 ( X ̲ ) v 2 ( P ̲ ) ) ( 1 , 0 ) = u 1 ( X ̲ ) , v 1 ( X ̲ ) H 1 ( Ω X ̲ ) u 2 ( P ̲ ) , v 2 ( P ̲ ) L 2 ( Ω P ̲ ) .
where X ̲ denotes the gradient in the coordinates X ̲ = ( x , y ) . We can observe that u ( X ̲ ; P ̲ ) = 0 for X ̲ Ω X ̲ are satisfied for all u H 0 and that for each fixed P ̲ ( 0 ) Ω P ̲ , the set
F P ̲ ( 0 ) : = { u H 0 : u = u ( X ̲ ; P ̲ ( 0 ) ) }
is a closed subspace of H 0 linearly isomorphic to H 0 1 ( Ω X ̲ ) .
It has been introduced in [26] (see also [17,23])using the mathematical analysis of a progressive PGD to solve (5) in the tensor Hilbert space H 0 1 ( Ω X ̲ ) for a fixed P ̲ Ω P ̲ . In the next sections we will develop a constructive approach to obtain a progressive variational vademecum.

3. A Progressive Construction of a Variational Vademecum

Let us consider Ω X ̲ R 2 and Ω P ̲ R 2 k where both are open and bounded domains and k 1 represents the number of parameters of our model. Let us introduce the variables X ̲ = ( x , y ) . The aim of the paper is: given f ( X ̲ ; P ̲ ) L 2 ( Ω X ̲ × Ω P ̲ ) , defined step by step using Greedy Rank-One Algorithm, a variational answer of the problem with parameters.
X ̲ A ( X ̲ , P ̲ ) X ̲ u ( X ̲ , P ̲ ) = f ( X ̲ ; P ̲ )
for ( X ̲ ; P ̲ ) Ω X ̲ × Ω P ̲ together with the homogeneous boundary condition
u ( X ̲ ; P ̲ ) = 0 for all ( X ̲ ; P ̲ ) Ω X ̲ × Ω P ̲ .
We assume that A ( X ̲ , P ̲ ) = ( a i , j ( X ̲ , P ̲ ) ) R 2 × 2 is an uniformly coercive matrix, that is, for all ( X ̲ ; P ̲ ) Ω X ̲ × Ω P ̲ there exists a constant α > 0 such that it holds
A ( X ̲ , P ̲ ) ξ · ξ α ξ 2 for all ξ R 2 .
Since f ( X ̲ ; P ̲ ( 0 ) ) L 2 ( Ω X ̲ ) for each fixed P ̲ ( 0 ) Ω P ̲ classical results give us, for each fixed P ̲ ( 0 ) Ω P ̲ , the existence and uniqueness of a weak solution for the PDE:
X ̲ A ( X ̲ , P ̲ ( 0 ) ) X ̲ u ( X ̲ , P ̲ ( 0 ) ) = f ( X ̲ ; P ̲ ( 0 ) )
for X ̲ Ω X ̲ together with the homogeneous boundary condition
u ( X ̲ ; P ̲ ( 0 ) ) = 0 for all X ̲ Ω X ̲ .
Thus, we have a map u ( X ̲ ; P ̲ ) L 2 ( Ω X ̲ ) that solves (6) and (7) for all P ̲ Ω P ̲ . The idea of the abacus introduced in [18] is to propose iteratively a global solution of the parametrized PDE (6) and (7) following the ideas that we will explain below.
Now, our main goal is to construct iteratively the weak solution of (6) and (7) denoted by u ( X ̲ ; P ̲ ) . Next the set of tensors of bounded rank one is introduced:
M 1 ( H 0 1 ( Ω X ̲ ) a L 2 ( Ω P ̲ ) ) ) : = { u 1 ( X ̲ ) u 2 ( P ̲ ) : u 1 ( X ̲ ) H 0 1 ( Ω X ̲ ) , u 2 ( P ̲ ) L 2 ( Ω P ̲ ) }
The main properties of M 1 ( H 0 1 ( Ω X ̲ ) a L 2 ( Ω P ̲ ) ) are given in the next lemma.
Lemma 1.
The set M 1 ( H 0 1 ( Ω X ̲ ) a L 2 ( Ω P ̲ ) ) H 0 satisfies the following properties
(a) 
span M 1 ( H 0 1 ( Ω X ̲ ) a L 2 ( Ω P ̲ ) ) is dense in H 0 .
(b) 
It is a cone, that is, if u M 1 ( H 0 1 ( Ω X ̲ ) a L 2 ( Ω P ̲ ) ) then λ u M 1 ( H 0 1 ( Ω X ̲ ) a L 2 ( Ω P ̲ ) ) for all λ R .
(c) 
It is a weakly closed set in H 0 .
Proof. 
The proofs of (a) and (b) are straightforward. Additionally, (c) follows Proposition 4.3 in [27] because the norm · ( 1 , 0 ) is a cross-norm. □
Now, we consider the functional
J : H 0 R
given by
J ( u ) = 1 2 A X ̲ u , X ̲ u L 2 ( Ω X ̲ × Ω P ̲ ) f , u L 2 ( Ω X ̲ × Ω P ̲ )
The following assumptions (A1)–(A3) on the functional are satisfied (see [28]).
(A1)
J is Fréchet differentiable, with Fréchet differential J : H 0 H 0 ;
(A2)
J is elliptic;
(A3)
J : H 0 H 0 is Lipschitz continuous on bounded sets.
Thanks to the Lemma 1 and that the functional J satisfies (A1)–(A2), the following definition can be obtained.
Definition 1
([20], Progressive Variational Vademecum). Since J : H 0 R satisfies (A1)–(A2) let u H 0 be such that
J ( u ) = min υ H 0 J ( υ ) .
A progressive variational vademecum is defined { u m } m 1 using tensors of rank-one M 1 ( H 0 1 ( Ω X ̲ ) a L 2 ( Ω P ̲ ) ) ) of u , as follows. Given u 0 = 0 and for m 1 , u m H 0 from u m 1 H 0 is set up in the following equations. As J verifies (A3) and from Lemma 1 we can find an element
z ^ m M 1 ( H 0 1 ( Ω X ̲ ) a L 2 ( Ω P ̲ ) ) ) H 0
such that
J ( u m 1 + z ^ m ) = min z M 1 ( H 0 1 ( Ω X ̲ ) a L 2 ( Ω P ̲ ) ) ) J ( u m 1 + z ) ( ) .
Next, before updating m to m + 1 , define u m = u m 1 + z ^ m , update m to m + 1 and go to ( ) .
This definition and the next theorem were introduced in [20].
The important factor in the previous procedure is the minimization problem ( ) because for each m J ( u m 1 + · ) is considered a map
J ( u m 1 + · ) : M 1 ( H 0 1 ( Ω X ̲ ) a L 2 ( Ω P ̲ ) ) ) R , z J ( u m 1 + · ) ( z ) : = J ( u m 1 + z ) ,
where
J ( u m 1 + z ) = 1 2 A X ̲ ( u m 1 + z ) , X ̲ ( u m 1 + z ) L 2 ( Ω X ̲ × Ω P ̲ ) f , z L 2 ( Ω X ̲ × Ω P ̲ ) f , u m 1 L 2 ( Ω X ̲ × Ω P ̲ ) .
After each step in the definition of a progressive variational vademecum { u m } m 1 over the set of tensors of bounded rank-one M 1 ( H 0 1 ( Ω X ̲ ) a L 2 ( Ω P ̲ ) ) ) of u , a rank-one function is achieved
z m ( X ̲ ; P ̲ ) = u 1 ( m ) ( X ̲ ) u 2 ( m ) ( P ̲ ) .
If z ^ m = 0 then from Lemma 5 in [17] it follows that u m = u m 1 = u satisfies (10). In consequence,
u ( X ̲ ; P ̲ ) = n = 1 m 1 u 1 ( n ) ( X ̲ ) u 2 ( n ) ( P ̲ ) .
Otherwise, if z ^ m 0 we write
u m ( X ̲ ; P ̲ ) = n = 1 m u 1 ( n ) ( X ̲ ) u 2 ( n ) ( P ̲ ) H 0 ,
and continue. From Theorem 5 in [17] the next result follows.
Theorem 1
([20]). Let u H 0 satisfy (10). Consider a progressive variational vademecum { u m } m 1 over M 1 ( H 0 1 ( Ω X ̲ ) a L 2 ( Ω P ̲ ) ) ) of u . Then { u m } m 1 , converges in H 0 to u , that is,
lim m u u m ( 1 , 0 ) = 0 .
The progressive variational vademecum is computed following this approach:
  • Consider two finite dimensional subspaces V 1 H 0 1 ( Ω X ̲ ) and V 2 L 2 ( Ω P ̲ ) .
  • Assume that for each m 1 the approximation u m ( X ̲ ; P ̲ ) = n = 1 m v 1 ( n ) ( X ̲ ) v 2 ( n ) ( P ̲ ) H 0 is known.
  • Choose the function v 1 ( 0 ) V 2 , randomly and let U 2 ( m + 1 ) V 2 be a linear subspace such that V 2 = span { v 2 ( 0 ) } U 2 ( m + 1 ) . Find v 2 V 2 be such that
    J ( u m + v 1 ( 0 ) v 2 ) = min v 2 V 2 J ( u m + v 1 ( 0 ) v 2 )
  • Let U 1 ( m + 1 ) V 1 be a linear subspace such that V 1 = U 1 ( m + 1 ) span { v 2 } . Find v 1 V 2 be such that
    J ( u m + v 1 v 2 ) = min v 1 V 1 J ( u m + v 1 v 2 )
  • Repeat steps 3 and 4 just until J ( u m + v 1 v 2 ) is stabilized. Take u m + 1 = v 1 v 2
  • If | J ( u m ) J ( u m + 1 ) | < tol then return u m + 1 . Otherwise put m + 2 and go to step 2.

4. Navigation Example

Harmonic functions describe flow dynamics by means of the Laplace equation, where the potential field is free of local minima and produces a set of streamlines ([7,8,11,12,13]). These streamlines are time-independent and describe the movement of a massless fluid element traveling from a start to a target position, following the velocity field derived from the potential field gradient as in (11).
v x = d u d x , v y = d u d y
The streamlines generated by the velocity field can be easily computed using any interpolation technique (linear, cubic, spline, etc). Through the streamlines’ reconstruction, it is possible to calculate the optimal path to be followed by a robot using any optimization technique that selects the optimal streamline meeting a specific criterion (shortest path, smooth path, etc). For instance, in order to guarantee a continuous path planning, the robot can select the streamline aligned with its orientation. Therefore, the final robot orientation will be the one associated with the selected streamline. In addition, the robot orientation can be modified and a different streamline can be selected.
In some practical situations an obstacle could be seen as a region of the space towards which the robot must not to go. Mathematically this can also be obtained by modifying the properties of the initial domain Ω X ̲ , i.e., defining the flux as A ( X ̲ , P ̲ ) X ̲ u ( X ̲ ) . Higher values of A ( X ̲ , P ̲ ) will imply attraction of the robot while smaller values of A ( X ̲ , P ̲ ) will provoke a repulsion to the robot. In Figure 1 the black holes represent sources introduced using a parametrized matrix A (in particular the parameters are given by the position of the hole’s center and its diameter) and the streamlines resulting from a linear interpolation of the PGD reconstruction are depicted as blue lines.
Using this formulation, a different set of obstacles can be modeled by a different definition of function A. Without losing generality, let us assume that all possible obstacle configurations can be modeled by a single parameter P ̲ Ω P ̲ (one can always add more parameters to define more complex obstacles since the PGD permits to solve high dimensional problems easily). Therefore the function A X ̲ , P ̲ models all possible obstacle configurations. Then, the use of the progressive PGD technology, described in the above section produces a potential field for our dynamic obstacle robotic problem. The computed solution represents the potential field for any position of the space and for any position of the obstacle. Thus, the new path planning will only require to post process this solution when the obstacle configuration changes.
In order to show the proposed technique, a numerical example is shown. A two dimensional environment is discretized in 50 × 50 nodes. Figure 1 shows some situations obtained by simulation and where the progressive PGD vademecum is used in order to consider a dynamic environment where a dynamic obstacle is represented by a black circle.
Due to the use of harmonic functions, it is assured that the robot always finds the target configuration, thus the solution is deterministic. Specific details related to the off-line stage about the convergence, complexity, computational time, etc., can be found in the authors’ previous work [29], where numerical examples are provided that describe the relationship between the PGD (or greedy rank-one update algorithm) and the finite-element method used for solving high-dimensional PDEs based on the tensor product of one-dimensional base.
The computational cost of the on-line stage is negligible. The recalculation of a new trajectory after the obstacle movement only needs two steps:
  • Evaluate the abacus at the point i defined by the current configuration given by the parameters P ̲ i . This evaluation will give the solution of the Laplace’s equation for any position X ̲ of the domain and for the current set of parameters: u ( X ̲ ; P ̲ i ) .
  • Evaluate the gradient of the solution ( X ̲ ; P ̲ i ) in order to define the streamline.
The evaluation of the solution (PGD reconstruction) is carried out at every time cycle within a region of interest (ROI). A ROI is a portion of the path composed by the surrounding nodes of the robot position that provides enough information to compute the velocity and the robot orientation in the next time step. Once the robot moves, the new robot position is obtained with the current robot and obstacles position by means of the reconstruction of the potential field in the ROI.
The proposed algorithm can deal with several obstacles since, as mentioned before, each obstacle is defined by a set of parameters. So the addition of more obstacles can be performed by adding more parameters. Note that the easiest case is an obstacle with circular shape. However more complex, even parametric geometries of the holes can be considered just by adding more parameters. This would increase the dimensionality of the problem—i.e., each parameter represents an additional dimension—but the proposed solver can easily deal with high dimensional problems. Of course, the increase of the number of dimensions will increase the computational cost for calculating the abacus or vademecum, but the abacus is calculated offline, thereby not affecting the online path planning. In any case, the computational cost of the PGD increases linearly with the number of parameters [18].
The proposed method shares the benefits of the harmonic functions for this type of problems, thus finding trajectories even with convex obstacles. Remember that the proposed methodology solves the Laplace problem for all possible obstacles configurations at once, so keeping the same properties of the initial problem.

5. Conclusions

A basic issue in mobile robots is to design the movement of the robot to avoid all the obstacles from an initial to a target position. This geometric problem is computationally hard because it is necessary to take into account the different positions of the dynamic obstacles and the possibilities of start and goals positions. There are different algorithms to solve this problem. However, some of them have disadvantages. For that reason, we introduce the technique of the progressive PGD in the mobile robotics task to improve the problems that appears with the use of other algorithms. In our previous work we consider a static environment and in this work we have obtained all the possible paths for a mobile robot introducing a dynamic obstacle in the environment. We called as PGD-vademecum because we can consider any position for start and goal points and any position for the dynamic obstacle. The big advantage is that this set of solutions are computed offline and later they will be used online; for that reason to apply a progressive PGD is very fast in real time applications.

Author Contributions

Investigation, writing and revision: A.F., L.H., N.M., M.C.M. and E.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the GVA/2019/124 grant from Generalitat Valenciana and by the RTI2018-093521-B-C32 grant from the Ministerio de Ciencia, Innovación y Universidades.

Conflicts of Interest

The authors declare no conflict of interest.The funders had no role in the design of the study; in the collection, analyses or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. Reif, J.H. Complexity of the Mover’s Problem and Generalizations. In Proceedings of the IEEE ymposium on Foundations of Computer Science, San Juan, PR, USA, 29–31 October 1976; pp. 421–427. [Google Scholar]
  2. González, D.; Pérez, J.; Milanés, V.; Nashashibi, F. A Review of Motion Planning Techniques for Automated Vehicles. IEEE Trans. Ntelligent Transp. Syst. 2016, 17, 1135–1145. [Google Scholar] [CrossRef]
  3. Kavraki, L.E.; LaValle, S. Chapter 5. Motion Planning; Khatib, S., Ed.; Handbook of Robotics; Springer: Berlin/Heidelberg, Germany, 2008. [Google Scholar]
  4. Rimon, E.; Koditschek, D. Exact robot navigation using artificial potential functions. IEEE Trans. Robot. Autom. 1992, 8, 501–518. [Google Scholar] [CrossRef] [Green Version]
  5. Khatib, O. Real-time obstacle avoidance for manipulators and mobile robots. Int. J. Robot Res. 1986, 5, 90–98. [Google Scholar] [CrossRef]
  6. Zhachmanoglou, E.; Thoe, D.W. Introduction to Partial Differential Equations with Applications; Dover Publications, Inc.: New York, NY, USA, 1986. [Google Scholar]
  7. Kim, J.; Khosla, P. Real-time obstacle avoidance using harmonic potencial functions. IEEE Trans. Robot. Autom. 1992, 8, 338–349. [Google Scholar] [CrossRef] [Green Version]
  8. Connolly, C.I.; Grupen, R. The Application of Harmonic functions to Robotics. J. Robot. Syst. 1993, 10, 931–946. [Google Scholar] [CrossRef] [Green Version]
  9. Canny, J.F. The Complexity of Robot Motion Planning; MIT Press: Cambridge, UK, 1988. [Google Scholar]
  10. Garrido, S.; Moreno, L.; Blanco, D.; Martín, M.F. Robotic Motion Using Harmonic Functions and Finite Elements. J. Intell. Robot Syst. 2010, 59, 57–73. [Google Scholar] [CrossRef] [Green Version]
  11. Connolly, C.I.; Burns, J.B.; Weiss, R. Path planning using Laplace’s equation. In Proceedings of the IEEE International Conference on Robotics and Automation, Cincinnati, OH, USA, 13–18 May 1990; pp. 2102–2106. [Google Scholar]
  12. Saudi, A.; Sulaiman, J. Path Planing for mobile robots using 4EGSOR via Nine-Point Laplacian (4EGSOR9L) Iterative method. Int. J. Comput. Appl. 2012, 53, 38–42. [Google Scholar]
  13. Saudi, A.; Sulaiman, J.; Ahmad, H.M.H. Robot Path Planing with EGSOR Iterative Method using Laplacian Behaviour-Based Control (LBBC). In Proceedings of the 5th International Conference on Intelligent Systems, Modelling and Simulation, Langkawi, Malaysia, 27–29 January 2014; pp. 87–91. [Google Scholar]
  14. Yan, W.; Bai, X.; Peng, X.; Zuo, L.; Dai, J. The routing problem of autonomous underwater vehicles in ocean currents. In Proceedings of the MTS/IEEE Conference OCEANS’14, Taipei, Taiwan, 7–10 April 2014; pp. 1–6. [Google Scholar]
  15. Bai, X.; Yan, W.; Cao, M.; Xue, D. Distributed multi-vehicle task assignment in a time-invariant drift field with obstacles. IET Control Theory Appl. 2019, 13, 2886–2893. [Google Scholar] [CrossRef]
  16. Bai, X.; Yan, W.; Ge, S.S.; Cao, M. An integrated multi-population genetic algorithm for multi-vehicle task assignment in a drift field. Inf. Sci. 2018, 453, 227–238. [Google Scholar] [CrossRef]
  17. Falcó, A.; Nouy, A. Proper Generalized Decomposition for Nonlinear Convex Problems in Tensor Banach Spaces. Numer. Math. 2012, 121, 503–530. [Google Scholar] [CrossRef] [Green Version]
  18. Chinesta, F.; Leygue, A.; Bordeu, F.; Aguado, J.V.; Cueto, E.; Gonzalez, D.; Alfaro, I.; Ammar, A.; Huerta, A. PGD-Based computational vademecum for efficient Design, Optimization and Control. Arch. Comput. Methods Eng. 2013, 20, 31–49. [Google Scholar] [CrossRef]
  19. Chinesta, F.; Keunings, R.; Leygue, A. The Proper Generalized Decomposition for Advanced Numerical Simulations. A Primer; Springer Briefs in Applied Science and Technology; Springer: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
  20. Falcó, A.; Montés, N.; Chinesta, F.; Hilario, L.; Mora, M.C. On the Existence of a Progressive Variational Vademecum based on the Proper Generalized Decomposition for a Class of Elliptic Parameterized Problems. J. Comput. Appl. Math. 2018, 330, 1093–1107. [Google Scholar] [CrossRef]
  21. Montés, N.; Chinesta, F.; Falcó, A.; Mora, M.C.; Hilario, L.; Rosillo, N. PGD-based Method for mobile robot applications. In Proceedings of the Congress on Numerical Methods in Engineering CMN2017, Valencia, Spain, 3–5 July 2017. [Google Scholar]
  22. Montés, N.; Chinesta, F.; Falcó, A.; Mora, M.C.; Hilario, L.; Nadal, E.; Duval, J.L. A PGD- based Method for Robot Global Path Planning: A Primer. In Proceedings of the 16th International Conference on Informatics in Control, Automation and Robotics (ICINCO 2019), Prague, Czech Republic, 29–31 July 2019; pp. 31–39. [Google Scholar]
  23. Domenech, L.; Falcó, A.; García, V.; Sánchez, F. Towards a 2.5D geometric model in mold filling simulation. J. Comput. Appl. Math. 2016, 291, 183–196. [Google Scholar] [CrossRef]
  24. Falcó, A.; Nouy, A. A Proper Generalized Decomposition for the solution of elliptic problems in abstract form by using a functional Eckart-Young approach. J. Math. Anal. Appl. 2011, 376, 469–480. [Google Scholar] [CrossRef] [Green Version]
  25. Gingras, D.; Dupuis, E.; Payre, G.; Lafontaine, J. Path Planning Based on Fluid mechanics for mobile robots used Unstructured Terrain models. In Proceedings of the IEEE International Conference on Robotics and Automation, Anchorage, AK, USA, 3–8 May 2010. [Google Scholar]
  26. Cancès, E.; Ehrlacher, V.; Lelièvre, T. Convergence of a greedy algorithm for high-dimensional convex nonlinear problems, Mathematical Models and Methods. Appl. Sci. 2011, 21, 2433–2467. [Google Scholar]
  27. Falcó, A.; Hackbusch, W. On minimal subspaces in tensor representations. Found. Comput. Math. 2012, 12, 765–803. [Google Scholar] [CrossRef] [Green Version]
  28. Canuto, C.; Urban, K. Adaptive optimization of convex functionals in banach spaces. SIAM J. Numer. Anal. 2005, 42, 2043–2075. [Google Scholar] [CrossRef]
  29. Ammar, A.; Chinesta, F.; Falcó, A. On the convergence of a Greedy Rank-One Update Algorithm for a class of Linear Systems. Arch. Comput. Methods Eng. 2010, 17, 473–486. [Google Scholar] [CrossRef]
Figure 1. PGD reconstruction to obtain the set of path planning trajectories in a dynamic environment where the black hole represents a dynamic obstacle.
Figure 1. PGD reconstruction to obtain the set of path planning trajectories in a dynamic environment where the black hole represents a dynamic obstacle.
Mathematics 08 02245 g001
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Falcó, A.; Hilario, L.; Montés, N.; Mora, M.C.; Nadal, E. A Path Planning Algorithm for a Dynamic Environment Based on Proper Generalized Decomposition. Mathematics 2020, 8, 2245. https://doi.org/10.3390/math8122245

AMA Style

Falcó A, Hilario L, Montés N, Mora MC, Nadal E. A Path Planning Algorithm for a Dynamic Environment Based on Proper Generalized Decomposition. Mathematics. 2020; 8(12):2245. https://doi.org/10.3390/math8122245

Chicago/Turabian Style

Falcó, Antonio, Lucía Hilario, Nicolás Montés, Marta C. Mora, and Enrique Nadal. 2020. "A Path Planning Algorithm for a Dynamic Environment Based on Proper Generalized Decomposition" Mathematics 8, no. 12: 2245. https://doi.org/10.3390/math8122245

APA Style

Falcó, A., Hilario, L., Montés, N., Mora, M. C., & Nadal, E. (2020). A Path Planning Algorithm for a Dynamic Environment Based on Proper Generalized Decomposition. Mathematics, 8(12), 2245. https://doi.org/10.3390/math8122245

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