No jobs
Advanced 10 min 3 of 3

Dynamics: why control is harder than kinematics

Inertia depends on configuration, and the coupling terms mean no joint moves alone.

What this repairs

Assuming each joint can be controlled as an independent second-order system with a fixed inertia.

Assumes

The equation of motion for any rigid manipulator is

M(q)q¨+C(q,q˙)q˙+g(q)=τ.M(\mathbf{q})\,\ddot{\mathbf{q}} + C(\mathbf{q}, \dot{\mathbf{q}})\,\dot{\mathbf{q}} + \mathbf{g}(\mathbf{q}) = \boldsymbol{\tau}.

Four terms, and three of them depend on where the arm is:

  • M(q)M(\mathbf{q}) — the inertia matrix. Symmetric, positive definite, and a function of configuration. An extended arm has far more inertia about the base than a folded one.
  • C(q,q˙)C(\mathbf{q}, \dot{\mathbf{q}}) — Coriolis and centrifugal terms, quadratic in velocity. These are what make a fast arm behave unlike a slow one.
  • g(q)\mathbf{g}(\mathbf{q}) — gravity, which is a configuration-dependent torque and usually the largest single term at low speed.
  • τ\boldsymbol{\tau} — what the motors supply.

Inertia of the two-link arm

  1. M11=m1l12+m2(l12+2l1l2cosq2+l22)M_{11} = m_1 l_1^2 + m_2\left(l_1^2 + 2 l_1 l_2 \cos q_2 + l_2^2\right)

    The effective inertia at joint 1. It depends on q₂ and on nothing else — the elbow angle changes how far the outer mass sits from the shoulder axis.

  2. M12=M21=m2(l1l2cosq2+l22)M_{12} = M_{21} = m_2\left(l_1 l_2 \cos q_2 + l_2^2\right)

    The coupling. Maximal with the arm straight (cos q₂ = 1), zero at q₂ = ±90°, negative when folded back.

  3. M22=m2l22M_{22} = m_2 l_2^2

    Joint 2 sees a constant inertia: the outer link’s geometry relative to its own axis never changes. The asymmetry between M₁₁ and M₂₂ is why the two joints of the same arm need different gains.

Check yourself

A tuned arm controller oscillates when the arm is extended but is stable when folded. Why?

Show answer

Because the effective inertia at the shoulder changed — M11M_{11} is largest when cosq2=1\cos q_2 = 1 , i.e. extended. Gains tuned for the folded configuration are, at full extension, being applied to a plant with several times the inertia, which lowers the effective damping ratio and produces overshoot and ringing. The principled fixes are gain scheduling on configuration or computed-torque control; the usual field fix is detuning for the worst case, which gives up performance everywhere else.

Euler View - ML Experiment Monitor