Professional Documents
Culture Documents
Charles W. Warren
316
CH2750-8/89/0000/0316$01.00 0 1989 IEEE
environment, including external and inertial forces when plan- greatly reduced. This idea can b e readily extended into any arbi-
ning trajectories. T h e artificial potential fields were used t o im- trary C-Space of higher dimension, but the development shown
pede the movement of the manipulator in the direction of obsta- here will be in two and three-dimensional C-Space.
cles. This work differs from most others in that it is a complete Since an arbitrary initial path laid through the C-Spce will
manipulator controller and not just a path planner. Newman probably pass through the C-Space obstacles, a potential func-
and Hogan [6] extended this t o include revolute manipulators by tion must b e selected so t h a t the path is driven away from the
using the C-Space of the manipulator. obstacle. The total potential field will be broken down into two
Again, the major problem with these potential field methods parts, points inside a C-Space obstacle and points outside. The
is that they are subject t o local minima. Since the planner tends potential field selected for points inside an obstacle, U,,, is one
toward lower potential areas, it can reach a state of equilibrium, such t h a t the maximum value is inside of the C-Space obstacle
or a potential basin, and becomes trapped. Okutomi and Mori and the potential decreases linearly as the distance away from the
[7] attempted t o overcome the problem of local minima in the centroid is increased. In general, the best expression for potential
potential field when path planning. The potential fields selected inside an obstacle [21] may be written as:
were different from those previously mentioned in that they were
oval in nature and not as susceptible t o local minima. Khosla and
Volpe,[8], used a similar approach with the use of superquadric
= u m a z (1 - 2)
+ offset (1)
potential fields. The problem, however, was not eliminated. where U,, is the maximum potential allowed, R,, is the distance
Koditschek [9] presents a rigorous description of the topo- from the point in question t o the centroid, R,,, is the distance
logical considerations of the potential fields. He also introduces from the centroid t o the farthest point on the boundary of the
potential fields t h a t have only one global minimum and no local obstacle, and Ll,jfset is an additional potential applied t o all
minima, but only for very simple geometric shapes in two dimen- points on the obstacle used t o produce more of a penalty for
sions. This was extended [lo] t o include robots moving amidst crossing an obstacle. For the two dimensional case, this can be
spherically bounded obstacles in three dimensions. envisioned as a cone placed over the obstacle with the vertex of
Two attempts at using the best features of both graph search- the cone directly above the centroid of the obstacle. T h e nice
ing and potential fields were presented by Krogh and Thorpe 1111 feature of using this type of potential field is t h a t the path is
and by Tournassoud [12]. They used the geometrical solutions driven away from the centroid of the C-Space obstacle. In most
for global planning and potential fields for local planning. It has cases involving revolute manipulators, the resulting path will be
been accepted that the past potential field methods are only re- the shortest joint space path around the obstacle.
liable in local planning situations. These benefit from the global Points outside of the C-Space obstacles will b e subject t o a
planning ability of the graph searching methods, but suffer the lower potential. This is t o insure that driving the path off the
same shortcomings as well. obstacle will b e given top priority. This potential, Uout, may b e
A recent paper by Kanayama [13] presents the idea of modify- based on the inverse of the distance t o the closest boundary:
ing the entire path under the influence of “costs”. A combination
of Voronoi diagrams in configuration space [I41 and calculus of
variation are used t o select safe paths that balance the length of
the path and the safety of the path. where Rout in this case is the distance t o the closest boundary
The research t o be presented in this paper is based on the of the obstacle. This limits the influence of the potential outside
assumption t h a t the obstacles have been identified and there is of the obstacle t o the immediate vicinity of the obstacle. The
no uncertainty about their positions. There have, however, been purpose of the potential outside of the obstacle is t o provide a
several papers t h a t addressed the question of obstacle uncertainty margin of safety. Figure 1illustrates the potential field associated
[I51,[I61I ,[I81,[191, [201. with a two dimensional square C-Space obstacle.
The C-Space path is approximated by a set of connected
straight line segments. The path selection technique is based
2 Path Planning Algorithm on adjusting the endpoints of the line segments. One of the
endpoints of the first line segment is fixed a t the starting con-
Most previously reported potential function schemes have
concentrated on the potential fields affecting a point which rep- figuration and one of the endpoints of the last line segment is
fixed at the goal configuration. The remaining n endpoints of
resents the manipulator configuration. The high potentials on
the obstacles force the point into the low potential area around +
the n 1 line segments will be called nodes. The “design vari-
the goal and a path is traced out by the moving point. An al- ables” used by the minimization routine are the coordinates of
the nodes. There will be one design variable assigned t o each
ternative planning scheme has been developed in which an ar-
coordinate of each node. For an m dimensional C-Space, each
bitrary path is constructed through the potential field with all
node will have m coordinates. Since there are n nodes, there will
points along the path being subject t o the potential simultane-
be m x n separate coordinates that need t o be adjusted so that
ously. The difference t o note is that the potential affects the
the resulting path passes around the obstacles. In the case of
entire path simultaneously and not just one configuration. This
the 2-D joint space, the variables are the 01 and 02 coordinates
will be shown t o be much more effective a t global path plan-
of each node. More nodes are required if there is more direction
ning. Using optimization techniques, the path is altered so that
changing in the path, resulting in slower convergence. Although
it passes through minimum potential and, therefore, avoids the
rules of thumb have been used t o find the number of nodes, an
obstacles. Although not entirely eliminated, with careful selec-
exact number cannot be found for an arbitrary workspace with-
tion of the potential fields, the problem of local minima has been
out a priori knowledge of the correct path. Also, the number of
317
2;II
0-
/
I
61
where length, is the length of the it’’ line segment and linit, is the Figure 3: Joint Space
initial length of the line segment. The difference is the “stretch”
i n the line segment. grid for a two degree of freedom revolute robot. The artificial
The total penalty function can now be written as: potential field based on the C-Space was also discrete. This was
nfl done t o speed the planning algorithm once the potential field was
1.p. = w [ma.(UAPF,)I + U l e n g t h , (4) applied. The path segments were laid through the discretized
i=l potential field using a line drawing algorithm used in raster scan
where w is a weighting constant for the artificial potential field, computer graphics. The discretization process used is conserva-
( A P F ) ,m a z ( U ~ p ~
is ,the
) maximum potential experienced by tive. That is, the discretized C-Space obstacles will be larger
the ith line segment due t o the artificial potential field, and n+ 1 is than the actual C-Space obstacles.
the number of line segments. The design parameter, w,influences As an example of the path planning algorithm, consider the
the ability t o reach a safe path and must be chosen carefully. It is simple problem shown i n Figure 2. It is desired t o travel from
included t o regulate the trade off between obstacle avoidance and configuration A t o configuration B without colliding with the ob-
path length minimization. Situations can arise where equilibrium stacle shown. The joint space map for the manipulator is shown
positions are reached which do not represent a suitable path due i n Figure 3, with the dark area representing the forbidden config-
t o a poor choice of this constant. urations that would result in a collision between the manipulator
Although the algorithm for planning the path of a manipula- and the obstacle. Configurations A and B are shown on the joint
tor is very similar t o that of planning the path of a mobile robot, space map.
there are slight differences. Examples of the use of the algorithm Figure 4 shows the joint space obstacle with the artificial
on each of these will be presented separately. potential field applied. The center of the potential field was ap-
plied at the centroid of the obstacle and the potential field varied
2.1 Revolute Manipulators linearly away from this point. The design variables that the opti-
mization routine uses are the coordinates of the node points. The
The implementation of the path planning algorithm used i n figure also shows the initial straight path before the optimization
this research discretizes the C-Space of the robot into a 101 x 101
318
-180 1 ’ ’ ’ ’ ’ ’ . . : , . , . : . . . I
-180 -100 0 100 180
Theta 1 (deg)
Figure 6: Sequence of Manipulator Moves
Figure 4: Contour Plot with Initial Path
C
100 . D
-yi
.cI
1
J 0 ’
U
C
a= ’
-100 .
-200
-200
’ -100 0 100 200
Theta 1 (deg)
Figure 7: Real Space
Figure 5 : Safe Path Selected
the problem of saddles in a point navigation scheme.
routine begins iterating. The coordinates of the nodes are shown The saddle problem may be avoided in a straight forward
as 01. and 02,. manner. If two or more C-Space obstacles overlap, they will b e
The minimization routine selected was a simplex method rou- treated as one obstacle when applying the potential fields. A new
tine proposed by Nelder and Mead [22]. Most gradient based total centroid of the two obstacles is then used t o compute the
searching algorithms will work. A Quasi-Newton method and a potential. Finally, all of the potentials for each separate obstacle
Conjugate Gradient routine were also tried with success. will be superimposed as before. Since there‘ is no longer any
The planning algorithm was run and the resulting safe path overlap, there will be no saddle points.
is shown in Figure 5 . The sequence of manipulator moves based As an example of multiple obstacle avoidance, a n example
011 this is shown in Figure 6. from Red a n Truong-Cao [23] is used. The real space of the
For multiple obstacles in the workspace of the robot, the po- robot is shown in Figure 7. The configuration space of the robot
tential fields of the individual C-Space obstacles are superim- and the safe path found are shown in Figure 8. The sequence of
posed t o yield a total potential field. There are some problems manipulator moves from the start t o the goal position is shown
that arise that must b e dealt with before the algorithm can be in Figure 9. This technique has also been applied t o three dimen-
applied effectively. sional revolute and redundant planner robot planning problems
It is possible for a manipulator t o collide with two or more P11.
obstacles while it is in one configuration. If this happens, then
two or more C-Space obstacles will overlap, even though the 2.2 Mobile Robots
Cartesian space obstacles could be relatively far apart. If the
individual potential fields are produced without regard to the For the most part, the path planning algorithm for mobile
overlap, “saddles” will result when the fields are superimposed. robots is the same as that for revolute manipulators. The con-
These saddles will t r a p the path that is subject t o potential, figuration space of the robot is created, the potential fields are
resulting in no safe path being found. Koditschek [9] addresses applied, and the path is planned.
3 I9
200
150
100
50
-50
-IW
-150
Figure 8: Safe Path Found (Joint Space) Figure 11: Safe Path (Translation and Rotation)
3 Conclusions
T h e primary goal of this research was t o develop an artificial
potential field technique for planning the path of a robot that
Figure 9: Incremental Sequence of Robot Motion was less susceptible t o local minima than other potential field
methods. This was accomplished by establishing a trial path
and then modifying the entire path under the influence of the
potential fields. This method was very successful in a large nuin-
her of revolute robot examples. One drawback to this method is
that the global workspace must be known at the time of the plan-
ning, whereas only local information is required for the potential
methods of the past. However, the benefits of global planning
outweigh this in problems with no uncertainty.
For mobile robots, the algorithm was effective in problems
involving sets of convex obstacles, or simple concave ones. The
nature of the application of the potential fields shown here, how-
ever, makes successful application of this t o “maze” type prob-
lems unlikely.
This method could be used t o solve planiiiiig problems with
cylindrical, spherical, and Cartesian geometries and moving ob-
stacle problems. Extension of this technique t o higher dimen-
sional problems is strightforward. It limited only by the compu-
tational power of the robot’s planner. For most fixed base and
simple mobile robot planning problems, this technique offers a
Figure 10: Safe P a t h for Mobile Robot (Translation) fast, effective solution t o global planning problems.
320
References
Shriram M. Udupa. Collision detection and avoidance i n [14] B.R. Donald. Motion Planning With Six Degrees of Free-
computer controlled manipulators. In Proceedings of the dom. Technical Report AIM-791, MIT Artificial Intelligence
Fifth international Joint Conference on Artificial Intelli- Laboratory, 1984.
gence, Cambridge, Mass., 1977.
[I51 V.J. Lumelsky and K. Sun. Gross motion planning for a
T. Lozano-Pdrez and M.A. Wesley. An algorithm for plan- simple 3d articulated robot arm moving amidst unknown
ning collision-free paths among polyhedral obstacles. Com- arbitrary shaped obstacles. In Proceedings of the 1987
hunications of the ACM, 22(10):560-570, Oct. 1979. IEEE International Conference on Robotics and Automa-
tion, pages 1929-1934, Rayleigh, NC, 1987.
0. Khatib. Real time obstacle avoidance for manipulators
and mobile robots. International Journal of Robotics Re- [16] V.J. Lumelsky. Continuous motion planning in unknown
search, 5( 1):90-98, Spring 1986. environment for a 3d Cartesian robot arm. In Proceedings
of the 1986 IEEE International Conference on Robotics and
J.R. Andrews and N. Hogan. Impedence control as a frame-
Automation, pages 1050-1055, San Francisco, 1986.
work for implementing obstacle avoidance in a manipulator.
In Control of Manufacturing Processes and Robot Systems [I71 M. Erdmann. Using backprojections for fine motion plan-
presented a t the ASME Winter Annual Meeting, pages 243- ning with uncertainty. International Journal of Robotics Re-
251, Boston, 1983. search, 5(1):19-45, Spring 1986.
N. Hogan. Impedeiice control: an approach t o manipula- [l8] B.R. Donald. Robot motion planning with uncertainty in the
tion: Parts I,II,III. ASME Journal of Dynamic Systems, geometric models of the robot and environment: a formal
Measurement, and Control, 107:l-24, Mar. 1985. framework for error detection and recovery. In Proceedings
W.S. Newman and N. Hogan. High speed robot control and of the 1986 IEEE International Conference on Robotics and
obstacle avoidance using dynamic potential functions. In Automation, pages 1588-1593, San Francisco, 1986.
Proceedings of the 1987 IEEE International Conference on [19] R.A. Brooks. Symbolic error analysis and robot plan-
Robotics and Automation, pages 14-24, Rayleigh, 1987. ning. International Journal of Robotics Research, 1(4):2%
[7] Masatoshi Okutomi and Masahiro Mori. Decision of robot 68, Winter 1982.
movement by means of a potential field. Advanced Robotics, ['LO] E . Cheung and V.J. Lumelsky. Motion planning for robot
1(2):131-141, 1986. arm manipulators with proximity sensing. In Proceedings
[8] P. Khosla and R. Volpe. Superquadric artificid potentials of the 1988 IEEE International Conference on Robotics and
for obstacle avoidance and approach. In Proceedings of the Automation, pages 740-745, Philadelphia, PA, 1988.
1988 IEEE International Conference on Robotics and Au- [all Charles W . Warren. Robot Path Planning in the Presence of
tomation, pages 1778-1784, Philadelphia, PA, 1988. Stationary and Moving Obstacles. PhD thesis, Texas A&M
[9] D.E. Koditschek. Exact robot navigation by means of poten- University, December 1987.
tial functions: Some topological considerations. In Proceed-
(221 W . Murray, editor. Numerical Methods for Unconstrained
ings of the 1987 IEEE International Conference on Robotics
Optimization, pages 26-28. Academic Press, London, 1972.
and Automation, pages 1-6, Rayleigh, NC, 1987.
[23] W.E. Red and H. Truong-Cao. Configuration maps for robot
(lo] E. Rimon and D.E. Koditschek. Exact robot navigation
path planning in two dimensions. ASME Journal of Dy-
using cost functions: The case of distinct spherical bound-
namic Systems, Measurement, and Control, 107(3):292-298,
aries in e". In Proceedings of the 1988 IEEE International
1985.
Conference on Robotics and Automation, pages 1791-1796,
Philadelphia, PA, 1988.
321