Abstract
This paper introduces a novel method for enhancing the robustness of robotic motion planning by directly penalizing high-frequency control signals within a Model Predictive Control (MPC) framework. By making the optimizer "frequency-aware," the authors enable the ANYmal quadruped robot to maintain stable locomotion on highly compliant, unmodeled surfaces—such as mattresses—where standard bandwidth-blind controllers typically fail. The approach bridges the sim-to-real gap by accounting for physical actuator limits and terrain compliance without requiring complex, computationally expensive environment models.
Introduction
A significant challenge in the "sim-to-real" transition for robotics is the discrepancy between idealized mathematical models and real-world physics. Standard controllers often assume infinite actuator bandwidth and perfectly rigid ground. However, physical actuators have inherent tracking limits, and surfaces like grass, sand, or foam are compliant. When an optimizer exploits an idealized model, it may generate high-frequency commands (sharp jerks in force or velocity) that the hardware cannot execute, leading to oscillations or system failure. Traditionally, this is addressed by manual "detuning" or complex environment modeling. This work proposes a more general solution: restricting the control plan's bandwidth to match the robot's physical capabilities.
Methodology
The core of the proposed approach is the use of Frequency-Shaped Cost Functions. Unlike standard quadratic costs that only penalize the magnitude of control inputs ($u^T R u$), this method transforms the cost into the frequency domain.
By introducing a transfer function that acts as a high-pass filter for costs, the optimizer is forced to "pay a higher price" for high-frequency components. To solve this in the time domain for real-time MPC, the frequency filter is represented as a small linear system, and its internal states are appended to the robot's state vector. This "state augmentation" allows the use of Sequential Linear Quadratic MPC (SLQ-MPC), enabling real-time replanning at 40–70Hz on the ANYmal quadruped.
Experimental Results
The frequency-aware controller was evaluated in both physics-based simulations (Open Dynamics Engine) and real-world hardware experiments.
Simulation Performance
In simulations involving soft terrain, the frequency-aware controller demonstrated a significant improvement in force tracking, reducing Mean Squared Error (MSE) by up to 70% compared to a baseline controller. Furthermore, the approach allowed the robot to reach a top speed of 0.9 m/s, whereas the baseline failed at 0.6 m/s due to instabilities caused by high-frequency "chatter" in foot placement.
Hardware Validation
Real-world experiments were conducted using the ANYmal quadruped on various surfaces, including a hard lab floor, foam blocks, and a soft mattress.
On the soft mattress, the baseline controller failed almost immediately as it lost base height due to poor force tracking. In contrast, the frequency-aware controller remained stable, maintaining a smooth trot and consistent base height. Interestingly, the controller also exhibited emergent locomotion strategies; for instance, it naturally adopted a narrower, "inline" gait at higher speeds to avoid high-frequency lateral force changes.
Discussion and Conclusion
The primary insight of this work is that robustness to unmodeled compliance can be achieved by restricting the control bandwidth rather than modeling the environment explicitly. Because the method is integrated into the optimization (rather than being a post-processing filter), it exhibits "look-ahead" behavior, adjusting forces smoothly before foot-ground contact occurs.
Future work will address the current need for manual tuning of frequency parameters and explore online adaptation mechanisms where the robot senses terrain compliance in real-time. Additionally, applying similar frequency-shaping logic to the swing phase of locomotion could further enhance energy efficiency and motion smoothness.
Summary updated