Books :
Inverse KInematIcs
In the direct kinematics, methods has been discussed to derived the kinematic
equations for any manipulator to know the position and orientation of the end
effector an 0Tn , for given values of joint link displacements.
Equation specifies the end effector frame{n} relative to the base frame {0}, for
the n DOF manipulator.
The joint displacements (q1,q2 .qn) that leads to the end effector to a certain
position and orientation T can be found by solving the kinematic model equations
for unknown joint displacement, the location of the end effector is achieved.
Inverse KInematIcs
In inverse kinematics problem of the serial is computationally expansive and
generally takes a very long time in the real time control of manipulators. Tasks to
be performed by a manipulator are in the Cartesian space, whereas actuators
work in joint space.
Cartesian space includes orientation matrix and position vector. However, joint
space is represented by joint angles. The conversion of the position and
orientation of a manipulator end-effector from Cartesian space to joint space is
called as inverse kinematics problem.
Definition : The determination of all possible and feasible sets of joint variables,
which would achieve the specified position and orientation of the manipulators
end effector with respect to the base frame.
We must know a) The end effector position and orientation for the instantaneous
location of each joint. b) The joint displacements required to place the end
effector in a new location c) corresponding motion of each joint, which will
produce the desired tool tip motion.
3
Inverse KInematIcs
The position and orientation of the end
effector is collectively referred as
configuration of the end effector
transformation matrix T represents it.
Inverse KInematIcs
Finding :
y
arctan( )
x
More Specifically:
(x , y)
y
arctan 2( )
x
Finding S:
X
S (x 2 y 2 )
6
Find:
l2
l1
Given: l1, l2 , x , y
1, 2
Redundancy:
A unique solution to this problem
does not exist. Notice, that using the
givens two solutions are possible.
Sometimes no solution is possible.
(x , y)
Inverse KInematIcs
Two main solution techniques - 1) Analytical 2) Numerical methods.
In Analytical type, the joint variables are solved analytically according to given
configuration data.
In Numerical methods type of solution, the joint variables are obtained based on
the numerical techniques.
Two approaches in Analytical method: Geometric and Algebraic solutions.
Geometric approach is applied to the simple robot structures, such as 2DOF planar manipulator or less DOF manipulator with parallel joint axes.
Algebraic approach is applied for the manipulators with more links and whose
arms extend into 3 dimensions or more the geometry gets much more tedious.
There are difficulties to solve the inverse kinematics problem when the
kinematics equations are coupled, and multiple solutions and singularities exist.
Mathematical solutions for inverse kinematics problem may not always
correspond to the physical solutions and method of its solution depends on the
robot structure.
8
(x , y)
c 2 a 2 b 2 2ab cos C
2
( x 2 y 2 ) l1 l2 2l1l2 cos(180 2 )
cos(180 2 ) cos( 2 )
2
l1
b
c
sin 1
sin(180 2 )
sin( 2 )
l2
x2 y2
x2 y2
1 1
y
arctan 2
x
9
x 2 y 2 l1 l2
cos( 2 )
2l1l2
x 2 y 2 l12 l2 2
2 arccos
2l1l2
l sin( )
y
2
1 arcsin 2
arctan 2
x 2 y2
x
l2
(x , y)
c 1 cos 1
c 1 2 cos( 2 1 )
(1) x l1 c 1 l 2 c 1 2
l1
(2) y l1 s 1 l 2 sin
1 2
(3) 1 2
(1) 2 ( 2 ) 2 x 2 y 2
l1 l 2 2 l1l 2 c 1 (c 1 2 ) s 1 (sin 1 2 )
2
l1 l 2 2 l1l 2 c 2
2
Only Unknown
2
x y l1 l 2
2 arccos
2 l1l 2
10
Note:
cos(ab) (cosa)(cosb) (sina)(sinb)
sin(ab) (cosa)(sinb) (cosb)(sina)
Prof Milind Ramgir
x l1 c 1 l 2 c 1 2
l1 c 1 l 2 c 1 c 2 l 2 s 1 s 2
c 1 ( l1 l 2 c 2 ) s 1 ( l 2 s 2 )
y l1 s 1 l 2 sin
1 2
l1 s 1 l 2 s 1 c 2 l 2 s 2 c 1
c 1 ( l 2 s 2 ) s 1 ( l1 l 2 c 2 )
c1
s1
x s1 ( l 2 s 2 )
( l1 l 2 c 2 )
x s1 ( l 2 s 2 )
y
( l 2 s 2 ) s 1 ( l1 l 2 c 2 )
( l1 l 2 c 2 )
11
Note:
1
x l 2 s 2 s 1 ( l1 2 l 2 2 2 l1 l 2 c 2 )
( l1 l 2 c 2 )
y ( l1 l 2 c 2 ) x l 2 s 2
x2 y2
WILP BITS PILANI , PUNE CENTER
y ( l1 l 2 c 2 ) x l 2 s 2
1 arcsin
x2 y2
3 DOF
redundant Planar
manipulator with links L1 , L2 and
L3 with (L1 + L2 ) > L3 , the
RWS is a circle of radius (L1 +
L2 + L3 ) , while DWS is a circle
of radius (L1 + L2 - L3 ).
13
15
17
18
19
c)
d)
20
Solution techniqueS
Two Approaches
Closed form
Numeric Solutions
Faster method
22
As the matrix equality implies element by element equality 12 equations are obtained. To find
the solution for n joint displacement variables
a. Look for equations involving only one joint variable. Solve and get joint variable
solutions.
b. Next look for pairs or set of equations, which could be reduced to one equation in one
joint variable by application of algebraic and trigonometric identities.
c. Use arc tangent(Atan2) function instead of arc cosine or arc sine functions. The two
argument Atan2 (y, x) function returns the accurate angle in the range of
-
by examining the sign of both y and x and detecting whenever either x or y is zero.
d. Solution in terms of the elements of the position vector components of 0Tn are more
efficient than those in terms of elements of rotation matrix, as latter may involve solving
more complex equations.
e. In the inverse kinematic model, the right hand side of eqn is known, while the left hand
side has n unknowns ( q1,q2,q3,qn) Left hand side is product of n link transformation
matrices. 0Tn = 0T1 1T2 2T3 . n-1Tn = T Use inverse transform approach to find q1 to
qn or qn to q1 either pre or post multiplication 0T1 and n-1Tn
23