Next Article in Journal
Performance Study of Grass-Derived Nano-Cellulose and Polycaprolactone Composites for 3D Printing
Previous Article in Journal
Simulation of Biomass Combustion with Modified Flue Gas Tract
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Closed-Form Solution for the Inverse Kinematics of the 2n-DOF Hyper-Redundant Manipulator Based on General Spherical Joint

School of Mechatronics Engineering, Harbin Institute of Technology, Harbin 150001, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2021, 11(3), 1277; https://doi.org/10.3390/app11031277
Submission received: 5 January 2021 / Revised: 24 January 2021 / Accepted: 27 January 2021 / Published: 30 January 2021

Abstract

:
This paper presents a closed-form inverse kinematics solution for the 2n-degree of freedom (DOF) hyper-redundant serial manipulator with n identical universal joints (UJs). The proposed algorithm is based on a novel concept named as general spherical joint (GSJ). In this work, these universal joints are modeled as general spherical joints through introducing a virtual revolution between two adjacent universal joints. This virtual revolution acts as the third revolute DOF of the general spherical joint. Remarkably, the proposed general spherical joint can also realize the decoupling of position and orientation just as the spherical wrist. Further, based on this, the universal joint angles can be solved if all of the positions of the general spherical joints are known. The position of a general spherical joint can be determined by using three distances between this unknown general spherical joint and another three known ones. Finally, a closed-form solution for the whole manipulator is solved by applying the inverse kinematics of single general spherical joint section using these positions. Simulations are developed to verify the validity of the proposed closed-form inverse kinematics model.

1. Introduction

To increase the manipulator’s kinematic dexterity, more degrees of freedom (DOFs) beyond required for accomplishing a given task are introduced. These redundant DOFs can be used to accomplish additional various tasks, including obstacle avoidance, singularity avoidance, and physical limitations [1]. However, the inverse kinematics of the redundant manipulators would be more challenging and complicated than the non-redundant one because of the existence of infinite number of solutions for a given task [2]. To solve the inverse kinematics of such redundant manipulators, many algorithms have been proposed. According to the solution type of the inverse kinematics problem, these algorithms can be categorized into three groups: analytical method, numerical method, and the hybrid method [2,3,4,5].
Upon the analytical method, the joint variables can be explicitly interpreted by a function of the given pose of end-effector. Hence, the analytical method is characterized by computational efficiency and can provide all solutions for a given pose within the workspace of the manipulator [5]. However, the closed-form solution is strongly dependent on the configuration of the manipulator. It is generally known that the common 6-DOF non-redundant manipulator has a closed-form inverse kinematics solution if three consecutive revolute joint axes of the manipulator intersect at a common point or three consecutive revolute joint axes of the manipulator are parallel [6], especially the former. Actually, for the redundant manipulators, adding reasonable constraints is an effective way to pursuit the closed-form inverse kinematics solution. That is because that the number of DOF is bigger than the given conditions provided by the given position and orientation. Meanwhile, the existence of the above two criterions for the non-redundant 6-DOF manipulator will greatly increase the possibility of getting the closed-form solution [7,8,9,10]. For example, Srinivas N. et al. [7] modeled the redundant manipulator as a multi-section robot composed of spherical joints and proposed an approach, which computed per-section endpoint locations as the constraints. Based on these endpoint locations, the closed-form inverse kinematics of the multi-section robot is obtained by applying the inverse kinematics of single-section robot. Kai X. et al. [9] directly enumerated the different combinations of the segment positions as the constraints. Wenfu X. et al. [10] modeled the manipulator as a multi-group manipulator and determined the Cartesian coordinates of each node by modifying the well-known backbone curve method [11]. How to add right constraints to obtain the closed-form solution requires the algebraic and geometric intuition.
In contrast to the analytical method, the solution of the joint variables solved by the numerical method is implicit in the nonlinear equations relating the joint variables and the given pose. Thus, various algorithms solving nonlinear equations can be applied to solve the inverse kinematics of the redundant manipulators, for example, Newton–Raphson algorithm [12], Levenberg–Marquardt algorithm [13], and Cyclic Coordinate Descent (CCD) method [14]. Moreover, intelligent algorithms, such as neural network [15,16], fuzzy logic [17], and generic algorithm [18] are also used for the inverse kinematics problem of the redundant manipulators. These algorithms inevitably bear sensibility to the choice of initial values, high computational burden, and numerical errors.
Upon the hybrid method combining analytical and numerical method, part of the joint variables can be given by the closed-form algorithm and the rest are solved by the numerical method. Alternatively, the solution may be in closed-form, while the closed-form solution is based on the conditions provided by some numerical method like numerical optimization. For example, to solve the inverse kinematics of the proposed ( 2 n + 1 ) -DOF hyper-redundant manipulator, Ananthanarayanan H. et al. [19] provided the first two and last three joint angles given by analytical expression, and the other joint angles solved by considering the optimization of elbow locations. Kim J.S. et al. [20] determined the position of elbow of the 7-DOF manipulator by minimizing the force imposed on the elbow and the joint angles are obtained in analytical expressions by using geometric approach. Kircanski M.V. et al. [21] proposed a method for a 7-DOF manipulator where four joint angles are computed analytically and the remaining three are computed using the pseudoinverse of Jacobian matrix. Due to the addition of the closed-form solution for some joint variables, the hybrid method can efficiently improve the computational efficiency [13,21].
In this work, the hyper-redundant robot is a kind of 2 n -DOF serial manipulator with n identical universal joints. These universal joints have the same mechanical mechanism, the same angle limits, and the same kinematic characteristics. Research about the inverse kinematics problem for this type of manipulator has been carried out. However, these methods involve, more or less, numerical approaches. Huang H. et al. [22] studied the inverse kinematics of the manipulators with three universal joints and one rotary joint. The last universal joint and the rotary joint are regarded as a spherical wrist. Based on this, the closed-form solution of the last six joint angles is given by functions about the first joint angle. The first joint angle was determined by minimizing total energy. Therefore, this inverse kinematics solution is not a rigorous closed-form solution. Wenfu X. et al. [10] computed the Cartesian position of each universal joint by modifying the backbone curve method in which a spatial backbone is defined using a mode function to represent the geometry of the manipulator [11]. All of the universal joint angles are solved analytically based on the above computed universal joint positions. However, the numerical optimization still exists during the process of determining the Cartesian positions of the universal joints. Thus, this approach is not a rigorous closed-form solution. Tang, L. et al. [23] provided the inverse kinematics of the single-section manipulator. However, for the inverse kinematics of the whole manipulator, the proposed approach fell into the Jacobian analysis.
Compared to the above inverse kinematics solutions for the 2 n -DOF hyper-redundant serial robot with n identical universal joints, the inverse kinematics solution proposed in this paper is rigorous closed-form. In this inverse kinematics model, the universal joint is modeled as a general spherical joint through introducing a virtual revolution between two adjacent universal joints. It is surprising that all of the joints of the 2 n -DOF manipulator are general spherical joints. Simultaneously, these general spherical joints can realize the decoupling of the positions and orientations. A novel method for determining the positions of these universal joints is proposed. In this method, the Cartesian coordinates of a universal joint are obtained according to three distances between the universal joint to be solved and another three different known ones. According to inverse kinematics of a single general spherical joint section, the closed-form solution for the whole manipulator is solved. How to choose the distances for solving the positions of universal joints is important in the proposed closed-form solution.
The main contribution of this paper is as follows. Firstly, a novel rule for link frames attached to the links is proposed during the process of forward kinematics, which is more intuitive and briefer than the classical (Denavit–Hartenberg) D–H convention. Secondly, a novel concept named “general spherical joint”, which exists between any two adjacent link frames, is introduced. The general spherical joint is similar to spherical wrist and can realize the decoupling of the positions and orientations. Thirdly, a completely closed-form solution for the 2 n -DOF manipulator is proposed. This solution is not involved with any numerical method. Moreover, the proposed method to obtain the positions of universal joints is extremely geometrically intuitive. This directly contributes to the ease to understand of the proposed closed-form solution compare to the above inverse kinematics solutions.
The remaining of the paper is organized as follows. Section 2 sets a novel rule for link frames and accomplishes the forward kinematics of the proposed 2 n -DOF hyper-redundant serial robot. Section 3 introduces the definition of “general spherical joint”, and solves the inverse kinematics problem by introducing the certain distances. Section 4 verifies the validity of the proposed kinematics model. Finally, Section 5 concludes this paper.

2. Forward Kinematics

The forward kinematics of the 2 n -DOF hyper-redundant serial robot is described in this section. The studied manipulator is a serial robot consisting of n identical universal joints (UJ). For displaying purpose, the value of n is set to five. Figure 1a,b shows the link frame assignment for this manipulator, where the link frame refers to the coordinate system fixed on the link according to certain rule. Figure 1d gives the actual mechanical mechanism corresponding to Figure 1b. For the purpose of intuitiveness and convenience during kinematics analysis, the rule for link frames no longer follows the Denavit–Hartenberg (D–H) convention, and a novel rule is adopted to define Frame i for Link i :
  • Locate the origin O i of Frame i at the intersection of the two axes of UJ i + 1 ;
  • Choose axis z i along the central axis of Link i ;
  • Choose axis y i along the common axis (Axis 1 of UJ i + 1 ) of the two mounting holes (mounting holes 1 and 2) of Link i for UJ i + 1 ;
  • Choose axis x i to complete a right-handed frame. At this time, this axis coincides with the Axis 2 of UJ i + 1 when the corresponding rotation angle γ i + 1 of UJ i + 1 is equal to zero. When the angle γ i + 1 is not equal to zero, the coincidence no longer exists.
When UJ joint angles are all equal to zero, a constant angle α i exists between link Frame i and link Frame i 1 about the central axis of Link i , as shown in Figure 1c. Figure 1e gives the actual mechanical mechanism corresponding to Figure 1c.
Once the link frames have been established, the position and orientation of Frame i with respect to Frame i 1 can be completely determined by the kinematic parameters including link length l i , UJ joint angles β i , γ i , and the constant angle α i . Based on these kinematic parameters, the homogeneous transformation matrix A i i 1 expressing the position and orientation of Frame i with respect to Frame i 1 can be given by
A i i 1 = y i 1 ( β i ) x i 1 ( γ i ) z i 1 ( α i ) T z i 1 ( l i )
where y i 1 ( β i ) , x i 1 ( γ i ) , z i 1 ( α i ) , and T z i 1 ( l i ) are four homogeneous transformation matrices describing the basic rotations by angle β i about axis y i 1 , by angle γ i about axis x i 1 , by angle α i about axis z i 1 , and the basic translation by l i along axis z i 1 , respectively.
Substituting the detailed form of the four basic transformations in Equation (1) gives
A i i 1 = [ c α i c β i + s α i s γ i s β i s α i c β i + c α i s γ i s β i c γ i s β i l i c γ i s β i s α i s γ i c α i c γ i s γ i l i s γ i c α i s β i + s α i s γ i c β i s α i s β i + c α i s γ i c β i c γ i c β i l i c γ i c β i 0 0 0 1 ]
where c α i , s α i , c β i , s β i , c γ i , and s γ i represent cos α i , sin α i , cos β i , sin β i , cos γ i , and sin γ i , respectively. For one actual manipulator studied in this paper, l i and α i are constant, thus, the transformation matrix from Frame to Frame i 1 given by (1) is function of the two UJ joint angles, i.e., β i and γ i .
Based on Equation (1), the forward kinematics, i.e., the position and orientation of Frame n with respect to Frame 0, can be given by
T n 0 = A 1 0 A 2 1 A n n 1
For unified symbol, the following notation will be used:
  • R i i 1 and R i denote the rotation matrix of the homogeneous transformation matrix A i i 1 and T i 0 , respectively.
  • p i i 1 and p i denote the position vector of the homogeneous transformation matrix A i i 1 and T i 0 , respectively.
  • ( n i i 1 s i i 1 a i i 1 ) and ( n i s i a i ) denote the expressions of the rotation matrix R i i 1 and R i , respectively.
  • ( n i , x i 1 n i , y i 1 n i , z i 1 ) T , ( s i , x i 1 s i , y i 1 s i , z i 1 ) T , ( a i , x i 1 a i , y i 1 a i , z i 1 ) T , ( p i , x i 1 p i , y i 1 p i , z i 1 ) T and ( n i , x n i , y n i , z ) T , ( s i , x s i , y s i , z ) T , ( a i , x a i , y a i , z ) T , ( p i , x p i , y p i , z ) T denote the expressions of n i i 1 , s i i 1 , a i i 1 , p i i 1 and n i , s i , a i , p i , respectively.

3. Inverse Kinematics

3.1. General Spherical Joint

To solve the inverse kinematics and illustrate the essence of the kinematics for the 2 n -DOF redundant manipulator with n identical UJs, a novel concept named as “general spherical joint” (GSJ) is introduced.
General spherical joint is inspired by the homogeneous transformation between any two adjacent frames. Notice that the rotation component of the homogeneous transformation matrix is obtained by multiplying three basic rotation matrices about three orthonormal axes. Based on this fact, the joint between any two adjacent frames can be regard as a spherical joint, i.e., the new concept general spherical joint. In accordance with the spherical wrist, GSJ also possesses the property of three consecutive revolute joint axes intersecting at a common point. These three revolute joint axes include the two axes of i -th UJ and the central axis of Link i , as shown in Figure 2. The revolution about the central axis of Link i is embodied in the constant angle α i between link Frame i and link Frame i 1 . Thus, this revolution is virtualized as the third DOF of the GSJ to form the three revolute axes intersecting at a common point.
Based on the GSJ, the studied 2 n -DOF manipulator can be regard as a serial robot, whose links are connected by n identical GSJs. Simultaneously, the GSJ can also realize the decoupling between the position and orientation just as the spherical joint. Thus, considering the GSJ i 1 in Figure 2, the relationship between these two adjacent locations p i 1 and p i can be given by
p i 1 = p i l i a i
The manipulator studied in this paper is a strange robot. Most series robot commonly has only one spherical joint, which often acts as the last joint. This joint is called as spherical wrist, which can decouple the solutions for the position and for the orientation of end-effector. However, according to Equation (4), all joints of the studied manipulator can realize the decoupling between position of this joint and orientation of the corresponding end-effector. This fact is essential for the following inverse kinematics derivation of the whole manipulator.

3.2. Closed-Form Solution for Single-GSJ Section

The kinematic parameters α i , β i and γ i for a single-GSJ section shown in Figure 2 can be determined for the given orientation R i i 1 of Frame i with respect to Frame i 1 . Moreover, the solution of these kinematic parameters is in closed-form expression. Considering the actual mechanical structure of GSJ, the range of the three joint angles α i , β i and γ i can be given by α i [ π / 2 , π / 2 ] , β i ( π / 2 , π / 2 ) and γ i ( π / 2 , π / 2 ) , respectively. According to (1), α i , β i and γ i can be given by
α i = { tan 1 n i , y i 1 s i , y i 1 ,                           i f   s i , y i 1 0 s g n ( n i , y i 1 ) · π / 2 , i f   s i , y i 1 = 0
and
β i = tan 1 a i , x i 1 a i , z i 1 γ i = tan 1 a i , y i 1 ( n i , y i 1 ) 2 + ( s i , y i 1 ) 2 ,
respectively, where c γ i > 0 is exploited in Equation (5) and the first equation of Equation (6), and s g n ( · ) denotes the signum function.
For actual manipulator, the value of angle α i is constant. Hence, for any given desired orientation R i i 1 within the workspace of the single-GSJ section, the computed value of α i by using Equation (5) should be equal to the actual value. From Equation (6), the value of β i and γ i only depend on the component a i i 1 of the given rotation matrix. This is another important fact for the following inverse kinematics of the whole manipulator.

3.3. Closed-Form Solution for Multiple-GSJ Section

This section illustrates the process of solving the inverse kinematics problem of the whole manipulator studied in this paper. The inverse kinematics derived in the previous section for a single-GSJ section can be iteratively applied to multiple serial GSJ sections to model an n -GSJ section manipulator. Given a list of a i i 1 ( i = 1 , , n ), the values of β i and γ i can be computed for each GSJ section by applying the single-GSJ inverse kinematics. The list of a i i 1 ( i = 1 , , n ) can be determined by providing a list of locations p i ( i = 0 , , n 1 ) of GSJs i ( i = 0 , , n 1 ). This section proposes a distance-based algorithm to determine the list of locations.
Therefore, the inverse kinematics problem for multiple-GSJ section can be transformed to the determination of the x , y and z coordinates p i of the GSJs i ( i = 0 , , n 1 ) and the determination of a i i 1 based on the above GSJ coordinates. Finally, the solution of the GSJ angles is got by using the inverse kinematics of single-GSJ section. The information flow during the process of solving the inverse kinematics of the whole manipulator is shown in Figure 3.

3.3.1. Locations of the GSJs

Given the desired position and orientation T n 0 of the end-effector, the location of GSJ O n 1 can be computed using Equation (4) and is given by p n 1 = p n l n a n . The location of GSJ O 0 is constant and is set as p i 1 = [ 0 0 0 ] T . To determine the locations of the rest of GSJs O i ( i = 1 , , n 2 ), a distance-based algorithm is proposed, as shown in Figure 4. This algorithm introduces two distances l v , i + 1 and l O i based on this information, where the x , y and z coordinates of a three-dimensional point can be determined by three distances between this unknown point and another three known points.
As shown in Figure 4, l v , i + 1 represents the distance between the unknown O i and the known O i + 2 , and l O i represents the distance between the unknown O i and the known O 0 .
Combining l v , i + 1 , l O i with the third known distance l i + 1 , i.e., link length, gives
p i p i + 1 2 = ( l i + 1 ) 2 p i p i + 2 2 = ( l v , i + 1 ) 2 p i p 0 2 = ( l O i ) 2 .
In fact, Equation (7) provides the basic position information for the location of GSJ O i according to the relative distances of four locations of GSJs, i.e., unknown O i , known O i + 1 , O i + 2 , and O 0 . Further calculation of Equation (7) gives a quadratic equation about the unknown p i , z :
a Δ ( p i , z ) 2 + b Δ p i , z + c = 0 ,
where a = 1 + b 1 2 + b 2 2 , b = 2 b 1 a 1 2 b 2 a 2 , c = a 1 2 + a 2 2 ( l O i ) 2 ,
a 1 = p i + 1 , y A 1 p i + 2 , y A 2 p i + 2 , x p i + 1 , y p i + 2 , y p i + 1 , x , b 1 = p i + 2 , z p i + 1 , y p i + 2 , y p i + 1 , z p i + 2 , x p i + 1 , y p i + 2 , y p i + 1 , x , a 2 = p i + 1 , x A 1 p i + 2 , x A 2 p i + 2 , x p i + 1 , y p i + 2 , y p i + 1 , x ,
b 2 = p i + 2 , z p i + 1 , x p i + 2 , x p i + 1 , z p i + 2 , x p i + 1 , y p i + 2 , y p i + 1 , x ; A 1 = ( l O i + 2 ) 2 + ( l O i ) 2 ( l v , i + 1 ) 2 2 , A 2 = ( l O i + 1 ) 2 + ( l O i ) 2 ( l i + 1 ) 2 2 .
Obviously, b 1 and b 2 are constant. a 1 and a 2 are quadratic functions about both l v , i + 1 and l O i . Hence, a is constant; b and c are functions about both l v , i + 1 and l O i , i.e., b = b ( l v , i + 1 , l O i ) , c = c ( l v , i + 1 , l O i ) . a 1 , a 2 , b 1 and b 2 exist in the situation where p i + 2 , x p i + 1 , y p i + 2 , y p i + 1 , x 0 is satisfied.
Further, the x , y and z coordinates of the location of GSJ O i is given by
p i , z = b ± Δ 2 a p i , x = a 1 b 1 p i , z p i , y = a 2 b 2 p i , z ,
where Δ = b 2 4 a c 0 , which is a function about l O i and l v , i + 1 , i.e., Δ = Δ ( l v , i + 1 , l O i ) ; the value of a is always nonzero because a is equal to 1 + b 1 2 + b 2 2 .
Given the desired position and orientation of end-effector and link lengths of the studied 2 n -DOF serial manipulator, based on the known locations O n 1 , O n and the distances l v , n 1 and l O n 2 , this algorithm firstly determines the location of GSJ O n 2 , which is function about l v , n 1 and l O n 2 , i.e., p n 2 = p n 2 ( l v , n 1 , l O n 2 ) . Then based on the above computed O n 2 , known O n 1 and the distances l v , n 2 and l O n 3 , this algorithm determines the location of GSJ O n 3 , which is function about l v , n 2 , l O n 3 , l v , n 1 and l O n 2 , i.e., p n 3 = p n 3 ( l v , n 2 , l O n 3 , l v , n 1 , l O n 2 ) . This process is repeated with the remaining locations. Finally, based on the above computed O 2 , O 3 and the distances l v , 2 and l O 1 , this algorithm determines the location of GSJ O 1 , which is function about l v , 2 and l O 1 , …, l v , n 2 and l O n 2 , i.e., p 1 = p 1 ( l v , 2 , l O 1 , , l v , n 1 , l O n 2 ) , where l O 1 is equal to link length l 1 .
Hence, considering the whole manipulator, the positions of the GSJs p 1 , , n 2 is function about l v , 2 and l O 1 , …, l v , n 2 and l O n 2 , i.e., p 1 , , n 2 =   p 1 , , n 2 ( l v , 2 , l O 1 , , l v , n 1 , l O n 2 ) . Based on this, the distances l v , 2 and l O 1 , …, l v , n 1 and l O n 2 should also satisfy the following inequality constraints:
Δ ( L i ) = ( b ( L i ) ) 2 4 a ( L i ) c ( L i ) 0 p i + 2 , x ( L i ) p i + 1 , y ( L i ) p i + 2 , y ( L i ) p i + 1 , x ( L i ) 0 ,
where the value of i includes 1 , , n 2 , L i = ( l v , i + 1 , l O i , , l v , n 1 , l O n 2 ) represents the related variables for the corresponding i , and the first equation defines the workspace of the mechanism, while the second represents a singular configuration in which the two consecutive Links i + 1 and i + 2 are parallel. In particular, p i + 2 = p n , p i + 1 = p n 1 in the situation where i is equal to n 2 ; p i + 2 = p n 1 , p i + 1 = p n 2 ( l v , n 1 , l O n 2 ) in the situation where i is equal to n 3 .

3.3.2. Determination of l v , i + 1 and l O i

This sub-section discusses how to determine the distance l v , i + 1 and l O i involved in distance-based algorithm. Considering the joint limits of GSJ angles, the value of the two distances is restricted by the following inequalities:
l v , i + 1 l l v , i + 1 l i + 1 + l i + 2 l O , i l l O i j = 1 i l j ,
where l v , i + 1 l and l O , i l are the lower bound of l v , i + 1 and l O i considering the joint limits, respectively, i.e., l v , i + 1 l = min p i + 2 i ( β i + 1 , γ i + 1 , β i + 2 , γ i + 2 ) , l O , i l = min p i ( β 1 , γ 1 , , β i , γ i ) , p i + 2 i denotes the position vector of the homogeneous transformation matrix A i + 2 i = A i + 1 i ( β i + 1 , γ i + 1 ) A i + 2 i + 1 ( β i + 2 , γ i + 2 ) , and these joint angles β 1 , γ 1 , , β i + 2 , γ i + 2 have their own boundaries.
In actual detection tasks, the hyper-redundant manipulator’s end effector needs to be maintained at a target point in a narrow space with a fixed position and orientation, as shown in Figure 5, and all of the manipulator’s links cannot collide with the environment. Assume that the structural environment of the narrow space is known. The minimum distance between Link i ( i = 1 , 2 , 3 , 4 ) and the environmental boundary can be expressed as
d i , m i n = min u [ 0 , 1 ] , v A i ( u ) C i , v ,
where A i ( u ) represents the point on the straight line O i 1 O i ¯ where Link i is, and its coordinate value is
p A i ( u ) = p i 1 ( l v , i + 1 , l O i ) + u ( p i p i 1 ( l v , i + 1 , l O i ) ) .
The symbol u represents the linear parameter, when u [ 0 , 1 ] , A i ( u ) only represents the point on the link’s axis, and C i , v represents the point on the narrow environment boundary that is closest to Link i . In actual calculation, the distances l v , i + 1 , l O i and u in Equation (13) are given by
l v , i + 1 = l v , i + 1 l + k 1 · Δ l v , i + 1 , k 1 = 0 , 1 , , N l v , i + 1 l O i = l O , i l + k 2 · Δ l O i ,                           k 2 = 0 , 1 , , N l O i        
and
u = k 3 · Δ u , k = 0 , 1 , , N u ,
respectively, where Δ l v , i + 1 , Δ l O i , and Δ u denote the value intervals of l v , i + 1 , l O i and u , respectively, and N l v , i + 1 , N l O i , and N u denote the maximum of the indices k 1 , k 2 , and k 3 , respectively.
Let δ i denote the maximum distance from the point on Link i to the link’s axis. If
d i , m i n > 2 δ i ,
it means that Link i has no collision with the boundary. Take a five-UJ manipulator as an example to describe the above collision detection analysis process, as shown in Figure 5.
By combining the boundary distribution, and taking the avoidance of collision between the links and the boundary as the criterion, the distances l v , i + 1 and l O i can be used to describe the manipulator’s overall configuration in a narrow space scene more intuitively. This is the reason why the two distances are chosen as the parameters of the inverse kinematics solution process. Take Figure 6 as an example, the environment has four boundaries, and the coordinate system origins O i + 1 , O i + 2 and the link lengths l i + 1 ,   l i + 2 are known. Considering that Link i + 1 whose posture is to be determined cannot collide with Boundaries 3 and 4, it is easy to select a l v , i + 1 based on the position information of the two boundaries. At this time, the choice of O i is the intersection (only part of the intersection is made in the figure) of two spheres whose sphere centers and radii are O i + 1 , O i + 2 and l i + 1 , l v , i + 1 respectively. Some points (collision points 1 and 2) in the intersection may cause the link to collide with Boundaries 1 and 2. By introducing the distance l O i , these points that cause collision can be eliminated. Therefore, l v , i + 1 and l O i jointly determine the collision-free posture (collision-free point) of Link i + 1 .
Combining Equations (10) and (11), the determination algorithm of l v , i + 1 and l O i can be summarized, as shown in Figure 7. The algorithm successively uses Equations (11)–(16) to gradually narrow the value range. In this process, according to Equations (14) and (15), only finite number of calculations of explicit equations and conditional judgments of some calculation results are performed, which satisfying the closed-form definition in [24]. Therefore, this will not affect the closed-form nature of the inverse kinematics algorithm proposed in this paper.

3.3.3. GSJ Angles for Multiple-GSJ Section

Based on a list of locations provided by the distance-based algorithm in Section 3.3.1, the corresponding list of a i i 1 ( i = 1 , , n ) can be obtained through the following derivation:
From Equation (4), the component a i  of rotation matrix  is given by
a i = p i p i 1 l i .
For given β 1 , γ 1 , , β i 1 , γ i 1 , the component a i of rotation matrix R i can also be expressed by
a i = R i 1 ( β 1 , γ 1 , , β i 1 , γ i 1 ) · a i i 1 .
Combining Equations (17) and (18) gives
a i i 1 = ( R i 1 ( β 1 , γ 1 , , β i 1 , γ i 1 ) ) 1 · p i p i 1 l i .
Applying the inverse kinematics of single-GSJ section expressed in Equation (6) gives the closed-form solution for GSJ angles. Set the value of i equal to 1 , , n successively, and the solution of ( β 1 , γ 1 , , β n , γ n ) can be computed by Equations (6) and (19). The combination of Equations (6) and (19) provides the closed-form solution for the studied 2 n -DOF serial manipulator with n identical UJs.
Next, the closed-form property of the proposed inverse kinematics solution is analyzed. The closed-form is determined by two parts, i.e., the determination of the two distances and the resolution of GSJ angles for multiple-GSJ section. Using a finite number of standard operations [24], Equation (14) gives the closed-form solution of the two distances after judging whether they satisfy the constraints in Equations (10) and (16). This ensures the first part’s closed-form property. The closed-form of the inverse kinematics solution formed by Equations (6), (9), and (19) is obvious. Hence, closed-form property of the proposed inverse kinematics solution for the 2n-DOF hyper-redundant manipulator is ensured.

4. Simulation

In this simulation, the parameters of the 2 n -DOF manipulator are shown as follows: the number of UJ n = 5 , the link lengths l i = 1.0 , i = 1 , ,   5 , and the GSW angles α i = 9 ° , and β i , γ i ( i = 1 , , 5 ) with bounds “not more than 25 ° and not less than 25 ° ”. For this manipulator, the distances introduced in the proposed closed-form inverse kinematics includes l v , 4 , l O 3 , l v , 3 , l O 2 , l v , 2 , l O 1 . Based on Equation (11), these introduced distances have the following value ranges got by using the joint angle bounds: 0.6282 l v , 4 2 , 2.6431 l O 3 3 , 0.6282 l v , 3 2 , 1.9086 l O 2 2 , 0.6282 l v , 2 2 , l O 1 = l 1 = 1.0 . In addition, these distances also satisfy the following inequality constraints given by Equation (10): Δ ( l v , 4 , l O 3 ) 0 and p 5 , x p 4 , y p 5 , y p 4 , x 0 during the process of computing p 3 ; Δ ( l v , 3 , l O 2 , l v , 4 , l O 3 ) 0 and p 4 , x p 3 , y p 4 , y p 3 , x 0 during the process of computing p 2 ; Δ ( l v , 2 , l O 1 , l v , 3 , l O 2 , l v , 4 , l O 3 ) 0 and p 3 , x p 2 , y p 3 , y p 2 , x 0 during the process of computing p 1 .
To verify the validity of the proposed closed-form inverse kinematics model, the solution for a random single given pose, the straight-line paths along the x-axis, y-axis, and z-axis of the base frame, and the circle path are solved through using the proposed closed-form inverse kinematics. The tool used to perform the simulation is an open source software called GNU Octave.

4.1. Solutions for a Random Single Given Pose

For a random given pose of the end-effector within the workspace of the 5-UJ manipulator, for example, n 5 0 = ( 0.7277 0.6755 0.1192 ) T , s 5 0 = ( 0.6328 0.5940 0.4967 ) T , a 5 0 = ( 0.2647 0.4369 0.8597 ) T , p 5 0 = ( 0.5476 1.6509 4.5615 ) T , it is in the narrow space whose boundary is a cylindrical surface with a radius of 0.55. By using Equations (10), and (12)–(16) with the selected intervals Δ l v , 4 = Δ l v , 3 = Δ l v , 2 = 0.001 , Δ l O 3 = Δ l O 2 = 0.001 , and Δ u = 0.001 and the maximum envelope distances δ 1 = = δ 5 = 0.2 , the range of these distances l v , 4 , l O 3 , l v , 3 , l O 2 , l v , 2 can be further reduced. The reduced value range is presented in the form of a combination of these five distances, as shown in Figure 8. As it can be seen, the value ranges of l v , 4 , l O 3 , l v , 3 , l O 2 , l v , 2 have great decrease comparing to the ones computed by Equation (11) and are close to their respective upper bonds. This is because that the smaller value of these distances indicates the larger joint angles and satisfying the need of harmony between these distances to make all joint angles within their limits is necessary. In fact, the function of Figure 8 is to provide the initial estimate for the value of these distances.
To show multiple solution for a given pose, different value of l v 4 and some valid values of l O 3 , l v , 3 , l O 2 , l v , 2 within the value ranges shown in Figure 8 are chosen to solve the above given pose using the proposed closed-form inverse kinematics. The value of l v , 4 changes from 1.9573 to 1.9989 at 0.001 interval; the value of l O 3 , l v , 3 , l O 2 , l v , 2 are equal to 2.9249, 1.9706, 1.9730, and 1.9690, respectively. The configuration of the manipulator plotted through using the forward kinematics is shown in Figure 9a. The corresponding joint angles are shown in Figure 9b.
For some given target pose, different manipulator configurations can be provided by choosing different distances, for example, l v , 4 . This can be applied in obstacle avoidance. Moreover, according to Figure 9, the configurations of link 5 remain unchanged because of the existence of the general spherical wrist, i.e., the 5th general spherical joint. Simultaneously, the solution changes in law with the change of the distance of l v , 4 .

4.2. Solutions for the Straight-Line Paths along the x-axis, y-axis, and z-axis of the Base Frame

Further, to verify the validity of the proposed closed-form inverse kinematics, the straight-line paths along the x-axis, y-axis, and z-axis of the base frame are regarded as test objects and the solution of these paths are solved by applying the proposed closed-form inverse kinematics. For the straight-line path along the x-axis started at the above given pose, all of the distances are equal to valid value, which are 1.9573, 2.9249, 1.9706, 1.9730, and 1.9690, respectively. The configurations of the manipulator plotted through using the forward kinematics is shown in Figure 10a. The corresponding joint angles is shown in Figure 10b. For the straight-line path along the y-axis started at the above given pose, all of the distances are equal to valid value, which are 1.9573, 2.9249, 1.9706, 1.9730, and 1.9690, respectively. For the straight-line path along the z-axis started at the above given pose, all of the distances are equal to valid value, which are 1.9633, 2.9249, 1.9706, 1.9730, and 1.9690, respectively. The results for the straight-line paths along the y-axis and z-axis are shown in Figure 11 and Figure 12, respectively.
According to Figure 10b, Figure 11b and Figure 12b, the solution changes continuously with the change of coordinate, while the five distances used remain the same.

4.3. Solution for a Circle Path

After the above test for the line path, the circle path is also tested using the proposed closed-form inverse kinematics. This circle path passes through the end-effector position shown in Figure 9, and the projection of this circle path in the x y plane is a circle whose origin is ( 0 0 0 ) . For this circle path, all of the distances are equal to valid value, which are 1.9573, 2.9249, 1.9706, 1.9730, and 1.9690, respectively. The configuration of the manipulator plotted through using the forward kinematics is shown in Figure 13a. The corresponding joint angles is shown in Figure 13b.

5. Discussion

As expected by the determination algorithm for the distances shown in Figure 7, for the desired end effector pose, Figure 8 shows all of the distance combinations that meet the constraints described by Equations (10)–(16). Each set of combinations corresponds to a set of inverse kinematics solutions. By using the proposed closed-form inverse kinematics in Equations (6), (9), and (19), Figure 9 shows different manipulator configurations and joint angles corresponding to different distance combinations. The end-effector poses of these configurations remain unchanged. Simultaneously, the calculated joint angles are within the given joint limit “not more than 0.4363 rad ( 25   ° ) and not less than 0.4363 rad ( 25   ° )”. These results verify the correctness of the proposed inverse kinematics model. Moreover, compared with the inverse kinematics based on backbone curve in [10], the proposed model is completely closed-form. Compared with the algorithm based on Jacobian analysis in [23], the proposed method can solve all joint angles at once. Compared with the inverse kinematics model proposed in [22] for three universal joints and one rotary joint manipulator, the proposed algorithm has stronger applicability.
Using a set of constant distance combinations, Figure 10 shows the inverse kinematics solution when the end-effector moves linearly along the x axis. Figure 11 and Figure 12 show the corresponding results for the y- and z-axes, respectively. Figure 13 shows the inverse kinematics solution when the end effector performs circular motion. These joint angles are all within the given joint limit. These results further verify the correctness of the proposed inverse kinematics model. Simultaneously, these results also indicate that the distance combination has the following property: a set of distance combinations can be used to solve the inverse kinematics of different end-effector poses. These distances have geometric meanings as shown in Figure 6, so this property has certain guiding significance for path planning and obstacle avoidance of the 2n-DOF hyper-redundant manipulator.

6. Conclusions

In this paper, a novel method to derive closed-form solution for the inverse kinematics problem of 2 n -DOF redundant serial manipulators is proposed. This method is based on a novel concept named as general spherical wrist and a distance-based formula for the positions of the universal joints. It is noteworthy that the proposed general spherical joint reveals the essence of the coordinate transformation between the two link frames connected by universal joint, and it becomes an alternative joint that can realize decoupling of the positions and orientations after the spherical wrist. A determination algorithm for the introduced distances is proposed, which is the prerequisite for realizing the distance-based algorithm. Unlike other methods found in literature, the method exposed in this work does not involve any numerical optimization, and is, therefore, rigorous analytically. Moreover, this method is extremely geometrically intuitive and is easy to understand. The closed-form property of the proposed inverse kinematics solution is justified by analyzing closed-form properties of the determination of the two distances and the resolution of GSJ angles for multiple-GSJ section. The simulation results with single given pose of end-effector, straight-line path along three coordinate axes of the base frame, and a circle path verify the validity and effectiveness of the proposed closed-form solution. Hence, the proposed solution can be used in trajectory planning and real-time control of the redundant manipulator. Moreover, according to the simulation results, a distance combinations’ characteristic of “a set of distance combinations can be used to solve different end-effector poses” was found.
Based on this characteristic, further research will focus on the path planning and obstacle avoidance of the 2 n -DOF hyper-redundant manipulator. The inverse Jacobian kinematics based on the closed-form solution proposed in this work is another research interest.

Author Contributions

Y.L. and P.Q. developed the methodology; Y.L. and P.Q. conceived and designed the simulations; Y.L. and H.L. wrote the original draft of the paper; S.D. and D.W. reviewed and edited the paper. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

This paper is no data.

Acknowledgments

The authors thank Tian Lan and Xiaolong Liu for the helpful suggestions.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Hussain, R.; Qureshi, A.; Mughal, R.A.; Ijaz, R.; Rashid, N.; Tiwana, M.I.; Iqbal, J. Inverse kinematics control of redundant planar manipulator with joint constraints using numerical method. In Proceedings of the 2015 15th International Conference on Control, Automation and Systems (ICCAS), Busan, Korea, 13–16 October 2015; pp. 806–810. [Google Scholar]
  2. Du, H.B.; Zhao, Y.W.; Li, X.G.; Han, J.D.; Wang, Z.; Song, G.L. A closed-loop framework for inverse kinematics of the 7-DOF manipulator. In Proceedings of the 2nd International Conference on Control Science and Systems Engineering, Singapore, 27–29 July 2016; pp. 237–241. [Google Scholar]
  3. Deepak, T.; Ambarish, G.; Norman, B. Real-time inverse kinematics techniques for anthropomorphic limbs. Graph Models 2000, 62, 353–388. [Google Scholar]
  4. Omisore, M.O.; Han, S.; Ren, L.; Zhang, N.; Wang, L. Noniterative geometric approach for inverse kinematics of redundant leadmodule in a radiosurgical snakelike robot. Biomed. Eng. Online 2017, 16, 93. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Isiah, Z.; Luis, B. A novel closed-form solution for the inverse kinematics of redundant manipulators through workspace analysis. Mech. Mach. Theory 2018, 121, 829–843. [Google Scholar]
  6. Pieper, D. The Kinematics of Manipulation under Computer Control. Ph.D. Thesis, Stanford University, Stanford, CA, USA, 1968. [Google Scholar]
  7. Srinivas, N.; Matthew, A.C.; Bryan, A.J.; Walker, I.D. Closed-form inverse kinematics for continuum manipulators. Adv. Robot. 2009, 23, 2077–2091. [Google Scholar]
  8. Pfurner, M. Closed form inverse kinematics solution for a redundant anthropomorphic robot arm. Comput. Aided Geom. D 2016, 47, 163–171. [Google Scholar] [CrossRef]
  9. Kai, X.; Wukun, M.; Zhixiong, Y.; Han, L.; Zhu, X. Design of a hyper-redundant continuum manipulator for intra-cavity tasks. In Proceedings of the 2014 IEEE International Conference on Robotics and Biomimetics, Bali, Indonesia, 5–10 December 2014; pp. 380–385. [Google Scholar]
  10. Wenfu, X.; Zonggao, M.; Tianliang, L.; Liang, B. A modified modal method for solving the mission-oriented inverse kinematics of hyper-redundant space manipulators for on-orbit servicing. Acta Astronaut. 2017, 139, 54–66. [Google Scholar]
  11. Chirikjian, G.; Burdick, J. A modal approach to hyper-redundant manipulator kinematics. IEEE Trans. Robot. Autom. 1994, 10, 343–354. [Google Scholar] [CrossRef] [Green Version]
  12. Goldenberg, A.A.; Benhabib, B.; Fenton, R.G. A complete generalized solution to the inverse kinematics of robots. IEEE J. Robot. Autom. 1985, 1, 14–20. [Google Scholar] [CrossRef]
  13. Sugihara, T. Solvability-Unconcerned Inverse Kinematics by the Levenberg–Marquardt Method. IEEE Trans. Robot. 2011, 27, 984–991. [Google Scholar] [CrossRef]
  14. Wang, L.-C.; Chen, C. A combined optimization method for solving the inverse kinematics problems of mechanical manipulators. IEEE Trans. Robot. Autom. 1991, 7, 489–499. [Google Scholar] [CrossRef]
  15. Li, Y.; Leong, S.H. Kinematics control of redundant manipulators using a CMAC neural network combined with a genetic algorithm. Robotica 2004, 22, 611–621. [Google Scholar] [CrossRef]
  16. Yin, F.; Wang, Y.; Yang, Y. Inverse kinematics solution for robot manipulator based on neural network under joint subspace. Int. J. Comput. Commun. 2012, 7, 459–472. [Google Scholar]
  17. Beheshti, M.T.H.; Tehrani, A.K.; Ghanbari, B. An optimized adaptive fuzzy inverse kinematics solution for redundant manipulators. In Proceedings of the 2003 IEEE International Symposium on Intelligent Control, Houston, TX, USA, 5–8 October 2003; pp. 924–929. [Google Scholar]
  18. Kesheng, W. Application of genetic algorithms to robot kinematics calibration. Int. J. Syst. Sci. 2009, 40, 147–153. [Google Scholar]
  19. Ananthanarayanan, H.; Ordóñez, R. Real-time inverse kinematics of (2n+1) DOF hyper-redundant manipulator arm via a combined numerical and analytical approach. Mech. Mach. Theory 2015, 91, 209–226. [Google Scholar] [CrossRef]
  20. Kim, J.S.; Jeong, J.H.; Park, J.H. Inverse kinematics of a redundant manipulator based on conformal geometry using geometric approach. In Proceedings of the 2015 12th International Conference on Informatics in Control, Automation and Robotics (ICINCO), Colmar, France, 21–23 July 2015; pp. 179–185. [Google Scholar]
  21. Kireanski, M.V.; Petrovie, T.M. Combined analytical-pseudoinverse inverse kinematic solution for simple redundant manipulators and singularity avoidance. Int. J. Robot. Res. 1993, 12, 188–196. [Google Scholar] [CrossRef]
  22. Huang, H.; Dong, E.; Xu, M.; Yang, J.; Low, K.H. Mechanism design and kinematic analysis of a robotic manipulator driven by joints with two degrees of freedom (DOF). Ind. Robot. 2018, 45, 34–43. [Google Scholar] [CrossRef] [Green Version]
  23. Tang, L.; Wang, J.; Zheng, Y.; Gu, G.; Zhu, L.; Zhu, X. Design of a cable-driven hyper-redundant robot with experimental validation. Int. J. Adv. Robot. Syst. 2017, 14, 172988141773445. [Google Scholar] [CrossRef] [Green Version]
  24. Borwein, J.M.; Crandall, R.E. Closed forms: What they are and why we care. N. Am. Math. Soc. 2013, 60, 50–65. [Google Scholar] [CrossRef] [Green Version]
Figure 1. The studied 2 n -degree of freedom (DOF) redundant manipulator (n = 5): (a) layout of the link frames, universal joints, and links; (b) a novel rule for defining link Frame i ; (c) the constant angle between link Frame i and link Frame i 1 ; (d) the actual mechanical mechanism corresponding to (b); (e) the actual mechanical mechanism corresponding to (c).
Figure 1. The studied 2 n -degree of freedom (DOF) redundant manipulator (n = 5): (a) layout of the link frames, universal joints, and links; (b) a novel rule for defining link Frame i ; (c) the constant angle between link Frame i and link Frame i 1 ; (d) the actual mechanical mechanism corresponding to (b); (e) the actual mechanical mechanism corresponding to (c).
Applsci 11 01277 g001
Figure 2. General spherical joint.
Figure 2. General spherical joint.
Applsci 11 01277 g002
Figure 3. Information flow of the proposed closed-form solution.
Figure 3. Information flow of the proposed closed-form solution.
Applsci 11 01277 g003
Figure 4. Distance-based algorithm for determining the x , y , and z coordinates p i of the GSJs i ( i = 0 , , n 1 ).
Figure 4. Distance-based algorithm for determining the x , y , and z coordinates p i of the GSJs i ( i = 0 , , n 1 ).
Applsci 11 01277 g004
Figure 5. Collision detection for a five-general spherical joint (GSJ) manipulator.
Figure 5. Collision detection for a five-general spherical joint (GSJ) manipulator.
Applsci 11 01277 g005
Figure 6. Under a certain boundary distribution, the posture of Link i + 1 determined by the distances l v , i + 1 and l O i .
Figure 6. Under a certain boundary distribution, the posture of Link i + 1 determined by the distances l v , i + 1 and l O i .
Applsci 11 01277 g006
Figure 7. Determination algorithm for the distances l v , i + 1 and l O i .
Figure 7. Determination algorithm for the distances l v , i + 1 and l O i .
Applsci 11 01277 g007
Figure 8. Combinations of introduced distances satisfying the constraints of Equations (10)–(16).
Figure 8. Combinations of introduced distances satisfying the constraints of Equations (10)–(16).
Applsci 11 01277 g008
Figure 9. Solution for a random given pose within workspace: (a) configuration of the manipulator; (b) corresponding joint angles.
Figure 9. Solution for a random given pose within workspace: (a) configuration of the manipulator; (b) corresponding joint angles.
Applsci 11 01277 g009
Figure 10. Solution for the straight-line path along the x-axis: (a) configuration of the manipulator; (b) corresponding joint angles.
Figure 10. Solution for the straight-line path along the x-axis: (a) configuration of the manipulator; (b) corresponding joint angles.
Applsci 11 01277 g010
Figure 11. Solution for the straight-line path along the y-axis: (a) configuration of the manipulator; (b) corresponding joint angles.
Figure 11. Solution for the straight-line path along the y-axis: (a) configuration of the manipulator; (b) corresponding joint angles.
Applsci 11 01277 g011
Figure 12. Solution for the straight-line path along the z-axis: (a) configuration of the manipulator; (b) corresponding joint angles.
Figure 12. Solution for the straight-line path along the z-axis: (a) configuration of the manipulator; (b) corresponding joint angles.
Applsci 11 01277 g012aApplsci 11 01277 g012b
Figure 13. Solution for a circle path: (a) configuration of the manipulator along the circle path; (b) corresponding joint angles.
Figure 13. Solution for a circle path: (a) configuration of the manipulator along the circle path; (b) corresponding joint angles.
Applsci 11 01277 g013
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Lou, Y.; Quan, P.; Lin, H.; Wei, D.; Di, S. A Closed-Form Solution for the Inverse Kinematics of the 2n-DOF Hyper-Redundant Manipulator Based on General Spherical Joint. Appl. Sci. 2021, 11, 1277. https://doi.org/10.3390/app11031277

AMA Style

Lou Y, Quan P, Lin H, Wei D, Di S. A Closed-Form Solution for the Inverse Kinematics of the 2n-DOF Hyper-Redundant Manipulator Based on General Spherical Joint. Applied Sciences. 2021; 11(3):1277. https://doi.org/10.3390/app11031277

Chicago/Turabian Style

Lou, Ya’nan, Pengkun Quan, Haoyu Lin, Dongbo Wei, and Shichun Di. 2021. "A Closed-Form Solution for the Inverse Kinematics of the 2n-DOF Hyper-Redundant Manipulator Based on General Spherical Joint" Applied Sciences 11, no. 3: 1277. https://doi.org/10.3390/app11031277

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