Robot Kinematics: 9 Important Facts You Should Know

Robot Kinematics and Dynamics

What is Robot Kinematics?

The study of the flow of multi-degree of freedom kinematic chains that make up the configuration of robotic systems is called Robot Kinematics. The robot’s relations are modelled as rigid bodies, and its joints are thought to provide pure rotation or translation, due to its reliance on geometry. In order to schedule and monitor movement and compute actuator forces and torques, Robot Kinematics studies the relationship between the dimensions and connectivity of kinematic chains and the direction, velocity, and acceleration of each connection in the robotic system.

It can be best understood and demonstrated using serial robotic manipulators because of their wide and common usage in the manufacturing industry. Robotic Manipulators are less complex than mobile robots because they execute tasks in a controlled and predictable environment. Since they travel in three spatial dimensions and three rotational dimensions, they are more complex than mobile robots.

The two core problems of manipulators are addressed using a generalised planar model of a robotic arm. Forward kinematics is concerned with determining where the arm’s end effector will be after a series of joint rotations. Inverse kinematics explores which joint rotations can carry the end effector to a given position. Coordinate frames are used to execute kinematic computations. Each joint of the manipulator is connected to a plate, and motion is described as rotations and translations from one frame to another.

What is Robot Dynamics?

As part of Robot Dynamics, the relationship between mass and inertia properties, rotation, and the related forces and torques is investigated.

This article majorly focuses on Robot Kinematics and its various solutions, in regards with a two-link robotic manipulator.

Configuration Space

Robot Kinematics require to define the structure of a robot by a set of links, which are rigid bodies mostly, and joints linking them and constraining their relative movement, such as rotational or translational joints. The robot’s configuration constitutes the list of joint coordinates. This is true for all fixed-base mechanisms, serial or branched. Configuration is significant because it is a non-redundant and minimal representation of the robot’s layout.

The setup for floating/mobile bases is slightly more complicated, necessitating the use of virtual linkages to account for the movement of the base link. The situation is even more complicated for parallel mechanisms.

Workspace

In Robot Kinematics and Dynamics, workspace is a bit of an overused term; it also refers to the range of positions and orientations of a privileged link known as the end effector. End effectors are at the extreme periphery or the end tip of a serial chain of links, and they are often where tool points are found because these links have the greatest range of motion. In simpler words, the workspace refers to the 2D or 3D environment in which the robot exists.

Kinematics of Open and Closed Chain

Robot Kinematics defines a kinematic chain as a mathematical model for a mechanical system that consists of an assembly of rigid bodies linked by joints to provide restricted (or desired) motion. The stiff bodies, or links, are restricted by their relationships to other links, as in the common use of the term chain.

Kinematic pairs are mathematical models of the relationships, or joints, between two links. Lower pairs model hinged and sliding joints, which are important in robotics, and higher pairs model surface contact joints. In robot kinematics, A kinematic diagram is a representation of the kinematic chain in a mechanical system.

Open Kinematic Chain

An open kinematic chain in Robot Kinematics is one in which only one link (the unitary link) is linked to a single joint. The kinematic model for a typical robot manipulator is a simple open chain formed by links linked in series, similar to the ordinary chain.

Closed Kinematic Chain

A closed kinematic chain in Robot Kinematics is one in which each link is linked to two adjacent links through joints.

Compliance arising from flexure joints in precision mechanisms, link compliance in compliant mechanisms and micro-electro-mechanical systems, and cable compliance in cable robotic and tensegrity systems are all examples of contemporary applications of kinematic chains.

Forward Kinematics vs Inverse Kinematics

Forward Kinematics

As discussed earlier, Forward kinematics provides solution to the question- Given a sequence of commands, what is the final position of the robotic arm? Forward kinematics is simple to calculate since the change in direction caused by shifting each joint is calculated using simple trigonometry. If there are several links, the final location is determined by adding up the equations for each joint.

Using trigonometric calculations, we project x’ and y’ on the x-axis and the y-axis respectively.

lagrida latex editor 15

Now (x’,y’) becomes the origin of a new coordinate system on which (x,y) is projected to derive (x”,y”). This is now the position of the end effector with respect to the new coordinate system.

lagrida latex editor 16

Hence the conclusive equations are:

lagrida latex editor 17

Forward Kinematics Example

Let l1 = l2 =1, α = 60° β =-30°,

Then

lagrida latex editor 18

And

lagrida latex editor 19

Inverse Kinematics

Inverse kinematics answers the question- Given a desired position of the robotic arm, what sequence of commands will bring it to that position? The pre-requisite to the problem of Inverse kinematics involves information about the workspace of the two-link robotic manipulator.

Let us assume that l1>l2 for an easy calculation. We consider that the workspace of the manipulator is circularly symmetric with the assumption that there is no limitation to the rotation of the links within any region of the workspace, i.e. -180◦  to +180.

Each point on the circumference of the outer circle like a is the arm’s furthest spot from the origin; it is achieved by lining up the two links such that the arm length is l1+l2. Points like b on the inner circle’s circumference are the nearest to the root throughout the workspace. As the second link is bent back on the first connection, a length of l1+l2 is obtained. Another reachable position is c; there are two positions (joint rotations) that allow the arm to be in this position.

Since we have assumed that l1>l2, there is no sequence of rotations that can position the end of the arm closer to the origin that l1−l2 and only positions lesser than or equal to a distance of l1+l2 from the origin are accessible.  Hence the problem of Inverse kinematics can have zero, one or multiple solutions.

The law of cosines is used for finding the solution to Inverse kinematics problem:

lagrida latex editor 20

Which gives,

lagrida latex editor 21

Now we want the values of α and β, if there are any for the given point (x,y) that must lie at the centre of the end-effector. Hence the robotic arm is supposed to be brought to this point.

Hence the law of the cosines gives us:

lagrida latex editor 22

From the above equation, we can get the value  of as:

lagrida latex editor 23

So, we have-

lagrida latex editor 43

Now we must find the values of γ and α. To find the value of γ, we have to use the law of cosines with γ as the central angle. This gives us-

lagrida latex editor 42

Now (x,y) forms a right-angled traingle which gives us

lagrida latex editor 40
lagrida latex editor 38

Inverse Kinematics Example

Let l1 = l2 =1 and (xe,ye) =( (1+√3)/2, (1+√3)/2)

Then  

lagrida latex editor 37

And  

lagrida latex editor 36

And

lagrida latex editor 35

Therefore,

lagrida latex editor 34

Coordinate Frames | End effector Frame

Coordinate frames are used to represent the motion of a robotic manipulator. The arm is represented by three frames, one of which is associated with the origin joint that is a fixed base on the floor or on a table. We have the second frame associated with the joint between the two links and the third frame is concerned with the end effector at the end of the second link. Hence coordinate frames are necessarily assigned to calculate robot kinematics, both forward and inverse.

Rotation Matrix

Rotation matrices can be used to mathematically model the rotational motion of a robotic arm for calculation of robot kinematics. The second joint has an offset by l1 linear distance from the end effector whereas the end effector has an offset by a l2 distance from the second joint linearly. Homogeneous transforms are a type of rotation matrices that can be used to treat translations mathematically. There are three interpretations of a rotation matrix:

  1. Vector Rotation
  2. Coordinate Frame Rotation
  3. Transforming a Vector from one Coordinate Frame to another

But robot kinematics for both rotation and translation of a coordinate frame. The links connect the joints on robotic manipulators, so the coordinate systems are linked not only by rotations but also by translations.

In the figure above, a point in the (red) coordinate frame b  is denoted by p but in relation to the (blue) coordinate frame. Both coordinate frames a and b are rotated by the angle, and their origins are translated by ∆x and ∆y. So if the coordinates of the point p in the frame b is known to be  bp=(bx,by), then let us find out its coordinates in frame a which are ap=(ax,ay).

An indeterminate coordinate frame is defined as a1, which has its origin as same as that of frame b and orientation as that of frame a. The coordinates of the point p in the coordinate frame a1 can be simply derived with a rotation of θ.

lagrida latex editor 33

Now we add the offsets of the translation to find the coordinates of the point p in frame a,

lagrida latex editor 32

Differential Kinematics | Manipulator Jacobian

Forward Kinematics Jacobian

From Forward kinematics of the two-link robotic manipulator above, we can deduce the position of the end effector as:

lagrida latex editor 31

It is seen that change the end effector position can witness changes with variations in either α or β. Which means that the end effector position depends on the joint angle variables. We can take the partial derivatives of the above equation and establish a differential relationship between the end effector position and the joint angle position in the way as shown below:

lagrida latex editor 30

In a more concise manner, the above above equations can be represented as:

lagrida latex editor 29

Where,

lagrida latex editor 28

And

lagrida latex editor 27
lagrida latex editor 26

The vector q is called the system state and the matrix J is called the Jacobian.

Or,

lagrida latex editor 25

Thus, Jacobian is a matrix of partial differential equations that represents the velocity of the manipulator system and the way it affects the end effector’s position.

Inverse Kinematics Jacobian

For the Inverse kinematics Jacobian, the isolation of the joint velocity matrix can give us:

lagrida latex editor 24

It is very interesting to note that the Inverse kinematics solution can only have one solution mathematically if the Jacobian is non-singular. A Jacobian loses rank and becomes non-invertible in mathematical terms of robot kinematics.

How is manipulability connected to Robot Kinematics ?

Manipulability

It is critical to examine manipulability for derivation of robot kinematics, which is one of the most important parameters of a robotic manipulator’s functionality. This term has a significant effect on design because it encourages the definition of robot kinematics performance indicators that enable the robot’s size to be optimized. Manipulability is defined as the robot’s capacity to accept change in position and orientation of its end effector for a given joint configuration.

Manipulability can be modelled as an ellipsoid in n-dimensional Euclidian space, with the following equation defining its geometry:

The set of all velocities that every joint can satisfy is represented by this equation, and the Euclidean norm of vector  is lower than the unit. This initial assumption aids in the establishment of a standard metric that can be used to compare a variety of manipulators and determine their kinematics.

Also Read: