Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering

Dynamic power management in IoT devices

By Usman ali Butt

In recent decades, the increase in demand for low power solutions required the development of new algorithms and clever techniques, which could save energy and guarantee a long-lasting shelf life of a standalone solution powered by batteries.

Three key parameters and components of a general electronic solution are the semiconductor, software, and power for operation. Semiconductor chips usually last longer if programmed bug-free changes are mild. The third parameter —power — is something that could bring down the system before the semiconductor itself is corroded.

There are many ways to save energy, such as supply voltage scaling, clock gating, frequency and capacitance decrease, etc.

In this article, we will see how to save battery power by implementing dynamic power management, which could lead to a longer shelf-life.

What is dynamic power management?

A given system module and its peripherals are not always in run state. Individual peripherals or whole systems could be taken to low power state depending on energy-saving policies.

Power consumption of a typical IoT device is dependent on the workload, which is the useful activity required to complete a task. The workload is usually represented as current consumption by a particular processing unit in different states.

For example, in the workload figure below, the duty cycle is divided into two states 1) Active and 2) Idle. In the active state, the processor/control unit is performing some operation. Whereas in idle state, the processor is not processing any data. Note, even when the processor is in idle state, it is still consuming power but on a much lesser scale.

In an active state, the processor is performing three tasks sensing data, computing it, and transmission to output. Energy consumed by each task is highlighted in different colors. The total energy consumed in an active state is the combined area under the squares of all tasks.

A system can have more than one power state. PSM (power state machine) defines the power consumption and nodes represent the states and power consumed in each state. Vectors represent the time and power required for transition between states. For example, Intel Xscale processors have four states.

To get the best out of a given system, PSM and workload must determine an optimal allocation of power states to save energy.

In the above case, the power state is allotted depending on the workload. We lose power in prediction and power, plus the time spent in switching to the next state.

What about saving time by pre-wakeup?

In this case, the time penalty is overcome, but the wakeup power penalty is still present. Pre-wakeup is based on an estimation of the idle time. This technique does not perform well if the idle time is mispredicted. However, if we predict the accurate idle time, we can save energy at a higher amount. The only power loss then is the transition cost.

Researchers have come up with different policies to exploit the power state and time.

Predictive policies

In predictive policies, the idle time is predicted depending on a threshold. The threshold is known as break-even time. Break-even time is the minimum idle time necessary to cover up the shutdown cost. In predictive policies, the chances of underprediction and overprediction are always present. Underprediction creates power waste, whereas overprediction creates a power penalty.

Time out policy

With the time out policy, you put the device in shutdown state based on a predefined timeout, which is usually breakeven time. Since breakeven time covers up the cost of the shutdown, taking it as a timeout makes sense. This policy covers the shutdown cost. Depending on the system, time out can be varied. Time out policy covers the shutdown cost but the system always suffers from wakeup penalty.

History-based policies

In history-based policies, the previous active times are taken under consideration, and the next idle period is predicted on the bases of active periods. In history-based policies, it is assumed that long idle periods are followed by short active periods. This prediction might not always be correct, but it saves energy in most of the cases.

Many more algorithms and policies are popping up year by year. All have some tradeoffs, but we can’t ignore them.

Dynamic power management yields significant power savings and performance improvement. The solution for individual system heavily depends on the workload and policy implemented.


Filed Under: Microcontroller Projects, Recent Articles

 

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


Featured Tutorials

  • Introduction to Brain Waves & its Types (Part 1/13)
  • Understanding NeuroSky EEG Chip in Detail (Part 2/13)
  • Performing Experiments with Brainwaves (Part 3/13)
  • Amplification of EEG Signal and Interfacing with Arduino (Part 4/13)
  • Controlling Led brightness using Meditation and attention level (Part 5/13)
  • Control Motor’s Speed using Meditation and Attention Level of Brain (Part 6/13)

Stay Up To Date

Newsletter Signup

Sign up and receive our weekly newsletter for latest Tech articles, Electronics Projects, Tutorial series and other insightful tech content.

EE Training Center Classrooms

EE Classrooms

Recent Articles

  • Key factors to optimize power consumption in an embedded device
  • EdgeLock A5000 Secure Authenticator
  • How to interface a DS18B20 temperature sensor with MicroPython’s Onewire driver
  • Introduction to Brain Waves & its Types (Part 1/13)
  • An Embedded Developer’s Perspective on IOT (Internet of Things)

Most Popular

5G 555 timer circuit 8051 ai Arduino atmega16 automotive avr bluetooth dc motor display Electronic Part Electronic Parts Fujitsu ic infineontechnologies integratedcircuit Intel IoT ir lcd led maximintegratedproducts microchip microchiptechnology Microchip Technology microcontroller microcontrollers mosfet motor powermanagement Raspberry Pi remote renesaselectronics renesaselectronicscorporation Research samsung semiconductor sensor software STMicroelectronics switch Technology vishayintertechnology wireless

RSS EDABOARD.com Discussions

  • Dynamic power consumption.
  • Limits of duty cycle for ICM7555 IC?
  • pmos folded cascode vs nmos folded cascode for LDO
  • Pic 16f877A Hex file
  • Need help to choose accelerometer

RSS Electro-Tech-Online.com Discussions

  • Need help working with or replacing a ferrite tube
  • Help wanted to power an AC120v induction motor ( edited from Brushless motor - thank you @SHORTBUS= )
  • Funny Images Thread!
  • How does a NOAC work?
  • How to designing a battery charging indicator circuit for 18650 battery pack
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • About Us
  • Contact Us
  • Advertise

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering