Professional Documents
Culture Documents
A Collision-Free G Continuous Path-Smoothing Algorithm Using Quadratic Polynomial Interpolation
A Collision-Free G Continuous Path-Smoothing Algorithm Using Quadratic Polynomial Interpolation
A Collision-Free G Continuous Path-Smoothing Algorithm Using Quadratic Polynomial Interpolation
net/publication/269785358
CITATIONS READS
15 167
2 authors:
Some of the authors of this publication are also working on these related projects:
Algorithm for the curvature constrained continuous path based in waypoints View project
All content following this page was uploaded by Seong-Ryong Chang on 07 July 2015.
A Collision-Free G 2 Continuous
Path-Smoothing Algorithm Using
Quadratic Polynomial Interpolation
Regular Paper
DOI: 10.5772/59463
© 2014 The Author(s). Licensee InTech. This is an open access article distributed under the terms of the Creative Commons Attribution License
(http://creativecommons.org/licenses/by/3.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the
original work is properly cited.
Abstract 1. Introduction
Most path-planning algorithms are used to obtain a The goals of path planning are to avoid obstacles and to
collision-free path without considering continuity. On the find a path. The Probabilistic Roadmaps (PRM) [1] and the
other hand, a continuous path is needed for stable
Rapidly exploring Random Trees (RRT) [2] algorithms are
movement. In this paper, the searched path was convert‐
widely used in sample-based planning algorithms. These
ed into a G 2 continuous path using the modified quadrat‐
algorithms generate points and a collision-free linear
ic polynomial and membership function interpolation
piecewise path. The points are regarded as the waypoints
algorithm. It is simple, unique and provides a good
of the mobile robot’s movements. In addition, the collision-
geometric interpretation. In addition, a collision-check‐
free linear piecewise path is considered as a collision-free
ing and improvement algorithm is proposed. The
collision-checking algorithm can check the collisions of a G 0 continuous path because this path consists only of
smoothed path. If collisions are detected, the collision straight lines. On the other hand, a high continuous path
improvement algorithm modifies the collision path to a requires curves.
collision-free path. The collision improvement algorithm
The G 2 continuous path means a continuous velocity and a
uses a geometric method. This method uses the perpendic‐
continuous acceleration of the robot’s movements. If the
ular line between a collision position and the collision
velocity and acceleration are not continuous, slippage and
piecewise linear path. The sub-waypoint is added, and the
over-actuation can occur, which can affect the robot
QPMI algorithm is applied again. As a result, the collision-
smoothed path is converted into a collision-free smooth movements in a real environment. Moreover, if a planned
path without changing the continuity. path has a vertex, the robot cannot follow the path while
maintaining the velocity at the vertex. Therefore, the low
Keywords Continuous path, Function approximation, continuous path cannot be an optimal path as regards time
Interpolation, Path planning, Path smoothing, Robot and dynamics. As a result, the path must consist of curves.
motion, Smoothing algorithm, Smooth path, Vehicle
navigation The continuity is defined in the geometry [3]. A G 0
continuous path is simply connected for all sections.
Figure 4. If the smoothed path is close to the searched linear piecewise path,
the probability of collision decreases
Figure 2. Liner piecewise path using the searching algorithm (line) with the 4. If the smoothed path has a collision, the collision is
smooth path contacting each waypoint (dotted line) detectable and can be improved.
In Figure 2, the dotted path visits every waypoint. This path 5. Simple calculations and unique solution.
is closer to the linear piecewise path than the B-spline- 6. Simple geometry interpretation.
planned path (Figure 1). Therefore, the smooth path, by
Items 1. and 2. mark the differences between other studies
visiting every waypoint, is closer to the collision-free path.
(e.g., B-splines and Bézier curves) and the proposed
If the paths in Figures 1 and 2 are placed on narrow method. Item 3. is the necessary condition of the path-
passages, the path of Figure 1 can occur as the collision path smoothing algorithm. Item 4. marks the main issue of this
as follows: paper. This paper proposes a collision detection and
improvement algorithm. Items 5. and 6. are important for
implementing the proposed algorithm for a real system.
3.1 Unique real number solution of the QPMI algorithm un -12 ∙ (un - un +1) + un +12 ∙ (un -1 - un ) + un 2 ∙ (un +1 - un -1) ≠ 0 (10)
u1 = 0 un -1 = un = un +1 = 0 (13)
m (3)
un = ∑ ( xn - xn -1)2 + ( yn - yn -1)2 On the other hand, in equation (6), un -1, un and un +1 are not
n =2
equal. Therefore, equation (10) cannot be zero. In addition,
The parameter n is the visiting order of the waypoints. equation (13) is not satisfied because un is not zero. There‐
Equations (1) and (2) can be obtained using equations (4) fore, the determinant value is not zero in any case. As a
and (5): result, Lemma 1 is proven. ■
( )( )( )
axn -1 3.2 Continuity of the QPMI algorithm
un -12 un -1 1 -1
xn (un -1)
bxn = un 2 un 1 ∙ xn (un ) (4) The continuity of the path from the QPMI algorithm is
cxn +1 2 un +1 1 xn (un +1) determined by the continuity of each axis. The QPMI
un +1
algorithm uses the parametric method. This method
( )( )( )
separates each axis using the parameter u . To check the
ayn -1 un -12 un -1 1 -1
yn (un -1) continuity of the planned path, the differential values of
byn = un 2 un 1 ∙ yn (un ) (5) x (u ) and y (u ) are continuous.
c yn +1 un +1 2 un +1 1 yn (un +1) Lemma 2: If x (u ) and y (u ) are continuous, P : ( x (u ), y (u ))
are continuous. In addition, the continuities of x (u ), y (u )
(2 ≤ n ≤ m - 1) and the path are equal.
The parameter u is defined as follows: Proof 2: The continuity is determined by the matching of
the differential values at each waypoint. If x (u ) is G 2
un -1 < un < un +1 and un -1, un , un +1 ≥ 0 (6) continuous, dx (u ) and d 2 x (u ) have connected graphs in
algorithm∈is : ( 15let
y (u ) have connected
,collision-checking
∩
≠ ∅
ଶ
expressed as : ,
and : ଶ , ଶ
.
boundary of the robot. The bound of the isrobot can be
((), )be ()and . of
isthe
differential graphs of P consist of the differential values of The proposed collision-checking algorithm as follows:
defined as the size of the robot or the sensing area
Therefore, the differential graphs of consist of the
x (u ) and y (u ). As a result, the continuity of P is equal to Let the distance between a
The piecewisedetection
linear pathandisimprovement
a collision-free path using the () =
ௗ((௨),)
4. Collision algorithms forthe ( 16 )
path-searching
smooth path algorithm. Generally, this path does not In equation (16), the bound of the robot
ఝ φ should be smaller
should be smaller
require a collision-check. On the other hand, the smoothed than the distance between P (u ) and B . Algorithm 1 is
,
∩
= ∅ ∈ ଵ : ( 14 )
P ( X (u ), Y (u )) ∩ B = ∅ for every u ∈ {u1 : um} (14) (a) (b)
If a collision is detected, equation (14) is changed to Figure 6. (a) Collision of the smoothed path; (b) improved collision path
equation (15):
Figure 7. Simulation map with the start point and goal point. The red blocks
are obstacles.
5.1 Path smoothing and analysis using the QPMI algorithm Figure 11shows the graph of and .
Figu
The QPMI algorithm requires a distance parameter u . The cont
set of u is as follows using equation (3).
The
u1 u2 u3 u4 u5 u6 u7 u8 u9
14. T
(a)
(b)
Figure 12.(a) graph of ݑvs. ݀ݔ. (b) graph of ݑvs. ݀ݕ
Figure 9. Graph of the parametric quadratic polynomials (a), and a merged
(a), and
graph (red line) using the membership function (b)
(b)
smoothed path is the ଵ
In Figure 12, the graph connects the entire section. This
Figureindicates
graph 10 presentsthat
the final
the result.
continuous path.
(b)
ଶ continuous
(a) (b) Figure 12.(a) graph of ݑvs. ݀ݔ. (b) graph of ݑvs. ݀ݕ
The of
Figure 9. Graph condition of thequadratic
the parametric path
polynomials (a),isand
that the
each Figure 12. (a) graph of u vs. dx ; (b) graph of u vs. dy
waypoint. To check the continuous path, the graph of
second-order
a merged graph (red line)differential values should
using the membership be contactedat
function (b)
the ଵ
ଶ In Figure 12, the graph connects the entire section. This
In Figure
graph 12, thethat
indicates graphthe connects the entire
smoothed section.
path is This
Figure 10 the second-order
presents the finaldifferential
result. values was obtained. Figure
graph indicates that the smoothed path is the G continuous
1
13presentsa graph of the second-order differential values. continuous path.
path.
TheThecondition of the ଶ continuous path is that the
condition of the G 2 continuous path is that the second-
second-order differential
order differential valuesvalues should
should be contactedat
be contacted at eacheach
ଶ2
waypoint. To check the continuous path,
waypoint. To check the G continuous path, the graphthe graph
of of
the the second-orderdifferential
second-order differential values
valueswas
wasobtained. Figure
obtained. Figure
13 presents
13presentsa a graph
graph of of
thethe second-order differential
second-order differentialvalues.
values.
(a)
Figure 13 show that the smoothed path is the G 2 continuous
path.
The curvature
the differential values ofgraph
them.can
Inbe obtained,the
addition, as curvature
shown in Figure
Seong-Ryong Chang and Uk-Youl Huh: 7
14. The graph is as follows:
and the heading angle can be obtained. (b)
A Collision-Free G2 Continuous Path-Smoothing Algorithm Using Quadratic Polynomial
Figure 13.(a) graph of ݑvs. ݀ ଶ ݔ, (b) graph of ݑvs.Interpolation
݀ଶ ݕ
If ହ is moved, the liner piecewise path can be modified as If ହ is moved, the liner piecewise path can be modified as
is a collision-free path, but the smoothed path has a collision. is a collision-free path, but the smoothed path has a collision.
ସହ,ହ and
problem is s
ସହ,ହ and .
problem is solved as the blue path. This path includesସ ,
Figure 17. Collisions occur on the smoothed path. The red circle is the
collision position.