Image Source: Puma Robotic Arm – GPN-2000-001817
The subject of discussion: Robot Kinematics and its important solutions
- Robot Kinematics and Dynamics
- Configuration Space | Workspace
- Kinematics of Open and Closed Chain
- Forward Kinematics | Forward Kinematics Example
- Inverse Kinematics | Inverse Kinematics Example
- Coordinate Frames | End effector Frame
- Rotation Matrix
- Forward Kinematics Jacobian
- Inverse Kinematics Jacobian
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.
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.
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
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.
The easiest way to understand Forward kinematics is by developing it on a 2D robotic arm that contains two links, two joints and one end-effector or a gripper. The first joint will rotate, but it is connected to a table or the floor by a foundation. While link l1 connects it to a second joint that can translate and rotate, a second link l2 links this joint to the fixed end effector. The figure below gives a proper visualization of this system.
The links have length l1 and l2 respectively with a 2D coordinated system assigned to the whole manipulator. The base or the first joint is coordinated at (0,0) while the gripper has coordinates (x,y). The link l1 connecting the first joint to the second is rotated by an angle α, followed by the rotation of the second link connecting the second joint and the gripper by angle β. Now we must determine the values of the gripper’s coordinates (x,y) in terms of l1 and l2, which are constants and α and β, which are variables.
Using trigonometric calculations, we project x’ and y’ on the x-axis and the y-axis respectively.
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.
Hence the conclusive equations are:
Forward Kinematics Example
Let l1 = l2 =1, α = 60° β =-30°,
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:
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:
From the above equation, we can get the value of as:
So, we have-
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-
Now (x,y) forms a right-angled traingle which gives us
Inverse Kinematics Example
Let l1 = l2 =1 and (xe,ye) =( (1+√3)/2, (1+√3)/2)
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 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:
- Vector Rotation
- Coordinate Frame Rotation
- 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 θ.
Now we add the offsets of the translation to find the coordinates of the point p in frame a,
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:
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:
In a more concise manner, the above above equations can be represented as:
The vector q is called the system state and the matrix J is called the Jacobian.
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:
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 ?
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.
- Aircraft Fuel Tank System and its 5+ Important Subsystems
- Aircraft Fuel Tank – 10+ Important Features and Design Characteristics
- Aircraft Fuel Pump – All concepts you need to know and 5 Important Classifications
- Robot Sensors – All concepts you need to know and 5+ Important FAQs
- What is Pneumatic Gripper? | 5+ Important Applications and Advantages
- What is Robotic Vision? | 5+ Important Applications