Learning-based Approximate Model Predictive Control for an Impact Wrench Tool
Mark Benazet, Francesco Ricca, Dario Bralla, Melanie N. Zeilinger, Andrea Carron
TL;DR
<3-5 sentence high-level summary> This work tackles the challenge of real-time torque control for impact wrenches under tight embedded-resource constraints. It introduces a learning-augmented MPC that augments a nominal model with Gaussian-process residuals and then uses a neural network to approximate the MPC policy for microsecond-level, real-time inference on embedded hardware, with EKF-based state estimation. The approach yields high constraint satisfaction and improved tracking compared with a baseline PID controller, achieving 97.99% closed-loop success over thousands of trials and a 490× computational speedup over exact MPC. Hardware experiments validate real-time deployment and constraint adherence, making the framework practically impactful for safety-critical, high-frequency mechatronic control.
Abstract
Learning-based model predictive control has emerged as a powerful approach for handling complex dynamics in mechatronic systems, enabling data-driven performance improvements while respecting safety constraints. However, when computational resources are severely limited, as in battery-powered tools with embedded processors, existing approaches struggle to meet real-time requirements. In this paper, we address the problem of real-time torque control for impact wrenches, where high-frequency control updates are necessary to accurately track the fast transients occurring during periodic impact events, while maintaining high-performance safety-critical control that mitigates harmful vibrations and component wear. The key novelty of the approach is that we combine data-driven model augmentation through Gaussian process regression with neural network approximation of the resulting control policy. This insight allows us to deploy predictive control on resource-constrained embedded platforms while maintaining both constraint satisfaction and microsecond-level inference times. The proposed framework is evaluated through numerical simulations and hardware experiments on a custom impact wrench testbed. The results show that our approach successfully achieves real-time control suitable for high-frequency operation while maintaining constraint satisfaction and improving tracking accuracy compared to baseline PID control.
