scieee AI-readable full text Open interactive document viewer

A novel closed-form solution for the inverse kinematics of redundant manipulators through workspace analysis

Zaplana Agut, Isiah,Basañez Villaluenga, Luis

Abstract

© 2017 Elsevier Ltd This work addresses the inverse kinematic problem for redundant serial manipulators. Its importance relies on its effect in the programming and control of redundant robots. Besides, no general closed-form techniques have been developed so far. In this paper, redundant manipulators are reduced to non-redundant ones by selecting a set of joints, denoted redundant joints, and parametrizing its joint variables. This selection is made through a workspace analysis which also provides an upper bound for the number of different closed-form solutions for a given pose. Once these joints have been identified several closed-form methods developed for non-redundant manipulators can be applied for obtaining the analytical solutions. Finally, particular instances for the parametrized joints variables are determined depending on the task to be executed. Different criteria and optimization functions can be defined for that purpose.

Full text

A novel closed-form aolution for the inverse kinematics of redundant manipulators through workspace analysis Isiah Zaplanaa,∗, Luis Basaneza aInstitute of Industrial and Control Engineering, Technical University of Catalonia, 08028 Barcelona, Spain Abstract This work addresses the inverse kinematic problem for redundant serial manipulators. Its importance relies on its effect in the programming and control of redundant robots. Besides, no general closed-form techniques have been developed so far. In this paper, redundant manipulators are reduced to non-redundant ones by selecting a set of joints, denoted redundant joints, and parametrizing its joint variables. This selection is made through a workspace analysis which also provides an upper bound for the number of different closed-form solutions for a given pose. Once these joints have been identified several closed-form methods developed for non-redundant manipulators can be applied for obtaining the analytical solutions. Finally, particular instances for the parametrized joints variables are determined depending on the task to be executed. Different criteria and optimization functions can be defined for that purpose. Keywords: Inverse kinematics, robotics, redundant manipulators, workspace analysis 1. Introduction A serial robot manipulator is an open kinematic chain made up of a sequence of rigid bodies, called links, connected by means of kinematic pairs, called joints, that provide relative motion between consecutive links. At the end of the last link, there is a tool or device, called end-effector.5 From a kinematic point of view, the end-effector position and orientation (pose) of a manipulator can be expressed as a differentiable function f:C → X that relates the space of joint variables, denoted configuration space C, with the space of all positions and orientations of the end-effector with respect to a reference frame, known as the operational space X. For serial manipulators, a frame used to describe the relative position and orientation is attached to ∗Corresponding author Email addresses: [email protected] (Isiah Zaplana), [email protected] (Luis Basanez) Preprint submitted to Mechanism and Machine Theory December 11, 2017 each joint of the manipulator. The relations between consecutive joint frames can be expressed by homogeneous matrices based in the D-H parameters [1, 2, 3, 4]. Therefore, each joint ihas associated, together with the corresponding orthonormal frame {oi,xi,yi,zi}, a homogeneous matrix that relates this frame to the precedent one (the first joint frame is related to the world frame). The function f, known as the kinematic function, can be represented with these homogeneous matrices. Deriving the kinematic function fwith respect to time, a relation in the rate domain is obtained: ˙ x=J(q)˙ q(1) where ˙ xdenotes the velocity vector of the end-effector; ˙ q, the vector of the joint velocities; and J, the Jacobian matrix associated to the manipulator. A manipulator is said to have ndegrees of freedom (DOF) if its configuration can be minimally specified by nvariables. For a serial manipulator, the number and nature of the joints determine the number of DOF. For the task of positioning10 and orientating its end-effector in the space, the manipulators with more than 6 DOF are called redundant while the rest are non-redundant. Redundant manipulators have m=n−6degrees of redundancy. There are two types of Jacobian matrix: the geometric Jacobian JG(q) and the analytical Jacobian JA(q), depending if the last three components of ˙ xin (1) represent the angular or the rotational velocity of the end effector, respectively. If Jidenotes the ith column of JG(q), Ji=         zi×(on−oi) ziif iis revolute zi 0if iis prismatic where ×denotes the cross product of two vectors in R3. One of the most important kinematic problems for serial manipulators is15 the inverse kinematic problem. This problem consists of obtaining the joint variables, i.e. the configuration, associated to a particular pose. This configuration may not be unique, since non-redundant manipulators have up to sixteen different configurations for the same particular pose [5], while for redundant manipulators this number is unbounded [3, 4]. The methods to solve the inverse20 kinematics problem for serial manipulators are categorized into two groups: a) Analytical or closed-form methods: All the solutions are expressed as functions in terms of the pose. b) Numerical methods: Starting with an initial configuration q0, an iterative process returns a good approximation e qof one of the solutions.25 The closed-form methods strongly depend on the geometry of the manipulator and, therefore, are not general enough. However, they are computationally efficient and give all the solutions for a given pose. In his PhD thesis, Pieper 2 [5] develops a procedure for obtaining the closed-form solutions for a class of serial manipulators, i.e., the manipulators with three consecutive joints whose30 axes are either parallel or intersect at a single point (if these three consecutive joints are the last three, the robot is said to have spherical wrist). Later, Paul [6] establishes a more rigorous and generic method based on the handling of the homogeneous matrices that can be applied to manipulators of other kind. The main recent contributions include the use of Lagrange multipliers [7], the35 definition of imaginary links for redundant manipulators [8, 9], the definition of the arm angle parameter [10, 11, 12] and different geometric methods [13, 14, 15, 16]. On the other hand, numerical methods usually work with any manipulator, but they suffer from several drawbacks like high computational cost and exe-40 cution time, existence of local minima and numerical errors. Moreover, only one of the sixteen (infinite) possible solutions is obtained for non-redundant (redundant) manipulators. The most extended numerical approaches are the Jacobian-based methods, in which the relation (1) is inverted and solved iteratively. Inverting the Jacobian matrix is not always possible. For redundant45 manipulators, J(q) is not a square matrix while for non-redundant manipulators det(J(q)) vanishes at singularities [3, 4]. To handle with these situations, alternative methods are used like pseudoinverse, transpose, damped least-squares and local optimization [3, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28]. Other numerical methods include the use of augmented Jacobian [29], conformal ge-50 ometry algebra [30, 31], Crank-Nicholson methods [32] and reachability maps [33]. The importance of the inverse kinematic problem relies on its role in the programming and control of serial robots. Besides, this problem becomes of great significance for redundant manipulators because, existing an infinite num-55 ber of solutions for a particular pose, manipulability measures can be defined for selecting a particular solution. Among all the methods presented in this section, closed-form ones are the most suitable for redundant manipulators as they allow to obtain the set of all solutions with a small computational cost. This paper proposes a novel method for deriving closed-form solutions for the60 inverse kinematics of redundant serial manipulators. These solutions are given as m-parameter famiies of functions depending on the end-effector’ pose. Redundant manipulators are reduced into non-redundant ones by parametrization of a set of joint variables. These joints will be denoted as redundant joints. The selection of such joints is crucial and it is done using global rank defi-65 ciency conditions of the Jacobian matrix and workspace’s volume analysis. An upper bound for the number of different m-parameter families of closed-form solutions is given. This number depends on the degrees of redundancy. Once the redundant joints are selected, the inverse kinematics of the non-redundant manipulator is solved analytically using either Pieper, Paul or other geometric70 methods. Finally, the particular values of the parametrized joint variables can be determined using manipulability measures or optimization criteria. The rest of the paper is organized as follows: Section 2 reviews the related work. In Section 3, the methodology is presented. This section is divided into three parts: 3 in Section 3.1 an upper bound for the number of different closed-form solutions75 associated to a particular pose is given; Section 3.2 displays the different criteria for the selection of redundant joints, while in Section 3.3 several closed-form methods are used for the non-redundant reduced manipulator. Examples of two different redundant manipulators are given in Section 4. Finally, Section 5 presents the conclusions.80 2. Related Work First mentions of redundant joints are found in [34, 35, 36]. In these papers a redundant manipulator is designed from a known non-redundant one. In this context, the authors assume that the added joint is the redundant one. Later, in [37] several closed-form solutions for an anthropomorphic manipulator are85 derived by fixing the different joint variables at an arbitrary value. Following that idea, in [38, 39] the authors develop a criterion for discarding some of these joints as redundant ones. This criterion is based on a geometric characterization proposed by Heiss [40]. Heiss defines a class of 6 DOF manipulators, called globally degenerated manipulators, that have limited its motion in the whole90 workspace, i.e., they cannot translate or rotate its end-effector through an axis for any given configuration. In [38, 39] the characterization given by Heiss is resumed in the following theorem: Theorem 2.1. A serial manipulator of 6 DOF is globally degenerated if, and only if, det(JG(q)) = 0 for all q∈ C.95 The criterion proposed in [38] consist on discarding as redundant those joints that, once their joint variables are fixed at some value, leave a globally degenerated non-redundant manipulator. Applied to anthropomorphic manipulators, it is shown that just the fourth joint should be discarded as an option for being the redundant joint. Then, the idea collected in [37] is applied for obtaining100 different closed-form solutions for the anthropomorphic manipulator. The main drawback of these approaches relies on the number of closed-form solutions obtained for each pose. While in [37] four one-parameter families of solutions are developed for a 7 DOF anthropomorphic manipulator, in [38] up to six oneparameter families of solutions are developed for the same manipulator. The105 use of either of the closed-form solutions depends on the task executed. If, instead of considering a 7 DOF redundant manipulator, a 8 DOF robot is considered there will be up to C(8,2) = 28 2-parameter families of solutions. In general, for an nDOF redundant manipulator there will be up to C(n, n −6) (n−6)-parameter families of solutions. This large set of solutions increases the110 difficulties for selecting one of them for each particular pose. On the other hand, in [41] a selection of redundant joints based on the null space range of each joint is proposed, while in [42] the authors base their selection on the null space of the Jacobian matrix. These approaches turn to be impractical due to their computational cost. Besides, their implementation115 become extremely difficult for more than one degree of redundancy. The approaches collected in [22, 43, 44, 45, 46] are focused on developing strong and 4 general closed-form methods for non-redundant manipulators. In these works redundant joints are selected arbitrarily. Finally, [10, 11, 12, 47] are recent examples of the arm angle parameter use. This parameter, usually denoted by ϕ,120 is defined for anthropomorphic manipulators attending to the relation between shoulder (three first joints), elbow (fourth joint) and wrist (three last joints). Therefore, ϕcan be regarded as a joint variable, and thus, it can be considered as defining the redundant joint. The approach given in [38, 39] is the most interesting and easy to implement.125 However, as it has been shown above, this approach is not easily generalized for nDOF redundant manipulators. Besides, it does not represent a method for selecting redundant joints but to discard some of them as candidates. The procedure proposed in the present paper includes such criterion but also uses a workspace’s analysis to prove that it is enough with a maximum of 2mm-130 parameter families of closed-form solutions. This number is always much smaller than C(n, n −6). Besides, a criterion for selecting, given a particular pose, one of these 2mclosed-form solutions is provided. Many authors have dealt with the problem of representing effectively the serial manipulators workspace: in [48] an strategy for the identification of the135 workspace area of planar serial manipulators is developed, while in [49, 50, 51] an iterative process that only works for serial manipulators with revolute joints is defined. This method attains the analytical equations of the workspace defining the end-effector as a three dimensional point that is rotated from the n-th joint to the first one. Then, a cross section is obtained by taking q1= 0. On the140 other hand, in [52, 53] the authors define the interior and exterior boundaries of serial manipulators workspace using the singular surfaces achieved from the Jacobian matrix. Then, the total volume of the workspace is calculated using the Divergence Theorem. Next section focuses on how to exploit the shape and quantitative proper-145 ties, such as area and volume, of serial manipulators workspace and how these properties can be used in the identification of redundant joints. 3. Closed-form Solutions through Workspace Analysis 3.1. Closed-form Solutions Upper Bound As it has been mentioned in the preceding section, some authors develop up150 to four or six families of solutions for a 7 DOF manipulator. In this section an upper bound for the number of different closed-form solutions for a particular pose is given. It will be proven that is enough with a maximum of 2mm- parameter families of solutions for a nDOF manipulator. For simplicity, the following notation will be used:155 • R denotes a serial manipulator of nDOF. •pdenotes the number of prismatic joints of R. • W denotes the workspace of R, generated by its revolute joints. 5 𝑧𝑧𝑗𝑗 𝜑𝜑𝑗𝑗≠𝜋𝜋 2 𝜋𝜋𝑖𝑖: {𝑞𝑞𝑖𝑖=𝐾𝐾} 𝑆𝑆𝑊𝑊𝒊𝒊 𝑧𝑧𝑖𝑖 𝑥𝑥 𝑥𝑥𝑥 (a) 𝑥𝑥3 𝜃𝜃𝑛𝑛 𝜃𝜃2 𝜃𝜃1 𝜃𝜃3 𝑥𝑥𝑛𝑛 𝑥𝑥2 𝑥𝑥1 𝑦𝑦1 𝑦𝑦𝑛𝑛 𝑦𝑦3 𝑦𝑦2 (b) (c) (d) Figure 1: (a) Cross section SWiof Wfor a given value of qiwhere an arbitrary point x∈ SWi under the action of zjis transformed into x0/∈ SWi; (b) Schematic representation of a planar manipulator; (c) Workspace of the three-link manipulator and (d) Workspaces regions after fixing the first and the second joints respectively • Widenotes the volume of Wonce the joint iis fixed at some value. The idea is to prove that, given W, one of the two following statement holds: There exists 2 ≤i≤nsuch that Wi=W(2) There exist 2 ≤j6=k≤nsuch that Wj∪ Wk=W(3) For n= 7 (or, equivalently, m= 1), if statement (2) holds, as Wiis obtained160 when the joint iis fixed, the redundant manipulator Rhas been reduced into a non-redundant one. The closed-form solutions for the inverse kinematics will form a single one-parameter family of solutions depending on qi. However, if statement (3) holds, there will be two different non-redundant reduced manipulators. Therefore, two different one-parameter families of solutions will be165 obtained (one depending on qjand the other on qk). If, conversely, n > 7 (or, equivalently m > 1) the process is repeated with Wior with Wj,Wk. The reasoning is exactly the same, since Wi,Wjand Wk 6 can be seen as the workspace of a manipulator of n−1 DOF. The maximum number of subregions of the original workspace that can be obtained for each degree of redundancy is two. So, given the recursiveness of the procedure, the maximum number of subregions will be 2m. As each one generates a family of solutions, there will be up to 2mm-parameter families of closed-form solutions. By the same reason, the minimum number of m-parameter families of solutions will be one. Therefore, for any given manipulator Rwith nDOF and mdegrees of redundancy the number rof different solution families verifies: 1≤r≤2m. It only remains to prove that, for any redundant manipulator R, either statement (2) or statement (3) holds. First of all, since the effect of the prismatic joints in the workspace of Ris just the translation of the volume generated by the following joints and since,170 given a pose, it is easy to obtain the values of the prismatic joint variables, i.e., the solution of the inverse kinematics for these joints, their joint variables can be fixed at particular instances for allowing the study of W. Let denote by Rj1,Rj2,...,Rjpthe prismatic joints of R. Then, each of their joint variables dj1, dj2, . . . , djpmoves within [djiLow , djiUp ]. As Wis generated175 only by the revolute joints of R, each djican be fixed at a particular value, selected, for instance, to make Was compact as possible. Although the values of the prismatic joint variables are, in general, positive, depending on where the world frame is placed, different cases can arise. Such cases are treated as follows:180 •0∈[djiLow , djiUp ] =⇒dji= 0. •[djiLow , djiUp ]⊂R+\ {0}=⇒dji=djiLow . •[djiLow , djiUp ]⊂R−\ {0}=⇒dji=djiUp . As only the revolute joints of Rare going to be considered, let zibe the first revolute joint of R. Then, Wis of revolution around ziand, as a result, the study of Wcan be performed over a xi-zicross section of it. For a redundant manipulator, such cross section is obtained by fixing qiat a particular value. Besides, it is also necessary to fix other joints like, in particular, all the rotational joints whose axes are not orthogonal to zi. To prove this remark let suppose that there exists zjsuch that zjand ziare not mutually orthogonal. If zjis not fixed, then its rotational action generates a volume that escapes from the section obtained by setting qi=k(figure 1a). Thus, the cross section area is generated by the joints whose axes are orthogonal to ziwhile the rest are fixed at particular values. Let sdenote the number of joints whose axes are orthogonal to zi. Different cases should be treated: s={0,1,2} There are no joint axes, one joint axis or two joint axes orthogonal to zi. Since 7 Ris redundant, at least there are three, two or one more joints whose variables are fixed - as they are not orthogonal to zi. Two different situations arise: one of the other joint axes is contained in the cross section plane or intersects it. Both cases are treated analogously. Let denote by SW the cross section area obtained by setting qi=k. As it has been commented before and since s < 3, this cross section is generated by fixing also the joints whose axes are not orthogonal to zi. Let suppose that there is at least one joint whose axis, zj, either is contained in SW or intersects SW (not orthogonally). Then, SW ⊂ Wj. Moreover, if the same cross section is taken from Wj,SWj, then SWj=SW (4) As Wis of revolution around zi, rotating qiturns (4) into Wj=Wwhich gives the desirable result.185 s≥3 From s= 3, induction over scan be used for completing the proof. Again, two different situations can arise:190 •There exists a joint whose axis, zk, is contained in the cross section obtained by setting qi=kor intersects it (not orthogonally). •The only revolute joints contributing to position the end-effector are iand the sjoints whose axes are orthogonal to zi. For the first situation, the previous reasoning can be used to prove that Wk=W. For the second, it is clear that SW is generated by the sjoints whose axes are orthogonal to zi(and, as a result, normal to SW). In particular, if i1, . . . , is denote these joints and SWijdenote the plane section of SW obtained when the joint ijis fixed, then SWi1∪ SWi2∪ · · · ∪ SWis=SW (5) It is sufficient with proving that: ∃ij, ik:SWij∪ SWik=SW (6) If so, rotating qigives that Wj∪ Wk=W, which would complete the proof.195 To prove it, let notice that SW can be seen as the workspace of a s-link planar manipulator (figure 1b). Thus, (6) is equivalent to prove that the workspace of as-link planar manipulator can be split in two subregions associated with two fixed joints. This proof will be performed using induction over s. For s= 3, a 3-link planar manipulator is obtained. Figure 1c depicts the workspace of an example of a manipulator of this kind. In general, the end 8 effector position vector of a 3-link planar manipulator is: p=  a1c1+a2c12 +a3c123 a1s1+a2s12 +a3s123 0 , where aiis the length of link iand c1= cos(qi1), s1= sin(qi1), c12 = cos(qi1+ qi2), s12 = sin(qi1+qi2), c123 = cos(qi1+qi2+qi3) and s123 = sin(qi1+qi2+qi3). Figure 1d shows that it is enough with taking SWi1,SWi2for obtaining SW. To prove that this is a general result let suppose, by contradiction, that SWi1∪ SWi26=SW for all the constant values qi1=k1and qi2=k2of joints i1and i2. Then, there200 exists x∈ SW such that x /∈ SWi1and x /∈ SWi2for all qi1=k1and qi2=k2. Now, by (5) x∈ SWi3for some constant value qi3=k3. Since the position vector for the 3-link planar manipulator depends on qi1, qi2and qi3, if qi1(or qi2) is considered as a parameter, i.e., its value varies in its range, then qi2(or qi1) has a particular value for x. Then, x∈ SWi2(or x∈ SWi1), which is a205 contradiction. Now, let suppose that the statement holds for s. As in the case of s= 3 it is enough to prove that SWi1(s+ 1) ∪ SWi2(s+ 1) = SW(s+ 1) where the notation (s+1) highlights that the sections belong to the (s+ 1)-link manipulator. Let suppose, again by contradiction, that SWi1(s+ 1) ∪ SWi2(s+ 1) 6=SW(s+ 1) for all the constant values qi1=k1and qi2=k2. Then, there exists x∈ SW(s+ 1) such that x /∈ SWi1(s+ 1) and x /∈ SWi2(s+ 1) for all qi1=k1and qi2=k2. Now, again by (5), x∈ SWi`(s+ 1) for some 3 ≤`≤s+ 1 and some constant value qi`=k`. Since SWi`(s+ 1) can be seen as the workspace of a s-link planar manipulator, the hypothesis of induction implies that x∈ SWi1(s) or x∈ SWi2(s) for some constant values qi1=k1and qi2=k2. But now, it is clear that, for the same constant values k1, k2: SWi1(s)⊂ SWi1(s+ 1) SWi2(s)⊂ SWi2(s+ 1) These relations are true for every extension of a s-link planar manipulator to a (s+ 1)-link planar manipulator. In particular, they are true if the extension of the s-link planar manipulator is made to obtain the (s+ 1)-link planar manipulator of the beginning of this part of the proof. Then, x∈ SWi1(s+ 1) or210 x∈ SWi2(s+ 1) for the constant values qi1=k1and qi2=k2. This gives the desirable contradiction. Given that there could be many other joints fixed at some value, this result is not useful for the identification of the redundant joints but to prove the upper bound in the number of different families of closed-form solutions. Next section215 displays the criteria for efficiently selecting the redundant joints. 9 (a) Kuka LWR 4+ (W) (b) With q1fixed (W1) (c) With q2fixed (W2) (d) With q3fixed (W3) Figure 3: Kuka LWR 4+ worksapce For the position problem, (10) is used for obtaining the following identity: A0 1−1 T0 7=A2· · · A7. Now, the fourth column of each matrix is taken:      pxc1+pys1=c2(400 + 390c4) + 390s2c3s4 −pxs1+pyc1= 390s3s4 pz−310 = −390c2c3s4+s2(390c4+ 400) (13) where, from now on, ci= cos(qi) and si= sin(qi). Squaring and adding each component gives: p2 x+p2 y+ (pz−310)2= 4002+ 3902+ 2 ·400 ·390c4 ⇓ c4=p2 x+p2 y+ (pz−310)2−312100 312000 Therefore, through the prototype equation (A.2) of Appendix A, the analytical expression for q4is derived: q4= atan2(±p1−a2, a) 16 where atan2(·,·) is the quadrant corrected inverse tangent function and a=p2 x+p2 y+ (pz−310)2−312100 312000 . Once the expression for q4is known, the expression for q1can be deduced from the following identity: −pxs1+pyc1= 390s3s4 ⇓ q1= atan2390s3s4,±qp2 x+p2 y−3902s2 3s2 4−atan2(py, px) through the prototype equation (A.5). Now, the expression for q2can be obtained from the following identity using again the prototype equation (A.5): pz−310 = −390c2c3s4+s2(390c4+ 400) ⇓ q2= atan2c, ±pa2+b2−c2−atan2(a, b) with: a= (390c4+ 400) b=−390c3s4 c=pz−310 Once the position problem has been solved, it is possible to solve the orientation problem. If Ridenotes the matrix that defines the relative orientation of Ai−1 i, then: R1·R2· · · R7=R And, therefore, R5·R6·R7=R−1 4·R−1 3·R−1 2·R−1 1·R | {z } Numerical matrix M or, analogously:   c5c6c7−s5s7−c7s5−c5c6s7−c5s6 c7s6−s6s7c6 −c5s7−c6c7s5c6s5s7−c5c7s5s6 =  m11 m12 m13 m21 m22 m23 m31 m32 m33  From M, using the prototype equations (A.2) and (A.3), the following expressions can be obtained: q6= atan2(±qm2 13 +m2 33, m23) q5= atan2(m33/sin(q6),−m13/sin(q6)) q7= atan2(−m22/sin(q6), m21/sin(q6)) 17 𝜃𝜃2 𝜃𝜃3 𝜃𝜃5 𝜃𝜃6 𝜃𝜃7 𝜃𝜃8 𝑧𝑧2 𝑧𝑧3𝑥𝑥2𝑧𝑧5 𝑧𝑧6 𝑧𝑧7 𝑧𝑧8 𝑥𝑥3 𝑥𝑥5𝑥𝑥6 𝑥𝑥8 𝜃𝜃4 𝑧𝑧4 𝑥𝑥4 𝑧𝑧1 𝑑𝑑1 Figure 4: Schematic representation of St¨aubli TX90 mounted on a translational motion unit 4.2. Extended St¨aubli TX90 mounted on a translational motion unit St¨aubli TX90 is an industrial manipulator with six degrees of freedom and spherical wrist. This manipulator has been mounted on a linear track, that can335 be seen as an additional prismatic joint. Besides, it has been extended by adding an extra revolute joint whose axis is parallel to the axes of the third and fourth joints (figure 4). As in the precedent example, the three last joints are discarded for being the redundant ones since they conform a spherical wrist. Once the first joint – the prismatic one – is fixed, for testing if any other joint should340 be discarded according to the list 3.1, Algorithm 1 is applied in order to find out the globally degenerated reduced manipulators. From the seven different kinematic subchains, the one obtained after fixing the second joint – the first revolute joint – is a globally degenerated subchain. Therefore, the third, the fourth and the fifth joints are candidates for being redundant.345 For these joints the workspace analysis is performed using Algorithm 2. The prismatic joint variable is set as zero (its motion lies within the range [0,2]). The extended St¨aubli TX90 workspace is depicted in figure 5a while the workspaces of the subchains are depicted in figures 5b, 5c and 5d. In this case, as in the precedent example, there exists isuch that Wi=W. It is clear, from direct350 visualization, that W5=W. Furthermore, the workspaces dimensions also show that W5=W. Indeed, the dimensions of Ware 3m×4m×3m, while the dimensions fo the workspaces after the parametrization of the candidates are: • W3: 1.8m×2m×2m(figure 5b). • W4: 2m×2m×2m(figure 5c).355 • W5: 3m×3m×4m(figure 5d). Again, setting q2= 0 returns the x-zcross section. Moreover, if (9) is used for calculating the cross section areas of Wand W5, the resulting value is the same (up to some discretization error) is the same: AW= 2.560m2AW5= 2.555m2 18 (a) Extended St¨aubli TX90 (W) (b) With q3fixed (W3) (c) With q4fixed (W4) (d) With q5fixed (W5) Figure 5: Extended St¨aubli TX90 workspace This confirms that the redundant joint for the extended St¨aubli TX90 is the fifth one from which it can be obtained the one-parameter family of solutions. As in the case of the Kuka LWR 4+, the presence of spherical wrist allows to use Paul method for obtaining the closed-form solutions. The decomposition360 into the position and orientation problems can be made. For this example, q5 will work as the parameter of the family of solutions. For the position problem, a geometric method can be used to calculate d1. The position vector pis projected onto the x-yplane. If the projection is denoted π(p), then d1is obtained so d1= min{kd1−π(p)k}. For the remaining joint variables, the following identity is used: A0 2−1 T0 8=A3· · · A8(14) The position vector from both sides of (14) is: pxc2+pys2= 425s3+ 300c34 + 425c345 + 50 (15) pyc2−pxs2= 50 (16) pz−478 = 425c3+ 300s34 + 425s345 (17) Equation (16): −pxs2+pyc2= 50 19 can be solved using the prototype equation (A.5) of Appendix A. Thus, the analytical expression for q2is: q2= atan250,±qp2 x+p2 y−502−atan2(py, px) Now, equations (15) and (17) are squared and added. Once the terms have been regrouped, the expression obtained is: α= 451250 −255000s4−361250s45 + 255000c5(18) where α= (pxc2+pys2−50)2+ (pz−478)2. As q5is the redundant joint and it is parametrized at some value, (18) is simplified to: 451250 + 255000c5−α= (255000 + 361250c5)s4+ 361250s5c4 Using the prototype equation (A.5) of Appendix A, the analytical expression for q4is: q4= atan2c, ±pa2+b2−c2−atan2(a, b), with: a= 361250s5 b= (255000 + 361250c5) c= 451250 + 255000c5−α Finally, as the expression for q4is known and q5is parametrized at some value, (17) is equivalent to: pz−478 = (300 + 300s4+ 425s45)c3+ (300c4+ 425c45)s3 which can be solve using again the prototype equation (A.5): q3= atan2c, ±pa2+b2−c2−atan2(a, b), with: a= 300 + 300s4+ 425s45 b= 300c4+ 425c45 c=pz−478 The orientation problem is solved analogously as in the case of the Kuka LWR 4+.365 5. Conclusions This work proposes a novel method to derive closed-form solutions for the inverse kinematic problem of redundant serial manipulators. Unlike other methods found in literature, the method exposed in this work allows an efficient selection of redundant joints, whose joint variables can be parametrized or fixed370 20 at an arbitrary value. First, an upper bound for the number of different closedform solutions for a particular pose of the manipulator is given. If mdenotes the number of degrees of redundancy there are up to 2mfamilies of closed-form solutions. The selection of the sets of redundant joints that gives those closed-form solutions is made based on the discarding criteria 3.1 and the workspace anal-375 ysis introduced in section 3.2. Once the redundant joints have been identified, the inverse kinematics of the reduced non-redundant manipulator can be solved using Pieper, Paul or particular geometric methods. As closed-form methods are used for non-redundant reduced manipulators, the procedure proposed in this work has clear advantages over the numerical methods designed for redun-380 dant manipulators. Besides, in comparison with other closed-form methods, the simplicity of this strategy makes it suitable for general redundant manipulators. In fact, for any given manipulator with three consecutive joints whose axes are either parallel or intersects at a single point, the inverse kinematics problem is completely solved analytically using Pieper’s theorem.385 Acknowledgement This work has been partially supported by the Spanish CICYT projects DPI2013-40882-P, DPI2016-80077R and by the Spanish predoctoral grant BES- 2012-059884. Appendix A. Prototype Trigonometric Equations390 The following list shows the main prototype trigonometric equations used in this paper. A more complete list of such kind of equations can be found in [6, 60]: sin(θ) = a=⇒θ= atan2a, ±p1−a2(A.1) cos(θ) = a=⇒θ= atan2±p1−a2, a(A.2) sin(θ) = a cos(θ) = b=⇒θ= atan2(a, b) (A.3) acos(θ) + bsin(θ) = 0 =⇒   θ= atan2(−a, b) or θ= atan2(a, −b) (A.4) acos(θ) + bsin(θ) = c=⇒θ= atan2(c, ±α)−atan2(a, b) where α=pa2+b2−c2(A.5) acos(θ1) + bcos(θ2) = e asin(θ1) + bsin(θ2) = f=⇒θ1= atan2β, ±pe2+f2−β2 where β=a2+e2+f2−b2 2a (A.6) 21 References [1] J. Craig, Introduction to Robotics: Mechanics and Control, Addison- Wesley Longman Publishing Company, 1989. [2] J. Denavit, R. S. Hartenberg, A kinematic notation for lower-pair mechanisms based on matrices, Journal of Applied Mechanics 22 (2) (1965) 215395 – 221. [3] B. Siciliano, L. Sciavicco, L. Villani, G. Oriolo, Robotics: Modelling, Planning and Control, Springer Publishing Company, 2008. [4] M. Spong, S. Hutchinson, M. Vidyasagar, Robot Modeling and Control, John Wiley and Sons, 2006.400 [5] D. Pieper, The kinematics of manipulation under computer control, Ph.D. thesis, Stanford Artificial Intelligence Laboratory – Stanford University (1968). [6] R. Paul, Robot Manipulators: Mathematics, Programming and Control, The MIT Press, 1981.405 [7] P. Chang, A closed-form solution for inverse kinematics of robot manipulators with redundancy, IEEE Journal on Robotics and Automation 3 (5) (1987) 393 – 403. [8] O. Ivlev, A. Gr¨aser, An analytical method for the inverse kinematics of redundant robots, in: International Conference Advanced Robotics, Intel-410 ligent Automation and Active Systems, Bremen, Germany, 1997, pp. 416 – 421. [9] O. Ivlev, A. Gr¨aser, Resolving redundancyof series kinematic chains through imaginary links, in: International Conference on Computational Engineering in Systems Applications (CESA98), Nabeul- Hammamet,415 Tunisia, 1998, pp. 477 – 482. [10] D. Jung, Y. Yoo, J. Koo, M. Song, S. Won, A novel redundancy resolution method to avoid joint limits and obstacles on anthropomorphic manipulator, in: Society of Instrument and Control Engineers (SICE) Annual Conference, Tokyo, Japan, 2011, pp. 924 – 929.420 [11] M. Shimizu, H. Kakuya, W. Yoon, K. Kitagaki, K. Kosuge, Analytical inverse kinematic computation for 7-DoF redundant manipulator with joint limits and its application to redundancy resolution, IEEE Transactions on Robotics 24 (5) (2008) 1131 – 1142. 22 [12] C. Yu, M. Jin, H. Liu, An analytical solution for inverse kinematic of425 7-DOF redundant manipulators with offset-wrist, in: IEEE International Conference on Mechatronics and Automation, Chengdu, China, 2012, pp. 92 – 97. [13] L. Huang, R. Jiang, A new method of inverse kinematics solution for industrial 7DoF robot, in: 32nd Chinese Control Conference (CCC), Xi’an,430 China, 2013, pp. 6063 – 6065. [14] Y. Liu, D. Wang, J. Sun, L. Chang, C. Ma, Y. Ge, L. Gao, Geometric approach for inverse kinematics analysis of 6-DOF serial robot, in: IEEE International Conference on Information and Automation, Lijiang, China, 2015, pp. 852 – 855.435 [15] G. Singh, J. Claassens, An analytical solution for the inverse kinematics of a redundant 7DoF manipulator with link offsets, in: IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Taipei, Taiwan, 2010, pp. 2976 – 2982. [16] Y. Wei, S. Jian, S. He, Z. Wang, General approach for inverse kinematics440 of nR robots, Mechanism and Machine Theory 75 (2014) 97 – 106. [17] J. Baillieul, Avoiding obstacles and resolving kinematic redundancy, in: IEEE International Conference on Robotics and Automation (ICRA), San Francisco, CA, USA, 1986, pp. 1698 – 1704. [18] S. Buss, Introduction to inverse kinematics with Jacobian transpose, pseu-445 doinverse and Damped Least Squares methods., Tech. rep., University of California, San Diego (2009). [19] S. Buss, J. Kim, Selectively Damped Least Squares for inverse kinematics., Journal of Graphics Tools 10 (3) (2005) 37 – 49. [20] A. De Luca, G. Oriolo, The reduced gradient method for solving redun-450 dancy in robot arms, RoboterSysteme 7 (1991) 117 – 122. [21] P. Hsu, J. Hauser, S. Sastry, Dynamic control of redundant manipulators, in: American Control Conference, Atlanta, GA, USA, 1988, pp. 2135 – 2139. [22] H. Lau, L. Wai, A Jacobian-based redundant control strategy for 7DOF455 WAM, in: Proceedings of the Conference on Control, Automation, Robotics and Vision (ICARV), Singapore, 2002, pp. 1060 – 1065. [23] D. Nenchev, Redundancy resolution through local optimization: A review, Journal of Robotics Systems 6 (6) (1989) 769 – 798. [24] C. Pozna, E. Horv´ath, J. Holl´osi, The inverse kinematics problem, a heuris-460 tical approach, in: IEEE International Symposium on Applied Machine Intelligence and Informatics (SAMI), Herlany, Slovakia, 2016, pp. 299 – 304. 23 [25] R. S´anchez-Alonso, J. Gonz´alez-Barbosa, E. Castillo-Casta˜neda, M. Garc´ıa-Murillo, Kinematic analysis of a novel reconfigurable parallel465 robot, Revista Iberoamericana de Autom´atica e Inform´atica Industrial (RIAI) 13 (2) (2016) 247 – 257. [26] Y. Sung, D. Cho, M. Chung, A constrained optimization approach to resolving manipulator redundancy, Journal of Robotics Systems 13 (5) (1996) 275 – 288.470 [27] W. Wang, Y. Suga, H. Iwata, S. Sugano, Solve inverse kinematics through a new quadratic minimization technique, in: IEEE/ASME International Conference on Advanced Intelligent Mechatronics (AIM), Kachsiung, Taiwan, 2012, pp. 306 – 313. [28] C. Wampler, Manipulator inverse kinematic solutions based on vector for-475 mulations and damped least-squares methods, IEEE Transactions on Systems, Man, and Cybernetics 16 (1) (1986) 93 – 101. [29] A. Fratu, L. Vermeiren, A. Dequidt, Using the redundant inverse kinematics system for collision avoidance, in: International Symposium on Electrical and Electronics Engineering (ISEEE), Galati, Romania, 2010, pp. 88 – 93.480 [30] J. S. Kim, J. H. Jeong, J. H. Park, Inverse kinematics and geometric singularity analysis of a 3-SPS/S redundant motion mechanism using conformal geometric algebra, Mechanism and Machine Theory 90 (2015) 23 – 36. [31] J. S. Kim, J. H. Jeong, J. H. Park, Inverse kinematics of a redundant manipulator based on conformal geometry using geometric approach, in:485 12th International Conference on Informatics in Control, Automation and Robotics (ICINCO), Colmar, France, 2015, pp. 179 – 185. [32] D. Drexler, Solution of the closed-loop inverse kinematics algorithm using the Crank-Nicolson method, in: IEEE International Symposium on Applied Machine Intelligence and Informatics (SAMI), Herlany, Slovakia, 2016, pp.490 351 – 356. [33] N. Vahrenkamp, D. Muth, P. Kaiser, T. Asfour, IK-Map: An enhanced workspace representation to support inverse kinematics solvers, in: IEEERAS International Conference on Humanoid Robots (Humanoids), Seoul, South Korea, 2015, pp. 785 – 790.495 [34] J. Hollerbach, Optimum kinematic design for a seven degree of freedom manipulator, in: Robotics Research: The Second International Symposium, Yyoto, Japan, MIT Press, 1985, pp. 215 – 222. [35] R. Judd, R. Van Til, A perfomance measure for computing the reverse kinematic solution for robots with redundant degrees of freedom, in: Inter-500 national Conference on Decision and Control, Fort Lauderdale, FL, USA, 1985, pp. 360 – 361. 24 [36] K. Tokarz, S. Kieltyka, Geometric approach to inverse kinematics for arm manipulator, in: WSEAS International Conference on Systems: Part of the 14th WSEAS CSCC Multiconference - Volume II, Corfu Island, Greece,505 2010, pp. 682 – 687. [37] A. Hemami, A more general closed-form solution to the inverse kineamatics of mechanical arms, Advanced Robotics of the Robotics Society of Japan 2 (4) (1988) 315 – 325. [38] H. Schrake, H. Rieseler, F. Wahl, Symbolic kinematics inversion of redun-510 dant robots, in: International Symposium on Foundations of Robotics, Berlin, Germany, 1990, pp. 1 – 10. [39] H. Schrake, H. Rieseler, F. Wahl, Manipulator classification by means of a kinematics description language, in: International Conference on Advanced Robotics (ICAR), Pisa, Italy, 1991, pp. 678 – 682.515 [40] H. Heiss, Die explizite l¨osung der kinematischen gleichung f¨ur eine klasse von industrierrobotern, Ph.D. thesis, Technische Universit¨at M¨unchen (TUM) (1985). [41] S. Lee, A. Bejczy, Redundant arm kinematic control based on parametrization, in: IEEE International Conference on Robotics and Automation,520 Sacramento, CA, USA, 1991, pp. 458 – 465. [42] R. Podhorodeski, A. Goldenberg, R. Fenton, Resolving redundant manipulator joint rates and indentifying special arm configurations using Jacobian null-space bases, IEEE Transactions on Robotics and Automation 7 (5) (1991) 607 – 618.525 [43] R. Diankov, Automated construction of robotics manipulation programs, Ph.D. thesis, Robotics Institute, Carnegie Mellon University (2010). [44] H. Heiss, Redundancy resolution for an eight-axis manipulator, in: Computational Kinematics, Scholss Dagstuhl, Germany, Springer Netherlands, 1993, pp. 55 – 66.530 [45] M. Kauschke, Closed form solutions applied to redundant serial link manipulators, Mathematics and Computers in Simulation 41 (5) (1996) 509 – 516. [46] R. Tatum, D. Lucas, J. Weaver, J. Perkins, Geometrically motivated inverse kinematics for an arm with 7 degrees of freedom, in: MTS/IEEE OCEANS,535 Washington DC, USA, 2015, pp. 1 – 6. [47] M. Qingmei, W. Pengcheng, D. Jiaming, S. Huiping, L. Minzhou, An algorithm of inverse kinematics for manipulator with redundancy, in: IEEE International Conference on Cyber Technology in Automation, Control, and Intelligent Systems (CYBER), Shenyang, China, 2015, pp. 54 – 58.540 25