Variable-Frequency Model Learning and Predictive Control for Jumping Maneuvers on Legged Robots

Chuong Nguyen, Abdullah Altawaitan, Thai Duong, Nikolay Atanasov, Quan Nguyen

TL;DR

This paper introduces a novel variable-frequency Model Predictive Control (MPC) approach for legged robots performing aggressive jumping maneuvers. By learning a robot dynamics model directly from experimental data and employing a variable time-stepping scheme in both model learning and MPC, the system achieves significantly improved accuracy and robustness in long-flight jumps, even on uneven terrain.

What Problem Does This Paper Address?

Legged robots performing dynamic maneuvers like high or long jumps face several challenges. Firstly, the mid-air phase is inherently underactuated, meaning control actions have limited influence on the robot's trajectory. Secondly, accurate modeling of robot dynamics is difficult, especially with contact forces, hardware imperfections, and unknown dynamics that arise during aggressive movements. Traditional MPC methods often struggle to balance model accuracy with real-time computational demands, particularly for maneuvers with long flight phases where a limited number of prediction steps must cover a significant portion of the trajectory. This paper aims to bridge this gap by developing a real-time MPC that learns an accurate dynamics model from experiments and uses a variable-frequency approach to efficiently predict and control long-flight jumping maneuvers.

Methods

The core of this work lies in a two-stage approach:

  • Variable-Frequency Model Learning: The authors propose learning a residual dynamics model that captures unmodeled dynamics, contact effects, and hardware mismatches. This is achieved by training a neural network on experimental data. Crucially, this learning process uses a variable-frequency scheme, meaning it employs different time step sizes for the contact phase (finer) and the flight phase (coarser). This allows the model to dedicate more computational effort to the critical contact phase while still efficiently covering the entire flight trajectory.
  • Variable-Frequency Model Predictive Control (MPC): The learned residual dynamics model is then integrated into an MPC framework. This MPC also operates with a variable-frequency scheme, synchronized with the model learning. This means the MPC uses the same variable time steps for its predictions and optimizations. This synchronization is key to ensuring that the MPC leverages the learned model's accuracy effectively across different jumping phases. The MPC formulation is cast as a Quadratic Program (QP) for efficient real-time solving.

Datasets

The paper utilizes a dataset collected from hardware experiments on a Unitree A1 robot. This dataset was generated by a baseline MPC controller using a nominal Single Rigid-Body Dynamics (SRBD) model, performing jumps with various targets and disturbances. The authors collected data from 20 jumps for training (80%) and testing (20%), with sampled data points using variable time steps (Atc = 25 ms, Atf = 100 ms) and a prediction horizon of K = 10.

Key Insights and Ideas

  • Variable Frequency is Key for Long Flights: The most significant insight is that a variable time-stepping scheme, with finer steps for contact and coarser for flight, is highly effective for long-flight maneuvers. This allows for accurate modeling of critical contact events while efficiently predicting the entire trajectory.
  • Learning Residual Dynamics is Crucial: Relying solely on nominal models is insufficient for aggressive maneuvers. Learning a residual dynamics model that captures unmodeled effects and hardware imperfections significantly boosts prediction accuracy.
  • Synchronization is Paramount: Synchronizing the variable-frequency scheme in both model learning and MPC execution ensures that the learned model's strengths are fully leveraged by the controller, leading to better performance.
  • Real-World Robustness: The approach demonstrates impressive robustness, successfully executing jumps on uneven terrain and compensating for unexpected disturbances like blocks under the robot's feet, even when these scenarios were not part of the training data.

Key Results

  • Reduced Jumping Distance Error: The proposed variable-frequency learned-model MPC reduced jumping distance errors by 2-8 times compared to other MPC approaches using fixed-frequency or nominal models.
  • High Accuracy on Uneven Terrain: Achieved jumping distance errors of less than 3% during continuous jumping on uneven terrain with random perturbations.
  • Precise Landing: Demonstrated distance errors of 1-2 cm on 34 single and continuous jumps with varying targets and model uncertainties.
  • Robustness to Disturbances: Successfully performed jumps on a box and compensated for a 5cm block under the robot's feet, tasks where other methods failed.
  • Real-Time Performance: The MPC solving time was as low as 2 ms on average with a prediction horizon of K=10, enabling real-time execution.

Limitations and Future Work

  • Limitations: The paper focuses on 2D jumping motions. While the learned model accounts for some unmodeled dynamics, the residual model is still a simplification. The computational cost of nonlinear MPC with learned dynamics is mentioned as a future challenge.
  • Future Work: The authors plan to explore nonlinear MPC with learned dynamics, which would likely increase computational cost. They also aim to incorporate line-foot, rolling, and soft contact dynamics into their learning framework for more versatile locomotion maneuvers.

Summary updated

BibTeX
@article{nguyen2025variable,
  author = {Chuong Nguyen and Abdullah Altawaitan and Thai Duong and Nikolay Atanasov and Quan Nguyen},
  title = {{Variable-Frequency Model Learning and Predictive Control for Jumping Maneuvers on Legged Robots}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2025},
  doi = {10.1109/lra.2024.3519864},
}
Figure