Abstract
Singularity affects the performance of the parallel mechanisms seriously and so should be avoided as the mechanisms work. It is necessary to obtain the distribution of the singularity locus in the task space of a parallel mechanism and then further explore singularity avoidance. This article mainly deals with the singularity-free path planning of the widely used Gough–Stewart parallel mechanism. After obtaining the characteristics of the position-singularity locus for a constant orientation and the orientation-singularity locus for a given position, the position-singularity path planning and orientation-singularity path planning are explored, respectively. For the position-singularity path planning, after obtaining the position-singularity locus equation and analyzing the geometric property of the position-singularity curve in a moving plane, a general method for identifying the probability of existence of a singularity-free path connecting two given points in the moving plane is illustrated, and then the technique of the singularity-free path planning is also represented in case if a singularity-free path exists. For the orientation-singularity path planning, the orientation kinematic equation and the time optimal orientation path of a rigid body are constructed using the quaternion algebra theory, respectively. After analyzing the orientation-singularity locus and using the results of time optimal orientation path of a rigid body, the method of time optimal orientation path planning of the mechanism is investigated. The validation of the aforementioned methods of two types of singularity-free path is tested and verified by applying numerical examples. The research has important theoretical significance and practical reference value for the exploration of the singularity avoidance of the parallel mechanism.
Keywords
Introduction
Gough–Stewart parallel mechanism (GSPM) is widely used in many applications, such as docking mechanism of the aircrafts, parallel kinematic machines, medical micromanipulators, satellite antennas, and precision position systems. 1 However, the closed-loop nature of their architectures creates complex singularities in the task space. When the parallel mechanism (PM) is singular, the end-effector gains one or more unwanted instantaneous degrees of freedom (DOF) even if all the actuators are locked. Such situation can transitorily make the drive force go infinity, and then the mechanism cannot be controlled at will and may be damaged. Therefore, it is essential to thoroughly explore the singularity property and then to discuss the method of the singularity avoidance. Redundant actuation is an effective method of eliminating the singularity of the PMs. 2 –5 However, it is an expensive solution to the problem because of the additional actuators and the complicated control of the manipulator caused by actuation redundancy. 6 Another method of avoiding the singularities is to obtain the singularity-free workspace, in which the PM should work. 7 –10 Path planning is also an effective method of singularity avoidance. An efficient algorithm to verify a trajectory for a six-DOF PM with respect to its workspace is advanced in the study by Merlet. 11 The singularity points are determined, grouped into several clusters, and modeled as obstacles, and then an optimal path is found to avoid these obstacles. 12 For the 3–3 GSPM, given two points in the task space, an algorithm is illustrated to find connected regions and then a path is planned in the connected workspace. 13 If the singularity-free path exists, an algorithm of the singularity-free path planning of the mechanism is developed, 14 but the method of identifying the presence or absence of a singularity-free path is not given. Based on the screw theory, an approach to determine the twists which displace the PM in singularity is developed, and the twist-gradient which leads the PM from singularity to general configuration “most rapidly” is found out. 15
It is desirable for designers to obtain the analytical expression and have a graphical representation of the singularity locus of a PM. 16 In this case, it is easy to identify the locations of singularities within the given workspace and determine whether and how the singularity can be avoided. As the GSPM has six-DOF, the singularity locus of the mechanism is a six-dimensional (6-D) hypersurface and impossible to be graphically represented. The singularity loci in several three-dimensional (3-D) subspaces of the 6–6 GSPM are illustrated. 16 The case that the position-singularity locus equation of the general GSPM should be a polynomial expression of degree three is pointed out, and the graphical representation of the singularity locus is also studied. 17 For the GSPM with triangular platform, the complicated singularity analysis is transformed into a simpler position analysis of a planar singularity-equivalent mechanism based on the kinematic principle of singularity, and then the polynomial expression of degree three representing the singularity locus for some constant-orientations is derived. 18,19 After converting the Euler parameters to an equivalent expression in the ball parameters, the singularity manifold of the 6–6 GSPM as a cubic position-singularity surface in ℜ3 is obtained, and then the six-degree polynomial orientation-singularity expression for a given position of the mechanism is deduced. 20 The orientation-singularity for a given position of the GSPM is investigated using the quaternion representation. 21 Based on ZYZ-Euler angles representing the orientation of the moving platform, a cubic singularity expression for a constant-orientation of the 6/6-GSPM, whose moving platform and base one are two semi-symmetrical hexagons, is derived. 22 The graphical representations of the position-singularity loci for different constant-orientations and the orientation-singularity loci at different positions based on unit quaternion as orientation parameters are given, but the general expressions of position-singularity and orientation-singularity are not obtained. 23
For the GSPM with six-DOF, as the complexity of the singularity representation and path planning in the task space, after obtaining the distributions of the position-singularity locus and the orientation-singularity locus, the position singularity-free path planning for a constant-orientation and the orientation singularity-free path planning for a given position are investigated, respectively. The rest of the context is briefly described as follows: In section “Singularity property,” the geometry of the GSPM is described and the singularity property of the mechanism is addressed. The 3-D position-singularity expression for a constant-orientation and the orientation-singularity expression for a given position are obtained and graphically represented, respectively. Then, the position-singularity property and the orientation-singularity distribution are analyzed. In section “Singularity-free path planning,” based on the discussion in section “Singularity property,” the method of a position-singularity-free path connecting two points in a moving plane is advanced, and the technique of an orientation-singularity-free path is addressed based on the quaternion algebra using the unit quaternion as the orientation parameters. Finally, some meaningful conclusions are reached and the future work is presented.
Singularity property
Figure 1 describes the sketch of the GSPM, which consists of a moving platform and a base one connected via six identical SPS or SPU legs (BiCi ) (i=1, 2,…, 6). Here U denotes a passive Hooke joint and S denotes a passive spherical joint, while P denotes an actuated prismatic joint. The moving platform and the base one are both semi-symmetrical hexagons. Bi (i=1, 2,…, 6), are the vertices of the moving platform, and Ci (i = 1, 2,…, 6) are the vertices of the base one. Aj (j = 1, 3, 5) are the intersection points of the longer sides of base platform. R m (R b) is the circumradius of the moving (base) platform, β m (β b) is the central angle of the side B 4 B 5 (C 1 C 2), and P(O) is the geometrical center of the moving (base) platform, respectively. Thus, four parameters (R m, R b, β m, β b) define the geometry of the mechanism. In order to analyze the singularity-property, the moving reference frame P-x 2 y 2 z 2 is attached to the moving platform and the fixed reference frame O-x 1 y 1 z 1 is attached to the base one.

Sketch of the special class of GSPM. GSPM: Gough–Stewart parallel mechanism.
According to the geometrical parameters of the mechanism and the coordination transformation formulation, the singularity expression of the mechanism can be obtained by calculating the determinant of the Jacobian matrix (see the work done by Huang et al. 18 ) which is set to be zero. Based on the determinants of the Jacobian matrix of the mechanism, singularities of PMs can be classified into three different types: inverse kinematic singularity, direct kinematic singularity, and architecture singularity. 17,24 This article will only discuss the direct kinematic singularity property and then explore the direct kinematic singularity-free path planning of the GSPM. Here, we refer readers to the detailed singularity representation of the GSPM given in the study by Li et al., 8 which is not addressed here for limited space.
Li et al. 8 mentioned that, as the complexity of describing the singularity locus in the 6-D task space, we can classify the singularity of the mechanism into two types in the task space: position-singularity for a constant-orientation and orientation-singularity for a given position. For further exploring the singularity-free path planning, here we discuss the singularity property first.
Figure 2 describes one configuration of the mechanism when the orientation parameters (φ, θ, ψ) are given as constant, where θ ≠ 0. The intersection angle between the base plane x
1
–O–y
1 and the moving plane x
2
–P–y
2 is θ. When θ is nonzero, the moving platform does not parallel the base one. Points U, V, and W are the intersecting points of the ridgeline and the three long sides C
5
C
6, C
3
C
4, and C
1
C
2, respectively. Here the ridgeline is defined as the intersecting line of the fixed plane and the moving one. A new moving reference frame V-xy is attached to the moving plane as shown in Figure 2. The coordinates of the point V with respect to the fixed reference frame O-x
1
y
1
z
1 are denoted as

Configuration of the mechanism for a constant-orientation.
We denote (X, Y, Z) as the coordinates of point P with respect to the fixed frame, and (x, y) with respect to the moving reference frame V-xy, respectively. Thus, the formula representing the relations between (X, Y, Z) and (x, y) can be constructed using the coordinates transformation rule. Then, by employing this formula and the position-singularity expression of the mechanism for a constant orientation, the position-singularity curve in the moving plane where the moving platform lies can be deduced as (see the study by Ma and Angeles 25 )
Equation (3) is the position-singularity locus for a constant-orientation of the mechanism in the moving plane x 2 –P–y 2. Coefficients a, b, d, e, and f are determined by R m, R b, β m, β b, (φ, ψ), and Xv . Here, two theorems on the position-singularity property are illustrated without proof for limited space. The complex position-singularity property analysis in the moving plane, which is the previous results of this article, is conferred in the study by Ma and Angeles. 25
Theorem 1
If the position-singularity locus of the mechanism for a constant-orientation in the moving plane where the moving platform lies is a set of hyperbolas, one of the two asymptotes of the hyperbola must be parallel to the y-axis of the moving reference frame V-xy, and its equation can be written as
Theorem 2
If the position-singularity locus of the mechanism for a constant-orientation in the moving plane where the moving platform lies is a pair of intersecting lines, one of the two lines must be parallel to the y-axis of the moving reference frame V-xy. In addition, the form of these two asymptotes of the hyperbolas and the form of these two intersecting lines are the same.
Therefore, the position-singularity curve in the moving plane, where the moving platform lies, is always a quadratic curve whose geometrical property is obvious. The singularity-free position-path planning of the mechanism in the moving plane can be greatly simplified using the abovementioned geometrical property of the position-singularity, which will be addressed in the section “Position-singularity-free path planning in the moving plane.”
Therefore, it is easy to identify the position-singularity property for a constant-orientation by analyzing the characteristics of the position-singularity locus in the moving plane. However, as Li et al. 8 mentioned, it is very difficult to characterize the complicated orientation-singularity locus for a given position.
Singularity-free path planning
As we know, the determinant values of the Jacobian matrix as shown in equation (2) change continuously as the mechanism moves. The start pose and the object pose of the mechanism are denoted as Pi
and Pf
, and the determinants of the Jacobian matrix are accordingly denoted as

Task space and neighboring singularities. (a) Case 1. (b) Case 2. (c) Case 3.
Position-singularity-free path planning in the moving plane
Existence identification of position-singularity-free path
The coordinates of the task points Pi
and Pf
in the moving frame V-xy as shown in Figure 4 are denoted as

Case of hyperbola. (a) One case. (b) The other case.
Two real solutions of equations (4) and (5) are denoted as
When det( (1) When δ = 0 and Δ ≠ 0, equation (5) represents a parabola. If both of the task points locate at the same zone divided by the position-singularity locus as shown in Figure 6, a singularity-free path connecting Pi
and Pf
exists. (2) If and only if (φ, ψ) = (±90°,=±90°), then δ = 0 and Δ = 0. Equation (5) designates into two parallel lines or one line, all of which parallel to the y-axis of the V-xy coordinates systems. If
a singularity-free path connecting Pi and Pf is permitted, which is shown in Figure 5.
(3) When δ < 0, equation (4b) describes a set of hyperbolas or a pair of intersecting lines. If min(xi
, xf
) < x
1, x
2 < max(xi
, xf
), Pi
and Pf
locate in the same zone and can be connected by a singularity-free path, which is shown in Figure 6. If x
1, x
2 ∉ ℜ, line PiPf
does not intersect the singularity locus, thus Pi
and Pf
can also be connected by a singularity-free path as shown in Figure 7. If min(xi
, xf
) < x
1, x
2 < max(xi
, xf
) and (x
1 + e/b) × (x
2 + e/b) > 0, Pi
and Pf
locate on the same side of line x = −e/b. Figure 8 reveals that a singularity-free path connecting Pi
and Pf
is permitted. If min(xi, xf
) < x
1, x
2 < max(xi
, xf
) and (x
1 + e/b) × (x
2 + e/b) ≤ 0, then singularity-free path connecting Pi
and Pf
is absent. As shown in Figure 9(a), when (x
1 + e/b) × (x
2 + e/b) < 0, Pi
and Pf
are on the different sides of asymptotic line x = −e/b. As shown in Figure 9(b), when (x
1 + e/b) × (x
2 + e/b) = 0, one of Pi
and Pf
is in line x = −e/b.

Case of parallel lines. (a) min(x 1, x 2) < xi , xf < max(x 1, x 2). (b) x 1, x 2 < xi , xf , (c) xi , xf < x 1, x 2.

Case of min(xi , xf ) < x 1, x 2 < max(xi , xf ). (a) Case 1. (b) Case 2. (c) Case 3. (d) Case 4.

Case of x 1, x 2 ∉ ℜ.

Case of min(xi , xf ) < x 1, x 2 < max(xi , xf ) and (x 1 + e/b) × (x 2 + e/b)>0.

Case of min(xi , xf ) < x 1, x 2 <max(xi , xf ). (a) (x 1 + e/b) × (x 2 + e/b) < 0. (b) (x 1 + e/b) × (x 2 + e/b) = 0.
From the abovementioned discussion, whether a singularity-free path exists between the task points Pi and Pf locating in the moving plane can be identified in Figure 10.

Existence identification of position singularity-free path.
Method of position-singularity-free path planning
If Pi and Pf can be connected by a singularity-free path, whose existence can be identified in Figure 10, and
the relative positions of Pi and Pf can be represented as one case in Figure 11(a) to (c), the straight line PiPf connecting Pi and Pf is singularity-free. If the coordinates of Pi and Pf do not satisfy equation (6), the singularity-free path should be planned as a curve to avoid the singularity locus, which is shown in Figure 12.

Straight singularity-free path. (a) Type 1. (b) Type 2. (c) Type 3.

Curvilinear singularity-free path.
In Figure 12, (x 0i , y 0i ) are the discrete points of line PiPf . (xsi , ysi ) is the intersecting point of the singularity locus and the line, which parallels the y-axis and passes through point (x 0i , y 0i ). According to the geometrical property of the position-singularity locus in the moving plane, the position-singularity locus written as a function y in terms of x is convex or concave. Thus, (xsi , ysi ) can be derived as
where, sign(·) is determined by the following
Values of Δx and Δy are determined by the requisite accuracy of the planned path. dy/dx and d2 y/dx 2 can be obtained according to the following equation
They can be concluded as
After connecting Pi , (xpi , ypi ), and Pf successively, the singularity-free path from point Pi to point Pf represented in the moving frame V-xy can be obtained.
The above mentioned singularity-free path planning only considers the case of θ ≠ 0. If θ = 0, it can be divided into the following three cases:
Case 1. If Z = 0, namely the moving platform and the fixed one coincide, the mechanism is in singularity.
Case 2. If Z ≠ 0 and (φ + ψ) = ±90°, the mechanism is in singularity.
Case 3. If Z ≠ 0 and (φ + ψ) ≠ ±90°, any path connecting Pi
and Pf
is singularity-free.
Numerical examples
Geometrical parameters of the mechanism are given as follows: R m = 1, R b = 2, β m = 75°, and β b = 105° without considering the structural constraints. The orientation parameters are represented by standard ZYZ-Euler parameters and given as (φ, θ, ψ) = (60°, 30°, −45°). The position parameters of the task points Pi and Pf are given as shown in Table 1.
Position parameters.
When the PM works near the singular configuration, the Jacobian matrix of the mechanism is ill-conditioned and the performance of the mechanism is poor. The condition number of the Jacobian matrix is an important performance index and can be used to estimate whether the mechanism is singular. Therefore, the condition number of the Jacobian matrix is applied to verify the method of the singularity-free path planning.
As shown in Figure 10, the determinants of the Jacobian matrices of the mechanism corresponding to the task points should be computed in advance as shown in Table 2.
Determinants of the Jacobian matrices corresponding to the task points.
For example 1, according to Figure 10, as det(

Task points in example 1.
For example 2, as det(
It can be shown that (x 1, y 1) ≠ (x 2, y 2), which does not satisfy min(x 1, x 2) < xi , xf < max(x 1, x 2). Besides, it can be concluded that −e/b = −0.955478 and (x 1 + e/b) × (x 2 + e/b)>0. Therefore, according to Figure 10, the task points can be connected by a singularity-free path, which can be obtained by the method described in Figure 12 and equation (7). Otherwise, if the two task points are connected by line PiPf as shown in Figure 14, the path must pass through the singularity locus. The condition numbers corresponding to the line path in discretization are shown in Figure 15.

Line path of example 2.

Condition number of the line path.
A singularity-free path obtained by the method described in Figure 12 and equation (7) is shown in Figure 16. The condition number for the singularity-free path is represented in Figure 17, where Δx = Δy = 0.5 m. It can be shown that the path descried in Figure 16 can avoid the singularity using the method of singularity-free path planning.

Singularity-free path of example 2.

Condition number for the singularity-free path.
It should be pointed out that the condition number of the singularity-free path is still large because it can also be influenced by other parameters including orientation parameters (θ, φ, ψ) and position parameter of the moving plane Xv . However, the condition number of the singularity-free path changes slowly and does not change suddenly to extremely large when the mechanism is singular. Therefore, the method of the position-singularity-free path planning proposed here is effective, which is the main purpose of this section.
Orientation-singularity-free path
Orientation transformation of a rigid body
The unit quaternion can describe an orientation transformation and can be written as the trigonometric form and the exponential product form
where ∊ ∈ [0,1],
Divide [0, T] equally by the interval
The relation between
where
and can be graphically represented as shown in Figure 18.

Orientation kinematics equation of the rigid body using the spherical representation.
Time optimal orientation path of a rigid body
Both of an orientation transformation
Write
The time optimal orientation path form
where
and ω(t) is the angular velocity at the moment of t.

Time optimal orientation motion of the rigid body using the spherical representation.
After dividing the time range [0, T] equally by N + 1 intervals, in which every angular velocity is considered as constant ω(t), the time optimal orientation path written as equation (18) which can be discretized as
where
where t 0 = 0, ∊i ∈ [0, 1]. The time optimal orientation path described as equation (20) can also be written as the exponential product form
where

Discrete representation of the orientation path of the rigid body.
The unit quaternion,
Optimal orientation-singularity-free path planning of the mechanism
As the 3-D orientation transformation of the moving platform of the GSPM is also the rigid transformation in the SO(3), the optimal time orientation-singularity-free path planning is explored using the results of the optimal time orientation transformation of a rigid body and the distribution of the orientation-singularity for a given position and is detailed by a numerical example for ease of exposition in the following.
Structure parameters of the mechanism are given as shown in the section “Method of position-singularity-free path planning.” Here the starting orientation is given as
The unit quaternion for time optimal orientation transformation from
The rotated angle of moving platform of the mechanism is
According to equation (20), the orientation path of the moving platform can be derived as
where the unit direction vector

Time optimal orientation path without considering the singularity.

Condition number of the Jacobian matrix of the mechanism without considering the singularity.
According to Figures 21 and 22, it can be shown that the time optimal orientation path by directly using the advanced method in section “Orientation transformation of a rigid body” may pass through the singular configuration which must be avoided. After observing the orientation-singularity locus for the given position as shown in Figure 21, the time optimal orientation-singularity-free path can be obtained by setting an interim orientation point
The rotation angles are
The time optimal orientation-singularity-free path can be easily obtained as
The replanned time optimal orientation-singularity-free path is shown in Figure 23, and the condition number of Jacobian matrix of the mechanism versus the orientation-singularity-free path is shown in Figure 24. It can be shown that the abovementioned method of orientation path planning can make an orientation transformation of the mechanism consuming minimum time without singularity.

Time optimal orientation-singularity-free path.

Condition number of the Jacobian matrix versus the orientation-singularity-free path.
Conclusion
For the investigation of position singularity-free path of the GSPM, based on the geometric property of position-singularity locus in the moving plane, whether a position-singularity-free path exists is addressed. After analyzing the coefficients characteristics of the singularity equation, the method of the path planning is developed. The method does not require careful observation of the singularity distributes. The research lays a foundation for our future work about the 3-D position-singularity-free path planning in a constant-orientation workspace.
The research of the position-singularity-free path of the GSPM in the moving plane has important value in practice. For example, the position-singularity-free path in the moving plane is essential to be planned, when the mechanism is applied on a sequential action, such as drilling holes, millings, or assembling in an oblique plane.
For the orientation singularity-free path of the GSPM, based on the quaternion algebra, after exploring the orientation kinematics of a rigid body and analyzing the orientation-singularity locus of the mechanism at a given position, the time optimal orientation singularity-free path planning of the mechanism, which can make the mechanism rotates quickly from an orientation to another with minimal time consumption and without singularity, is developed.
As the abovementioned orientation-singularity-free path depends much on the observation of distribution of the orientation singularity locus, this article explores the orientation-singularity-free path when one orientation parameter is set as constant value. The algorithm of automated search for a 3-D time optimal singularity-free path will be investigated in our future work.
The singularity-free path planning discussed in this article only considers the condition number of the Jacobian matrix which is a kinematics performance of the mechanism. Many factors can be used to measure the performance of the mechanism. Based on the discussion of this article, our future work will focus on the singularity-free path in the 6-D work space with some other optimal performance index, such as minimal time consumption, minimal energy consumption or relative small average driving force/torque.
Footnotes
Acknowledgements
The authors express their sincere thanks to the editors, referees, and all the members of our discussion group for their beneficial comments.
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: The National Natural Science Foundation of China under grant nos. 51605006, 51675004, The Natural Science Foundation for Colleges and Universities of Anhui Province, China under grant no. KJ2015A121.
