[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
research-article
Public Access

Energy-Aware Memory Mapping for Hybrid FRAM-SRAM MCUs in Intermittently-Powered IoT Devices

Published: 28 April 2017 Publication History

Abstract

Forecasts project that by 2020, there will be around 50 billion devices connected to the Internet of Things (IoT), most of which will operate untethered and unplugged. While environmental energy harvesting is a promising solution to power these IoT edge devices, it introduces new complexities due to the unreliable nature of ambient energy sources. In the presence of an unreliable power supply, frequent checkpointing of the system state becomes imperative, and recent research has proposed the concept of in-situ checkpointing by using ferroelectric RAM (FRAM), an emerging non-volatile memory technology, as unified memory in these systems. Even though an entirely FRAM-based solution provides reliability, it is energy inefficient compared to SRAM due to the higher access latency of FRAM. On the other hand, an entirely SRAM-based solution is highly energy efficient but is unreliable in the face of power loss. This paper advocates an intermediate approach in hybrid FRAM-SRAM microcontrollers that involves judicious memory mapping of program sections to retain the reliability benefits provided by FRAM while performing almost as efficiently as an SRAM-based system. We propose an energy-aware memory mapping technique that maps different program sections to the hybrid FRAM-SRAM microcontroller such that energy consumption is minimized without sacrificing reliability. Our technique consists of eM-map, which performs a one-time characterization to find the optimal memory map for the functions that constitute a program and energy-align, a novel hardware-software technique that aligns the system’s powered-on time intervals to function execution boundaries, which results in further improvements in energy efficiency and performance. Experimental results obtained using the MSP430FR5739 microcontroller demonstrate a significant performance improvement of up to 2x and energy reduction of up to 20% over a state-of-the-art FRAM-based solution. Finally, we present a case study that shows the implementation of our techniques in the context of a real IoT application.

References

[1]
D. Balsamo, A. Weddell, A. Das, A. Arreola, D. Brunelli, B. Al-Hashimi, G. Merrett, and L. Benini. 2016. Hibernus++: A self-calibrating and adaptive system for transiently-powered embedded devices. IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst. PP, 99 (2016), 1--1.
[2]
D. Balsamo, A. S. Weddell, G. V. Merrett, B. M. Al-Hashimi, D. Brunelli, and L. Benini. 2015. Hibernus: Sustaining computation during intermittent supply for energy-harvesting systems. IEEE Embed. Syst. Lett. 7, 1 (Mar. 2015), 15--18.
[3]
S. C. Bartling, S. Khanna, M. P. Clinton, S. R. Summerfelt, J. A. Rodriguez, and H. P. McAdams. 2013. An 8MHz 75 μA/MHz zero-leakage non-volatile logic-based cortex-M0 MCU SoC exhibiting 100 VDD=0V with < 400ns wakeup and sleep transitions. In Proceedings of the 2013 IEEE International Solid-State Circuits Conference Digest of Technical Papers (ISSCC). 432--433.
[4]
A. Baumann, M. Jung, K. Huber, M. Arnold, C. Sichert, S. Schauer, and R. Brederlow. 2013. A MCU platform with embedded FRAM achieving 350nA current consumption in real-time clock mode with full state retention and 6.5μs system wakeup time. In Proceedings of the 2013 Symposium on VLSI Circuits (VLSIC). C202--C203.
[5]
N. A. Bhatti, M. H. Alizai, A. A. Syed, and L. Mottola. 2016. Energy harvesting and wireless transfer in sensor network applications: Concepts and experiences. ACM Trans. Sen. Netw. 12, 3, Article 24 (Aug. 2016), 40 pages.
[6]
N. A. Bhatti and L. Mottola. 2016. Efficient state retention for transiently-powered embedded sensing. In Proceedings of the 2016 International Conference on Embedded Wireless Systems and Networks (EWSN’16). 137--148.
[7]
B. Cassens, A. Martens, and R. Kapitza. 2016. The neverending runtime: Using new technologies for ultra-low power applications with an unlimited runtime. In Proceedings of the 2016 International Conference on Embedded Wireless Systems and Networks (EWSN’16). 325--330.
[8]
T. K. Chien, L. Y. Chiou, C. C. Lee, Y. C. Chuang, S. H. Ke, S. S. Sheu, H. Y. Li, P. H. Wang, T. K. Ku, M. J. Tsai, and C. I. Wu. 2016. An energy-efficient nonvolatile microprocessor considering software-hardware interaction for energy harvesting applications. In Proceedings of the 2016 International Symposium on VLSI Design, Automation and Test (VLSI-DAT). 1--4.
[9]
A. Colin, A. P. Sample, and B. Lucia. 2015. Energy-interference-free system and toolchain support for energy-harvesting devices. In Proceedings of the 2015 International Conference on Compilers, Architecture and Synthesis for Embedded Systems (CASES’15). 35--36.
[10]
H. Jayakumar, K. Lee, W. S. Lee, A. Raha, Y. Kim, and V. Raghunathan. 2014a. Powering the internet of things. In Proceedings of the 2014 International Symposium on Low Power Electronics and Design (ISLPED’14). 375--380.
[11]
H. Jayakumar, A. Raha, Y. Kim, S. Sutar, W. S. Lee, and V. Raghunathan. 2016b. Energy-efficient system design for IoT devices. In Proceedings of the 2016 21st Asia and South Pacific Design Automation Conference (ASP-DAC). 298--301.
[12]
H. Jayakumar, A. Raha, W. S. Lee, and V. Raghunathan. 2015. QuickRecall: A HW/SW approach for computing across power cycles in transiently powered computers. J. Emerg. Technol. Comput. Syst. 12, 1, Article 8 (Aug. 2015).
[13]
H. Jayakumar, A. Raha, and V. Raghunathan. 2014b. Hypnos: An ultra-low power sleep mode with SRAM data retention for embedded microcontrollers. In Proceedings of the 2014 International Conference on Hardware/Software Codesign and System Synthesis (CODES’14). Article 11.
[14]
H. Jayakumar, A. Raha, and V. Raghunathan. 2014c. QUICKRECALL: A low overhead HW/SW approach for enabling computations across power cycles in transiently powered computers. In 2014 27th International Conference on VLSI Design and 2014 13th International Conference on Embedded Systems. 330--335.
[15]
H. Jayakumar, A. Raha, and V. Raghunathan. 2016a. Energy-aware memory mapping for hybrid FRAM-SRAM MCUs in IoT edge devices. In Proceedings of the 2016 29th International Conference on VLSI Design and 2016 15th International Conference on Embedded Systems (VLSID). 264--269.
[16]
S. Khanna, S. C. Bartling, M. Clinton, S. Summerfelt, J. A. Rodriguez, and H. P. McAdams. 2014. An FRAM-based nonvolatile logic MCU SoC exhibiting 100% digital state retention at vdd=0 V achieving zero leakage with < 400-ns wakeup time for ULP applications. IEEE J. Solid-State Circ. 49, 1 (Jan 2014), 95--106.
[17]
L. Kothari and N. P. Carter. 2007. Architecture of a self-checkpointing microprocessor that incorporates nanomagnetic devices. IEEE Trans. Comput. 56, 2 (Feb 2007), 161--173.
[18]
Z. Li, Y. Liu, D. Zhang, C. J. Xue, Z. Wang, X. Shi, W. Sun, J. Shu, and H. Yang. 2016. HW/SW co-design of nonvolatile IO system in energy harvesting sensor nodes for optimal data acquisition. In Proceedings of the 53rd Annual Design Automation Conference (DAC’16). Article 154.
[19]
Y. Liu, Z. Wang, A. Lee, F. Su, C. P. Lo, Z. Yuan, C. C. Lin, Q. Wei, Y. Wang, Y. C. King, C. J. Lin, P. Khalili, K. L. Wang, M. F. Chang, and H. Yang. 2016. 4.7 A 65nm ReRAM-enabled nonvolatile processor with 6x reduction in restore time and 4x higher clock frequency using adaptive data retention and self-write-termination nonvolatile logic. In IEEE International Solid-State Circuits Conference (ISSCC). 84--86.
[20]
C. Lu, V. Raghunathan, and K. Roy. 2010. Micro-scale energy harvesting: A system design perspective. In Proceedings of the 2010 15th Asia and South Pacific Design Automation Conference (ASP-DAC). 89--94.
[21]
C. Lu, V. Raghunathan, and K. Roy. 2011. Efficient design of micro-scale energy harvesting systems. IEEE J. Emerg. Select. Top. Circ. Syst. 1, 3 (Sep. 2011), 254--266.
[22]
B. Lucia and B. Ransford. 2015. A simpler, safer programming and execution model for intermittent systems. SIGPLAN Not. 50, 6 (Jun. 2015), 575--585.
[23]
K. Ma, X. Li, S. Li, Y. Liu, J. J. Sampson, Y. Xie, and V. Narayanan. 2015a. Nonvolatile processor architecture exploration for energy-harvesting applications. IEEE Micro 35, 5 (Sep. 2015), 32--40.
[24]
K. Ma, Y. Zheng, S. Li, K. Swaminathan, X. Li, Y. Liu, J. Sampson, Y. Xie, and V. Narayanan. 2015b. Architecture exploration for ambient energy harvesting nonvolatile processors. In Proceedings of the 2015 IEEE 21st International Symposium on High Performance Computer Architecture (HPCA). 526--537.
[25]
N. Onizawa, A. Mochizuki, A. Tamakoshi, and T. Hanyu. 2015. A sudden power-outage resilient nonvolatile microprocessor for immediate system recovery. In Proceedings of the 2015 IEEE/ACM International Symposium on Nanoscale Architectures (NANOARCH). 39--44.
[26]
B. Ransford. 2013. Transiently Powered Computers. Ph.D. Dissertation. University of Massachusetts Amherst.
[27]
B. Ransford, J. Sorber, and K. Fu. 2011. Mementos: System support for long-running computation on RFID-scale devices. SIGARCH Comput. Archit. News 39, 1 (Mar. 2011), 159--170.
[28]
A. Rodriguez Arreola, D. Balsamo, A. K. Das, A. S. Weddell, D. Brunelli, B. M. Al-Hashimi, and G. V. Merrett. 2015. Approaches to transient computing for energy harvesting systems: A quantitative evaluation. In Proceedings of the 3rd International Workshop on Energy Harvesting & Energy Neutral Sensing Systems (ENSsys’15). ACM, New York, NY, 3--8.
[29]
N. Sakimura, Y. Tsuji, R. Nebashi, H. Honjo, A. Morioka, K. Ishihara, K. Kinoshita, S. Fukami, S. Miura, N. Kasai, T. Endoh, H. Ohno, T. Hanyu, and T. Sugibayashi. 2014. 10.5 A 90nm 20MHz fully nonvolatile microcontroller for standby-power-critical applications. In Proceedings of the 2014 IEEE International Solid-State Circuits Conference Digest of Technical Papers (ISSCC). 184--185.
[30]
V. K. Singhal, V. Menezes, S. Chakravarthy, and M. Mehendale. 2015. 8.3 A 10.5 μA/MHz at 16MHz single-cycle non-volatile memory access microcontroller with full state retention at 108nA in a 90nm process. In Proceedings of the 2015 IEEE International Solid- State Circuits Conference (ISSCC). 1--3.
[31]
Texas Instruments. 2014. MSP430FR573x Mixed-Signal Microcontrollers. Retrieved from http://www.ti.com/lit/ds/symlink/msp430fr5739.pdf. (2014).
[32]
C. Wang, N. Chang, Y. Kim, S. Park, Y. Liu, H. G. Lee, R. Luo, and H. Yang. 2014. Storage-less and converter-less maximum power point tracking of photovoltaic cells for a nonvolatile microprocessor. In Proceedings of the 2014 19th Asia and South Pacific Design Automation Conference (ASP-DAC). 379--384.
[33]
Y. Wang, Y. Liu, S. Li, D. Zhang, B. Zhao, M. Chiang, Y. Yan, B. Sai, and H. Yang. 2012. A 3us wake-up time nonvolatile processor based on ferroelectric flip-flops. In Proceedings of the 2012 Proceedings of the ESSCIRC (ESSCIRC). 149--152.
[34]
R. Wilhelm, J. Engblom, A. Ermedahl, N. Holsti, S. Thesing, D. Whalley, G. Bernat, C. Ferdinand, R. Heckmann, T. Mitra, F. Mueller, I. Puaut, P. Puschner, J. Staschulat, and P. Stenström. 2008. The worst-case execution-time problem&Mdash;overview of methods and survey of tools. ACM Trans. Embed. Comput. Syst. 7, 3, Article 36 (May 2008).
[35]
W. Yu, S. Rajwade, S. Wang, B. Lian, G. E. Suh, and E. Kan. 2011. A non-volatile microcontroller with integrated floating-gate transistors. In Proceedings of the 2011 IEEE/IFIP 41st International Conference on Dependable Systems and Networks Workshops (DSN-W). 75--80.
[36]
M. Zwerg, A. Baumann, R. Kuhn, M. Arnold, R. Nerlich, M. Herzog, R. Ledwa, C. Sichert, V. Rzehak, P. Thanigai, and B. O. Eversmann. 2011. An 82 μA/MHz microcontroller with embedded FeRAM for energy-harvesting applications. In Proceedings of the 2011 IEEE International Solid-State Circuits Conference Digest of Technical Papers (ISSCC). 334--336.

Cited By

View all
  • (2024)Adaptive Checkpointing Method for Intermittent Computing Systems2024 IEEE 14th International Symposium on Industrial Embedded Systems (SIES)10.1109/SIES62473.2024.10768013(58-64)Online publication date: 23-Oct-2024
  • (2024)TinyBFT: Byzantine Fault-Tolerant Replication for Highly Resource-Constrained Embedded Systems2024 IEEE 30th Real-Time and Embedded Technology and Applications Symposium (RTAS)10.1109/RTAS61025.2024.00026(225-238)Online publication date: 13-May-2024
  • (2024)SCHEMATIC: Compile-Time Checkpoint Placement and Memory Allocation for Intermittent SystemsProceedings of the 2024 IEEE/ACM International Symposium on Code Generation and Optimization10.1109/CGO57630.2024.10444789(258-269)Online publication date: 2-Mar-2024
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Transactions on Embedded Computing Systems
ACM Transactions on Embedded Computing Systems  Volume 16, Issue 3
Special Issue on Embedded Computing for IoT, Special Issue on Big Data and Regular Papers
August 2017
610 pages
ISSN:1539-9087
EISSN:1558-3465
DOI:10.1145/3072970
Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Journal Family

Publication History

Published: 28 April 2017
Accepted: 01 August 2016
Revised: 01 May 2016
Received: 01 December 2015
Published in TECS Volume 16, Issue 3

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Intermittently powered systems
  2. batteryless systems
  3. checkpointing
  4. energy harvesting
  5. ferroelectric RAM
  6. internet of things

Qualifiers

  • Research-article
  • Research
  • Refereed

Funding Sources

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)172
  • Downloads (Last 6 weeks)25
Reflects downloads up to 12 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Adaptive Checkpointing Method for Intermittent Computing Systems2024 IEEE 14th International Symposium on Industrial Embedded Systems (SIES)10.1109/SIES62473.2024.10768013(58-64)Online publication date: 23-Oct-2024
  • (2024)TinyBFT: Byzantine Fault-Tolerant Replication for Highly Resource-Constrained Embedded Systems2024 IEEE 30th Real-Time and Embedded Technology and Applications Symposium (RTAS)10.1109/RTAS61025.2024.00026(225-238)Online publication date: 13-May-2024
  • (2024)SCHEMATIC: Compile-Time Checkpoint Placement and Memory Allocation for Intermittent SystemsProceedings of the 2024 IEEE/ACM International Symposium on Code Generation and Optimization10.1109/CGO57630.2024.10444789(258-269)Online publication date: 2-Mar-2024
  • (2024)Multi-Retention STT-MRAM Architectures for IoT: Evaluating the Impact of Retention Levels and Memory Mapping SchemesIEEE Access10.1109/ACCESS.2024.336607412(26562-26580)Online publication date: 2024
  • (2024)LACTJournal of Systems Architecture: the EUROMICRO Journal10.1016/j.sysarc.2024.103213153:COnline publication date: 1-Aug-2024
  • (2024)Ensuring consistent recovery under power failure with minimal NVM write overheadJournal of Systems Architecture10.1016/j.sysarc.2024.103083148(103083)Online publication date: Mar-2024
  • (2023)Mapi-Pro: An Energy Efficient Memory Mapping Technique for Intermittent ComputingACM Transactions on Architecture and Code Optimization10.1145/362952420:4(1-25)Online publication date: 20-Oct-2023
  • (2023)An Efficient NVM-Based Architecture for Intermittent Computing Under Energy ConstraintsIEEE Transactions on Very Large Scale Integration (VLSI) Systems10.1109/TVLSI.2023.326655531:6(725-737)Online publication date: Jun-2023
  • (2023)Pragmatic Memory-System Support for Intermittent Computing Using Emerging Nonvolatile MemoryIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems10.1109/TCAD.2022.316826342:1(95-108)Online publication date: Jan-2023
  • (2022) PROWL: A Cache Replacement P olicy fo r C o nsistency A w are Renewab l e Powered Devices IEEE Transactions on Emerging Topics in Computing10.1109/TETC.2020.303111410:1(476-487)Online publication date: 1-Jan-2022
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media