Robot Jacobian
We now know how the position of the end-effector in the Cartesian space relates to the configuration of the robot. But robots are no statues, they move around quite a lot and we are interested how fast they are moving.
Linear and angular velocity
Let's refresh quickly our knowledge about velocity. In school we learned that velocity is the distance over time or te be more precise the rate of change of the position, i.e. its time derivative. The linear velocity can be computed by
and the angular velocity by
A quick note about the notation: I will use from now on dots to denote the time derivative of a value. Instead of writing for the joint velocity, I will use instead. You will also see multiple dots for the second or third derivatives.
We can now tell the angular velocity of the joints quite easily by taking into account the angle we moved in a certain time span. If you move for example the slider for in one second from the right to the left, the joint moves with a rotational velocity of .
But what is the linear velocity of the end-effector? The linear velocity of the end-effector can be decomposed into two components: The linear velocity in x-direction and the linear velocity in y-direction. As we derived in the chapter about forwards kinematics, the position of the end-effector if we are only able to move is
where changes over time and and are constant. By computing the time derivative, we get the velocity
Jacobian matrix
I wrote now a lot about angular and linear velocity without mentioning once the title of this chapter, the Jacobian. It is a matrix named after the mathematician Jacobi. In robotics we use it to express the relationship between the angular velocity of the joints and the linear and angular velocity of the end-effector, i.e.
where consists of all partial derivatives of the kinematics functions. The first two rows are the partial derivatives for the position (x,y) and the last row are the partial derivatives for the angle of the end-effector.
A quick refresh of partial derivatives. means, we take the formula for and assume that all other variables except are constants. Then we compute the derivative.
We get the following partial derivatives for .
We can do the same for .
The partial derivatives for are all the same.
Given the velocity of each joint, we can now immediately compute the linear and angular velocities of the end-effector. But this is not the only thing the robot Jacobian is used for!