# 解析雅可比矩阵

解析雅可比矩阵是机器人运动学中使用的一种矩阵，当末端执行器的位姿用一组最小的任务空间参数——例如位置坐标加上欧拉角或横滚-俯仰-偏航角——来表示时，它将机械臂的关节速度与该位姿的变化率联系起来。它通过对正运动学函数关于关节变量求导得到。<sup>[1](https://nrotella.github.io/download/NicholasRotellaPhDNotes.pdf)</sup> 它与几何雅可比矩阵形成对比，后者将相同的关节速度与末端执行器的线速度和角速度而非角度变化率联系起来。<sup>[2](https://opentextbooks.clemson.edu/wangrobotics/chapter/differential-kinematics/)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 当末端执行器位姿以最小操作空间表示时，通过对直接运动学函数求导计算得到的雅可比矩阵<sup>[1](https://nrotella.github.io/download/NicholasRotellaPhDNotes.pdf)</sup><sup> • </sup><sup>[3](https://sir.upc.edu/projects/kinematics_dynamics_control_theory/kinematics/jacobians/jacobians.html)</sup> |
| 角速度部分 | 将关节速度映射为姿态参数的变化率，如横滚、俯仰和偏航角速率，而非角速度矢量<sup>[2](https://opentextbooks.clemson.edu/wangrobotics/chapter/differential-kinematics/)</sup> |
| 与几何雅可比矩阵的关系 | 通过将几何雅可比矩阵左乘一个包含3×3矩阵B之逆的变换矩阵得到，其中B将角速度转换为角度变化率<sup>[4](https://robotacademy.net.au/lesson/the-analytic-jacobian/)</sup> |
| 线速度部分 | 解析雅可比矩阵与几何雅可比矩阵的线速度项相同；仅角速度项不同<sup>[2](https://opentextbooks.clemson.edu/wangrobotics/chapter/differential-kinematics/)</sup> |
| 表示奇异性 | 变换矩阵行列式为零时的姿态；对于ZYX欧拉角，det T = cos θ，因此当θ = ±π/2时矩阵降秩<sup>[5](https://people.disim.univaq.it/~costanzo.manes/EDU_stuff/Robotics_MPC_Sciavicco_Springer09_Ch1-4.pdf)</sup><sup> • </sup><sup>[6](https://mohammadijoo.github.io/CaaT_Academy/Lectures/Robotics_Kinematics_and_Dynamics_Course/Chapter03/Lesson1.html)</sup> |
| 区别于运动学奇异性 | 表示奇异性是所选坐标的人为产物，可以避免，例如在轨迹中途切换姿态表示方式<sup>[7](https://robotmechanics.softmachineslab.org/lecture/chapter5.html)</sup> |

## 定义与推导

在微分运动学中，关节速度与末端执行器速度之间的映射由依赖于机械臂构型的雅可比矩阵描述。如果末端执行器的位姿参照操作空间中的最小表示来表达，则雅可比矩阵可以通过对直接运动学函数关于关节变量求导来计算；所得结果称为解析雅可比矩阵，它通常不同于几何雅可比矩阵。<sup>[8](https://www.studocu.com/row/document/university-of-lagos/mechanics-of-machines/textbook-sussex-uni-robotics/80243423?origin=related-document)</sup> 在实践中，当末端执行器的位姿写为 \( X_e = \begin{bmatrix} \boldsymbol p_e \\ \boldsymbol \phi_e \end{bmatrix} \)，其中 \( \boldsymbol p_e = [x\; y\; z]^{T} \) 给出其位置，\( \boldsymbol \phi_e = [\varphi,\;\theta,\;\psi]^{T} \) 给出其欧拉角时，雅可比矩阵通过对直接运动学求导解析地获得。<sup>[3](https://sir.upc.edu/projects/kinematics_dynamics_control_theory/kinematics/jacobians/jacobians.html)</sup>

解析雅可比矩阵被简单地描述为机器人系统正运动学函数的梯度。<sup>[2](https://opentextbooks.clemson.edu/wangrobotics/chapter/differential-kinematics/)</sup> 在机器人学中有两条途径通向速度映射：几何雅可比矩阵，通过累加每个关节对末端执行器速度的贡献来构建；以及解析雅可比矩阵，通过对位姿函数求导来构建。<sup>[1](https://nrotella.github.io/download/NicholasRotellaPhDNotes.pdf)</sup>

## 与几何雅可比矩阵的关系

两个矩阵描述的是同一物理现象——机械臂的速度——因此它们之间必然存在关系。<sup>[9](https://www.researchgate.net/profile/Mohamed_Mourad_Lafifi/post/how_to_calculate_the_reference_modele_of_robot_manipulator/attachment/59d6525e79197b80779aa996/AS%3A512047599321088%401499093069804/download/Kinematic%2BModel%2Bof%2BRobot%2BManipulators.pdf)</sup> 两个雅可比矩阵共享其线速度项；它们的角速度部分不同，因为解析雅可比矩阵将关节速度与横滚、俯仰和偏航角速率联系起来，而几何雅可比矩阵将其与角速度联系起来。<sup>[2](https://opentextbooks.clemson.edu/wangrobotics/chapter/differential-kinematics/)</sup>

**两者之间的转换。** 角速度矢量 \( \boldsymbol \omega \) 可以通过一个3×3矩阵用所选姿态角的变化率来表示，该矩阵记为B，它是横滚角和俯仰角的函数；偏航角不出现在其表达式中。解析雅可比矩阵 \( J_A \) 则通过将标准机械臂（几何）雅可比矩阵左乘一个包含B之逆的矩阵得到。<sup>[4](https://robotacademy.net.au/lesson/the-analytic-jacobian/)</sup> 对于ZYX欧拉角约定，该矩阵的形式为

\[ \mathbf{T}(\phi,\theta) = \begin{bmatrix} 1 & 0 & -\sin\theta \\ 0 & \cos\phi & \cos\theta\sin\phi \\ 0 & -\sin\phi & \cos\theta\cos\phi \end{bmatrix}, \]

从而 \( \boldsymbol{\omega} = \mathbf{T}(\phi,\theta)\,\dot{\boldsymbol{q}} \)，其中 \( \dot{\boldsymbol{q}} \) 是[欧拉角](https://www.edgepedia.org/zh/euler-angles)变化率的矢量。<sup>[6](https://mohammadijoo.github.io/CaaT_Academy/Lectures/Robotics_Kinematics_and_Dynamics_Course/Chapter03/Lesson1.html)</sup><sup> • </sup><sup>[16](https://www.petercorke.com/RTB/r9/html/eul2jac.html)</sup> 如果使用横滚-俯仰-偏航角而非ZYZ欧拉角，则解析雅可比矩阵和变换矩阵的表达式相应变化。<sup>[10](https://sir.upc.edu/projects/ris_tutorials/advanced/tutorialT3/tutorialT3.html)</sup> 对于某些机械臂几何结构，可以在几何雅可比矩阵 \( J \) 与解析雅可比矩阵 \( J_A \) 之间建立实质等价关系。<sup>[5](https://people.disim.univaq.it/~costanzo.manes/EDU_stuff/Robotics_MPC_Sciavicco_Springer09_Ch1-4.pdf)</sup>

## 表示奇异性

转换矩阵是解析雅可比矩阵特有弱点的根源。使变换矩阵行列式为零的姿态称为 \( \phi_e \) 的表示奇异性。<sup>[5](https://people.disim.univaq.it/~costanzo.manes/EDU_stuff/Robotics_MPC_Sciavicco_Springer09_Ch1-4.pdf)</sup> 对于ZYX约定，\( \det\mathbf{T}(\phi,\theta) = \cos\theta \)，因此当 \( \theta = \pm\tfrac{\pi}{2} \) 时矩阵降秩且不可逆。在此类构型下，从角度变化率到角速度的映射仍然有定义，但不再是一一对应的，姿态的微小变化可能需要欧拉角的巨大变化，而以欧拉角表达的控制律可能在数值上变得不稳定。这就是经典的万向节锁问题：当旋转轴重合时，表示的速率参数化失去一个自由度。<sup>[6](https://mohammadijoo.github.io/CaaT_Academy/Lectures/Robotics_Kinematics_and_Dynamics_Course/Chapter03/Lesson1.html)</sup>

更深层的原因在于拓扑：旋转流形 \( SO(3) \) 微分同胚于实射影空间 \( \mathbb{RP}^3 \)，而后者不同胚于 \( \mathbb{R}^3 \)，因此不存在从 \( SO(3) \) 到 \( \mathbb{R}^3 \) 的平滑映射可作为全局坐标图。任何三参数表示，包括欧拉角和轴角坐标，都必然在其雅可比矩阵降秩处遭遇奇异性或不连续性。<sup>[6](https://mohammadijoo.github.io/CaaT_Academy/Lectures/Robotics_Kinematics_and_Dynamics_Course/Chapter03/Lesson1.html)</sup>

**表示奇异性与运动学奇异性。** 表示奇异性与机械臂本身的[运动学奇异](https://www.edgepedia.org/zh/kinematic-singularity)性有本质不同。运动学奇异性是机构几何的固有属性，出现在几何雅可比矩阵中；而算法奇异性源于所选表示（如欧拉角）或数值方案，即使底层几何是非奇异的也会出现。<sup>[11](https://mohammadijoo.github.io/CaaT_Academy/Lectures/Robotics_Kinematics_and_Dynamics_Course/Chapter08/Lesson1.html)</sup> 由于参数化的数学奇异性并不反映姿态的物理限制，可以在控制器中实施补救措施；一种选择是在轨迹中途切换姿态表示方式。<sup>[7](https://robotmechanics.softmachineslab.org/lecture/chapter5.html)</sup><sup> • </sup><sup>[12](https://urresearch.rochester.edu/institutionalPublicationPublicView.action%3Bjsessionid%3D5098BF6524E57C2DD8C7E4A5D15B0052?institutionalItemId=969&versionNumber=1)</sup>

## 用途

雅可比矩阵总体上是机械臂特性分析最重要的工具之一：它用于寻找奇异性、分析冗余度、确定逆运动学算法、描述施加于末端执行器的力与关节力矩之间的映射、推导动力学运动方程以及设计操作空间控制方案。<sup>[8](https://www.studocu.com/row/document/university-of-lagos/mechanics-of-machines/textbook-sussex-uni-robotics/80243423?origin=related-document)</sup> 它在某些控制方案中也很有用，但由于参数化的姿态奇异性，使用起来可能更为复杂。<sup>[13](https://www.wonderslate.com/u/anna-university/medical-electronics/medical-robotics-and-automation/notes?siteName=books)</sup>

软件反映了这一区别。在[MATLAB机器人工具箱](https://www.edgepedia.org/zh/robotics-toolbox-for-matlab)中，SerialLink类默认返回的雅可比矩阵是几何雅可比矩阵，而选项可计算解析雅可比矩阵，其旋转速率以横滚-俯仰-偏航角（'rpy'）或欧拉角（'eul'）表示。<sup>[14](https://opencourses.emu.edu.tr/pluginfile.php/2445/mod_resource/content/0/lecture%20notes/robot.pdf)</sup>

## 背景

雅可比矩阵及其行列式自[卡尔·古斯塔夫·雅各布·雅可比](https://www.edgepedia.org/zh/carl-gustav-jacob-jacobi)（Carl Gustav Jacob Jacobi）在1841年的论文《论函数行列式》（"De determinantibus functionalibus"）中引入以来一直得到研究。在现代机器人学中，该领域的工作集中于计算方法和应用，而非新的基本性质；论述范围从惠特尼（Whitney）的经典论文和保罗（Paul）的教科书到默里（Murray）等人的著作，包括自动微分在内的计算和符号方法已被应用于机械臂雅可比矩阵的推导和求值。<sup>[15](https://www.sciencedirect.com/science/article/pii/S0957415800000167)</sup>

## References

1. [Nicholas Rotella, PhD Notes, Chapter 6: Robotics, Differential Kinematics](https://nrotella.github.io/download/NicholasRotellaPhDNotes.pdf)
2. [Differential Kinematics, Modeling, Motion Planning, and Control of Manipulators and Mobile Robots, Clemson Open Textbooks](https://opentextbooks.clemson.edu/wangrobotics/chapter/differential-kinematics/)
3. [Jacobians — 240EO056 - Process Automation](https://sir.upc.edu/projects/kinematics_dynamics_control_theory/kinematics/jacobians/jacobians.html)
4. [The Analytic Jacobian, Robot Academy (Peter Corke, QUT)](https://robotacademy.net.au/lesson/the-analytic-jacobian/)
5. [Robotics: Modelling, Planning and Control (Sciavicco, Siciliano, Villani, Oriolo), Springer 2009, Chapters 1–4](https://people.disim.univaq.it/~costanzo.manes/EDU_stuff/Robotics_MPC_Sciavicco_Springer09_Ch1-4.pdf)
6. [Chapter 3: Representations of Orientation, Lesson 1: Euler Angles and Their Limitations, Robotics Kinematics and Dynamics](https://mohammadijoo.github.io/CaaT_Academy/Lectures/Robotics_Kinematics_and_Dynamics_Course/Chapter03/Lesson1.html)
7. [Differential Kinematics and Statics, Robot Mechanics, Soft Machines Lab](https://robotmechanics.softmachineslab.org/lecture/chapter5.html)
8. [Differential Kinematics and Statics for Robotics (Sussex University textbook text), Studocu](https://www.studocu.com/row/document/university-of-lagos/mechanics-of-machines/textbook-sussex-uni-robotics/80243423?origin=related-document)
9. [Kinematic Model of Robot Manipulators (lecture notes)](https://www.researchgate.net/profile/Mohamed_Mourad_Lafifi/post/how_to_calculate_the_reference_modele_of_robot_manipulator/attachment/59d6525e79197b80779aa996/AS%3A512047599321088%401499093069804/download/Kinematic%2BModel%2Bof%2BRobot%2BManipulators.pdf)
10. [Tutorial T3: Robot Modelling, Kinematics and Differential Kinematics, UPC](https://sir.upc.edu/projects/ris_tutorials/advanced/tutorialT3/tutorialT3.html)
11. [Chapter 8: Singularities and Workspace Analysis, Lesson 1: Types of Singularities, Robotics Kinematics and Dynamics](https://mohammadijoo.github.io/CaaT_Academy/Lectures/Robotics_Kinematics_and_Dynamics_Course/Chapter08/Lesson1.html)
12. [Singularities of Euler and Roll-Pitch-Yaw Representations, University of Rochester](https://urresearch.rochester.edu/institutionalPublicationPublicView.action%3Bjsessionid%3D5098BF6524E57C2DD8C7E4A5D15B0052?institutionalItemId=969&versionNumber=1)
13. [Medical Robotics and Automation Study Notes, Anna University](https://www.wonderslate.com/u/anna-university/medical-electronics/medical-robotics-and-automation/notes?siteName=books)
14. [Robotics Toolbox for MATLAB documentation, SerialLink jacob0 options](https://opencourses.emu.edu.tr/pluginfile.php/2445/mod_resource/content/0/lecture%20notes/robot.pdf)
15. [Jacobian motion and its derivatives, ScienceDirect](https://www.sciencedirect.com/science/article/pii/S0957415800000167)
16. [eul2jac](https://www.petercorke.com/RTB/r9/html/eul2jac.html)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 工程与制造 › 机器人技术与自动化 › Mechanical foundations of robotics › Robot kinematics and differential kinematics

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/analytical-jacobian

English original: https://www.edgepedia.org/analytical-jacobian
