edgepedia

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

综合 · Edgepedia阅读需 7 分钟

德纳维特–哈滕贝格参数

阅读英文原文

德纳维特–哈滕贝格参数(Denavit–Hartenberg parameters)是用四个数来描述机器人或机构中相邻关节轴之间相对位置与姿态的方法,用于以4×4齐次变换矩阵的乘积计算正向运动学。该约定由雅克·德纳维特(Jacques Denavit)与理查德·S·哈滕贝格(Richard S. Hartenberg)在1955年一篇关于低副机构的论文中提出,此后成为描述机器人操作臂的标准工具。1 • 2

关键事实详情
起源1955年由德纳维特与哈滕贝格提出,用4×4变换表示相邻连杆元素1
每关节参数四个:连杆长度 a a 、连杆扭角 α \alpha 、连杆偏距 d d 、关节角 θ \theta 3
关节变量对旋转关节,θi \theta_i 为变量、di d_i 固定;对移动关节,di d_i 为变量、θi \theta_i 固定4
两种约定标准DH(保罗,1981)与改进DH(克雷格,1986),后者改变变换顺序,并将坐标系附着于关节而非连杆2 • 5
已知缺陷当两相邻关节轴平行或接近平行时,标准DH标定模型奇异;哈亚提增加一个旋转参数,形成改进DH(MDH)模型6
现状尽管指数积(POE)公式日益流行,DH记号仍被广泛使用7

四个参数

该约定按照固定规则而非任意方式,为串联链的每个连杆附着一个参考坐标系。设关节轴为 zi−1 z_{i-1} 与 zi z_i ,四个参数描述相邻坐标系之间的变换3 • 8:

取四个数并非任意。

变换矩阵

在标准约定中,从坐标系 i−1 i-1 到坐标系 i i 的齐次变换是四个基本变换的乘积:绕 z z 的旋转、沿 z z 的平移、沿 x x 的平移、绕 x x 的旋转9:

ii−1H=Rotz,θi Transz,di Transx,ai Rotx,αi {}^{i-1}_{i}H = \mathrm{Rot}_{z,\theta_i} \, \mathrm{Trans}_{z,d_i} \, \mathrm{Trans}_{x,a_i} \, \mathrm{Rot}_{x,\alpha_i}

展开后,矩阵为10

Tii−1=[cos⁡θi−sin⁡θicos⁡αisin⁡θisin⁡αiaicos⁡θisin⁡θicos⁡θicos⁡αi−cos⁡θisin⁡αiaisin⁡θi0sin⁡αicos⁡αidi0001] 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 n 关节串联机器人,从基座到末端执行器的正向运动学为乘积 Fn(q)=T10(q1)⋅T21(q2)⋯Tnn−1(qn) F_n(q) = T_1^0(q_1) \cdot T_2^1(q_2) \cdots T_n^{n-1}(q_n) ,其中 q q 为关节变量向量。11

标准约定与改进约定

该约定存在两个并行的版本。标准DH约定由保罗于1981年正式化,将每个连杆坐标系置于后续关节的轴线上。改进DH约定由克雷格于1986年提出,改变了变换顺序,并重新定义坐标系使其附着于关节而非连杆。2 • 5 改进变换的模板为 Ttx(ai−1)⋅Trx(αi−1)⋅Trz(θi)⋅Ttz(di) \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) ,是标准顺序的镜像。12

两种约定对同一机器人给出不同的参数表,文献中的歧义很常见,许多出版物未说明采用的是哪种框架。13 因此软件要求用户声明约定:例如Python机器人工具箱(Robotics Toolbox for Python)使用一个标志,改进DH记号(克雷格的教材)为真,标准记号(西奇利亚诺、斯庞和保罗)为假。14

非唯一性与平行轴奇异性

机器人的德纳维特–哈滕贝格描述未必唯一:连杆坐标系的位置有多种选取方式,不同的有效坐标系分配会对同一几何给出不同的参数表。15 坐标系规则也有特殊情况。当两相邻关节轴平行时,公法线不唯一;当两轴相交时,公法线不存在;该约定对这些情况分别处理。16

平行情形在实践中很重要。哈亚提通过向模型增加一个旋转参数解决了奇异性,得到改进德纳维特–哈滕贝格(MDH)模型;一个相关变体在平行或接近平行的关节坐标系中增加绕y轴的旋转 βi \beta_i 。6 • 18

在机器人标定中的应用

DH参数与标定共同构成机器人理解自身几何与运动的数学基础。19 控制器中的名义DH值与实际制造几何因制造和装配误差而不同,运动学标定从测量的末端执行器位姿中辨识修正后的参数值。一项基于改进DH参数的标定研究报告,标定后机器人法兰端的位置误差从1.9536 mm降至0.0122 mm,姿态误差从 1.46×10−2 1.46 \times 10^{-2} rad降至 1.31×10−4 1.31 \times 10^{-4} rad。18 标定流程还必须处理冗余:基于DH模型的辨识方法确定哪些参数是冗余的、可以剔除,以保持模型非冗余且参数连续。17 • 20

与其他表示方法的关系

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

在ROS生态中,运动链通常用统一机器人描述格式(URDF)而非DH参数描述,使用每个关节的原点变换和轴定义;一项标定研究明确采用URDF关节定义以兼容ROS。22 尽管如此,基于DH的模型仍是许多工业机器人数据表和旧版软件中的事实标准,因此理解其结构与局限对于任何从事机器人运动学工作的人仍然必要。5

References

  1. Robot Kinematics Using Matrix Algebra (Denavit and Hartenberg, 1955 methodology), CiteSeerX
  2. Nathan Koelln thesis, University of Maryland (standard D-H, Paul 1981; Craig 1986 convention)
  3. TAMS Hamburg, Lecture 2: DH Parameters summary
  4. Robot Mechanics, Chapter 4: Direct and Inverse Kinematics
  5. CaaT Academy, Robotics Kinematics and Dynamics, Chapter 5 Lesson 2: DH Convention
  6. Calibration of 6-DOF industrial robots based on line structured light, Optik 183 (2019)
  7. Geometric interpretation of the general POE model for a serial-link robot via conversion into D-H parameterization, arXiv:1902.00198
  8. Emo Todorov, Robotics 1: Kinematics lecture notes, University of Washington
  9. Introduction to Robotics, Sungkyunkwan University (DH convention transform product)
  10. ITOHI: Denavit-Hartenberg (DH) Parameters
  11. Modeling and calibration of high-order joint-dependent kinematic errors for industrial robots, Mechanism and Machine Theory
  12. Robotics Toolbox for Python: Elementary transform sequence (ETS) models
  13. Automatic Determination of the Denavit–Hartenberg Parameters for the Forward Kinematics of All Serial Robots, Machines 13(10):944 (2025)
  14. Robotics Toolbox for Python: Denavit-Hartenberg models
  15. Moro documentation: Denavit–Hartenberg convention
  16. Modern Robotics, Appendix C: Denavit–Hartenberg Parameters, Cambridge University Press
  17. Computationally efficient and robust kinematic calibration methodologies and their application to industrial robots, Mechanism and Machine Theory
  18. Error Modeling and Parameter Calibration Method for Industrial Robots Based on 6-DOF Position and Orientation, Applied Sciences 13(19):10901 (2023)
  19. Renishaw: Why calibrate your industrial robot
  20. Structural parameter identification for 6 DOF industrial robots, Mechanical Systems and Signal Processing
  21. A Systematic Approach to Computing the Manipulator Jacobian and Hessian using the Elementary Transform Sequence, arXiv:2010.08696
  22. Extrinsic and kinematic calibration using multiple patterns, Robotics (2026)

Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026

© 2026 Biostate AI。依据 Edgepedia Community License,注明出处即可免费使用。 嵌入参考卡片。

报告错误

德纳维特–哈滕贝格参数

请至少选择一个原因。