Manuscript Offprint
arXiv:2609.00311Inverse kinematic solution for generic 3R positional robots using Conformal Geometric Algebra
Abhilash Nayak and Durgesh Haribhau Salunkhe
Abstract. The inverse kinematics of generic 3R robots has been investigated through multiple approaches, mainly algebraic methods involving the solution of certain equation sets. Previous geometric interpretations of the solution, characterized as the intersection of a pair of conics have been confined to the joint-space domain. In this article, we study the Inverse Kinematic Model (IKM) of 3R robots, using the advantages of Conformal Geometric Algebra (CGA) to provide further insights on its kinematic properties. Our approach directly yields a univariate polynomial in terms of without the need to eliminate and by reframing the problem as the intersection of two circles, which are fundamental elements within this algebraic framework.
Keywords: kinematics, conformal geometric algebra, geometry
1 Introduction
The inverse kinematics problem (IKP) for a positional 3R robot was first addressed by Pieper [1] in 1968, who derived a univariate polynomial in and obtained and through backpropagation. However this method does not work for and (refer Fig. 1). Selig later presented a compact solution using Lie algebra without such limitations, mentioning that inverse kinematics can be reduced to finding the intersection of a conic and a circle in the plane [2, Section 5.2]. This same geometric interpretation, applied to Pieper's approach but in the plane, was used to investigate the number of inverse kinematic solutions and cuspidal properties of the robot [3]. These approaches discuss geometric interpretation of the obtained univariate polynomial after elimination. However, they fail to provide intuition about the kinematic model of the robot itself. In this article, we demonstrate how solving the problem using Conformal Geometric Algebra (CGA) leads to an elimination free approach allowing a deeper understanding of inverse kinematic solutions in workspace and joint-space representations.
CGA provides a 5-dimensional representation of 3-dimensional Euclidean space [4,5]. This embedding offers two significant advantages for kinematic analysis: (i) rotations and translations can be unified as orthogonal transformations, and
Nayak A. and Salunkhe D. H.
(ii) circles and spheres become fundamental elements of the algebra that can be manipulated and transformed in the same way as points, planes, and lines. To date, publications addressing inverse kinematics problems using CGA have primarily focused on non-generic serial robots (as defined in [6]). A notable example is the inverse kinematics solution for anthropomorphic structures [7,8]. In the specific case of 3R serial chains, we note that the claims made in [9] cannot be generalized to generic 3R robots (specifically, in Equation (70), does not lie on , is ill defined and is wrong).
In this article, we present a novel approach to solve IKM of a generic 3R robot using CGA. The method provides a geometric understanding of the IKM, allowing insight into the number of inverse kinematic solutions (IKS) and their distribution. The approach directly yields a univariate polynomial in , thereby eliminating the need for algebraic manipulations to eliminate two of the three variables. Additionally, the method does not have degeneracy conditions, thus unifying the inverse kinematic model of 3R robots.
where is the inner product that yields a scalar and is the outer product that gives a bivector. They follow the properties and .
Orthogonality of the basis vectors implies that , .
In this algebra, a basis change is done by introducing two null vectors and that represent a point at the origin and a point at infinity respectively:
From (2), it follows that and . has basis elements called blades listed in Table I in [10]. A multivector is a linear combination of those basis elements . The conformal pseudoscalar is . Therefore, the conformal dual of a multivector is
Points and circles of Euclidean geometry are represented in upper case italic letters while its vectors in lower case bold letters. Among CGA elements, multivectors are represented in upper case bold italic letters while vectors are represented in lower case bold italic letters.
| CGA primitives | Direct/primal (OPNS) | Dual (OPNS) |
|---|---|---|
| Point | in (5) | |
| Point pair | ||
| Sphere | ||
| Plane | ||
| Line | ||
| Circle | or |
Table 1: Geometric primitives in 3D CGA. The outer product ‘’ acts as the join of different elements, its dual is the regressive product represented by ‘’. is the center of the sphere and is its radius; is the normal vector of the plane and is the distance from the origin.
where and .
Here we use the formulation in [4] to represent geometric objects and their duals. Those objects are in general null space representations with respect to either the inner (IPNS) or the outer (OPNS) product [10]. An Euclidean point is embedded as a null vector in CGA using the up() function:
OPNS is also known as the primal or direct representation of the geometric primitives and IPNS its dual according to (4). For instance, the direct representation of a sphere in CGA is given by where are conformal representations of points on the sphere that are not all in the same plane. The dual representation is given by , where is the conformal center point and is the radius of the sphere. These representations allow us to build CGA elements at our convenience, which is especially beneficial in kinematic analysis. Table 1 lists the direct and dual representations of all CGA primitives. Note that to represent a plane, the basis elements of the normal vector can only be and since it just represents a direction and hence we have to forego the and elements that constrain it. To obtain this vector from a given line, a grade 3 element, we have to keep only coefficients of and but replace the basis vectors by and , respectively. We call this change of basis as ‘vectorizing’ a line.
Translation along a vector n, with a distance r is defined by the following versor [4, Section 13.2.2]:
Rotations in CGA are given by the following versor [4, Sections 7.2 and 13.2.2]:
Transformation between frames is accomplished using the following motors:
Nayak A. and Salunkhe D. H.

Fig. 1: The schematic of a generic 3R robot and annotations relevant to CGA
where are Denavit-Hartenberg (D-H) parameters as annotated in Fig. 1. The angle between any two given lines, , in CGA can be calculated as:
3 Inverse kinematic model
A generic positional 3R robot is shown in Fig. 1. , are points where the links are connected using revolute joints. is the origin and is where the end-effector lies when the robot is said to be in its ‘Home’ position with joint angles , . Inverse kinematics involves finding of the end-effector, given an arbitrary position, .
We will follow Selig’s inverse kinematics approach for 3R robots [2, Section 5.2]. In this approach, the necessary joint angles that move the end-effector from the home position to a target position P are obtained by solving the equations:
where and are Euclidean vectors representing and , , is the Lie algebra element representing the ith joint. The equations are further written as:
where a and b are vectors representing points on circles parametrized by the first and last joint angles. Selig continues with an algebraic approach to solve these equations. The geometric interpretation is stated as finding the intersection of a pair of conics expressed in terms of or , similar to Pieper's interpretation of IKM [1]. However, CGA allows a better geometric intuition on how these solutions might be represented in the workspace by leveraging the fact that interactions between circles and their rotors are easy in CGA. We show that the inverse kinematic analysis reduces to finding the intersection between a fixed and a rotating circle.
In (11), let the circles on which a and b lie be named and . In , they are calculated as follows. The center of lies on z-axis and contains P. As listed in Table 1, in CGA is represented as the intersection of a sphere and a plane:
where is the dual representation (cf. Table 1) of the sphere with center and radius . Plane is also dually represented (cf. Table 1) with its normal being the vector representing the z-axis and .
Similarly, is obtained as the intersection of the following sphere and plane although expressing it as a CGA element is more nuanced:
where the center of the dual sphere is and its radius . The plane is again dually represented whose normal vector denotes the third joint axis obtained by transforming the unit vector, , using the motors defined in. (8):
Additionally, the distance of the plane from the origin .
Solving (11) implies rotating about the second joint axis by to meet . Applying a rotor to it, we obtain the rotated circle as . as shown in (7) needs a bivector to represent the plane of rotation perpendicular to the rotation axis. This is determined by transforming the bivector using the following motors (cf. (8)):
Thus, from (7), and the rotated circle is a function of trigonometric functions of . Therefore the intersection is also a function of . For this intersection to be a single real point, must be satisfied [5], leading to an univariate quartic polynomial in .
Calculating : For a chosen value, the corresponding point x on circles and can be determined. If we consider , it follows from (11) that
Nayak A. and Salunkhe D. H.

Fig. 2: An example illustration of four IKS of a generic 3R robot interpreted as intersection between a fixed and rotating circle.
is the angle made by the directed arc on that connects to the point . To calculate this angle, let us consider two lines, and . By projecting these lines onto plane , we can find the angle between them using (9). Finding arccos() of the above value yields , however the sign of the obtained value depends on the sign of the bivector obtained by vectorizing lines and as explained in Section 2 and taking the outer product of the resulting vectors . This bivector represents the positive rotation about the first joint axis. The negative sign comes from (11). The sign of obtained from (9) must be adjusted to match the sign of .
Calculating : Similar to the calculation of , we look for two points on whose connecting directed arc makes an angle about its center. One such point is , to find the other one, we have to rotate the obtained , currently on back to by its corresponding : with . It follows from (11) that is the angle made by the directed arc on that connects to the point . To calculate this angle, let us again consider two lines, and . By projecting these lines onto the plane , we can find the angle between them using (9). In this case, the sign of depends on the sign of the bivector , where and are obtained by vectorizing and . represents the positive rotation about the third joint axis. The sign of obtained from (9) must be adjusted to match the sign of .
Example
Let us consider a generic 3R robot shown in Fig. 1 with D-H parameters as , , . We find its inverse kinematics solutions for a given arbitrary end-effector position: . For demonstration purposes, is chosen such that we have 4 IKS. In terms of CGA, . In home position, , , , From (12),
From (13),
from (15), .
The condition for the intersection of this circle with to be a real point,
Solving the above equation gives four solutions, . Fig. 2 shows the four rotated circles corresponding to the obtained solutions. If we consider one of those circles, , its intersection with gives:
Note that in the coefficient of matches that of p as both of them lie in the plane of circle . In fact, this should hold for all intersection points of and .
To find , we calculate the projections of and onto :
From (9), could be . Its sign is determined by calculating the bivector , which is negative. Therefore . To find , we calculate the projections of and onto :
Nayak A. and Salunkhe D. H.
From (9), could be . Its sign is determined by calculating the bivector , which is negative. Therefore . Following this procedure for the remaining solutions, the complete set of IKS for the given problem is (0.0, 2.0, 1.0), (2.58, 0.326, 2.138), (-2.731, 1.56, -2.488), (-1.341, -2.998, -1.753).
4 Conclusions
A generic IKM for 3R robots was presented in this article as the intersection of two circles as elements of Conformal Geometric Algebra. CGA also allows us to extend the motion description to include orientations. This fact will be used to study the IKM for a generic 6R robot and its kinematic properties.
References
-
Donald Lee Pieper. The Kinematics of Manipulators Under Computer Control. PhD thesis, Stanford University, USA, 10 1968.
-
Jonathan Selig. Geometric fundamentals of robotics. Springer, New York, 2005.
-
Durgesh Haribhau Salunkhe, Christoforos Spartalis, Jose Capco, Damien Chablat, and Philippe Wenger. Necessary and sufficient condition for a generic 3r serial manipulator to be cuspidal. Mechanism and Machine Theory, 171, Jan 2022.
-
Leo Dorst, Daniel Fontijne, and Stephen Mann. Geometric Algebra for Computer Science: An Object-Oriented Approach to Geometry. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 2009.
-
Anthony Lasenby, Joan Lasenby, and Richard Wareham. A covariant approach to geometry using geometric algebra. Technical Report CUED/F-INFENG/TR-483, Cambridge University Engineering Department, 2004.
-
D.K. Pai and M.C. Leu. Genericity and singularities of robot manipulators. IEEE Transactions on Robotics and Automation, 8(5):545–559, oct 1992.
-
Manel Velasco, Isiah Zaplana, Arnau Dória-Cerezo, and Pau Martí. Symbolic and user-friendly geometric algebra routines (SUGAR) for computations in matlab. arXiv preprint arXiv:2403.16634, 2024.
-
Carlile Lavor, Sebastià Xambó-Descamps, and Isiah Zaplana. Robot Kinematics, pages 75–100. Springer International Publishing, Cham, 2018.
-
Isiah Zaplana, Hugo Hadfield, and Joan Lasenby. Closed-form solutions for the inverse kinematics of serial robots using conformal geometric algebra. Mechanism and Machine Theory, 173:104835, 2022.
-
Tobias Löw and Sylvain Calinon. Geometric algebra for optimal control with applications in manipulation tasks. IEEE Transactions on Robotics, 39(5):3586–3600, 2023.