Energy harvesting battery-free embedded devices rely only on ambient energy harvesting that enables stand-alone and sustainable IoT applications. These devices execute programs when the harvested ambient energy in their energy reservoir is sufficient to operate and stop execution abruptly (and start charging) otherwise. These intermittent programs have varying timing behavior under different energy conditions, hardware configurations, and program structures. This paper presents Energy-aware Timing Analysis of intermittent Programs (ETAP), a probabilistic symbolic execution approach that analyzes the timing and energy behavior of intermittent programs at compile time. ETAP symbolically executes the given program while taking time and energy cost models for ambient energy and dynamic energy consumption into account. We evaluated ETAP on several intermittent programs and compared the compile-time analysis results with executions on real hardware. The results show that ETAP's normalized prediction accuracy is 99.5%, and it speeds up the timing analysis by at least two orders of magnitude compared to manual testing.
翻译:无能源蓄电池嵌入装置仅依靠环境能源收集,从而能够独立和可持续地应用IoT。这些装置执行程序,当其能源库中已收获的环境能源足以突然操作和停止执行(并开始收费),这些间歇性程序在不同能源条件、硬件配置和方案结构下有不同的时间行为。本文介绍了对间歇方案的能源意识时间分析(ETAP),这是一种概率性象征性执行方法,可以分析周期性程序在编译时的时机和能量行为。ETAP象征性地执行特定方案,同时对周围能源和动态能源消耗采用时间和能源成本模型。我们根据几个间歇程序对ETAP进行了评估,并将汇编时间分析结果与实际硬件处决进行比较。结果显示,ETAP的正常预测准确度为99.5%,它比人工测试至少加快了两个数量级的时间分析。