Accurate speed estimation in sensorless brushless DC motors is essential for high-performance control and monitoring, yet conventional model-based approaches struggle with system nonlinearities and parameter uncertainties. In this work, we propose an in-context learning framework leveraging transformer-based models to perform zero-shot speed estimation using only electrical measurements. By training the filter offline on simulated motor trajectories, we enable real-time inference on unseen real motors without retraining, eliminating the need for explicit system identification while retaining adaptability to varying operating conditions. Experimental results demonstrate that our method outperforms traditional Kalman filter-based estimators, especially in low-speed regimes that are crucial during motor startup.
View on arXiv@article{colombo2025_2504.00673, title={ In-Context Learning for Zero-Shot Speed Estimation of BLDC motors }, author={ Alessandro Colombo and Riccardo Busetto and Valentina Breschi and Marco Forgione and Dario Piga and Simone Formentin }, journal={arXiv preprint arXiv:2504.00673}, year={ 2025 } }