Abstract
This paper presents a new approach to generate the workspace of planar redundant manipulators based on the workspace density of a single link. The workspace density of planar serial redundant manipulators can be computed efficiently by using the concept of the Fourier transform for the group of rigid-body motions of the plane and the convolution theorem. For manipulators using discrete actuation, it is important to study not only the shape of the workspace, but also the density of reachable poses in the workspace. In this paper, we focus on using the workspace density to calculate collision-free paths in complex environments with multiple obstacles in the workspace of the manipulator. This paper presents the algorithm and demonstrates it effectiveness using simulation results.
1. Introduction
Because of the advantages of redundant manipulators, such as dexterity and the ability to avoid obstacles, they are widely used in industry and the medical robotics field. In the research field of redundant manipulators, methods to generate the workspace have been studied extensively. The manipulator workspace is defined as the space of points reachable by the end-effector. Many researchers have been focused on different approaches to generate the shapes and boundaries of workspace. Traditionally, three methods have been used to generate the workspace of manipulators: (1) geometric methods which are only applicable to simple manipulator structures, and not for general structures; (2) numerical sampling methods which are simple algorithms. Due to the main disadvantage of this algorithm, low efficiency, it is mostly used for qualitative analysis and geometric validation; (3) analytic methods in which closed-form functions are used to describe the workspace.
The topic of computing the workspace of manipulators has drawn a lot of attention by researchers since the last half century. Many efficient approaches have been developed for various types of robotic manipulators. The authors of [1] presented the efficient geometric algorithms to simulate the workspace of redundant manipulators. A classification based on the workspace topology defined by cusps and nodes that appear on singular curves was used by [2].
The authors of [3] proposed a numerical algorithms to map the boundaries of workspace. An initial point on the boundary was found by a numerical method in that paper. The Monte Carlo method was used by [4] to generate the workspace of robotic manipulators. Two numerical formulations were compared in [5]. One numerical formulation was based on continuation methods to map the boundary of manipulator workspaces. The other one was based on a similar rank-deficiency criteria to yield the boundary of workspace. The authors of [6] presented a partition scheme to obtain the orientation workspace of a 3-degrees of freedom (DOF) spherical parallel manipulator. The authors of [7] proposed a method to determine the boundary for general manipulator workspaces.
An analytic method was proposed by [8] and [9] which described the boundary of open-chain-manipulator workspace. The algebraic formulation was a function of the dimensional parameters of the manipulator and the revolute joint angle of the end-effector.
The authors of [10] proposed the concept of a convolution product of real-valued functions on the Special Euclidean group which was applied to generate the workspace of discretely actuated manipulators. Then the authors developed a diffusion method to generate the workspace of hyper-redundant manipulators in [11] and [12]. This algorithm generated the workspace by solving the diffusion equation which based on the length and kinematic properties of manipulators. The authors of [13] presented a mathematical model to generate the workspace density based on the properties of the Fourier transform and the inverse Fourier transform.
Many investigations have focused on obstacle avoidance of redundant manipulators which have many different paths to achieve desired tasks in their workspace. The authors of [14] proposed a novel continuous genetic algorithm along with the distance algorithm for solving collisions-free path planning problem for robot manipulators. In [15], the path planning function was considered as a sequence of a nonlinear programming problem which minimized the distance between the current location of the end-effector and a desired location. The authors added two penalties to the path planning function to ensure that the manipulator did not collide with or cross over any obstacle. The trajectory planning of redundant manipulators which achieved tasks within the enclosed workspace was studied in [16]. The authors of [17] presented the obstacle avoidance problem of spatial hyper-redundant manipulators in known environments. They employed harmonic potential functions to achieve obstacle avoidance and generated the potential of any arbitrary shaped obstacle in three-dimensional space with a modified method. The authors of [18], required manipulators to remain approximately tangent to the curves which were given by B-spline curves based on an approximated path. The basic idea of [19] used harmonic potential fields to find a smooth path which consisted of points close enough to each other. Then manipulators reached the goal by keeping the tip of each link on these path points. In [20], the authors studied the complexity of fractional dynamics of the chaotic response based on Fourier transform and wavelet analysis. Their perspective of the chaotic phenomena permitted the development of superior trajectory control algorithms.
With the development of intelligent control, novel approaches such as neural network and genetic algorithms were used to solve the path planning of manipulators. [21] proposed a neural network adaptive controller to obtain the path planning of redundant robot manipulators. The parameter adaptation algorithm was based on the stability study of the closed loop system which used Lyapunov approach with configuration parameter of manipulators. The authors of [22] presented a adaptive neural controller constructed in task space based on an optimization strategy using joint displacement energy and internal penalty functions that consider the positions of the obstacle. The closed-loop pseudo-inverse method and genetic algorithms were combined in [23].
Each methodology contains certain advantages and disadvantages in the workspace generation and the path planning of robot manipulators. In this paper, the workspace density of planar serial revolute manipulators can be efficiently computed. We solve the path planning problem for planar serial revolute robot arms based on the “closed-form” workspace density. This approach selects a solution from a very large discrete set using workspace density as an evaluation. The planar serial revolute manipulators have optimal flexibility in the area of maximal values of workspace density function.
2. Workspace density
Our paper uses a similar approach to generate workspace as [24]. They employed closed-form convolution of real-valued functions on the Special Euclidean Group for generating workspaces. A method based on the Fourier transform of the discrete-motion group for computing the configuration and workspaces of robot manipulators was proposed in [13],[25],[26].
2.1 Definition of workspace density
Generally speaking, the definition of a manipulator workspace is the space of rigid-body motions where the end-effector of robot manipulator can reach. Assume that a robot manipulator has N links and each joint has M states. Then the number of the states that the end-effector can reach is K = MN.
The workspace W of a planar robot manipulator is divided into small boxes (voxels) of equal size Δx, Δy, Δθ. The workspace density ρ assigns the number of points within each box of the workspace W that are reachable, normalized so as to be a probability density.
This density is a probabilistic measure of the positional and orientational (pose) which describes accuracy of the end-effector in a considered area of the workspace. The higher the density of a point in the box, the more likely we expect the manipulator to be able to reach a pose.
As established in [27], when a robotic manipulator is separated into the lower and the upper segment, convolving the densities of each segment will result in the density of the whole manipulator. Generally speaking, if f1(g) is the density of the lower segment and f2(g) is the density of the upper one, then the density of the whole manipulator will be
In general, if a manipulator has N segments, then
2.2 Mathematical modeling for the workspace density function
The Fourier transform for rigid-body motions of the plane, SE(2), has been used to compute workspace densities in prior works in [25]. The novel research in the present work is that the workspace densities for planar redundant manipulators can be written in closed-form expression based on the special structure.
In Fig.1, x0, y0 are the base coordinate system. x1 and y1 are the coordinate system to describe the pose of the first link. The direction of x1 axis is along the first link. In the case of a single planar revolute manipulator, we can get ϕ = θ1 and r = L1. where L1 is the length of first link and θ1 is the angle of first joint. In the polar coordinate system, each point on a plane is determined by a distance r from a fixed point and an angle ϕ from a fixed direction.
The δ function is the Dirac delta function. It is a generalized function on the real number line that is zero everywhere except at zero, with an integral of one over the entire real line. The most important property of the Dirac delta function is
Kinematic model of a one-link planar robot arm
From (7), we know
The polar coordinates r and ϕ can be converted to the rectangular coordinates x and y by using the trigonometric functions:
As a result, the integral of the workspace density function f1(g; L) over r, θ, and ϕ with respect to the measure d(g) = rdrdθdϕ has a value of unity. Here g(r, θ, ϕ) is the homogeneous transformation matrix with translations parameterized expressed in polar coordinates, where –π≤ϕ, θ≤π.
The Fourier transform of a workspace density function, f(g), for SE (2) is defined as
In group theory, the set of all “p” values is called the “unitary dual” of G. The matrix elements of the operator U(g−1, p) are expressed as
Substituting (8) and (12) into (13), the result is
The Convolution Theorem: the Fourier transform of the convolution of two functions is the product of the Fourier transforms of the two functions. This generalizes as
The m–kth matrix element of Fourier transform matrix f̂2(p; L) is expressed as
Based on the above derivation, it is easy to find the elements of the Fourier transform matrix for the N-link is
To reconstruct f(g), we can invert f̂
mn
(p; L1) using the invert Fourier transform as follows,
The workspace density of N-link robotic manipulator is denoted as fN (g; L
i
,) which is reconstructed by (19).
2.3 Numerical computation of workspace density
A three-link planar revolute robot arm is shown in Fig.2. Three link lengths specify the geometry of the planar robot, and three angles specify its conformation. Let L1, L2 and L3 denote the lengths of the three links and θ1, θ2 and θ3 denote the joint angles between the links. The definition for the joint angle θ
i
is measured counter clockwise from link i −1 to link i. The position and orientation of the end-effector are presented in the Cartesian coordinate system as

The kinematic model of a three-link planar robot arm
We can get sampling-based workspace density of three-link planar manipulators based on (22) by following steps:
Initialization. Set L1 = L2 = L3 = 1.25 and randomly generator 1000 values of each θ i in the range of [–π, π].
Compute the pose of end effector (x, y, θ) by (20).
According to the different scope of θ,
We plot the histogram of points based on (1) the definition of workspace density of each group.
In the left column (subfigures (a), (c), (e), (g)) of Fig. 3 are the density obtained from sampling.
In the right column (subfigures (b), (d), (f), (h) show the discrete workspace density and the corresponding density of this manipulator with three links generated from the Fourier method based on (21). The number of links N = 3 and the length of links L1 = L2 = L3 = 1.25. The workspace density of θ ε [a,b] is computed by integrating f3(g; L3) on [a,b]. The function of workspace density of three-link planar manipulator is

Comparison of the sample-based workspace density with the corresponding density of this manipulator with three links generated from the fourier transform
The workspace W is divided into many small boxes. The center of small box (xi, yi) is changed to (r
i
, ϕ
i
) based on (9) as the input of function (23). All the results are plotted in histograms. Fig.3 (a) and 3(b) compare the workspace density of
3. The algorithm for obstacle avoidance in path planning
We solve the obstacle avoidance problem based on the workspace density using our Fourier-based approach. This approach is similar to the method in [28], which presented an inverse kinematics algorithm of binary manipulators with many actuators. The criterion of our approach is to select joint angles so as to obtain the maximum workspace density near the aim point to fix configuration of the manipulator shown in Fig.4. In Fig.4, the number of the links N and the length of the links Li are given on the start step. gaim denotes the homogenous transformation of target pose. All possible states of one joint are denoted by manipulator workspace, obstacle avoidance, convolution theorem, path planning with their ranges computed by the collision checks algorithm. The homogenous transformation of kth link is denoted by gk, where k ε {1,2, ···, N}. For the kth link, gk maximizes the workspace density fN–k ((g1 g2 ··· gi)−1 gaaim). Then we fix the homogenous transformation gk for the kth link. Then we compute the manipulator one link at a time. In all possible states, we search for gk+1 that can obtain the highest density fN–k−1((g1 g2 ··· gk gk+1)−1 gaim). If gk+1 is such a state, we configure the (k + 1) th module to gk+1. This program is performed by sequentially maximizing density from the first to (N − 1) th link. At the last step i = N, we compute the minimum distance between the pose of N th link and the goal pose, and fix gN.
In steps of this path planning method, obstacle checking is an important step for this algorithm. For the different shape of obstacles, we make externally tangent circle for them. Computing the distance dr between the center of externally tangent circle and the end of each link to do the obstacle checks before find gii for each link. From Fig.5, we know that if dr > r + L the manipulator could not encounter obstacles. Then we can choose gi from free range. If dr < r + L, the manipulator will encounter obstacles. Then we can compute gii by a limited range that depends on the pose of obstacle, where r is the radius of obstacle and L is the length of each link.
We can compute the limited angle of joint for the link using geometric method based on the properties of vector. In Fig. 6, the new range of angle is [[–π, π] – [θ1, θ2]].
Based on the geometric relationship in Fig.6, we have

Flowchart for the obstacle avoidance of inverse kinematics
The vectors of

Kinematic model of a three-link planar robot arm

Geometric model of obstacle check
Generally speaking, if the direction of angle is counterclockwise, we set the value of angle to positive. On the contrary, if the direction of angle is clockwise, we set the value of angle to negative. Using the properties of vectors, we have θ1 and θ2 as follows
4. Simulations of obstacle avoidance path planning
The manipulators with 10 links is used to illustrate the obstacle avoidance path planning approach. The length of each link L =1. We set the pose of aim point

A simulation result of the inverse kinematics method
In Fig.8, the target pose is
In Fig.9, the target pose is

A simulation result of the inverse kinematics method

A simulation result of the inverse kinematics method
From the simulation results, we can see that the inverse kinematics algorithm ensures that the base manipulators are close to the target in an obstacle environment. Then the end manipulators have more flexibility when they close to the target. The algorithm of inverse kinematics also can find a path in the narrow spaces between obstacles from the result of the simulation in Fig.9.
To illustrate the efficacy of the sample-based workspace density approach, we solve the path planning problem using this approach. Consider generating a path from starting pose
The same problem is solved by rapidly exploring random trees (RRT)[29]. The left side of Fig.10 shows the simulation result of the RRT approach. The red path is the final result chosen as the path of manipulators.

Comparison of simulation results of the Sample-Based Workspace Density method with the RRT method of the obstacle avoidance path planning
Comparison with the simulation results, the following conclusion can be obtained:
The RRT algorithm needs to provide the initial state and the end state based on the inverse kinematics. The algorithm based on the workspace density function only need to provide the starting pose and ending pose. The algorithm contains the method of solving inverse kinematics.
The result of the RRT depends on initial conditions. The problem can not be solved based on some initial conditions every time. The algorithm based on the workspace density function can find the result in the free workspace which does not depend on the initial conditions.
The result of the RRT has strong randomness. The results are different with the same initial conditions. The result of RRT cannot be guaranteed to be the good result. The result of algorithm based on the workspace density function is the same with the same conditions. The path is smooth and short.
5. Conclusion
We efficiently generate the workspace density of the planar redundant manipulators using a combination of the concept of the Fourier transform for the group of rigid-body motions of the plane, the resulting convolution theorem, and the particular form of the workspace density of a single link in a planar redundant manipulator. The significance of this approach is that it selects a solution from among a very large discrete set using workspace density as an evaluation criterion to solve the obstacle avoidance path planning problem.
