# 动态运动基元

动态运动基元（DMP）是机器人学中使用的一种数学表述，用于将运动表示为一个稳定的非线性动力系统，其轨迹形状从示教中学习得到。该方法从一个简单的线性微分方程组出发，通过添加可学习的强迫项，将其转化为具有预定吸引子动力学的弱非线性系统，从而能够生成几乎任意复杂度的点吸引子（离散的、点对点运动）和极限环吸引子（节律性的、周期性运动）。<sup>[1](https://pubmed.ncbi.nlm.nih.gov/23148415/)</sup>

| 关键事实 | 详情 |
|---|---|
| 核心思想 | 将稳定的线性动力系统转化为带有可学习自主强迫项的弱非线性系统，同时保持吸引子性质<sup>[1](https://pubmed.ncbi.nlm.nih.gov/23148415/)</sup> |
| 规范系统 | 一个相位变量 \( s \in [0,1] \) 单调衰减，\( \dot{s} = -\alpha_s s \)，将时间演化与空间轨迹分离<sup>[2](https://manipulation-notes.github.io/planning-controls/dmps.html)</sup> |
| 变换系统 | 一个二阶弹簧-阻尼系统，\( \tau \ddot{x} = \alpha_x (\beta_x (x_g - x) - \dot{x}) + f(s(t)) \)，其非线性强迫项塑造轨迹<sup>[3](https://journals.sagepub.com/doi/full/10.1177/02783649241258782)</sup> |
| 不变性 | 时间缩放 \( \varsigma \tau \)（\( \varsigma > 0 \)）和幅度缩放 \( \varsigma (g - y_0) \) 均生成拓扑等价的轨迹<sup>[4](https://journals.sagepub.com/doi/10.1177/02783649231201196)</sup> |
| 学习 | 强迫项的权重从示教中拟合，通常采用高斯基函数上的局部加权回归<sup>[5](https://link.springer.com/article/10.1007/s00521-021-05747-8)</sup> |
| 经典参考文献 | 奥克·扬·艾斯佩特、中西 纯、海科·霍夫曼、彼得·帕斯托和斯特凡·沙尔，《神经计算》25(2):328–373，2013<sup>[1](https://pubmed.ncbi.nlm.nih.gov/23148415/)</sup> |

## 表述的结构

DMP 由两个耦合部分组成：规范系统和变换系统。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC5751097/)</sup> 规范系统产生一个标量相位变量，用以替代显式时间。对于离散运动，它由 \( \dot{s}(t) = -\alpha_s s(t) \) 支配，其中 \( \alpha_s \) 是控制衰减速率的正常数；相位从 1 开始并指数收敛到 0。<sup>[2](https://manipulation-notes.github.io/planning-controls/dmps.html)</sup> 这种分离使该表述具有时间不变性，因此同一轨迹可以在不同的时间尺度上执行。<sup>[2](https://manipulation-notes.github.io/planning-controls/dmps.html)</sup>

变换系统处理空间轨迹。它是一个二阶动力系统，等价于由非线性力输入驱动的线性质量-弹簧-阻尼模型：<sup>[3](https://journals.sagepub.com/doi/full/10.1177/02783649241258782)</sup>

\[ \tau \ddot{\mathbf{x}}(t) = \alpha_x \left( \beta_x (\mathbf{x}_g - \mathbf{x}(t)) - \dot{\mathbf{x}}(t) \right) + f(s(t)) \]

这里 \( \tau \) 是时间缩放常数，\( \alpha_x \) 和 \( \beta_x \) 是决定刚度和阻尼的正常数，\( \mathbf{x}_g \) 是目标状态，\( f(s(t)) \) 是调制轨迹的非线性强迫项。<sup>[3](https://journals.sagepub.com/doi/full/10.1177/02783649241258782)</sup> 当强迫项为零时，系统遵循稳定二阶线性系统的响应，状态 \( y(t) \) 指数收敛到目标 \( g \)；对于节律运动，目标选为重复运动的平均值。<sup>[3](https://journals.sagepub.com/doi/full/10.1177/02783649241258782)</sup> 在离散情况下，收敛到期望目标由相位变量的消失来保证，因为强迫项随相位衰减。<sup>[7](https://arxiv.org/html/2102.03861v1)</sup>

**强迫项与学习。** 强迫项由基函数构建，经典做法是使用带可学习权重的高斯径向基函数，并通常按目标与起始位置之间的距离 \( (g - y_0) \) 进行缩放，使学到的形状能够跨幅度泛化。<sup>[5](https://link.springer.com/article/10.1007/s00521-021-05747-8)</sup> 在示教学习范式中，权重通常以监督方式从人类示教中学习，不同的回归技术均可用于拟合。<sup>[7](https://arxiv.org/html/2102.03861v1)</sup> 由于参数化对权重是线性的，学习简化为简单的矩阵代数，这使得在早期演示中控制一台 30 自由度的仿人机器人成为可能。<sup>[3](https://journals.sagepub.com/doi/full/10.1177/02783649241258782)</sup>

**跨自由度的协调。** 运动中的每个自由度都共享一个共同的规范系统，确保同步；协调多个自由度的是这个共同相位，而非变换系统之间的相互耦合。<sup>[8](https://csc2626.github.io/2026F_website/lecs/w04/lec04.html)</sup> 每一维由各自的变换系统建模，具有独立的强迫项，全部由共同相位驱动。<sup>[9](https://homes.cs.washington.edu/~todorov/courses/amath579/reading/DynamicPrimitives.pdf)</sup>

## 性质

**稳定性与不变性。** 由于强迫项是相位的函数，而相位收敛到零，学到的非线性消失，系统恢复底层线性系统的稳定吸引子行为。<sup>[2](https://manipulation-notes.github.io/planning-controls/dmps.html)</sup> 经典 DMP 具有时间不变性，配合强迫项的目标距离缩放，它们还具有尺度不变性：以 \( \varsigma > 0 \) 缩放运动幅度 \( \varsigma (g - y_0) \) 会生成拓扑等价的轨迹。<sup>[4](https://journals.sagepub.com/doi/10.1177/02783649231201196)</sup>

**在线调制。** 耦合项可以直接加入微分方程以对环境做出反应。例如，可以将人工势场作为耦合项插入，为避障提供直接的环境反馈。<sup>[10](https://www.mdpi.com/2076-3417/9/8/1535)</sup> 这种在线轨迹调制使 DMP 在避障等任务上优于基于样条的轨迹方法。<sup>[3](https://journals.sagepub.com/doi/full/10.1177/02783649241258782)</sup>

**控制要求。** 对于力矩驱动机器人，变换系统指定的是运动学，因此 DMP 方法需要一个逆动力学模型来计算前馈关节力矩；这使 DMP 控制在原理上是一种非反应式前馈方法，需加入低增益反馈以应对不确定性和意外接触，增强鲁棒性。<sup>[3](https://journals.sagepub.com/doi/full/10.1177/02783649241258782)</sup> 对于关节空间中的位置控制机器人，这一要求消失，应用 DMP 变得直接了当。<sup>[3](https://journals.sagepub.com/doi/full/10.1177/02783649241258782)</sup>

## 历史

该方法起源于奥克·扬·艾斯佩特、中西 纯和斯特凡·沙尔。他们 2002 年在国际机器人与自动化会议上发表的关于仿人机器人非线性动力系统运动模仿的论文获得了该届会议的最佳论文奖，而 2002 年神经信息处理系统大会论文《学习吸引子景观以学习运动基元》展示了从人类示教中学习仿人机器人运动技能。<sup>[11](https://www.epfl.ch/labs/biorob/research/neuromechanical/dmps/)</sup> 成熟的表述以《动态运动基元：学习运动行为的吸引子模型》为题，由奥克·扬·艾斯佩特、中西 纯、海科·霍夫曼、彼得·帕斯托和斯特凡·沙尔于 2013 年发表在《神经计算》上。<sup>[1](https://pubmed.ncbi.nlm.nih.gov/23148415/)</sup> 后续工作将该方法扩展到双足 locomotion、自适应频率调制、[强化学习](https://www.edgepedia.org/zh/reinforcement-learning)以及运动技能库。<sup>[12](https://www.ini.rub.de/upload/file/1561648783_9c241bd977a20865a548/IjspeertEtAl2013.pdf)</sup>

## 应用与比较

DMP 已被用于教机器人执行人类任务，包括乒乓球挥拍、打鼓、书写以及与手术相关的任务。<sup>[13](https://www.sciencedirect.com/science/article/pii/S0921889021001299)</sup> 它们被描述为机器人学中单次学习的参考算法，能够从单次示教生成平滑轨迹。<sup>[14](https://digital.library.adelaide.edu.au/items/d0331bb2-d778-4805-8cf0-d6d8e83e8aa2)</sup> 一项针对 12 人执行的 7,652 个人类操作运动的基准比较发现，当使用足够数量的核函数时，DMP 和最优控制基元是运动编码与重建中最有效的框架，并且 DMP、OCP 和任务参数化 GMM 在泛化到新起点和终点方面表现相似，而 ProMP 仅在大量示教下才能达到这一水平。<sup>[15](https://arxiv.org/abs/2211.13024)</sup>

**与强化学习结合使用。** DMP 作为启发式动作空间，将运动规划转移到更简单的规划空间中。一个 2024 年将隐式行为克隆与 DMP 结合的框架提高了离策略强化学习智能体用于机器人运动规划的训练速度和泛化能力，并在真实机器人的拾放任务上得到验证。<sup>[16](https://pure.tue.nl/ws/files/354719295/Using_Implicit_Behavior_Cloning_and_Dynamic_Movement_Primitive_to_Facilitate_Reinforcement_Learning_for_Robot_Motion_Planning.pdf)</sup> 强化学习也被用于直接优化 DMP 参数以改善泛化。<sup>[5](https://link.springer.com/article/10.1007/s00521-021-05747-8)</sup>

## 局限与扩展

经典表述的几个缺点已被指出。函数逼近主要依赖高斯基函数；轨迹自适应严重依赖超参数的选择和新的目标位置；DMP 是单次学习框架，受限于从单次示教中学习。<sup>[17](https://arxiv.org/abs/1908.10608)</sup> 空间泛化在某些情况下还可能产生过度或不自然的空间缩放。<sup>[18](https://arxiv.org/abs/2212.13473)</sup> 提出的补救措施包括具有更好逼近性质的替代基函数、利用仿射变换不变性实现鲁棒泛化，以及从多次观测中提取共同行为的算法。<sup>[17](https://arxiv.org/abs/1908.10608)</sup>

扩展工作将 DMP 与其他表示联系起来。概率动态运动基元（ProDMP）离线求解 DMP 背后的常微分方程，将在线数值积分转化为能够像 ProMP 一样表示轨迹分布的基函数，同时保持动力系统性质；该模型于 2023 年发表在《IEEE 机器人与自动化快报》上。<sup>[19](https://ieeexplore.ieee.org/document/10050558/)</sup> [深度学习](https://www.edgepedia.org/zh/deep-learning)已被应用于学习感知项以及将 DMP 与神经网络结合用于反应式规划，该表述也已通过单位四元数扩展到姿态，并扩展到[黎曼几何](https://www.edgepedia.org/zh/riemannian-geometry)和 SPD 矩阵。<sup>[5](https://link.springer.com/article/10.1007/s00521-021-05747-8)</sup><sup> • </sup><sup>[7](https://arxiv.org/html/2102.03861v1)</sup> 马泰奥·萨韦里亚诺、法雷斯·J·阿布-达卡、阿利亚日·克拉姆贝格尔和卢卡·佩特内尔于 2021 年发表的教程综述汇集了 DMP 文献的数学表述、实现和局限性。<sup>[7](https://arxiv.org/html/2102.03861v1)</sup>

## References

1. [Ijspeert, A. J., Nakanishi, J., Hoffmann, H., Pastor, P., Schaal, S. (2013). Dynamical movement primitives: learning attractor models for motor behaviors. Neural Computation 25(2):328–373.](https://pubmed.ncbi.nlm.nih.gov/23148415/)
2. [Dynamical Movement Primitives (DMPs), Introduction to Manipulation Notes](https://manipulation-notes.github.io/planning-controls/dmps.html)
3. [Nah, M. C., Lachner, J., Hogan, N. (2024). Robot control based on motor primitives: A comparison of two approaches. International Journal of Robotics Research 43(12).](https://journals.sagepub.com/doi/full/10.1177/02783649241258782)
4. [Saveriano, M., Abu-Dakka, F. J., Kramberger, A., Peternel, L. (2023). Dynamic movement primitives in robotics: A tutorial survey. IJRR.](https://journals.sagepub.com/doi/10.1177/02783649231201196)
5. [Composite dynamic movement primitives based on neural networks for human–robot skill transfer. Neural Computing and Applications (2022).](https://link.springer.com/article/10.1007/s00521-021-05747-8)
6. [Centralized Networks to Generate Human Body Motions. Frontiers in Computational Neuroscience (2017).](https://pmc.ncbi.nlm.nih.gov/articles/PMC5751097/)
7. [Dynamic Movement Primitives in Robotics: A Tutorial Survey, arXiv:2102.03861](https://arxiv.org/html/2102.03861v1)
8. [CSC2626 lecture notes: DMPs, canonical system and forcing term](https://csc2626.github.io/2026F_website/lecs/w04/lec04.html)
9. [Dynamical Movement Primitives, course reading (University of Washington)](https://homes.cs.washington.edu/~todorov/courses/amath579/reading/DynamicPrimitives.pdf)
10. [Learning, Generalization, and Obstacle Avoidance with DMPs and Dynamic Potential Fields. Applied Sciences 9(8):1535 (2019).](https://www.mdpi.com/2076-3417/9/8/1535)
11. [Dynamical Movement Primitives, BioRob lab, EPFL](https://www.epfl.ch/labs/biorob/research/neuromechanical/dmps/)
12. [Ijspeert et al. (2013), publisher PDF via Ruhr-Universität Bochum](https://www.ini.rub.de/upload/file/1561648783_9c241bd977a20865a548/IjspeertEtAl2013.pdf)
13. [Overcoming some drawbacks of Dynamic Movement Primitives. Robotics and Autonomous Systems (2021).](https://www.sciencedirect.com/science/article/pii/S0921889021001299)
14. [Rasines, I. et al. (2024). Robots adapting to the environment: a review on the fusion of DMP and APF. IEEE Access 12:92598–92611.](https://digital.library.adelaide.edu.au/items/d0331bb2-d778-4805-8cf0-d6d8e83e8aa2)
15. [Jahn, L., Wörgötter, F., Kulvicius, T. Comparison of Motion Encoding Frameworks on Human Manipulation Actions. arXiv:2211.13024](https://arxiv.org/abs/2211.13024)
16. [Zhang, Z., Hong, J., Soufi Enayati, A. M., Najjaran, H. (2024). Using Implicit Behavior Cloning and Dynamic Movement Primitive to Facilitate Reinforcement Learning for Robot Motion Planning. IEEE Transactions on Robotics 40:4733.](https://pure.tue.nl/ws/files/354719295/Using_Implicit_Behavior_Cloning_and_Dynamic_Movement_Primitive_to_Facilitate_Reinforcement_Learning_for_Robot_Motion_Planning.pdf)
17. [Ginesi, M., Sansonetto, N., Fiorini, P. Overcoming Some Drawbacks of Dynamic Movement Primitives. arXiv:1908.10608](https://arxiv.org/abs/1908.10608)
18. [Dynamic via-points and improved spatial generalization for online trajectory planning with DMPs. arXiv:2212.13473](https://arxiv.org/abs/2212.13473)
19. [Li, G. et al. (2023). ProDMP: A Unified Perspective on Dynamic and Probabilistic Movement Primitives. IEEE Robotics and Automation Letters 8(4):2325–2332.](https://ieeexplore.ieee.org/document/10050558/)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 工程与制造 › 机器人技术与自动化 › Robot software, AI, and methods › Robot learning and reinforcement learning

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/dynamic-movement-primitive

English original: https://www.edgepedia.org/dynamic-movement-primitive
