Global Sources
EE Times-Asia
Stay in touch with EE Times Asia
?
EE Times-Asia > Power/Alternative Energy
?
?
Power/Alternative Energy??

Tips for accurate estimation of battery life

Posted: 24 Oct 2014 ?? ?Print Version ?Bookmark and Share

Keywords:battery life? microcontrollers? embedded system? budget analysis? Rate Monotonic Analysis?

The second factor that should be kept in mind is the peak current draw from the embedded system. Any battery is rated for a certain number of milliamp hours (mAh) of operation, but when the battery is partially discharged, it is possible that peak current can cause the battery voltage to dip into or below its brown out value. The result will be a dead embedded system long before the battery has truly discharged all of its energy.

Tip no. 6: Compiler vendor tools
Once the battery life analysis has reached the bench testing phase, there are some very exciting compiler-related tools that can be used to verify system assumptions. These tools have the capability to monitor how much energy the system is using at frequencies of 200kHz! What is even better is that they allow the current draw of the system and the code that is being executed to be correlated! An example can be seen in figure 4.

Figure 4: IAR Workbench and I-Scope System Profile. (Click on image to enlarge)

Using such a tool, a developer can then review the profile, determine which tasks or functions are drawing the largest amount of energy from the battery, and focus any low-power optimisations in these areas. There are even tool options that will record how much execution time is spent in which functions, so that the developer can determine which functions and/or tasks are CPU hogs!

Tip no. 7: Get a second opinion
It never hurts¡ªespecially when a development cycle or product launch is in jeopardy or critical to the survival of a company¡ªto get a second set of eyes in on the analysis. Whether the person is a coworker or a third party, having another engineer review the estimate and supporting data will result in information and ideas that may not have been considered by the original developer. This greatly helps to ensure that nothing "falls through the cracks" and that¡ªwhen the product launch day draws near¡ªthe members of the design team are confident that the system will not run out of juice before its time. The result is not only a happy boss, but happy users who aren't frustrated by having to recharge their devices partway through the day.

About the author
Jacob Beningo is an embedded systems consultant and lecturer who specialises in the design of resource-constrained and low-energy devices. He works with companies to decrease costs and time to market while maintaining a quality and robust product. He is an avid tweeter, a tip-and-trick guru, a home brew connoisseur, and a fan of pineapple!

To download the PDF version of this article, click here.


?First Page?Previous Page 1???2???3



Article Comments - Tips for accurate estimation of batt...
Comments:??
*? You can enter [0] more charecters.
*Verify code:
?
?
Webinars

Seminars

Visit Asia Webinars to learn about the latest in technology and get practical design tips.

?
?
Back to Top