Spring-Mass Trajectory Libraries
- Spring-Mass Trajectory Libraries are comprehensive, precomputed sets defining periodic or transient solutions of spring-mass systems for vibrational analysis and legged locomotion.
- They use Lie-algebraic methods and normal mode decomposition to derive eigenfrequencies, mode shapes, and closed-form trajectory functions for varied system parameters.
- The libraries enable real-time control through deadbeat gain selection and efficient trajectory retrieval, ensuring robust performance under uncertainties in robotics.
Spring-mass trajectory libraries are comprehensive, precomputed sets of solutions to the equations of motion governing spring-mass systems, structured for efficient retrieval and application in both classical vibrational analysis and biomimetic locomotion control. These libraries encode parameterized families of periodic or transient state trajectories—typically center-of-mass or mass node positions—supporting analyses and control approaches across disciplines including physics, applied mathematics, and robotics (Urzúa et al., 2019, Sovukluk et al., 15 Dec 2025).
1. Foundations: Dynamical Systems and Model Classes
Spring-mass models fall into two main categories: multi-degree-of-freedom lattices (chains or networks of masses and springs), and reduced-order hybrid models for legged locomotion (e.g., the spring-loaded inverted pendulum, or SLIP, template). The canonical Hamiltonian for a chain of masses with nearest-neighbor springs is
with appropriate boundary conditions ( for circular; fixed or free for linear chains). The resulting equations of motion underlie all linear vibrational analyses and form the basis for constructing trajectory libraries for arbitrary mass and stiffness profiles (Urzúa et al., 2019).
For biomimetic locomotion, the 3D SLIP template is defined by the center-of-mass (CoM) position , fixed foot point , leg vector , mass , stiffness , rest length , and touchdown angles , with hybrid stance and flight phases dictated by norm thresholds and apex-to-apex periodic search (Sovukluk et al., 15 Dec 2025).
2. Lie-Algebraic Methods and Normal Mode Decomposition
For finite-dimensional spring-mass networks, Lie-algebraic structure facilitates diagonalization of the dynamical matrix .
- Circular chains leverage shift operators , generating a discrete algebra, diagonalized via the discrete Fourier transform ; normal frequencies are and mode shapes are -periodic complex exponentials:
- Linear chains with special (binomial) mass/spring profiles employ generators , , , with orthonormal Chebyshev or Kravchuk polynomial-based transforms yielding explicit mode spectra and analytical diagonalizations for all (Urzúa et al., 2019).
In both cases, the exact time-evolution of each is reconstructed as a superposition of mode shapes scaled by initial conditions and oscillatory terms , .
3. Library Generation and Trajectory Parameterization
Linear Systems (Chains and Lattices)
Library generation consists in tabulating, for a specified class (linear/circular, fixed/periodic boundaries, uniform/graded mass and stiffness):
- Dynamical matrix and associated parameters (, ).
- Diagonalizing transform (e.g., DFT, Chebyshev, rotations).
- Eigenfrequencies and mode shapes .
- Explicit trajectory function:
Each entry combines the dynamical specification, initial conditions, and closed-form evolution, enabling efficient lookup and reuse for system simulation, control, or vibration analysis (Urzúa et al., 2019).
SLIP-based Apex-to-Apex Trajectories
For spring-mass template models relevant to locomotion:
- Discretized grids over apex height , forward speed , stiffness , and lateral touchdown angle .
- Nonlinear least-squares solved (e.g., via Ceres) for periodic solutions in variables given apex state , control input , and parameterization .
- Numerical integration (Runge-Kutta) progresses flight and stance phases, checking periodicity and feasibility.
- Resultant library entries store , , , , , plus derived foot placements (Sovukluk et al., 15 Dec 2025).
Total generation time for 315 such periodic apex-to-apex trajectories is approximately offline.
4. Controller Synthesis and Real-Time Trajectory Selection
For real-time adaptive locomotion using spring-mass trajectory libraries, control is realized through:
- Deadbeat control gain libraries: At each periodic trajectory, local linearization yields Jacobians , of the return map. The deadbeat gain matrix enables feedback correction:
guaranteeing aperiodic state error elimination after one step in the linearized regime.
- Selection policy: At runtime, given the sensed touchdown state and leg state , all library entries are scored via the cost
promoting high-probability convergence (Sovukluk et al., 15 Dec 2025). Obstacle and stepping-stone constraints are implemented by filtering entries according to apex clearance and target region reachability.
The entire selection process, including local filtering and evaluation, is with measured s per step for library entries.
5. Whole-body Mapping, Adaptive Behaviors, and Practical Implementation
Mapping spring-mass trajectories to high-dimensional humanoid models is conducted via whole-body control (WBC) frameworks:
- Inverse dynamics constraints: Floating-base equations are solved in a quadratic program, enforcing foot constraints, friction cones, actuator limits, and closed-kinematic-chain requirements.
- Collision avoidance: Task velocities are projected onto admissible tangent spaces if imminent collision is detected.
- Reactive limb swing: Nullspace projection of posture tasks and momentum regulation dampens disturbances.
C++-style data structures encapsulate each trajectory and associated deadbeat gain:
1 2 3 4 5 |
struct Trajectory { double θ2, h, k, vx, θ1, vy, δx, δy; Matrix3d K; }; std::vector<Trajectory> library; |
6. Robustness and Performance under Uncertainty
Injected signal noise (velocity m/s, angular rad/s), actuator delays (1–2 ms), and mass/inertia disturbances are handled robustly. The combination of deadbeat-leg re-planning and two-step look-ahead mitigates the effect of errors, achieving steady-running root mean square errors of
during unstructured locomotion in simulation (Sovukluk et al., 15 Dec 2025).
7. Comparison of Spring-Mass Trajectory Libraries
| Application Domain | Core Model | Library Components |
|---|---|---|
| Vibrational analysis (chains) | Hamiltonian chain | |
| Biomimetic locomotion (SLIP) | 3D SLIP template | |
| Whole-body robot control | SLIP + WBC mapping | Trajectory structs, deadbeat gains |
Both approaches leverage the precomputation of parameter-rich trajectory sets to enable fast retrieval, analytical insight into system dynamics, and robust real-time performance in simulation and robotics.
References: (Urzúa et al., 2019): Dynamical analysis of mass-spring models using Lie algebraic methods (Sovukluk et al., 15 Dec 2025): Humanoid Robot Running Through Random Stepping Stones and Jumping Over Obstacles: Step Adaptation Using Spring-Mass Trajectories