# 运动学中的同伦延拓

运动学中的同伦延拓，是将代数几何中的数值多项式延拓方法，应用于求解描述连杆机构与机器人操作机的位置、位姿与综合的多项式方程组。相比牛顿-拉夫森等迭代方法，其核心优势在于无需依赖初始猜测即可求出系统的全部解——这一点至关重要，因为运动学方程通常具有多组解。<sup>[1](https://arxiv.org/abs/1609.08854)</sup>

| 关键事实 | 详情 |
|---|---|
| 基本思想 | 沿同伦 \( H(X,\lambda) = (1-\lambda)G(X) + \lambda F(X) \) 的解路径进行跟踪，从 \( \lambda = 0 \) 处一个易于求解的起始系统 \( G \) 的已知解出发，到达 \( \lambda = 1 \) 处的目标系统 \( F \)<sup>[2](https://www.mdpi.com/2218-6581/10/1/31)</sup> |
| 为何适用于运动学 | 运动学约束（杆长、闭环方程）是多项式的，装配构型的数量有限但可能很大，因此需要一种能返回全部解的方法<sup>[3](https://journals.sagepub.com/doi/10.1177/02783649922067771)</sup> |
| 斯图尔特-高夫平台 | 一般平台的正运动学有 40 个解；全次数同伦需要跟踪 \( 2^7 = 128 \) 条路径，而系数参数同伦可将这 40 个解复用于此后任意实例<sup>[4](https://academicweb.nd.edu/~cwample1/Preprints/Wampler_21stCenturyKinematics.pdf)</sup> |
| 6R 串联臂 | 一般六转动副操作机的逆运动学有 16 个解，16 条路径的同伦即可满足，仅为先前所需 32 条路径的一半<sup>[5](https://www.researchgate.net/publication/245265948_Continuation_method_applied_in_kinematics_of_parallel_robot)</sup> |
| 并联机构 | 3-UPU 操作机的直接运动学给出 16 个实解；5-RPUR 机构的正运动学有 1,680 个有限解<sup>[1](https://arxiv.org/abs/1609.08854)</sup><sup> • </sup><sup>[6](https://www.sciencedirect.com/science/article/pii/S0094114X11000395)</sup> |
| 机构综合 | 四杆机构的九点轨迹综合问题有 4,326 个不同的解，分属 1,442 个罗伯茨同源三元组，通过跟踪 1,442 条延拓路径求得<sup>[7](https://academicweb.nd.edu/~cwample1/Preprints/Ninepoint_JMD1992.pdf)</sup> |
| 软件 | PHCpack（ACM TOMS 算法 795）、Bertini 和 HomotopyContinuation.jl 是用于运动学问题的通用求解器<sup>[8](https://homepages.math.uic.edu/~jan/phcpack_doc_html/welcome.html)</sup><sup> • </sup><sup>[9](https://bertini.nd.edu/)</sup><sup> • </sup><sup>[10](https://www.juliahomotopycontinuation.org/HomotopyContinuation.jl/stable/)</sup> |

## 运动学方程

操作机的运动学分析涉及两个相互关联的问题。逆问题——给定末端执行器位姿求关节变量——对串联臂而言较为直接，但对并联机构则需要求解非线性方程。正（直接）问题——由驱动关节值求平台位姿——对串联臂容易，对并联机构则颇具挑战，因为它归结为一个具有多组解的耦合非线性代数方程组。<sup>[11](https://www.sciencedirect.com/science/article/abs/pii/S1468121808000576)</sup>

一旦转动关节的三角关系被代数化——例如通过正弦和余弦表示每个关节角，或通过刚体位移的 Study 参数——这些方程便成为多项式方程。一般的斯图尔特-高夫平台给出七个未知量的七个二次方程；6R 臂在计入每个关节的单位圆条件后给出 12 个变量的 18 个方程。<sup>[4](https://academicweb.nd.edu/~cwample1/Preprints/Wampler_21stCenturyKinematics.pdf)</sup> 詹姆斯·尼尔森（James Nielsen）与伯纳德·罗斯（Bernard Roth）——后者是斯坦福大学机械工程教授，以机器人运动学研究著称——在 1999 年的一篇综述中，将多项式延拓、Gröbner 基与消元法列为求解此类系统的三种最有用的技术。<sup>[3](https://journals.sagepub.com/doi/10.1177/02783649922067771)</sup>

## 延拓的工作原理

同伦是一族多项式系统，将目标系统 \( F(X) = 0 \) 与一个所有解均已知的起始系统 \( G(X) = 0 \) 连接起来。在一项六自由度并联操作机研究中采用的直线形式为

\[ H(X, \lambda) = (1 - \lambda)\,G(X) + \lambda\,F(X) = 0, \]

其中标量 \( \lambda \) 从 0 变到 1。在 \( \lambda = 0 \) 处每个解均已知；每个已知解作为一条路径的起点，随着 \( \lambda \) 小步递增，用牛顿型迭代跟踪这条路径，在 \( \lambda = 1 \) 处路径端点即为 \( F \) 的解。<sup>[2](https://www.mdpi.com/2218-6581/10/1/31)</sup> 用于 3-RRS 操作机的牛顿-同伦变体则通过一系列小增量扰动原方程的系数，选取辅助函数 \( g(w) \) 使雅可比行列式保持非零、收敛性得以维持。<sup>[12](https://onlinelibrary.wiley.com/doi/full/10.1155/2019/3123808)</sup>

路径数等于所选的根计数。全次数（贝祖）计数是各方程次数的乘积，呈指数增长：十个二次多项式可交于 1,024 个孤立点，二十个则可达 1,048,576 个。<sup>[8](https://homepages.math.uic.edu/~jan/phcpack_doc_html/welcome.html)</sup> 更紧的计数可减少工作量。多重齐次贝祖数将变量分组，而多面体同伦利用伯恩施泰因定理给出的[混合体积](https://www.edgepedia.org/zh/mixed-volume)（一种几何测度，可给出更紧的多项式解计数），通常能对孤立零点的数目给出紧得多的上界。<sup>[13](https://www.sciencedirect.com/science/article/abs/pii/S0094114X1000008X)</sup>

## 参数同伦与单值群

**系数参数同伦**利用了一个事实：运动学系统以参数族的形式出现，其系数来自给定机构的物理尺寸。一旦族中一个一般成员被解出，其解便可作为此后每个成员的起始点，于是路径数降至实际解数。对斯图尔特-高夫平台，这将 128 条全次数路径减至 40 条；对八面体子族——其 16 个根以双向反射对称出现——只需跟踪 8 条路径。<sup>[4](https://academicweb.nd.edu/~cwample1/Preprints/Wampler_21stCenturyKinematics.pdf)</sup>

效果可能极为显著。对九点四杆综合问题，最佳多重齐次表述需要 143,360 条路径，其中仅 4,326 条终止于非退化解；经过这一次性计算后，此后每个实例均以 4,326 条路径求解，而由于解以三向罗伯茨同源对称出现，每组对称解只跟踪一条路径即可将此减至 1,442 条，缩减近 100 倍。<sup>[4](https://academicweb.nd.edu/~cwample1/Preprints/Wampler_21stCenturyKinematics.pdf)</sup><sup> • </sup><sup>[7](https://academicweb.nd.edu/~cwample1/Preprints/Ninepoint_JMD1992.pdf)</sup> 单值群方法更进一步，通过让参数绕正则轨迹环行来生成参数化系统的新解；在均匀性模型下，预期跟踪路径数随解数线性增长。<sup>[14](https://academic.oup.com/imajna/article/39/3/1421/4969753)</sup>

## 应用与结果

**并联机构。** 对偏置 3-UPU 平移操作机的直接运动学用同伦延拓求解，得到全部 16 个实解，且该方法即使从牛顿-拉夫森可能发散的糟糕初始猜测出发也能收敛。<sup>[11](https://www.sciencedirect.com/science/article/abs/pii/S1468121808000576)</sup> 应用于 3-UPU 操作机的奥斯特罗夫斯基同伦变体同样找到了 16 个实解，与牛顿同伦相比计算时间减少 80% 至 97%，且解更为精确。<sup>[1](https://arxiv.org/abs/1609.08854)</sup> 对具有三个平移和两个转动自由度的对称 5-RPUR 机构，同伦延拓揭示了正运动学问题的 1,680 个有限解。<sup>[6](https://www.sciencedirect.com/science/article/pii/S0094114X11000395)</sup>

**奇异性分析。** 评估给定构型到最近奇异构型的距离，可支持并联机构的无奇异路径规划。对六足平台和线性五足平台，多项式拉格朗日函数的临界点因次数和未知量数目而无法用 Gröbner 基方法求得，但同伦延拓软件可求解这些系统；关于 3-RPR 操作机的工作则寻求此类计算的最小多重齐次贝祖数。<sup>[15](https://arxiv.org/abs/2004.08359)</sup>

**综合。** 九点轨迹综合结果确立了该问题一般有 4,326 个不同的非退化四杆机构，分属 1,442 个同源三元组，相比未约化表述的全次数 \( 7^8 = 5{,}764{,}801 \)，缩减了近 4,000 倍。<sup>[7](https://academicweb.nd.edu/~cwample1/Preprints/Ninepoint_JMD1992.pdf)</sup>

## 局限性

同伦路径可能失败。分支点——即解路径相交之处——会导致病态条件；一条足够接近分支点的路径可能损失精度，或其端点可能从解列表中被遗漏，尽管选择随机复系数的伽马技巧原则上以概率一保证所有孤立解均被找到。<sup>[16](https://www.sciencedirect.com/science/article/pii/S0096300324007343)</sup> 奇异解——即导数消失之处——会使普通牛顿迭代在端点附近失效，需要终局方法或降维处理。<sup>[4](https://academicweb.nd.edu/~cwample1/Preprints/Wampler_21stCenturyKinematics.pdf)</sup> 不需要的解，如退化装配，也会膨胀路径数并掩盖运动学问题的内在解数，这促使人们采用排除它们的约束同伦。<sup>[13](https://www.sciencedirect.com/science/article/abs/pii/S0094114X1000008X)</sup> 最后，对于已有深入研究的问题，该方法在计算上比专门的代数求解器更重：一种 2025 年的消元模板算法利用标准线性代数分解，约 4.1 毫秒即可求解一般斯图尔特-高夫正运动学的全部 40 个解。<sup>[17](https://www.sciencedirect.com/science/article/pii/S0094114X25002599)</sup>

## 软件

三个广泛使用的软件包实现了这些算法。PHCpack 由伊利诺伊大学芝加哥分校数学教授扬·弗斯海尔德（Jan Verschelde）开发，通过同伦延拓求解多项式系统，并被 ACM 数学软件汇刊归档为[算法](https://www.edgepedia.org/zh/algorithm) 795。<sup>[8](https://homepages.math.uic.edu/~jan/phcpack_doc_html/welcome.html)</sup> Bertini 由丹尼尔·贝茨（Daniel Bates）、乔纳森·豪恩斯坦（Jonathan Hauenstein）、安德鲁·索姆塞（Andrew Sommese）和查尔斯·万普勒（Charles Wampler）开发，增加了再生、正维解集、自适应多精度算术和参数同伦等功能。<sup>[9](https://bertini.nd.edu/)</sup> HomotopyContinuation.jl 在 Julia 中提供这些能力，已被用于在现代计算机上以分钟级时间重新求解四杆九点综合问题。<sup>[10](https://www.juliahomotopycontinuation.org/HomotopyContinuation.jl/stable/)</sup>

## References

1. [Shafiee-Ashtiani, M., Yousefi-Koma, A., Iravanimanesh, S., Bashardoust, A.S. (2016). Kinematic analysis of a 3-UPU parallel Robot using the Ostrowski-Homotopy Continuation. arXiv:1609.08854.](https://arxiv.org/abs/1609.08854)
2. [Inverse and Forward Kinematic Analysis of a 6-DOF Parallel Manipulator Utilizing a Circular Guide, Robotics (MDPI), 2021.](https://www.mdpi.com/2218-6581/10/1/31)
3. [Nielsen, J., Roth, B. (1999). On the Kinematic Analysis of Robotic Mechanisms. The International Journal of Robotics Research 18(12).](https://journals.sagepub.com/doi/10.1177/02783649922067771)
4. [Wampler, C.W., Sommese, A.J. Applying Numerical Algebraic Geometry to Kinematics.](https://academicweb.nd.edu/~cwample1/Preprints/Wampler_21stCenturyKinematics.pdf)
5. [Morgan, A.P., Sommese, A.J., Wampler, C.W. Continuation method applied in kinematics of parallel robot / Advances in Polynomial Continuation (ResearchGate record).](https://www.researchgate.net/publication/245265948_Continuation_method_applied_in_kinematics_of_parallel_robot)
6. [Tale Masouleh, M., Gosselin, C., Husty, M., et al. Forward kinematic problem of 5-RPUR parallel mechanisms (3T2R) with identical limb structures. Mechanism and Machine Theory.](https://www.sciencedirect.com/science/article/pii/S0094114X11000395)
7. [Wampler, C.W., Morgan, A.P., Sommese, A.J. (1992). Complete Solution of the Nine-Point Path Synthesis Problem for Four-Bar Linkages. Journal of Mechanical Design 114.](https://academicweb.nd.edu/~cwample1/Preprints/Ninepoint_JMD1992.pdf)
8. [Verschelde, J. PHCpack: Getting Started documentation.](https://homepages.math.uic.edu/~jan/phcpack_doc_html/welcome.html)
9. [Bertini: Software for Numerical Algebraic Geometry, University of Notre Dame.](https://bertini.nd.edu/)
10. [HomotopyContinuation.jl documentation.](https://www.juliahomotopycontinuation.org/HomotopyContinuation.jl/stable/)
11. [Kinematics of an offset 3-UPU translational parallel manipulator by the homotopy continuation method. Nonlinear Analysis: Real World Applications 10(3), 2009.](https://www.sciencedirect.com/science/article/abs/pii/S1468121808000576)
12. [Gallardo-Alvarado, J. et al. (2019). An Application of the Newton-Homotopy Continuation Method for Solving the Forward Kinematic Problem of the 3-RRS Parallel Manipulator. Mathematical Problems in Engineering.](https://onlinelibrary.wiley.com/doi/full/10.1155/2019/3123808)
13. [A constrained homotopy technique for excluding unwanted solutions from polynomial equations arising in kinematics problems. Mechanism and Machine Theory.](https://www.sciencedirect.com/science/article/abs/pii/S0094114X1000008X)
14. [Duff, T., et al. Solving polynomial systems via homotopy continuation and monodromy. IMA Journal of Numerical Analysis 39(3).](https://academic.oup.com/imajna/article/39/3/1421/4969753)
15. [Kapilavai, A., Nawratil, G. (2020). On homotopy continuation based singularity distance computations for 3-RPR manipulators. arXiv:2004.08359.](https://arxiv.org/abs/2004.08359)
16. [Branch points of homotopies: Distribution and probability of failure. Applied Mathematics and Computation 493, 2025.](https://www.sciencedirect.com/science/article/pii/S0096300324007343)
17. [Martyushev, E. (2025). Forward kinematics of a general Stewart-Gough platform by elimination templates. Mechanism and Machine Theory 215.](https://www.sciencedirect.com/science/article/pii/S0094114X25002599)

---
*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/homotopy-continuation-for-kinematics

English original: https://www.edgepedia.org/homotopy-continuation-for-kinematics
