|
| 1 | +# Coupled Damping Design |
| 2 | + |
| 3 | +## Overview & Motivation |
| 4 | + |
| 5 | +An impedance or PD controller makes each joint behave as a spring of stiffness $K_i$ and a damper. On a single mass the damper that gives damping ratio $\zeta$ is $2\zeta\sqrt{K m}$. A robot arm is not a set of independent masses: its mass matrix couples the joints, and the shoulder and elbow move each other. |
| 6 | + |
| 7 | +A diagonal damper sized from each joint's own inertia ignores that coupling. |
| 8 | +The fast coupled mode of two strongly coupled joints, whose inertia is much smaller than either joint's own, is then damped far beyond what a sampled controller can deliver, and it oscillates; a light wrist next to heavy proximal joints suffers the same way. |
| 9 | +Shaping the damper with the mass matrix itself gives every mode of the arm a sensible damping ratio, while each joint keeps the damping its own spring and inertia call for. |
| 10 | + |
| 11 | +## Mathematical Theory |
| 12 | + |
| 13 | +### Design |
| 14 | + |
| 15 | +With $M$ the joint-space mass matrix, $K = \operatorname{diag}(K_i)$ the joint stiffnesses and $\zeta$ the damping ratio, each joint's natural frequency on its own diagonal inertia is |
| 16 | + |
| 17 | +$$\omega_i = \sqrt{\frac{K_i}{M_{ii}}}$$ |
| 18 | + |
| 19 | +The damping matrix is the mass matrix scaled on both sides by the square roots of those frequencies: |
| 20 | + |
| 21 | +$$D = 2\zeta\, W M W, \qquad W = \operatorname{diag}\left(\sqrt{\omega_i}\right)$$ |
| 22 | + |
| 23 | +### Properties |
| 24 | + |
| 25 | +- **Diagonal**: $D_{ii} = 2\zeta\, \omega_i M_{ii} = 2\zeta \sqrt{K_i M_{ii}}$, the single-mass damper for joint $i$. |
| 26 | +- **Coupling**: $D_{ij} = 2\zeta \sqrt{\omega_i \omega_j}\, M_{ij}$, so the damper couples the joints exactly where the arm does. |
| 27 | +- **Equal frequencies**: if every $\omega_i = \omega$, then $D = 2\zeta\omega M$. The closed loop $M\ddot{e} + D\dot{e} + Ke = 0$ with $K = \omega^2 M$ then gives every mode the natural frequency $\omega$ and damping ratio $\zeta$. |
| 28 | +- **Symmetry and definiteness**: $D$ is symmetric, and positive definite whenever $M$ is and every $K_i > 0$, because $W$ is a positive diagonal congruence. |
| 29 | + |
| 30 | +A joint with no inertia on its diagonal has no defined frequency; it gets no damping, and neither do its coupling terms. |
| 31 | + |
| 32 | +## Complexity Analysis |
| 33 | + |
| 34 | +| Step | Time | Space | Notes | |
| 35 | +|-------------|----------|----------|----------------------------------------------------------| |
| 36 | +| Frequencies | $O(n)$ | $O(n)$ | Two square roots per joint | |
| 37 | +| Scaling | $O(n^2)$ | $O(n^2)$ | Each entry scaled by two weights, no product of matrices | |
| 38 | + |
| 39 | +## Step-by-Step Walkthrough |
| 40 | + |
| 41 | +Two joints with $M = \begin{bmatrix} 2 & 0.6 \\ 0.6 & 0.5 \end{bmatrix}$, $\zeta = 0.7$ and the stiffnesses $K = (18, 4.5)$. |
| 42 | + |
| 43 | +1. Frequencies: $\omega_1 = \sqrt{18 / 2} = 3$ and $\omega_2 = \sqrt{4.5 / 0.5} = 3$. |
| 44 | +2. Weights: $W = \operatorname{diag}(\sqrt{3}, \sqrt{3})$. |
| 45 | +3. Damping: $D = 2 \cdot 0.7 \cdot 3 \cdot M = 4.2\, M = \begin{bmatrix} 8.4 & 2.52 \\ 2.52 & 2.1 \end{bmatrix}$. |
| 46 | + |
| 47 | +The frequencies are equal, so the damper is the scaled mass matrix and every mode is damped at $\zeta = 0.7$. |
| 48 | + |
| 49 | +## Pitfalls & Edge Cases |
| 50 | + |
| 51 | +- **Configuration dependence**: $M$ changes with the pose. Recompute $D$ every control period for an arm that moves far, or the coupling terms describe the wrong pose. |
| 52 | +- **Rotor inertia**: the reflected rotor inertia of geared joints belongs on the diagonal of $M$ first, or the proximal joints are under-damped. |
| 53 | +- **Unequal frequencies**: the per-mode damping ratio is exactly $\zeta$ only when all $\omega_i$ are equal. With very different frequencies the modes are damped near, not at, $\zeta$. |
| 54 | +- **Sampling limits**: the damping per control period, $2\zeta\omega_i T$, must stay well below one. A stiff, light joint can ask for more damping than the loop can deliver at a given period. |
| 55 | + |
| 56 | +## Variants & Generalizations |
| 57 | + |
| 58 | +- **Task space**: the same design with the task inertia $\Lambda$ and a task stiffness damps a Cartesian impedance; near a singularity $\Lambda$ is unbounded, which is why a joint-space damper is often preferred there. |
| 59 | +- **Per-joint damping ratios**: $D = W' M W'$ with $W' = \operatorname{diag}(\sqrt{2\zeta_i \omega_i})$ when the joints need different ratios. |
| 60 | +- **Constant design**: evaluate $M$ at a nominal pose once when the arm moves little. |
| 61 | + |
| 62 | +## Applications |
| 63 | + |
| 64 | +- Joint-space impedance control with stiffnesses chosen per joint. |
| 65 | +- Cartesian impedance control, with the stiffness the tool spring puts on each joint, $K_i = (J^T K_x J)_{ii}$. |
| 66 | +- PD gains from a bandwidth: equal frequencies give $K_p = \omega^2 M$ and $K_d = 2\zeta\omega M$. |
| 67 | + |
| 68 | +## Connections to Other Algorithms |
| 69 | + |
| 70 | +- [Impedance Control](ImpedanceControl.md): the task-space spring and damper this damper complements in joint space. |
| 71 | +- [PD Control with Gravity Compensation](PdGravityCompensation.md): the equal-frequency case gives its mass-scaled gains. |
| 72 | +- [Composite Rigid Body Algorithm](../../dynamics/CompositeRigidBodyAlgorithm.md): computes the mass matrix. |
| 73 | + |
| 74 | +## References & Further Reading |
| 75 | + |
| 76 | +- A. Albu-Schäffer, C. Ott, U. Frese, G. Hirzinger, "Cartesian Impedance Control of Redundant Robots: Recent Results with the DLR-Light-Weight-Arms," *IEEE ICRA*, 2003. |
| 77 | +- N. Hogan, "Impedance Control: An Approach to Manipulation," *ASME Journal of Dynamic Systems, Measurement, and Control*, 107(1), 1985. |
0 commit comments