Units 3 and 4 were about positions. Unit 5 adds time (velocities) and forces. One matrix runs the whole unit: the Jacobian . Once you can read it, most questions here are one matrix-vector product.
The four equations of the whole course, side by side:
Positions forward and back, velocities forward (and back with ), forces (and back with ). Using these both ways is important for the exam.
Where comes from: the chain rule
The hand position depends on the joints, and the joints depend on time: . To get the hand velocity, differentiate with the chain rule, outside times inside:
Two kinds of derivative, two reasons:
- , a normal derivative, because depends on one thing only: time.
- , partial derivatives, because FK depends on several joints at once. A partial means “wiggle one joint, freeze all the others”.
Reading a Jacobian
- Columns = joints. Count them to get the DOF.
- Rows = workspace coordinates. Count them to know the workspace dimension.
- Column = the hand velocity when only joint moves at unit speed. This is the single most useful sentence in the unit. With the hand velocity is just column 1, no multiplication needed.
A Jacobian means 3 joints, 2-D workspace, so the robot is redundant.
Stacked arms vs plain math functions
For a real serial arm every link rides on the one before it. Turn and the whole arm swings. That is why the angles add up inside the trig:
So when you differentiate, shows up in every term (column 1 gets all three links), in the last two, only in the last one. Forgetting that is the classic mistake.
For the 2-link arm this gives
But sometimes the exam just hands you a function like . That is not a stacked arm, it is plain maths, and , are independent. Differentiate exactly what is written. I started doing it right, thought “it can’t be that easy”, and changed it. It was that easy.
Singularities
A configuration is singular when loses rank: some direction becomes impossible for the hand, like a knee locked straight. Checking for it is important for the exam, and there are three ways, fastest first:
- Look at the columns. A zero column, two equal columns, or one column being a combination of others (col 1 + col 2 = col 3, or ) means singular. Zero calculation.
- Square : . Laplace expansion along the row with the most zeros.
- Non-square : . A rectangle has no determinant, but is square. This also works for square matrices, since .
To find singular configurations, write in terms of and set it to zero. For the 2-link arm the algebra collapses with to , so : arm fully stretched or fully folded. (If you get , you just subtracted in the other order. Same answer.)
When a joint does nothing
“Name a configuration where has no effect on the hand velocity” means: make column 1 all zeros. For the 2-link arm with equal links, column 1 is . Adding to an angle flips the sign of both sine and cosine, so with :
Physically the arm is folded back on itself, the tip sits right on the axis of joint 1, and spinning joint 1 just spins the tip in place.
Same idea with rows: has a zero first row, so the hand can move along but not at all along . That was a whole exam question and the answer is literally “parallel to , not along ”.
Why near-singular is dangerous
Inverse differential kinematics, , needs , and the inverse has in the denominator:
With that is a factor of 1000. Some hand directions still need normal joint speeds (like ), others suddenly need rad/s. In real life that strips gears and burns out motors.
So when a question asks “is motion (a) or (b) recommendable?”:
- Compute and say it is close to zero, so the configuration is nearly singular.
- Compute for both motions.
- The one with sane joint speeds is feasible, the one with exploding speeds is not recommendable.
Checking for (near-)singularity first is like checking the weather before sailing: it tells you which directions are safe before you command anything.
The manipulability ellipse
The assumption
This confused me at first: “what if I want to rotate , isn’t the magnitude bigger than 1?” The dot is the answer. is a speed, not an angle. is a speed budget: the motors share a total budget of 1 and we look at every way to spend it. In joint space that budget is a circle. Push the circle through and it comes out as an ellipse of hand speeds. A bigger budget just scales the ellipse, the shape stays the same. The shape is the point.
The derivation, in four lines
Start from the budget, substitute , and use :
and with that is , the ellipse.
Computing and reading
For the 2-link arm with unit links at :
To interpret you need its eigenvalues and eigenvectors:
- Eigenvectors = the directions of the ellipse’s axes.
- Eigenvalues = the squared lengths of those axes.
For a diagonal matrix it is free: the eigenvalues are the diagonal entries and the eigenvectors are the unit vectors. gives , so both semi-axes are and the “ellipse” is a circle: the robot is equally quick in every direction.
Why “any vector works” for the eigenvectors there: becomes the zero matrix times , which is zero for every . Since anything works, you pick the cleanest, and .
For a non-diagonal use , then plug each into .
Comparing configurations
The size of the ellipse is . Bigger is better (further from a singularity, where the ellipse flattens to zero area). Example: gives , and gives , so configuration 1 wins.
Statics:
Where it comes from
At rest, the power going into the joints equals the power coming out at the hand:
The step that looked like magic to me is “dropping” . Move everything to one side: . This has to hold for every possible , since the motors can spin any way they like. The only row vector that gives zero against every possible vector is the zero vector. So , and transposing gives
Using it
- is the force the robot applies. Pushing against a wall on its left means points along , e.g. . I read “the wall pushes the robot” once, flipped the sign, and every torque came out wrong.
- Holding a mass : the robot pushes up with , .
- Units: N for forces, Nm for revolute torques.
- Sanity check with torque = force lever arm. A force whose line passes straight through a joint needs zero torque at that joint.
With and a 5 kg load, N gives Nm. Both joints carry the load at the same 1 m lever arm, which is exactly what intuition says.
Going backwards (torques given, which force does the hand exert?) is , one more inverse.