Timing Feasibility of Multimodal Software-Defined Haptic Rendering with a Browser-Based Digital Twin on a Cortex-M4 Microcontroller
Authors:
- Victor H. BenitezVictor H. Benitez
- Wendy N. Karlett-RamosWKWendy N. Karlett-Ramos
- Daniel A. Salcido-MunguiaDSDaniel A. Salcido-Munguia
- Fernando A. Suarez-SanchezFSFernando A. Suarez-Sanchez
- Cesar A. DenogeanCDCesar A. Denogean
- Daniel A. Balderrama-AlvarezDBDaniel A. Balderrama-Alvarez
- David SolisDSDavid Solis
- Jesus PachecoJPJesus Pacheco
Open Access
- 12 November 2026
- journal article
- research article
- Published by MDPI AG in Electronics
- Vol. 15 (22) , 5270
Abstract
Haptic interfaces convey force between an operator and a physical or virtual environment, yet passive devices encode a single force behavior in dedicated mechanical hardware and cannot emulate qualitatively different phenomena without physical modification. This study presents a software-defined haptic platform that renders four models on a single low-cost 32-bit microcontroller without hardware reconfiguration. A deterministic 1 kHz interrupt-driven control loop drives a motorized linear slider through an H-bridge and renders virtual detents, square-root position-dependent resistance, a one-dimensional reaction–diffusion field solved by explicit finite differences, and a symmetric square-root spring. A browser-based three-dimensional visualization, synchronized with the embedded state over a one-way serial link, forms a shadow Digital Twin, and a two-level limit-switch layer provides end-of-travel protection. The loop period, the worst-case execution time of the field solver, and the telemetry interval were measured on the deployed firmware. The control loop held its 1 ms period with microsecond-level jitter while streaming telemetry to the Digital Twin at approximately 5 Hz, and the field solver consumed less than 8% of the interrupt budget. These results show that reconfigurable multimodal haptic rendering can be scheduled deterministically on resource-constrained embedded hardware, whereas the physical fidelity of the rendered behaviors remains to be validated.Keywords
Funding Information
- Facultad Interdisciplinaria de Ingeniería, Universidad de Sonora
This publication has 26 references indexed in Scilit:
- Integration of digital twins and physical AI in cyber-physical systemsIntelligent Systems with Applications, 2026
- Towards human digital twin: Reviewing human modelling and simulationJournal of Industrial Information Integration, 2025
- A review of haptic technologies for hardware-in-the-loop developmentSensors and Actuators Reports, 2025
- Design of A Haptic Paddle for Accessible Integration of Data-Driven Methods in System Dynamics Education2024
- Dual-modal Tactile E-skin: Enabling Bidirectional Human-Robot Interaction via Integrated Tactile Perception and Feedback2024
- Accelerated simulation methodologies for computational vascular flow modellingJournal of The Royal Society Interface, 2024
- Digital Twin in manufacturing: A categorical literature review and classificationIFAC-PapersOnLine, 2018
- 3-D printed haptic devices for educational applications2016
- Closed-loop stiffness and damping accuracy of impedance-type haptic displays2014
- Feeling is Believing: Using a Force‐Feedback Joystick to Teach Dynamic SystemsJournal of Engineering Education, 2002