Power Management – Hardware Software Co-design

The performance of embedded devices is highly dependent on adequate power consumption management. Embedded devices are being packed with more and more features while the power budget has not changed much. This warrants effective power management using the available hardware and software resources.

There are different levels at which Power Management can be implemented – from energy efficient peripherals and adaptive digital systems to power aware software programs. Traditionally, power management has been about switching on/off devices as required for a particular use. Recent developments in technologies have enabled chips with dynamic voltage and frequency scaling capabilities which is generally seen in microprocessors. The software ecosystem provides mechanisms starting from build time set ups to application software to make the implementation power sensitive. Starting from CPU scaling to set the core processor in a dynamically adaptive scaling based on load to a power management infrastructure that can sense the power budget available and control application launches, these software setups provide considerable power management capabilities.

While designing a low power embedded device, it is important to choose the right hardware components that can be put to power down modes and enable software to put hardware modules into different states of activity based on requirements for effective power management. Hardware design inherently can bring in reliable real-time performance while software designs bring in flexibility and configurability .Thereby; hardware software co-design increases the effectiveness of power management manifold.

An interesting example of hardware software co-design in power management is battery management in smart phones. When the battery level in your smart phone goes below certain levels, some of the services are automatically disabled. This is because of the hardware- software co-design in smart phones. Battery management is done using the battery charger chip and a fuel gauge chip in hardware that performs power path management and also provides battery statistics. Software then needs to consistently monitor battery statistics and helps policy manager to take decisions on power budget allocation to requests from applications. This is why certain requests like playing a video or audio clip will indicate a low battery signal. When the device is inactive, the policy manager automatically puts the device into power saving mode.

Hardware software co-design is imperative for efficient power management given the present day design challenges of time to market, cost, energy efficiency and ever increasing product features and design complexity. It comes with its own set of dynamism and complexities, which when handled with diligence and focus, yields great results. As a designer, hardware software co-design is a very powerful tool for efficient power management and to meet system demands in an optimized manner.

 

*Published in EE Times India