Abstract
Tuning torque-level Nonlinear Model Predictive Control (nMPC) is notoriously difficult due to high-dimensional parameter spaces and the sensitivity of robot dynamics. This paper introduces an automated framework that leverages a high-fidelity Digital Twin and Sparse Axis-Aligned Subspace Bayesian Optimization (SAASBO) to identify optimal control parameters. The approach focuses on the most influential parameters within the search space, resulting in a 25.8% improvement in real-world tracking accuracy on a UR10e robot arm compared to standard manual tuning.
Introduction
In modern robotics, torque-based MPC is considered the "gold standard" for achieving compliant and high-performance motion, as it reasons directly about the forces required for movement. However, practical implementation is often hindered by the complexity of tuning dozens of parameters, including tracking weights for position and rotation, control regularization, joint velocity limits, and low-level feedback gains ($K_p, K_d$).
Manual tuning is inherently slow, subjective, and frequently fails to reach a global optimum. While standard Bayesian Optimization (BO) is a popular tool for automation, it often suffers from the "curse of dimensionality" when parameter counts exceed a small handful. Furthermore, testing unoptimized parameters directly on physical hardware poses significant risks of instability and damage.
Methodology
The proposed framework addresses these challenges through a two-stage pipeline designed to bridge the gap between control theory and physical deployment.
The Digital Twin and SAASBO
A high-fidelity Digital Twin (DT) of the UR10e robot was developed using the Pinocchio library. This simulation environment serves as a safe "sandbox" for testing thousands of parameter combinations at speeds exceeding real-time. To navigate the 12+ dimensional parameter space, the authors employed Sparse Axis-Aligned Subspace BO (SAASBO). Unlike traditional BO, SAASBO utilizes sparsity-inducing priors to identify the small subset of parameters that significantly impact performance, effectively focusing the search on the most critical dimensions.
Control Architecture
The system utilizes a Nonlinear MPC (specifically the FDDP algorithm from the Crocoddyl library) operating at 250Hz. This is paired with a 500Hz low-level hybrid controller that integrates joint-space and task-space feedback. The optimization objective is a composite cost function that balances tracking accuracy with solver computation time, ensuring real-time responsiveness.
Results and Discussion
Evaluation was conducted using simulated trajectories (square, hexagon, and circle) and validated on a physical UR10e robot executing a 10cm hexagonal path.
Key Insights
- Dimensionality Reduction: SAASBO revealed that only 3 to 5 parameters (primarily position tracking weights and vertical task gains) dominated the controller's performance. By ignoring unimportant "noise" parameters, SAASBO achieved solutions nearly 3x better than vanilla BO.
- Performance Gains: In simulation, the framework achieved a 41.9% improvement in tracking accuracy. On physical hardware, the optimized parameters yielded a 25.8% improvement over the manually tuned baseline.
- Efficiency: Optimization also enhanced solver efficiency, leading to a 2.55% reduction in the average number of iterations required for MPC convergence.
- Vertical Stiffness: The optimizer identified a need for significantly higher stiffness in the z-axis (vertical) compared to the xy-plane—a subtle requirement often missed during manual tuning.
Conclusion
While the Digital Twin effectively facilitated sim-to-real transfer, a performance gap remains (41.9% vs 25.8%) due to unmodeled factors such as joint friction, backlash, and communication delays. Future research will focus on incorporating more detailed physical models into the Digital Twin and testing the framework on contact-rich tasks, such as assembly or scrubbing, where parameter sensitivity is even more pronounced.
Summary updated