Techniqueadvanced
Operational space formulation
Also called task-space dynamics, Khatib operational space.
Write the robot dynamics in task coordinates, Lambda x'' + eta = F with Lambda = (J M^-1 J^T)^-1, control the task with a force F, and apply tau = J^T F plus null-space torques.
The operational space formulation writes the dynamics of a robot in the coordinates of the task, such as the position of the hand, instead of the joint angles. The result is a mass-spring-like equation , in which is the inertia that the hand seems to have and is a force at the hand. A controller chooses to give the hand the desired motion or contact force, and the joint torques are , plus torques that act only in the null space of the task when the robot is redundant (Khatib 1987).
In plain words
When you push the hand of a robot arm, it feels heavier in some directions than in others, because the push must move different amounts of the arm. The method works out this felt weight for the current pose, and also the forces that come from gravity and from the motion of the arm. With these, the hand behaves like a single object that you can push. The controller decides how hard to push the hand to follow a path or to press on a surface, and then turns that push into motor efforts. If the arm has more joints than the task needs, the extra joints can do a second job, such as keeping the elbow away from an obstacle. The method gives a way to do that second job without disturbing the motion of the hand.
When it applies
- The joint dynamics are known well enough, and the joints are torque controlled.
- The task is a set of coordinates with the Jacobian of size , , and has full row rank in the region of use, away from singularities.
- The task is a motion, a force on the environment, or a mix of the two in different directions.
The template
- Task inertia. Compute , an symmetric positive definite matrix.
- Task dynamics. With and , the joint dynamics give, for every torque of the form ,
- Task control. Choose , where is the desired task acceleration, for example . Then : each task coordinate behaves as a unit mass with a PD law. For a force task, put the desired force into directly in the constrained directions.
- Null space. With the dynamically consistent generalized inverse , define . Any enters as .
- Torques. Apply .
Step 2 holds because . So the null-space torque has no effect on , and , which rearranges to the task equation. This is a theorem for exact models; with model errors it holds only approximately.
For a robot with and an invertible , , , and the template is computed-torque control written in task coordinates.
Classic examples
The planar arm with two joints. Take links of 1 m with point masses of 1 kg at their ends, and the pose , where the hand is at m. Then
The hand feels a mass of 1 kg along and 2 kg along . Along , the push points along link 2 and must move the elbow mass with the hand; along , only the hand mass moves, as joint 2 turns. The manipulability ellipsoid of the dynamics has these directions as its axes.
The same arm with a task of one coordinate. Let the task be only the coordinate of the hand, so and the arm has one redundant degree of freedom. Then kg, , and
A null-space torque N m gives and the task acceleration : joint 1 turns and joint 2 turns back so that the hand does not move in . With the projector of the Moore-Penrose pseudoinverse in place of , the torque becomes and the hand accelerates at m/s: that projector is not consistent with the dynamics.
Force control on a surface. For a hand that presses on a plane with the normal , choose as the desired contact force plus a force feedback term, and , by the motion law of step 3. This is the unified motion and force control of Khatib (1987), and it is the dynamic form of hybrid position/force control.
Variations
- Several tasks with priorities. A second task acts through of the first, and its own inertia is computed in the null space of the first; this gives a hierarchy of tasks, as in task-priority inverse kinematics at the level of torques.
- Impedance in task space. Choose to make the hand behave like a chosen mass, spring and damper; see impedance control.
- Whole-body control. For a robot with a floating base, the task dynamics include the contact constraints, and whole-body control solves the same problem with a quadratic program that also enforces torque limits and friction cones.
- Object-level control. Khatib (1995) combined the task inertias of several arms and of a held object into one model of the object, so that a controller can command the object directly.
Pitfalls
- Singularities. As loses rank, becomes singular and grows without bound in the lost direction, so the commanded torques become very large. Damp the inverse or remove the direction from the task near singular poses.
- Model errors. The cancellation of and the null-space property both use , and . Errors couple the null-space motion into the task.
- Unstable null-space motion. If has no damping term, the redundant joints can drift, because the task controller does not see them. Add a joint damping term to .
- The wrong inverse. The null space must be built with , not with the pseudoinverse of , unless is a multiple of the identity.
- Mixed units. For a task with a position and an orientation, mixes kilograms and kilogram square meters; gains must be chosen per block, and the orientation error must be a proper error on SO(3).
Exercises
- Show that for , and that is a projector: .
- For the planar arm of the example, compute , and at and confirm kg.
- Show that minimizes the kinetic energy among all with . In the second example, compare the kinetic energy for m/s: 0.5 joule with and 0.75 joule with the pseudoinverse.
- For and invertible , show that and that the template with gives the computed-torque law in task coordinates.
References
- Oussama Khatib, A unified approach for motion and force control of robot manipulators: the operational space formulation, IEEE Journal of Robotics and Automation 3(1), 1987, pages 43 to 53
- Oussama Khatib, Inertial properties in robotic manipulation: an object-level framework, The International Journal of Robotics Research 14(1), 1995, pages 19 to 36
- Roy Featherstone and Oussama Khatib, Load independence of the dynamically consistent inverse of the Jacobian matrix, The International Journal of Robotics Research 16(2), 1997, pages 168 to 170
- Kevin M. Lynch and Frank C. Park, Modern Robotics, Mechanics, Planning, and Control, Cambridge University Press, 2017, Chapter 8, Section 8.6 (dynamics in the task space)
- Bruno Siciliano, Lorenzo Sciavicco, Luigi Villani and Giuseppe Oriolo, Robotics, Modelling, Planning and Control, Springer, 2009, Chapter 7, Section 7.8 (operational space dynamic model) and Section 7.9 (dynamic manipulability ellipsoid)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag ZWJ4FR Edit this page History Report an error Markdown