Algorithm Search⌘K

Definitioncore

Analytic Jacobian

Also called representation Jacobian.

The derivative of a minimal pose coordinate vector, such as position and Euler angles, with respect to the joint values.

The analytic Jacobian of a robot arm is the matrix of partial derivatives JA(q)=∂xe/∂qJ_A(q) = \partial x_e / \partial q, where xe=(pe,ϕe)x_e = (p_e, \phi_e) is the pose of the end effector written as a position pep_e and a set of three orientation angles ϕe\phi_e, for example Euler angles. It is an ordinary Jacobian of a map from joint values to six numbers, so the usual calculus applies. The geometric Jacobian gives the angular velocity ωe\omega_e in place of ϕ˙e\dot\phi_e, and ωe\omega_e is not the derivative of any three angles; the two matrices differ by a 3×33 \times 3 factor T(ϕe)T(\phi_e) that depends only on the angle convention. At the points where that factor is singular, such as the gimbal lock of the angles, the analytic Jacobian does not exist even if the arm is far from a kinematic singularity.

Definition

Let pe(q)∈R3p_e(q) \in \mathbb{R}^3 be the position of the end effector and Re(q)∈SO(3)R_e(q) \in SO(3) its orientation, both in the base frame {s}. Fix a minimal representation of the orientation, a smooth map ϕ↦R(ϕ)\phi \mapsto R(\phi) from an open set of R3\mathbb{R}^3 onto a part of SO(3), and let ϕe(q)\phi_e(q) be the angles of Re(q)R_e(q) on a region where they are a smooth function of qq.

Definition. The analytic Jacobian is the 6×n6 \times n matrix

JA(q)=∂∂q(pe(q)ϕe(q))=(JP(q)Jϕ(q)),x˙e=JA(q) q˙.J_A(q) = \frac{\partial}{\partial q}\begin{pmatrix} p_e(q) \\ \phi_e(q) \end{pmatrix} = \begin{pmatrix} J_P(q) \\ J_\phi(q) \end{pmatrix}, \qquad \dot x_e = J_A(q)\,\dot q.

The upper block JPJ_P is the same as in the geometric Jacobian. The lower block is tied to the angular velocity by a representation matrix T(ϕ)T(\phi): if R(ϕ(t))R(\phi(t)) moves, then its angular velocity in {s} is ω=T(ϕ) ϕ˙\omega = T(\phi)\,\dot\phi. So, with the geometric Jacobian J=(JP,JO)J = (J_P, J_O),

J=(I00T(ϕe))JA,JA=(I00T(ϕe)−1)Jwhere det⁡T(ϕe)≠0.J = \begin{pmatrix} I & 0 \\ 0 & T(\phi_e) \end{pmatrix} J_A, \qquad J_A = \begin{pmatrix} I & 0 \\ 0 & T(\phi_e)^{-1} \end{pmatrix} J \quad \text{where } \det T(\phi_e) \ne 0.

The representation matrix for ZYZ angles. With R=Rz(α)Ry(β)Rz(γ)R = R_z(\alpha) R_y(\beta) R_z(\gamma) (moving axes), each angle rate turns the body about its own axis at that stage, so ω=α˙ z+β˙ Rz(α)y+γ˙ Rz(α)Ry(β)z\omega = \dot\alpha\, z + \dot\beta\, R_z(\alpha) y + \dot\gamma\, R_z(\alpha) R_y(\beta) z, which gives

TZYZ(α,β)=(0−sin⁡αcos⁡αsin⁡β0cos⁡αsin⁡αsin⁡β10cos⁡β),det⁡TZYZ=−sin⁡β.T_{ZYZ}(\alpha, \beta) = \begin{pmatrix} 0 & -\sin\alpha & \cos\alpha \sin\beta \\ 0 & \cos\alpha & \sin\alpha \sin\beta \\ 1 & 0 & \cos\beta \end{pmatrix}, \qquad \det T_{ZYZ} = -\sin\beta.

It is singular at β=0\beta = 0 and β=π\beta = \pi, the same set where the ZYZ angles of a rotation are not unique.

The representation matrix for roll, pitch and yaw. With the roll-pitch-yaw angles R=Rz(ψ)Ry(θ)Rx(φ)R = R_z(\psi) R_y(\theta) R_x(\varphi), where ψ\psi is the yaw, θ\theta the pitch and φ\varphi the roll, the same steps give, for ϕ˙=(ψ˙,θ˙,φ˙)\dot\phi = (\dot\psi, \dot\theta, \dot\varphi),

TZYX(ψ,θ)=(0−sin⁡ψcos⁡ψcos⁡θ0cos⁡ψsin⁡ψcos⁡θ10−sin⁡θ),det⁡TZYX=−cos⁡θ,T_{ZYX}(\psi, \theta) = \begin{pmatrix} 0 & -\sin\psi & \cos\psi\cos\theta \\ 0 & \cos\psi & \sin\psi\cos\theta \\ 1 & 0 & -\sin\theta \end{pmatrix}, \qquad \det T_{ZYX} = -\cos\theta,

singular at θ=±π/2\theta = \pm\pi/2. Both matrices depend on the order of the angles and on whether ω\omega is taken in {s} or in the end effector frame; a source that uses the body angular velocity has a different TT.

Conversion from the twist Jacobians. Lynch and Park write the space Jacobian with the angular part first, Js=(Jω,Jv)J_s = (J_\omega, J_v), where JvJ_v maps to the velocity of the body point at the origin of {s}. Then JP=Jv−[pe]JωJ_P = J_v - [p_e] J_\omega, JO=JωJ_O = J_\omega, and

JA=(Jv−[pe]JωT(ϕe)−1Jω).J_A = \begin{pmatrix} J_v - [p_e] J_\omega \\ T(\phi_e)^{-1} J_\omega \end{pmatrix}.

What it is used for. The analytic Jacobian is the right tool when a task is given as a curve xd(t)x_d(t) in position and angle coordinates, because then the error xd−xex_d - x_e is a plain vector difference, and x˙e=JAq˙\dot x_e = J_A \dot q holds exactly. Siciliano et al. use it in the closed-loop inverse kinematics with an orientation error in Euler angles. In the operational space formulation, the choice of JJ or JAJ_A fixes which force and moment vector the controller produces.

Examples and non-examples

The planar 2R arm. For a planar arm, take xe=(x,y,ϕ)x_e = (x, y, \phi) with the angle ϕ=q1+q2\phi = q_1 + q_2 of the last link. At the check configuration q=(0,π/2)q = (0, \pi/2) with L1=L2=1L_1 = L_2 = 1 m,

JA=(−1−11011).J_A = \begin{pmatrix} -1 & -1 \\ 1 & 0 \\ 1 & 1 \end{pmatrix}.

Here ωz=ϕ˙\omega_z = \dot\phi, so T=1T = 1 and the analytic and geometric Jacobians agree. In the plane the orientation has one angle, and angle rates and angular velocity are the same thing; the difference starts in three dimensions.

A ZYZ wrist. Take three revolute joints whose axes are zz, then the rotated yy, then the rotated zz, so that the wrist orientation is Rz(q1)Ry(q2)Rz(q3)R_z(q_1) R_y(q_2) R_z(q_3), and use ZYZ angles. Then ϕe=q\phi_e = q, so Jϕ=IJ_\phi = I at every qq with sin⁡q2≠0\sin q_2 \ne 0, while JO=TZYZ(q1,q2)J_O = T_{ZYZ}(q_1, q_2). At q2=0q_2 = 0 the first and the third joint axes are the same line, JOJ_O has rank 2, and no joint rate gives an angular velocity about the axis Rz(q1)xR_z(q_1) x (the xx axis when q1=0q_1 = 0). This is a true kinematic singularity of the wrist, but the analytic Jacobian, extended by continuity, is still II. So the rank of JAJ_A is not a test for kinematic singularities.

A representation singularity. At α=0\alpha = 0 and β=0.01\beta = 0.01 rad, solving TZYZϕ˙=(1,0,0)T_{ZYZ}\dot\phi = (1, 0, 0) rad/s gives γ˙=1/sin⁡β≈100.0\dot\gamma = 1/\sin\beta \approx 100.0 rad/s and α˙=−cos⁡β γ˙≈−100.0\dot\alpha = -\cos\beta\,\dot\gamma \approx -100.0 rad/s. A slow, smooth turn of the end effector about xx needs angle rates of 100 rad/s, and at β=0\beta = 0 it needs infinite rates. An arm that tracks a task given in ZYZ angles near β=0\beta = 0 shows this blow up, even when JJ itself has full rank and a good manipulability.

Non-example: the geometric Jacobian. Its lower block maps to ωe\omega_e, which is not ϕ˙e\dot\phi_e for any angles.

Non-example: the space and body Jacobians. They map to twists in {s} or in {b}; the analytic Jacobian maps to the derivative of six coordinates.

Variant: other coordinates. The same construction works with exponential coordinates of rotation or with a unit quaternion. A quaternion has no singular point but has four numbers and the constraint ∣q∣=1|q| = 1, so its representation matrix is 4×34 \times 3.

References

  1. Bruno Siciliano, Lorenzo Sciavicco, Luigi Villani and Giuseppe Oriolo, Robotics: Modelling, Planning and Control, Springer, 2009, Chapter 3, Section 3.6 (the analytical Jacobian and its relation to the geometric Jacobian through the Euler angle rates) and Section 3.7 (inverse kinematics with an orientation error in Euler angles)
  2. Kevin M. Lynch and Frank C. Park, Modern Robotics: Mechanics, Planning, and Control, Cambridge University Press, 2017, Chapter 5, Section 5.1.5 (alternative notions of the Jacobian, the analytic Jacobian with minimal coordinates)
  3. Mark W. Spong, Seth Hutchinson and M. Vidyasagar, Robot Modeling and Control, 2nd edition, Wiley, 2020, Chapter 4 (the analytical Jacobian, with Euler angles)

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.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/S2RAY3/text.yaml