# 德纳维特–哈滕贝格参数

**德纳维特–哈滕贝格参数**（Denavit–Hartenberg parameters）是用四个数来描述机器人或机构中相邻关节轴之间相对位置与姿态的方法，用于以4×4齐次变换矩阵的乘积计算正向运动学。该约定由雅克·德纳维特（Jacques Denavit）与理查德·S·哈滕贝格（Richard S. Hartenberg）在1955年一篇关于低副机构的论文中提出，此后成为描述机器人操作臂的标准工具。<sup>[1](https://citeseerx.ist.psu.edu/document?doi=65223ce4be2b7d0121f06d8d4647e336dd7374bd&repid=rep1&type=pdf)</sup><sup> • </sup><sup>[2](https://api.drum.lib.umd.edu/server/api/core/bitstreams/cc5999b5-37ff-4019-9bf9-95a0e8fddf80/content)</sup>

| 关键事实 | 详情 |
|---|---|
| 起源 | 1955年由德纳维特与哈滕贝格提出，用4×4变换表示相邻连杆元素<sup>[1](https://citeseerx.ist.psu.edu/document?doi=65223ce4be2b7d0121f06d8d4647e336dd7374bd&repid=rep1&type=pdf)</sup> |
| 每关节参数 | 四个：连杆长度 \( a \)、连杆扭角 \( \alpha \)、连杆偏距 \( d \)、关节角 \( \theta \)<sup>[3](https://tams.informatik.uni-hamburg.de/lectures/2021ss/vorlesung/itr/doc/Lecture02.pdf)</sup> |
| 关节变量 | 对旋转关节，\( \theta_i \) 为变量、\( d_i \) 固定；对移动关节，\( d_i \) 为变量、\( \theta_i \) 固定<sup>[4](https://robotmechanics.softmachineslab.org/lecture/chapter4.html)</sup> |
| 两种约定 | 标准DH（保罗，1981）与改进DH（克雷格，1986），后者改变变换顺序，并将坐标系附着于关节而非连杆<sup>[2](https://api.drum.lib.umd.edu/server/api/core/bitstreams/cc5999b5-37ff-4019-9bf9-95a0e8fddf80/content)</sup><sup> • </sup><sup>[5](https://mohammadijoo.github.io/CaaT_Academy/Lectures/Robotics_Kinematics_and_Dynamics_Course/Chapter05/Lesson2.html)</sup> |
| 已知缺陷 | 当两相邻关节轴平行或接近平行时，标准DH标定模型奇异；哈亚提增加一个旋转参数，形成改进DH（MDH）模型<sup>[6](https://www.sciencedirect.com/science/article/abs/pii/S003040261930186X)</sup> |
| 现状 | 尽管指数积（POE）公式日益流行，DH记号仍被广泛使用<sup>[7](https://arxiv.org/abs/1902.00198)</sup> |

## 四个参数

该约定按照固定规则而非任意方式，为串联链的每个连杆附着一个参考坐标系。设关节轴为 \( z_{i-1} \) 与 \( z_i \)，四个参数描述相邻坐标系之间的变换<sup>[3](https://tams.informatik.uni-hamburg.de/lectures/2021ss/vorlesung/itr/doc/Lecture02.pdf)</sup><sup> • </sup><sup>[8](https://homes.cs.washington.edu/~todorov/courses/cseP590/05_Kinematics.pdf)</sup>：

- **连杆长度** \( a_i \)：沿两关节轴的公法线测得的距离，若方向与 \( x_i \) 一致则为正；它是常数，充当连杆 \( i \) 的“长度”。
- **连杆扭角** \( \alpha_i \)：绕 \( x_i \) 测得的 \( z_{i-1} \) 与 \( z_i \) 之间的夹角，逆时针为正；同样为常数。
- **连杆偏距** \( d_i \)：沿 \( z_{i-1} \) 的距离；当关节 \( i \) 为移动关节时，它是变量。
- **关节角** \( \theta_i \)：绕 \( z_{i-1} \) 从 \( x_{i-1} \) 到 \( x_i \) 的夹角；当关节 \( i \) 为旋转关节时，它是变量。

取四个数并非任意。

## 变换矩阵

在标准约定中，从坐标系 \( i-1 \) 到坐标系 \( i \) 的齐次变换是四个基本变换的乘积：绕 \( z \) 的旋转、沿 \( z \) 的平移、沿 \( x \) 的平移、绕 \( x \) 的旋转<sup>[9](https://skb.skku.edu/summer/board/academic.do?articleNo=71436&attachNo=50079&mode=download)</sup>：

\[ {}^{i-1}_{i}H = \mathrm{Rot}_{z,\theta_i} \, \mathrm{Trans}_{z,d_i} \, \mathrm{Trans}_{x,a_i} \, \mathrm{Rot}_{x,\alpha_i} \]

展开后，矩阵为<sup>[10](https://itohi.com/snippets/kinematics/denavit-hartenberg/)</sup>

\[ T_i^{i-1} = \begin{bmatrix} \cos\theta_i & -\sin\theta_i\cos\alpha_i & \sin\theta_i\sin\alpha_i & a_i\cos\theta_i \\ \sin\theta_i & \cos\theta_i\cos\alpha_i & -\cos\theta_i\sin\alpha_i & a_i\sin\theta_i \\ 0 & \sin\alpha_i & \cos\alpha_i & d_i \\ 0 & 0 & 0 & 1 \end{bmatrix} \]

对于 \( n \) 关节串联机器人，从基座到末端执行器的正向运动学为乘积 \( F_n(q) = T_1^0(q_1) \cdot T_2^1(q_2) \cdots T_n^{n-1}(q_n) \)，其中 \( q \) 为关节变量向量。<sup>[11](https://www.sciencedirect.com/science/article/pii/S0736584517301965)</sup>

## 标准约定与改进约定

该约定存在两个并行的版本。标准DH约定由保罗于1981年正式化，将每个连杆坐标系置于后续关节的轴线上。改进DH约定由克雷格于1986年提出，改变了变换顺序，并重新定义坐标系使其附着于关节而非连杆。<sup>[2](https://api.drum.lib.umd.edu/server/api/core/bitstreams/cc5999b5-37ff-4019-9bf9-95a0e8fddf80/content)</sup><sup> • </sup><sup>[5](https://mohammadijoo.github.io/CaaT_Academy/Lectures/Robotics_Kinematics_and_Dynamics_Course/Chapter05/Lesson2.html)</sup> 改进变换的模板为 \( \mathbf{T}_{tx}(a_{i-1}) \cdot \mathbf{T}_{rx}(\alpha_{i-1}) \cdot \mathbf{T}_{rz}(\theta_i) \cdot \mathbf{T}_{tz}(d_i) \)，是标准顺序的镜像。<sup>[12](https://petercorke.github.io/robotics-toolbox-python/arm_ets.html)</sup>

两种约定对同一机器人给出不同的参数表，文献中的歧义很常见，许多出版物未说明采用的是哪种框架。<sup>[13](https://www.mdpi.com/2075-1702/13/10/944)</sup> 因此软件要求用户声明约定：例如[Python机器人工具箱](https://www.edgepedia.org/zh/robotics-toolbox-for-python)（Robotics Toolbox for Python）使用一个标志，改进DH记号（克雷格的教材）为真，标准记号（西奇利亚诺、斯庞和保罗）为假。<sup>[14](https://petercorke.github.io/robotics-toolbox-python/arm_dh.html)</sup>

## 非唯一性与平行轴奇异性

机器人的德纳维特–哈滕贝格描述未必唯一：连杆坐标系的位置有多种选取方式，不同的有效坐标系分配会对同一几何给出不同的参数表。<sup>[15](https://jorgedelossantos.github.io/moro/theory/denavit-hartenberg.html)</sup> 坐标系规则也有特殊情况。当两相邻关节轴平行时，公法线不唯一；当两轴相交时，公法线不存在；该约定对这些情况分别处理。<sup>[16](https://www.cambridge.org/core/books/abs/modern-robotics/denavithartenberg-parameters/149F3F9C7F864415D590AA6AECFF9AFA)</sup>

平行情形在实践中很重要。哈亚提通过向模型增加一个旋转参数解决了奇异性，得到改进德纳维特–哈滕贝格（MDH）模型；一个相关变体在平行或接近平行的关节坐标系中增加绕y轴的旋转 \( \beta_i \)。<sup>[6](https://www.sciencedirect.com/science/article/abs/pii/S003040261930186X)</sup><sup> • </sup><sup>[18](https://www.mdpi.com/2076-3417/13/19/10901)</sup>

## 在机器人标定中的应用

DH参数与标定共同构成机器人理解自身几何与运动的数学基础。<sup>[19](https://www.renishaw.com/en/why-calibrate-your-industrial-robot--50124)</sup> 控制器中的名义DH值与实际制造几何因制造和装配误差而不同，运动学标定从测量的末端执行器位姿中辨识修正后的参数值。一项基于改进DH参数的标定研究报告，标定后机器人法兰端的位置误差从1.9536 mm降至0.0122 mm，姿态误差从 \( 1.46 \times 10^{-2} \) rad降至 \( 1.31 \times 10^{-4} \) rad。<sup>[18](https://www.mdpi.com/2076-3417/13/19/10901)</sup> 标定流程还必须处理冗余：基于DH模型的辨识方法确定哪些参数是冗余的、可以剔除，以保持模型非冗余且参数连续。<sup>[17](https://www.sciencedirect.com/science/article/pii/S073658451500071X)</sup><sup> • </sup><sup>[20](https://www.sciencedirect.com/science/article/pii/S0888327017304351)</sup>

## 与其他表示方法的关系

指数积（POE）公式于1984年提出，使用螺旋轴和零位姿而非连杆坐标系来建模正向运动学，日益流行；2019年的一项分析表明，一般POE模型总可以转换为DH参数化，两种模型在旋转和平移上的误差量级为 \( 10^{-15} \)，且两种模型用于标定时具有相同数量的可辨识参数。<sup>[7](https://arxiv.org/abs/1902.00198)</sup> 基本变换序列（ETS）是另一种替代方案，完全避免DH坐标系分配，同时可描述任何串联连杆操作臂。<sup>[21](https://arxiv.org/abs/2010.08696)</sup>

在ROS生态中，运动链通常用统一机器人描述格式（URDF）而非DH参数描述，使用每个关节的原点变换和轴定义；一项标定研究明确采用URDF关节定义以兼容ROS。<sup>[22](https://doi.org/10.1016/j.robot.2026.105447)</sup> 尽管如此，基于DH的模型仍是许多工业机器人数据表和旧版软件中的事实标准，因此理解其结构与局限对于任何从事机器人运动学工作的人仍然必要。<sup>[5](https://mohammadijoo.github.io/CaaT_Academy/Lectures/Robotics_Kinematics_and_Dynamics_Course/Chapter05/Lesson2.html)</sup>

## References

1. [Robot Kinematics Using Matrix Algebra (Denavit and Hartenberg, 1955 methodology), CiteSeerX](https://citeseerx.ist.psu.edu/document?doi=65223ce4be2b7d0121f06d8d4647e336dd7374bd&repid=rep1&type=pdf)
2. [Nathan Koelln thesis, University of Maryland (standard D-H, Paul 1981; Craig 1986 convention)](https://api.drum.lib.umd.edu/server/api/core/bitstreams/cc5999b5-37ff-4019-9bf9-95a0e8fddf80/content)
3. [TAMS Hamburg, Lecture 2: DH Parameters summary](https://tams.informatik.uni-hamburg.de/lectures/2021ss/vorlesung/itr/doc/Lecture02.pdf)
4. [Robot Mechanics, Chapter 4: Direct and Inverse Kinematics](https://robotmechanics.softmachineslab.org/lecture/chapter4.html)
5. [CaaT Academy, Robotics Kinematics and Dynamics, Chapter 5 Lesson 2: DH Convention](https://mohammadijoo.github.io/CaaT_Academy/Lectures/Robotics_Kinematics_and_Dynamics_Course/Chapter05/Lesson2.html)
6. [Calibration of 6-DOF industrial robots based on line structured light, Optik 183 (2019)](https://www.sciencedirect.com/science/article/abs/pii/S003040261930186X)
7. [Geometric interpretation of the general POE model for a serial-link robot via conversion into D-H parameterization, arXiv:1902.00198](https://arxiv.org/abs/1902.00198)
8. [Emo Todorov, Robotics 1: Kinematics lecture notes, University of Washington](https://homes.cs.washington.edu/~todorov/courses/cseP590/05_Kinematics.pdf)
9. [Introduction to Robotics, Sungkyunkwan University (DH convention transform product)](https://skb.skku.edu/summer/board/academic.do?articleNo=71436&attachNo=50079&mode=download)
10. [ITOHI: Denavit-Hartenberg (DH) Parameters](https://itohi.com/snippets/kinematics/denavit-hartenberg/)
11. [Modeling and calibration of high-order joint-dependent kinematic errors for industrial robots, Mechanism and Machine Theory](https://www.sciencedirect.com/science/article/pii/S0736584517301965)
12. [Robotics Toolbox for Python: Elementary transform sequence (ETS) models](https://petercorke.github.io/robotics-toolbox-python/arm_ets.html)
13. [Automatic Determination of the Denavit–Hartenberg Parameters for the Forward Kinematics of All Serial Robots, Machines 13(10):944 (2025)](https://www.mdpi.com/2075-1702/13/10/944)
14. [Robotics Toolbox for Python: Denavit-Hartenberg models](https://petercorke.github.io/robotics-toolbox-python/arm_dh.html)
15. [Moro documentation: Denavit–Hartenberg convention](https://jorgedelossantos.github.io/moro/theory/denavit-hartenberg.html)
16. [Modern Robotics, Appendix C: Denavit–Hartenberg Parameters, Cambridge University Press](https://www.cambridge.org/core/books/abs/modern-robotics/denavithartenberg-parameters/149F3F9C7F864415D590AA6AECFF9AFA)
17. [Computationally efficient and robust kinematic calibration methodologies and their application to industrial robots, Mechanism and Machine Theory](https://www.sciencedirect.com/science/article/pii/S073658451500071X)
18. [Error Modeling and Parameter Calibration Method for Industrial Robots Based on 6-DOF Position and Orientation, Applied Sciences 13(19):10901 (2023)](https://www.mdpi.com/2076-3417/13/19/10901)
19. [Renishaw: Why calibrate your industrial robot](https://www.renishaw.com/en/why-calibrate-your-industrial-robot--50124)
20. [Structural parameter identification for 6 DOF industrial robots, Mechanical Systems and Signal Processing](https://www.sciencedirect.com/science/article/pii/S0888327017304351)
21. [A Systematic Approach to Computing the Manipulator Jacobian and Hessian using the Elementary Transform Sequence, arXiv:2010.08696](https://arxiv.org/abs/2010.08696)
22. [Extrinsic and kinematic calibration using multiple patterns, Robotics (2026)](https://doi.org/10.1016/j.robot.2026.105447)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/denavit-hartenberg-parameters

English original: https://www.edgepedia.org/denavit-hartenberg-parameters
