This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: MSP430FR6989
Hi, thanks for coming help!
I am looking for a solution to measure energy of low power embedded systems, including MSP430 mcus.
I know about ETT, but it is not a nice option for me because it only gives me graphical results, and I actually need numerical results in order to manipulate.
For while, I am thinking about use an OpAmp with a shunt resistor and a ADS1224.
What calculations are you hoping to do with the data? The Energy Trace tool in CCS should be able to give numerical average current values for your application. Depending on the accuracy needed for your calculations, you could also use the cursors on the graphical results of Energy Trace to get rough numerical power and time values from the plotted data. All the options for Energy Trace are described in the CCS User's Guide.
There is also test equipment available that can act as a power source to your board and simultaneously take high precision measurements of voltage and current.
Do you want to take measurements for benchmarking your design or do you want to be able to take measurements in your finalized system? For a lower cost option or solution that is embedded directly into your system, you could use a shunt resistor and amplifier as you said. Depending on the precision of the measurements that you need, you could directly use the MSP430FR6989 ADC to take differential voltage measurements and store them in FRAM to readout later or output directly to another device. This would increase current consumption of your system, however.
For higher resolution measurements, you could use the ADS1224 as you said, but you would need to output the data to another device as samples are taken because the ADS1224 has no built-in memory to store data.
If you want the measurement tool to be separated from your system, you can use another MSP430 device with a built-in ADC to gather and store data. MSP430 parts can be compared here.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
I suggest to look at TI's INA233. It has 16-bit accuracy, voltage, current, power, corresponding accumulators. It can measure and accumulate power consumption even when your device is in reset or power down mode.
My avatar is not a flower. This is just a specific representation of the function f(x)=x^2+c.
In reply to Ryan E Meredith:
Hi Ryan, 1. I hope to get energy consumption information in order to compare codes execution consumption, make tests, predict how long a battery or other supply source is going to last , scheduling, and other variables that demands energy information. About the numbers, I can study CCS's User Guide for checking it, but It would limit my measurement to TI's devices supported by ETT. And our goal it to have a tool for different MCUs.2. What test equipments do you refer?3. We want to have an isolated system to measure energy, even because an integrated measuring systems would also waste energy, then the results would be affected by the own system.
First I thought about using my own MSP4306989 and its differential ADC as you said to read a shunt and send me to a PC via serial (where it will finally be used) . The configuration I thought was this one I saw in a paper (It's attached), but I have just discovered I couldn't use the differential ADC from the MSP430fr6989 because of 2 things: First because the Vin+ would be bigger than the Vref+ because of the use of the OpAmp, and second because in the differential mode I would loose the bits resolution in half (because of the negative and positive values).
4. For while I thought about using the ADC1224 with some interface to send it for a PC.
5. I liked the idea from Alexey, but is INA223 able to measure low currents (those at the range of LPM modes) ? From what I saw it seems also to use shunt resistor, ok?
In reply to Alexey Bagaev:
In reply to Sara Souza:
Actually this is not my scheme. It was suggested in a paper that was published at IEEE journal. (Attached).
But thanks anyway!
Hi Sara, I had similar problem in my last low power project. Very low current (few uA) most time and regular and unregular current peaks (about 10mA). Determining number of years of battery life was difficult to calculate or to measure using typical measurement instruments. Finally I tried EnergyTrace supported by any of MSP430FR launchpad (look for promotional one for $4,30 ;) I wrote my own application in Visual Studio C# that commucates with EnergyTrace module via msp430.dll. My application gets measured energy value for defined time period and transforms it to average current in that period. Result is accurate enough to my needs (TI says 2%+0.5uA). Teoretical resolution is 0.1uA. I use periods adequate to what I need to measure and simulate (sometimes 2 seconds, sometimes 30 second). This module measures energy not current so it is accurate. EnergyTrace module doesn't have to be connected to destination microcontroller programming interface. It's enough to connect VCC and GND only, so we can test not only dedicated microcontrollers. In the future I plan to make this application more complex (graphs, charts etc).
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.