journal article·2021-03-14Open access

An Energy-Efficient Strategy for Microcontrollers

Huanjie Wu, Chun Chen, Kai Weng

Applied Sciences· Volume 11· Issue 6

Abstract

Power saving has always been an important research direction in the field of microcontrollers. Dozens of low power technologies have been proposed to achieve the goal of reducing their power consumption. However, most of them focus mostly on lowering the consumption rate. It is well known that energy is the integral of power over time. Thus, our view is that both power and time should be carefully considered to achieve better energy efficiency. We reviewed some commonly used low power technologies and proposed our assumptions and strategy for improving energy efficiency. A series of test sets are designed to validate our hypotheses for improving energy efficiency. The experimental results suggest that time has no less impact on energy consumption than power. To support the operation of the processor, some peripheral components consume a constant amount of power regardless of the clock frequency, but the power consumption will be reduced when the processor enters low-power modes. This results in some interesting phenomena that are different from the usual thinking that energy can be saved by increasing processor clock frequency. For STM32F407 and Xtensa LX6 processors, this article also analyzes and calculates the minimum sleep time required for achieving energy saving based on our analytical models. Our energy efficiency strategy has been verified, and in some cases, it can indeed improve energy efficiency. We also proposed some suggestions on hardware design and software development for better energy efficiency.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Green IT and Sustainability · Parallel Computing and Optimization Techniques · Embedded Systems Design Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

College of Computer Science and Technology, Zhejiang University, Hangzhou 310027, China

References (39)

Show source-provided references
1. Power Management and Green Computing: An Operating System Prospective
2. A Comprehensive Survey on Energy-Efficient Power Management Techniques10.1016/j.procs.2020.03.432 ↗
3. Microprocessor Optimizations for the Internet of Things: A Survey10.1109/TCAD.2017.2717782 ↗
4. Sun, L., Sheshadri, R.K., Zheng, W., and Koutsonikolas, D. (July, January 30). Modeling WiFi Active Power/Energy Consumption in Smartphones. Proceedings of the 2014 IEEE 34th International Conference on Distributed Computing Systems, Madrid, Spain.10.1109/ICDCS.2014.13 ↗
5. The Power of Models: Modeling Power Consumption for IoT Devices10.1109/JSEN.2015.2445094 ↗
6. Accurate power modeling of modern mobile application processors10.1016/j.sysarc.2017.10.001 ↗
7. Modeling of smartphones’ power using neural networks10.1186/s13639-017-0070-1 ↗
8. Anantha, C.P., Denis, D.C., Joyce, D.C., and Yogesh, R.K. (2008, January 18–20). Next generation micro-power systems. Proceedings of the 2008 IEEE Symposium on VLSI Circuits, Honolulu, HI, USA.
9. The Emergence of RF-Powered Computing10.1109/MC.2013.404 ↗
10. Gudan, K., Chemishkian, S., Hull, J.J., Reynolds, S.M., and Thomas, S. (2012, January 28–31). Feasibility of wireless sensors using ambient 2.4GHz RF energy. Proceedings of the 2012 IEEE SENSORS, Taipei, Taiwan.10.1109/ICSENS.2012.6411176 ↗
11. Li, C., Zhang, W., Cho, C.B., and Li, T. (2011, January 12–16). SolarCore: Solar energy driven multi-core architecture power management. Proceedings of the 2011 IEEE 17th International Symposium on High Performance Computer Architecture, San Antonio, TX, USA.10.1109/HPCA.2011.5749729 ↗
12. Raghunathan, V., Kansal, A., Hsu, J., Friedman, J., and Srivastava, M. (2005, January 15). Design considerations for solar energy harvesting wireless embedded systems. Proceedings of the IPSN 2005 Fourth International Symposium on Information Processing in Sensor Networks, Boise, ID, USA.
13. Hua, S., and Qu, G. (2003, January 9–13). Approaching the maximum energy saving on embedded systems with multiple voltages. Proceedings of the IEEE/ACM International Conference on Computeraided Design, San Jose, CA, USA.
14. Gheorghita, S.V., Basten, T., and Corporaal, H. (2006, January 14–15). Application Scenarios in Streaming-Oriented Embedded System Design. Proceedings of the International Symposium on System-on-Chip, Tampere, Finland.10.1109/ISSOC.2006.321995 ↗
15. Fine-grained dynamic voltage and frequency scaling for precise energy and performance tradeoff based on the ratio of off-chip access to on-chip computation times
16. Saewong, S., and Rajkumar, R. (2003, January 30). Practical voltage-scaling for fixed-priority RT-systems. Proceedings of the 9th IEEE Real-Time and Embedded Technology and Applications Symposium, Toronto, ON, Canada.
17. Quan, G., and Hu, X. (2001, January 9–14). Energy efficient fixed-priority scheduling for real-time systems on variable voltage processors. Proceedings of the 38th Annual Design Automation Conference, Taipei, Taiwan.10.1145/378239.379074 ↗
18. Kan, E.Y.Y., Chan, W.K., and Tse, T.H. (2010, January 14–15). Leveraging Performance and Power Savings for Embedded Systems Using Multiple Target Deadlines. Proceedings of the 2010 10th International Conference on Quality Software, Zhangjiajie, China.10.1109/QSIC.2010.59 ↗
19. (2019, March 08). STM32F405/415, STM32F407/417, STM32F427/437 and STM32F429/439 Advanced Arm®-based 32-bit MCUs—Reference Manual. Available online: https://www.st.com/resource/en/reference_manual/dm00031020-stm32f405415-stm32f407417-stm32f427437-and-stm32f429439-advanced-armbased-32bit-mcus-stmicroelectronics.pdf.
20. Li, D., Chou, P.H., and Bagherzadeh, N. (2002, January 11). Mode selection and mode-dependency modeling for power-aware embedded systems. Proceedings of the ASP-DAC/VLSI Design 2002, 7th Asia and South Pacific Design Automation Conference and 15h International Conference on VLSI Design, Bangalore, India.
21. Hoeller, A.S., Wanner, L.F., and Fröhlich, A.A. (2006, January 11–13). A Hierarchical Approach for Power Management on Mobile Embedded Systems. Proceedings of the IFIP Working Conference on Distributed and Parallel Embedded Systems, Braga, Portugal.10.1007/978-0-387-39362-9_28 ↗
22. Huang, K., Santinelli, L., Chen, J., Thiele, L., and Buttazzo, G.C. (2010, January 18–21). Adaptive power management for real-time event streams. Proceedings of the 2010 15th Asia and South Pacific Design Automation Conference (ASP-DAC), Taipei, Taiwan.10.1109/ASPDAC.2010.5419928 ↗
23. Bhatti, K., Belleudy, C., and Auguin, M. (2010, January 11–13). Power Management in Real Time Embedded Systems through Online and Adaptive Interplay of DPM and DVFS Policies. Proceedings of the 2010 IEEE/IFIP International Conference on Embedded and Ubiquitous Computing, Hong Kong, China.10.1109/EUC.2010.35 ↗
24. Niu, L., and Quan, G. (2004, January 22–25). Reducing both dynamic and leakage energy consumption for hard real-time systems. Proceedings of the 2004 international conference on Compilers, Architecture, and Synthesis for Embedded Systems, Washington, DC, USA.10.1145/1023833.1023854 ↗
25. An energy-efficient sleep scheduling with QoS consideration in 3GPP LTE-advanced networks for Internet of things10.1109/JETCAS.2013.2243631 ↗
26. A case and framework for code analysis–based smartphone application energy estimation10.1002/dac.3235 ↗
27. Chen, N. (2015). Research and Implementation of Low Power Technology for Embedded Real-Time Operating System. [Master Thesis, University of Electronic Science and Technology of China].
28. (2018, July 31). Optimize Options (Using the GNU Compiler Collection (GCC)). Available online: https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html.
29. (2018, July 31). Arm Compiler User Guide. Available online: https://developer.arm.com/documentation/100748/0610.
30. Chung, E.Y., Benini, L., and Micheli, G.D. (October, January 30). Source code transformation based on software cost analysis. Proceedings of the 14th International Symposium on Systems Synthesis, Montreal, QC, Canada.
31. Dzhagaryan, A., and Milenković, A. (2014, January 28–29). Impact of thread and frequency scaling on performance and energy in modern multicores: A measurement-based study. Proceedings of the 2014 ACM Southeast Regional Conference, Kennesaw, GA, USA.10.1145/2638404.2638473 ↗
32. Kim, W., Gupta, M.S., Wei, G., and Brooks, D. (2008, January 16–20). System level analysis of fast, per-core DVFS using on-chip switching regulators. Proceedings of the 2008 IEEE 14th International Symposium on High Performance Computer Architecture, Salt Lake City, UT, USA.
33. Jiangwei, H. (2006, January 16–18). Partitioning the Program into different regions using dynamic and Static Approach with kernel-Assisted in Power management for Embedded System. Proceedings of the 2006 IEEE International Conference on Information Reuse & Integration, Waikoloa, HI, USA.10.1109/IRI.2006.252437 ↗
34. Pinheiro, D., Gonc¸alves, R., Valentin, E., Oliveira, H., and Barreto, R. (2017, January 6–10). Inserting DVFS Code in Hard Real-Time System Tasks. Proceedings of the 2017 VII Brazilian Symposium on Computing Systems Engineering, Curitiba, Brazil.10.1109/SBESC.2017.10 ↗
35. Kuehn, P.J., and Mashaly, M. (2019, January 22–24). DVFS-Power Management and Performance Engineering of Data Center Server Clusters. Proceedings of the 2019 15th Annual Conference on Wireless On-demand Network Systems and Services (WONS), Wengen, Switzerland.10.23919/WONS.2019.8795470 ↗
36. Wu, H. (2019, January 20–22). An Automatic Energy Consumption Measuring Platform for Embedded Systems. Proceedings of the 2019 6th International Conference on Information Science and Control Engineering (ICISCE), Shanghai, China.10.1109/ICISCE48695.2019.00199 ↗
37. Wu, H. (2020). Two Designs of Automatic Embedded System Energy Consumption Measuring Platforms Using GPIO. Appl. Sci., 10.10.3390/app10144866 ↗
38. (2017, June 10). Series 2280S Precision Measurement, Low Noise, Programmable DC Power Supplies Datasheet. Available online: https://download.tek.com/datasheet/1KW-50894-0_2280S_Datasheet_040219.pdf.
39. (2019, March 08). STM32F407/417-STMicroelectronics. Available online: https://www.st.com/en/microcontrollers-microprocessors/stm32f407-417.html.