Self-Referencing Digital Twin for Thermal and Task Management in Package Stacked ESP32-S3 Microcontrollers with Mixture-of-Experts and Neural Networks
Year: 2025
Type: article
Abstract: Thermal limitations restrict the performance of low-cost, vertically stacked embedded systems. This paper presents a self-referencing digital twin framework for thermal and task management in a multi-device ESP32-S3 stack. The system combines a Mixture-of-Experts (MoE) model for task allocation with a neural network for short-term temperature prediction. Acting as a lightweight digital replica of the physical stack, the digital twin continuously monitors device states, forecasts thermal behavior 30 s into the future, and adapts workload distribution accordingly. The MoE model evaluates each device individually and asynchronously, estimating the portion of workload it should receive based on current state features including SoC temperature, CPU frequency, stack position, and recent task history. A separate neural network predicts future temperatures using real-time data from local and neighboring devices, enabling proactive thermal-aware scheduling. Training data for both models is collected through controlled experiments involving fixed-frequency operation and structured frequency switching with idle phases. All predictions and control actions are driven by in-built sensor feedback from the ESP32-S3 microcontrollers. The resulting digital twin supports distributed task scheduling based on temperature and works well in simple, low-cost edge systems with heat constraints. In one-hour experiments on a 6 ESP32-S3 stack, the proposed scheduling method completes up to 572 computation rounds at a 50 °C temperature limit, compared with 493 and 542 rounds under logistic regression based control and 534 rounds at fixed 240 MHz operation, while keeping peak temperature at 51 °C.
Source: Computers
Authors: Yi Liu, Parth Sandeepbhai Shah, Tian Xia, Dryver Huston
Institutions: University of Vermont, Intel (United States)
Language: English
Topic: Real-Time Systems Scheduling
Subfield: Hardware and Architecture
Field: Computer Science
Domain: Physical Sciences
Open Access status: gold
Estimated APC paid: $2,172
Awards: CPS: Medium: RUI: Collaborative Research: Real-time Subsurface Sensing with Cognitive Networked Robotic System, G7068349199, RII Track-2 FEC: Advancing Research Towards Industries of the Future to Ensure Economic Growth for EPSCoR Jurisdictions - Advanced Wireless - Integration with Infrastructure System
OpenAlex ID: W7116838534
