关于「伯恩斯坦问题:冗余、丰裕与「没有重复的重复」」,《自由度问题与运动协同》给出的定量结论是什么?
结论:伯恩斯坦把动作的协调定义为掌握多余自由度的过程。在一个平面三连杆手臂中,一个多余的自由度就让同一个指尖位置对应着一整条解曲线,肘角可以在 18° 到 95° 之间变化。「冗余」的表述把多余自由度看作要消除的麻烦,「丰裕」的表述把它看作稳定任务的资源;后者是对问题的重新表述,不是一个可测量的量。「没有重复的重复」首先是关于练习的论断;把它写成运动学模型时,关键在于变异的方向:落在解曲线上的关节变异(标准差最大 14.1°)只让指尖散布 6.5 毫米,同样大小的独立变异则让指尖散布 121.4 毫米。下一章介绍怎样从数据里测出这种方向性,以及什么样的控制器会产生它。
数据口径:本书不是运动医学、物理治疗或康复建议;有伤病或神经系统疾病者应咨询专业人员。 书中以标注框区分已发表的证据、可运行的 Python 计算(14 段程序,全部核对)、原典与作者的假说;书中所有数据都是虚构或模拟的。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 121.4, 14.1, 6.5
target (-0.004, 0.572) m; unit null-space direction of J at the nominal posture: (+0.162, -0.504, +0.849) (shoulder, elbow, wrist) shoulder angle over the solution set: 37.1 to 63.4 deg elbow angle over the solution set: 18.4 to 95.1 deg wrist angle over the solution set: -59.9 to 89.8 deg 885 sampled solutions (elbow-flexed branch) within joint limits; max miss 2.8e-16 m 200 trials, a new solution each time (end-link SD 8 deg + 0.5 deg noise): joint SDs 2.8, 8.3, 14.1 deg; fingertip SD 6.5 mm same total joint variance, independent joints (9.6 deg each): fingertip SD 121.4 mm degrees of freedom: arm 7 (shoulder 3, elbow 1, forearm 1, wrist 2); fingertip point (3) leaves 4 spare; full hand pose (6) leaves 1 spare
查看完整验算程序
# Bernstein's problem in miniature: a planar three-link arm (shoulder, elbow, wrist;
# lengths 0.30, 0.28, 0.18 m) must put its fingertip on a point. 3 joints, 2 task
# coordinates: one redundant degree of freedom. Part 1 traces the whole set of joint
# configurations that reach the same point; part 2 compares "repetition without
# repetition" (a new solution every trial) with rigid repetition of one solution.
import math, random
L = (0.30, 0.28, 0.18)
LIMITS = ((-30, 150), (0, 150), (-60, 90)) # joint ranges, degrees (assumed)
def tip(q): # q in radians, relative angles
a = x = y = 0.0
for li, qi in zip(L, q):
a += qi; x += li * math.cos(a); y += li * math.sin(a)
return x, y
def jacobian(q):
a, cum = 0.0, []
for qi in q:
a += qi; cum.append(a)
return [[-sum(L[k] * math.sin(cum[k]) for k in range(j, 3)) for j in range(3)],
[sum(L[k] * math.cos(cum[k]) for k in range(j, 3)) for j in range(3)]]
def ik(target, phi): # end-link orientation phi fixed -> two-link problem
wx = target[0] - L[2] * math.cos(phi); wy = target[1] - L[2] * math.sin(phi)
c2 = (wx * wx + wy * wy - L[0] ** 2 - L[1] ** 2) / (2 * L[0] * L[1])
if abs(c2) > 1:
return None
q2 = math.acos(c2) # elbow-flexed branch
q1 = math.atan2(wy, wx) - math.atan2(L[1] * math.sin(q2), L[0] + L[1] * math.cos(q2))
return q1, q2, phi - q1 - q2
def ok(q):
return all(lo <= math.degrees(v) <= hi for v, (lo, hi) in zip(q, LIMITS))
def sd(v):
m = sum(v) / len(v)
return math.sqrt(sum((x - m) ** 2 for x in v) / (len(v) - 1))
if __name__ == "__main__":
q0 = tuple(math.radians(d) for d in (40, 70, 30)); T = tip(q0)
J = jacobian(q0)
n = [J[0][1] * J[1][2] - J[0][2] * J[1][1], J[0][2] * J[1][0] - J[0][0] * J[1][2],
J[0][0] * J[1][1] - J[0][1] * J[1][0]] # cross product: null direction
s = math.sqrt(sum(v * v for v in n)); n = [v / s for v in n]
print(f"target ({T[0]:.3f}, {T[1]:.3f}) m; unit null-space direction of J at the"
f" nominal posture:\n ({n[0]:+.3f}, {n[1]:+.3f}, {n[2]:+.3f})"
" (shoulder, elbow, wrist)")
sols = [q for k in range(-1800, 1801)
if (q := ik(T, math.radians(k / 10))) and ok(q)]
for j, name in enumerate(("shoulder", "elbow", "wrist")):
v = [math.degrees(q[j]) for q in sols]
print(f" {name:8s} angle over the solution set:"
f" {min(v):6.1f} to {max(v):6.1f} deg")
worst = max(math.dist(tip(q), T) for q in sols)
print(f"{len(sols)} sampled solutions (elbow-flexed branch) within joint limits;"
f" max miss {worst:.1e} m")
rng = random.Random(1967); phi0 = sum(q0)
trials = [] # repetition without repetition
for _ in range(200):
q = ik(T, phi0 + math.radians(rng.gauss(0, 8)))
trials.append([v + math.radians(rng.gauss(0, 0.5)) for v in q])
jsd = [math.degrees(sd([q[j] for q in trials])) for j in range(3)]
tips = [tip(q) for q in trials]
esd = 1000 * math.hypot(sd([p[0] for p in tips]), sd([p[1] for p in tips]))
print("200 trials, a new solution each time (end-link SD 8 deg + 0.5 deg noise):")
print(f" joint SDs {jsd[0]:.1f}, {jsd[1]:.1f}, {jsd[2]:.1f} deg;"
f" fingertip SD {esd:.1f} mm")
tot = math.sqrt(sum(v * v for v in jsd) / 3)
rigid = [tip([v + math.radians(rng.gauss(0, tot)) for v in q0]) for _ in range(200)]
rsd = 1000 * math.hypot(sd([p[0] for p in rigid]), sd([p[1] for p in rigid]))
print(f"same total joint variance, independent joints ({tot:.1f} deg each):"
f" fingertip SD {rsd:.1f} mm")
print("degrees of freedom: arm 7 (shoulder 3, elbow 1, forearm 1, wrist 2);")
print(" fingertip point (3) leaves 4 spare; full hand pose (6) leaves 1 spare")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《具身认知、伯恩斯坦自由度问题与运动协同的控制理论》第 1 章「伯恩斯坦问题:冗余、丰裕与「没有重复的重复」」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.23828057
DOI: 10.5281/zenodo.23828057 · 阅读本章所在专著 · 5DL-B-043 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026043,
author = {Fan, Yafu},
title = {Embodied Cognition, Bernstein's Degrees-of-Freedom Problem and the Control Theory of Motor Synergies},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.23828057},
url = {https://doi.org/10.5281/zenodo.23828057}
}