skip to main content
research-article

Demystifying Energy Consumption Dynamics in Transiently powered Computers

Authors Info & Claims
Published:29 September 2020Publication History
Skip Abstract Section

Abstract

Transiently powered computers (TPCs) form the foundation of the battery-less Internet of Things, using energy harvesting and small capacitors to power their operation. This kind of power supply is characterized by extreme variations in supply voltage, as capacitors charge when harvesting energy and discharge when computing. We experimentally find that these variations cause marked fluctuations in clock speed and power consumption. Such a deceptively minor observation is overlooked in existing literature. Systems are thus designed and parameterized in overly conservative ways, missing on a number of optimizations.

We rather demonstrate that it is possible to accurately model and concretely capitalize on these fluctuations. We derive an energy model as a function of supply voltage and prove its use in two settings. First, we develop EPIC, a compile-time energy analysis tool. We use it to substitute for the constant power assumption in existing analysis techniques, giving programmers accurate information on worst-case energy consumption of programs. When using EPIC with existing TPC system support, run-time energy efficiency drastically improves, eventually leading up to a 350% speedup in the time to complete a fixed workload. Further, when using EPIC with existing debugging tools, it avoids unnecessary program changes that hurt energy efficiency. Next, we extend the MSPsim emulator and explore its use in parameterizing a different TPC system support. The improvements in energy efficiency yield up to more than 1000% time speedup to complete a fixed workload.

References

  1. Muhammad Hamad Alizai, Qasim Raza, Yasra Chandio, Affan A. Syed, and Tariq M. Jadoon. 2016. Simulating intermittently powered embedded networks. In Proceedings of the International Conference on Embedded Wireless Systems and Networks (EWSN’16). Junction Publishing, 35--40.Google ScholarGoogle Scholar
  2. James Allen, Matthew Forshaw, and Nigel Thomas. 2017. Towards an extensible and scalable energy harvesting wireless sensor network simulation framework. In Proceedings of the 8th ACM/SPEC on International Conference on Performance Engineering Companion (ICPE’17). ACM, New York, NY, 39--42.Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Patricia Anacleto, P. M. Mendes, E. Gultepe, and D. H. Gracias. 2012. 3D small antenna for energy harvesting applications on implantable micro-devices. In Proceedings of the Antennas and Propagation Conference (LAPC’12). IEEE, 1--4.Google ScholarGoogle Scholar
  4. ARDUINO. 2018. NANO. Retrieved from https://store.arduino.cc/usa/arduino-nano.Google ScholarGoogle Scholar
  5. Domenico Balsamo, Alex S. Weddell, Geoff V. Merrett, Bashir M. Al-Hashimi, Davide Brunelli, and Luca Benini. 2015. Hibernus: Sustaining computation during intermittent supply for energy-harvesting systems. Embed. Syst. Lett. 7, 1 (2015).Google ScholarGoogle Scholar
  6. David Benedetti, Chiara Petrioli, and Dora Spenza. 2013. GreenCastalia: An energy-harvesting-enabled framework for the castalia simulator. In Proceedings of the 1st International Workshop on Energy Neutral Sensing Systems (ENSSys’13). ACM, New York, NY, Article 7, 6 pages.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Naveed Bhatti and Luca Mottola. 2016. Efficient state retention for transiently powered embedded sensing. In Proceedings of the International Conference on Embedded Wireless Systems and Networks. 137--148.Google ScholarGoogle Scholar
  8. Naveed Anwar Bhatti and Luca Mottola. 2017. HarvOS: Efficient code instrumentation for transiently powered embedded sensing. In Proceedings of the 16th ACM/IEEE International Conference on Information Processing in Sensor Networks (IPSN’17). IEEE, 209--220.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Naveed Anwar Bhatti, Affan Ahmed Syed, and Muhammad Hamad Alizai. 2014. Sensors with lasers: Building a WSN power grid. In Proceedings of the 13th International Symposium on Information Processing in Sensor Networks (IPSN’14). 261--272.Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Naveed Anwar Bhatti, Muhammad Hamad Alizai, Affan Ahmed Syed, and Luca Mottola. 2016. Energy harvesting and wireless transfer in sensor network applications: Concepts and experiences. ACM Trans. Sensor Netw. 12, 3, Article 24 (2016), 40 pages. DOI:https://doi.org/10.1145/2915918Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Adriano Branco, Luca Mottola, Muhammad Hamad Alizai, and Junaid Haroon Siddiqui. 2019. Intermittent asynchronous peripheral operations. In Proceedings of the 17th ACM International Conference on Embedded Networked Sensor Systems (SenSys’19).Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Michael Buettner, Benjamin Greenstein, and David Wetherall. 2011. Dewdrop: An energy-aware runtime for computational RFID. In Proceedings of the 8th USENIX Symposium on Networked Systems Design and Implementation (NSDI’11).Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Andrea Castagnetti, Alain Pegatoquet, Cécile Belleudy, and Michel Auguin. 2012. A framework for modeling and simulating energy harvesting WSN nodes with efficient power management policies. EURASIP J. Embed. Syst. 2012 (2012), 8.Google ScholarGoogle ScholarCross RefCross Ref
  14. Geoffrey Werner Challen, Jason Waterman, and Matt Welsh. 2010. IDEA: Integrated distributed energy awareness for wireless sensor networks. In Proceedings of the 8th International Conference on Mobile Systems, Applications, and Services (MobiSys’10). ACM, New York, NY, 35--48.Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Alexei Colin, Graham Harvey, Brandon Lucia, and Alanson P. Sample. 2016. An energy-interference-free hardware-software debugger for intermittent energy-harvesting systems. SIGOPS Oper. Syst. Rev. 50, 2 (Mar. 2016), 577--589.Google ScholarGoogle ScholarCross RefCross Ref
  16. Alexei Colin and Brandon Lucia. 2016. Chain: Tasks and channels for reliable intermittent programs. In Proceedings of the ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA’16). ACM, New York, NY, 514--530. DOI:https://doi.org/10.1145/2983990.2983995Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Alexei Colin and Brandon Lucia. 2018. Termination checking and task decomposition for task-based intermittent programs. In Proceedings of the 27th International Conference on Compiler Construction. ACM, 116--127.Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Riccardo Dall’Ora, Usman Raza, Davide Brunelli, and Gian Pietro Picco. 2014. SensEH: From simulation to deployment of energy harvesting wireless sensor networks. In Proceedings of the IEEE 39th Conference on Local Computer Networks. 566--573.Google ScholarGoogle ScholarCross RefCross Ref
  19. Amine Didioui, Carolynn Bernier, Dominique Morche, and Olivier Sentieys. 2013. HarvWSNet: A co-simulation framework for energy harvesting wireless sensor networks. In Proceedings of the International Conference on Computing, Networking and Communications (ICNC’13). 808--812.Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Joakim Eriksson, Adam Dunkels, Niclas Finne, Fredrik Osterlind, and Thiemo Voigt. 2007. Mspsim—An extensible simulator for msp430-equipped sensor boards. In Proceedings of the European Conference on Wireless Sensor Networks (EWSN’07), Vol. 118.Google ScholarGoogle Scholar
  21. Matthew Furlong, Josiah Hester, Kevin Storer, and Jacob Sorber. 2016. Realistic simulation for tiny batteryless sensors. In Proceedings of the 4th International Workshop on Energy Harvesting and Energy-Neutral Sensing Systems (ENSsys’16). ACM, New York, NY, 23--26.Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Matthew R. Guthaus, Jeffrey S. Ringenberg, Dan Ernst, Todd M. Austin, Trevor Mudge, and Richard B. Brown. 2001. MiBench: A free, commercially representative embedded benchmark suite. In Proceedings of the IEEE International Workshop on Workload Characterization (WWC’01). IEEE, 3--14.Google ScholarGoogle Scholar
  23. Joaquín Gutiérrez, Juan Francisco Villa-Medina, Alejandra Nieto-Garibay, and Miguel Ángel Porta-Gándara. 2014. Automated irrigation system using a wireless sensor network and GPRS module. IEEE Trans. Instrument. Measure. 63, 1 (2014), 166--176.Google ScholarGoogle ScholarCross RefCross Ref
  24. Josiah Hester, Timothy Scott, and Jacob Sorber. 2014. Ekho: Realistic and repeatable experimentation for tiny energy-harvesting sensors. In Proceedings of the 12th ACM Conference on Embedded Network Sensor Systems (SenSys’14). ACM, New York, NY, 1--15.Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Josiah Hester and Jacob Sorber. 2017. Flicker: Rapid prototyping for the batteryless Internet-of-Things. In Proceedings of the 15th ACM Conference on Embedded Network Sensor Systems (SenSys’17). ACM, 19.Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Josiah Hester and Jacob Sorber. 2017. The future of sensing is batteryless, intermittent, and awesome. In Proceedings of the 15th ACM Conference on Embedded Network Sensor Systems (SenSys’17). ACM, New York, NY, Article 21, 6 pages.Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. Paul Horowitz and Winfield Hill. 1989. The Art of Electronics. Cambridge University Press.Google ScholarGoogle Scholar
  28. Texas Instruments. 2018. Getting Started with the MSP430 LaunchPad. Retrieved from https://goo.gl/6ueTEC.Google ScholarGoogle Scholar
  29. Texas Instruments. 2018. Manual. Retrieved from http://www.ti.com/lit/an/slaa336a/slaa336a.pdf.Google ScholarGoogle Scholar
  30. Texas Instruments. 2018. Power-management Integrated Chip (PMIC). Retrieved from https://goo.gl/45psWK.Google ScholarGoogle Scholar
  31. Texas Instruments. 2018. TI E2E Coummunity. Retrieved from https://goo.gl/XxrhN3.Google ScholarGoogle Scholar
  32. Texas Instruments. 2018. TI E2E Coummunity. Retrieved from https://goo.gl/dPbNkJ.Google ScholarGoogle Scholar
  33. Hrishikesh Jayakumar, Arnab Raha, Woo Suk Lee, and Vijay Raghunathan. 2015. QuickRecall: A HW/SW approach for computing across power cycles in transiently powered computers. J. Emerg. Technol. Comput. Syst. 12, 1 (2015).Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. Olaf Landsiedel, Muhammad Hamad Alizai, and Klaus Wehrle. 2008. When timing matters: Enabling time accurate and scalable simulation of sensor network applications. In Proceedings of the 7th International Conference on Information Processing in Sensor Networks (IPSN’08). 344--355. DOI:https://doi.org/10.1109/IPSN.2008.31Google ScholarGoogle ScholarDigital LibraryDigital Library
  35. Brandon Lucia, Vignesh Balaji, Alexei Colin, Kiwan Maeng, and Emily Ruppel. 2017. Intermittent computing: Challenges and opportunities. In Proceedings of the 2nd Summit on Advances in Programming Languages (SNAPL’17). Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik, Dagstuhl, Germany, 8:1--8:14.Google ScholarGoogle Scholar
  36. Brandon Lucia and Benjamin Ransford. 2015. A simpler, safer programming and execution model for intermittent systems. In Proceedings of the 36th ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI’15). ACM, New York, NY, 575--585. DOI:https://doi.org/10.1145/2737924.2737978Google ScholarGoogle ScholarDigital LibraryDigital Library
  37. Giedrius Lukosevicius, Alberto Rodriguez Arreola, and Alex S. Weddell. 2017. Using sleep states to maximize the active time of transient computing systems. In Proceedings of the 5th ACM International Workshop on Energy Harvesting and Energy-Neutral Sensing Systems (EnSys’17). ACM, 31--36.Google ScholarGoogle Scholar
  38. Kiwan Maeng, Alexei Colin, and Brandon Lucia. 2017. Alpaca: Intermittent execution without checkpoints. Proc. ACM Program. Lang. 1, Article 96 (Oct. 2017), 30 pages.Google ScholarGoogle ScholarDigital LibraryDigital Library
  39. Geoff V. Merrett, Neil M. White, Nick R. Harris, and Bashir M. Al-Hashimi. 2009. Energy-aware simulation for wireless sensor networks. In Proceedings of the 6th Annual IEEE Communications Society Conference on Sensor, Mesh and Ad Hoc Communications and Networks (SECON’09). 1--8.Google ScholarGoogle Scholar
  40. Pieter De Mil, Bart Jooris, Lieven Tytgat, Ruben Catteeuw, Ingrid Moerman, Piet Demeester, and Ad Kamerman. 2010. Design and implementation of a generic energy-harvesting framework applied to the evaluation of a large-scale electronic shelf-labeling wireless sensor network. J. Wireless Comm. Netw. 2010, 343690 (2010). DOI:https://doi.org/10.1155/2010/343690Google ScholarGoogle Scholar
  41. Kevin J. Nowka, Gary D. Carpenter, Eric W. MacDonald, Hung C. Ngo, Bishop C. Brock, Koji I. Ishii, Tuyet Y. Nguyen, and Jeffrey L. Burns. 2002. A 32-bit PowerPC system-on-a-chip with support for dynamic voltage scaling and dynamic frequency scaling. IEEE J. Solid-State Circ. 37, 11 (2002), 1441--1447.Google ScholarGoogle ScholarCross RefCross Ref
  42. Padmanabhan Pillai and Kang G. Shin. 2001. Real-time dynamic voltage scaling for low-power embedded operating systems. In ACM SIGOPS Operating Systems Review, Vol. 35. ACM, 89--102.Google ScholarGoogle Scholar
  43. Benjamin Ransford, Jacob Sorber, and Kevin Fu. 2011. Mementos: System support for long-running computation on RFID-scale devices. In Proceedings of the 16th International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS’11). 159--170.Google ScholarGoogle ScholarDigital LibraryDigital Library
  44. Alanson P. Sample, Daniel J. Yeager, Pauline S. Powledge, Alexander V. Mamishev, Joshua R. Smith et al. 2008. Design of an RFID-based battery-free programmable sensing platform. IEEE Trans. Instrument. Measure. 57, 11 (2008).Google ScholarGoogle ScholarCross RefCross Ref
  45. Antonio Sánchez, Salvador Climent, Sara Blanc, Juan Vicente Capella, and Ignacio Piqueras. 2011. WSN with energy-harvesting: Modeling and simulation based on a practical architecture using real radiation levels. In Proceedings of the 6th ACM Workshop on Performance Monitoring and Measurement of Heterogeneous Wireless and Wired Networks (PM2HW2N’11). ACM, New York, NY, 17--24.Google ScholarGoogle ScholarDigital LibraryDigital Library
  46. Victor Shnayder, Mark Hempstead, Bor-Rong Chen, and Matt Welsh. 2004. PowerTOSSIM: Efficient power simulation for TinyOS applications. In Proceedings of the ACM Conference on Embedded Network Sensor Systems (SenSys’04).Google ScholarGoogle Scholar
  47. Rebecca Smith and Scott Rixner. 2015. Surviving peripheral failures in embedded systems. In Proceedings of the USENIX Annual Technical Conference. 125--137.Google ScholarGoogle Scholar
  48. IXYS SolarMD. 2018. SLMD481H08L. Retrieved from http://ixapps.ixys.com/.Google ScholarGoogle Scholar
  49. Cristiano Tapparello, Hoda Ayatollahi, and Wendi Heinzelman. 2014. Energy harvesting framework for network simulator 3 (Ns-3). In Proceedings of the 2nd International Workshop on Energy Neutral Sensing Systems (ENSsys’14). ACM, New York, NY, 37--42.Google ScholarGoogle ScholarDigital LibraryDigital Library
  50. TI. 2018. Data Sheet. Retrieved from http://www.ti.com/lit/ds/symlink/msp430g2353.pdf.Google ScholarGoogle Scholar
  51. Joel Van Der Woude and Matthew Hicks. 2016. Intermittent computation without hardware support or programmer intervention. In Proceedings of the 12th USENIX Conference on Operating Systems Design and Implementation (OSDI’16). USENIX Association, Berkeley, CA, 17--32. Retrieved from http://dl.acm.org/citation.cfm?id=3026877.3026880.Google ScholarGoogle ScholarDigital LibraryDigital Library
  52. Kasim Sinan Yildirim, Amjad Yousef Majid, Dimitris Patoukas, Koen Schaper, Przemyslaw Pawelczak, and Josiah Hester. 2018. InK: Reactive kernel for tiny batteryless sensors. In Proceedings of the ACM Conference on Embedded Network Sensor Systems (SenSys’18).Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Demystifying Energy Consumption Dynamics in Transiently powered Computers

    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

    HTML Format

    View this article in HTML Format .

    View HTML Format
    About Cookies On This Site

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

    Learn more

    Got it!