SMART DShot: Secure Machine-Learning-Based Adaptive Real-Time Timing Correction
Source abstract
Abstract
The exponential growth of autonomous systems demands robust security mechanisms that can operate within the extreme constraints of real-time embedded environments. This paper introduces SMART DShot, a groundbreaking machine learning-enhanced framework that transforms the security landscape of unmanned aerial vehicle motor control systems through seamless integration of adaptive timing correction and real-time anomaly detection within Digital Shot (DShot) communication protocols. Our approach addresses critical vulnerabilities in Electronic Speed Controller (ESC) interfaces by deploying four synergistic algorithms—Kalman Filter Timing Correction (KFTC), Recursive Least Squares Timing Correction (RLSTC), Fuzzy Logic Timing Correction (FLTC), and Hybrid Adaptive Timing Correction (HATC)—each optimized for specific error characteristics and attack scenarios. Through comprehensive evaluation encompassing 32,000 Monte Carlo test iterations (500 per scenario × 16 scenarios × 4 algorithms) across 16 distinct operational scenarios and PolarFire SoC Field-Programmable Gate Array (FPGA) implementation, we demonstrate exceptional performance with 88.3% attack detection rate, only 2.3% false positive incidence, and substantial vulnerability mitigation reducing Common Vulnerability Scoring System (CVSS) severity from High (7.3) to Low (3.1). Hardware validation on PolarFire SoC confirms practical viability with minimal resource overhead (2.16% Look-Up Table utilization, 16.57 mW per channel) and deterministic sub-10 microsecond execution latency. The Hybrid Adaptive Timing Correction algorithm achieves 31.01% success rate (95% CI: [30.2%, 31.8%]), representing a 26.5% improvement over baseline approaches through intelligent meta-learning-based algorithm selection. Statistical validation using Analysis of Variance confirms significant performance differences (F(3,1996) = 30.30, p < 0.001) with large effect sizes (Cohen’s d up to 4.57), where 64.6% of algorithm comparisons showed large practical significance. SMART DShot establishes a paradigmatic shift from reactive to proactive embedded security, demonstrating that sophisticated artificial intelligence can operate effectively within microsecond-scale real-time constraints while providing comprehensive protection against timing manipulation, de-synchronization, burst interference, replay attacks, coordinated multi-channel attacks, and firmware-level compromises. This work provides essential foundations for trustworthy autonomous systems across critical domains including aerospace, automotive, industrial automation, and cyber–physical infrastructure. These results conclusively demonstrate that ML-enhanced motor control systems can achieve both superior security (88.3% attack detection rate with 2.3% false positives) and operational performance (31.01% timing correction success rate, 26.5% improvement over baseline) simultaneously, establishing SMART DShot as a practical, deployable solution for next-generation autonomous systems.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Adversarial Robustness in Machine Learning · Radiation Effects in Electronics · Autonomous Vehicle Technology and Safety
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Technology Innovation Institute, Abu Dhabi P.O. Box 9639, United Arab Emirates
References (36)
Show source-provided references
1. Security and Privacy for the Internet of Drones: Challenges and Solutions10.1109/MCOM.2017.1700390 ↗
2. Security Analysis of Drone Systems: Attacks, Limitations, and Recommendations10.1016/j.iot.2020.100218 ↗
3. Physical Layer Security in UAV Systems: Challenges and Opportunities10.1109/MWC.001.1900028 ↗
4. Dayanıklı, G.Y., Sinha, S., Muniraj, D., Gerdes, R.M., Farhood, M., and Mina, M. (2022, January 10–12). Physical-Layer Attacks Against PWM-Controlled Actuators. Proceedings of the 31st USENIX Security Symposium (USENIX Security 22), Boston, MA, USA.
5. Ribeiro, V.G., Hernandes, A.C., Villela, G.B., and Becker, M. (2024, January 16–20). Comparative analysis of ESC and flight controller communication protocols in UAV systems. Proceedings of the 15th Annual International Micro Air Vehicle Conference and Competition, Bristol, UK.
6. Betaflight Developers (2025, August 03). DSHOT—Betaflight Documentation. Available online: https://betaflight.com/docs/development/Dshot.
7. Sihag, V., Choudhary, G., Choudhary, P., and Dragoni, N. (2023). Cyber4Drone: A Systematic Review of Cyber Security and Forensics in Next-Generation Drones. Drones, 7.10.3390/drones7070430 ↗
8. A survey of cyber security threats and solutions for UAV communications and flying ad-hoc networks10.1016/j.adhoc.2022.102894 ↗
9. Yu, Z., Duan, X., Cong, X., Li, X., and Zheng, L. (2023). Detection of Actuator Enablement Attacks by Petri Nets in Supervisory Control Systems. Mathematics, 11.10.3390/math11040943 ↗
10. Sliding mode-based finite-time consensus tracking control for multi-agent systems under actuator attacks10.1016/j.ins.2023.118971 ↗
11. Mahfouzi, R., Aminifar, A., Samii, S., Payer, M., Eles, P., and Peng, Z. (, 2019). Butterfly Attack: Adversarial Manipulation of Temporal Properties of Cyber-Physical Systems. Proceedings of the IEEE Real-Time Systems Symposium (RTSS), Online.10.1109/RTSS46320.2019.00019 ↗
12. Warden, P., and Situnayake, D. (2019). TinyML: Machine Learning with TensorFlow Lite on Arduino and Ultra-Low-Power Microcontrollers, O’Reilly Media, Inc.
13. Deep reinforcement learning control approach to mitigating actuator attacks10.1016/j.automatica.2023.110999 ↗
14. Banbury, C., Reddi, V.J., Torelli, P., Holleman, J., Jeffries, N., Kiraly, C., Montino, P., Kanter, D., Ahmed, S., and Pau, D. (2021). MLPerf Tiny Benchmark. Proceedings Neural Information Processing Systems Track on Datasets and Benchmarks, Neural Information Processing Systems Foundation, Inc.
15. Flyduino and Betaflight Developers (2025, August 03). DShot—Digital ESC Protocol Specification. Available online: https://github.com/betaflight/betaflight/wiki/Dshot.
16. PX4 Developers (2024). DShot ESCs Documentation. PX4 Autopilot User Guide, Dronecode Foundation. Available online: https://docs.px4.io/main/en/peripherals/dshot.html.
17. Brushless Whoop Community (2025, August 03). DSHOT—The Missing Handbook: Complete Technical Guide. Available online: https://brushlesswhoop.com/dshot-and-bidirectional-dshot/.
18. Unmanned aerial vehicles (UAVs): Practical aspects, applications, open challenges, security issues, and future trends10.1007/s11370-022-00452-4 ↗
19. Aljumah, A. (2024). UAV-Based Secure Data Communication: Multilevel Authentication Perspective. Sensors, 24.10.3390/s24030996 ↗
20. A review on TinyML: State-of-the-art and prospects10.1016/j.jksuci.2021.11.019 ↗
21. Tiny Machine Learning: Progress and Futures10.1109/MCAS.2023.3302182 ↗
22. Suwannaphong, T., Jovan, F., Craddock, I., and McConville, R. (2025). Optimising TinyML with Quantization and Distillation of Transformer and Mamba Models for Indoor Localisation on Edge Devices. Sci. Rep., 15.10.1038/s41598-025-94205-9 ↗
23. Chen, J., Feng, Z., Wen, J.-Y., Liu, B., and Sha, L. (2019, January 25–29). A container-based DoS attack-resilient control framework for real time UAV systems. Proceedings of the 2019 Design, Automation & Test in Europe Conference & Exhibition (DATE), Florence, Italy.10.23919/DATE.2019.8714888 ↗
24. Adversarial Machine Learning for Network Intrusion Detection Systems: A Comprehensive Survey10.1109/COMST.2022.3233793 ↗
25. FIRST (2025, August 03). Common Vulnerability Scoring System v3.1: Specification Document. FIRST.org, June 2019., Available online: https://www.first.org/cvss/v3.1/specification-document.
26. Performance Analysis of Kalman-Filter-Based Clock Synchronization in IEEE 1588 Networks10.1109/TIM.2011.2113120 ↗
27. Li, Q., Guo, J., Liu, W., Gao, W., Zhang, Y., and Hu, Y. (2024). An enhanced time synchronization method for a network based on Kalman filtering. Sci. Rep., 14.10.1038/s41598-024-71929-8 ↗
28. On Exponentially Weighted Recursive Least Squares for Estimating Time-Varying Parameters and its Application to Computer Workload Forecasting10.1080/15598608.2008.10411879 ↗
29. Robust adaptive filtering using recursive weighted least squares with combined scale and variable forgetting factors
30. Fuzzy identification of systems and its applications to modeling and control10.1109/TSMC.1985.6313399 ↗
31. Shoaip, N., El-Sappagh, S., Abuhmed, T., and Elmogy, M. (2024). A dynamic fuzzy rule-based inference system using fuzzy inference with semantic reasoning. Sci. Rep., 14.10.1038/s41598-024-54065-1 ↗
32. Adaptive recommendation model using meta learning for population-based algorithms10.1016/j.ins.2018.10.013 ↗
33. Overcoming the limitations of adaptive control by means of logic-based switching10.1016/S0167-6911(02)00342-0 ↗
34. (2011). Software Considerations in Airborne Systems and Equipment Certification (Standard No. RTCA DO-178C).
35. (2018). Road Vehicles—Functional Safety (Standard No. ISO 26262:2018).
36. NIST (Framework for Improving Critical Infrastructure Cybersecurity, 2018). Framework for Improving Critical Infrastructure Cybersecurity, Version 1.1.