<< All versions
Skill v1.0.0
currentAutomated scan100/100alizainx/intelligence-systems-skills/computed-torque-sliding-mode-control
──Details
PublishedNovember 5, 2026 at 09:37 AM
Content Hashsha256:fbc5c4a2aab86baa...
Git SHA5d098c90c1e6
──Files
Files (1 file, 2.1 KB)
SKILL.md2.1 KBactive
SKILL.md · 27 lines · 2.1 KB
name: computed-torque-sliding-mode-control id: ISS-154 token_budget: 700 chain_with: [se3-so3-lie-algebra-kinematics, h-infinity-mrac-robust-control, pid-cascade-antiwindup-loops] description: "Nonlinear robot manipulator control: Euler-Lagrange dynamics $M(q)\ddot{q} + C(q,\dot{q})\dot{q} + g(q) = \tau$, Slotine-Li passivity, Computed Torque, and Impedance/SMC." metadata: version: "1.0.0"
computed-torque-sliding-mode-control (ISS-154)
1. First-Principles Invariant
- Slotine-Li Skew-Symmetry Passivity Law: Parameterize the Coriolis/centrifugal matrix $C(q, \dot{q})$ using Christoffel symbols of the first kind so $\dot{M}(q) - 2 C(q, \dot{q})$ is strictly skew-symmetric ($x^T (\dot{M} - 2C) x = 0\; \forall x$), guaranteeing global asymptotic tracking stability under the energy-based Lyapunov function $V = \frac{1}{2} s^T M(q) s + \frac{1}{2} \tilde{q}^T K_p \tilde{q}$ where $s = \dot{\tilde{q}} + \Lambda \tilde{q}$.
2. Fast-Pass Low-Token Protocol (Web & Coding Agents)
- Replace discontinuous Sliding Mode signum terms $K \text{sign}(s)$ with a smooth boundary-layer saturation $K \text{sat}(s / \Phi)$ or Super-Twisting second-order SMC to eliminate high-frequency actuator chattering.
3. Zero-Bug & Zero-Vulnerability Guards
- Verify that the mass/inertia matrix $M(q)$ is symmetric positive definite ($M(q) = M(q)^T \succ 0$) across the entire joint workspace.
- Compute inverse dynamics $\tau = \text{RNEA}(q, \dot{q}, \ddot{q}_r)$ in $O(n)$ linear time using Recursive Newton-Euler rather than symbolic $O(n^4)$ Lagrange expansions for arms with $n \ge 6$ DOF.
- In Cartesian Impedance Control ($\tau = J(q)^T (K_d (\tilde{x}) + D_d (\dot{\tilde{x}})) + g(q) + (I - J^T J^{\#T}) \tau_{\text{null}}$), use dynamically consistent nullspace projection $J^\# = M^{-1} J^T (J M^{-1} J^T)^{-1}$ for compliant human-robot interaction.
- Compensate joint Coulomb + viscous + Stribeck friction smoothly around $\dot{q} = 0$ (
tanh(q_dot / v_eps)). - Verify Lyapunov derivative $\dot{V}(t) \le 0$ numerically along simulated tracking trajectories.
4. Verification Gate
python3 -c 'import numpy as np; ...'