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 2017Publication History
Skip Abstract Section

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.Google ScholarGoogle Scholar
  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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  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. Google ScholarGoogle ScholarCross RefCross Ref
  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.Google ScholarGoogle Scholar
  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.Google ScholarGoogle ScholarDigital LibraryDigital Library
  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.Google ScholarGoogle Scholar
  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.Google ScholarGoogle Scholar
  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. Google ScholarGoogle ScholarCross RefCross Ref
  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. Google ScholarGoogle ScholarCross RefCross Ref
  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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  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). Google ScholarGoogle ScholarDigital LibraryDigital Library
  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.Google ScholarGoogle Scholar
  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.Google ScholarGoogle Scholar
  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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  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. Google ScholarGoogle ScholarCross RefCross Ref
  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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  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.Google ScholarGoogle Scholar
  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.Google ScholarGoogle Scholar
  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. Google ScholarGoogle ScholarCross RefCross Ref
  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. Google ScholarGoogle ScholarCross RefCross Ref
  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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  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. Google ScholarGoogle ScholarCross RefCross Ref
  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. Google ScholarGoogle ScholarCross RefCross Ref
  26. B. Ransford. 2013. Transiently Powered Computers. Ph.D. Dissertation. University of Massachusetts Amherst.Google ScholarGoogle Scholar
  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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  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. DOI:http://dx.doi.org/10.1145/2820645.2820652 Google ScholarGoogle ScholarDigital LibraryDigital Library
  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. DOI:http://dx.doi.org/10.1109/ISSCC.2014.6757392 Google ScholarGoogle ScholarCross RefCross Ref
  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.Google ScholarGoogle Scholar
  31. Texas Instruments. 2014. MSP430FR573x Mixed-Signal Microcontrollers. Retrieved from http://www.ti.com/lit/ds/symlink/msp430fr5739.pdf. (2014).Google ScholarGoogle Scholar
  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. Google ScholarGoogle ScholarCross RefCross Ref
  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. Google ScholarGoogle ScholarCross RefCross Ref
  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). Google ScholarGoogle ScholarDigital LibraryDigital Library
  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. DOI:http://dx.doi.org/10.1109/DSNW.2011.5958839 Google ScholarGoogle ScholarDigital LibraryDigital Library
  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. Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

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

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in

        Full Access

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader
        About Cookies On This Site

        We use cookies to ensure that we give you the best experience on our website.

        Learn more

        Got it!