<div dir="ltr">Chip!<div><br></div><div>I'm used to seeing power supply efficiency as a function of load and mainly when load is unknown such as a generic power supply.  I don't think you really need such a measurement over various load currents for your thingy.  I think your thingy has a specific load profile and you want to use it for your test.  I'm thinking you want to tweak your circuits, evaluate other power supplies, change software, etc to get more <i>relative </i>battery life.</div>
<div><br></div><div>Here's my suggestion to evaluate changes and how efficient your power supply + thingy operate:</div><div>1.  Use the actual load of the micro and circuitry but have it wake up more often and take a measurement, or not go to sleep, making constant measurements.  The goal here is to increase load for shorter test times but keep same load profile.  Depending on #4, you may not need to change anything.</div>
<div>2.  Have the thingy output a count value that is the count since power ON and record this count value.</div><div>3.  I'm assuming your have an under voltage lockout or some hysteresis in your power supply such that it doesn't stutter as input voltage gets too low.</div>
<div>4.  Use a BFC as a power source, charge it up, with to Vin with SPST switch (and resistor), then discharge it into your power supply that feeds the thingy.  Try a 10,000uF or do some time math to target a desired run time.</div>
<div>5.  Measure the count value until it stops counting - when the voltage in BFC is too low.  Run it 5X and make sure its consistent - take an average of the run times for a specific configuration.</div><div><br></div><div>
You can use this count value to evaluate how efficient changes in your design are.  This will be a faster test than your actual application.  Then you can do long term testing using a real battery and real application but it should correlate to this fast efficiency test.  You could also calculate energy/run-time which is an efficiency metric.  The voltage decay of the battery will not be the same as for a capacitor but I don't think that matters much for your test.</div>
<div class="gmail_extra"><br clear="all"><div><div dir="ltr"><br> Jim Sugaroo<br> -------------------<br>   ---------------<br>     -----------<br>      ---   ---<br>      --     --<br>      --     --<br>       -     -</div>
</div>
<br><br><div class="gmail_quote">On Tue, Jun 24, 2014 at 1:00 PM,  <span dir="ltr"><<a href="mailto:triembed-request@triembed.org" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=triembed-request@triembed.org&cc=&bcc=&su=&body=','_blank','location=yes,menubar=yes,resizable=yes,width=800,height=600');return false;">triembed-request@triembed.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send TriEmbed mailing list submissions to<br>
        <a href="mailto:triembed@triembed.org" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=triembed@triembed.org&cc=&bcc=&su=&body=','_blank','location=yes,menubar=yes,resizable=yes,width=800,height=600');return false;">triembed@triembed.org</a><br>

<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:triembed-request@triembed.org" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=triembed-request@triembed.org&cc=&bcc=&su=&body=','_blank','location=yes,menubar=yes,resizable=yes,width=800,height=600');return false;">triembed-request@triembed.org</a><br>

<br>
You can reach the person managing the list at<br>
        <a href="mailto:triembed-owner@triembed.org" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=triembed-owner@triembed.org&cc=&bcc=&su=&body=','_blank','location=yes,menubar=yes,resizable=yes,width=800,height=600');return false;">triembed-owner@triembed.org</a><br>

<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of TriEmbed digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Power Supply Testing - Am I over or under thinking this?<br>
      (Charles McClelland)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 24 Jun 2014 11:29:13 -0400<br>
From: Charles McClelland <<a href="mailto:chip@mcclellands.org" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=chip@mcclellands.org&cc=&bcc=&su=&body=','_blank','location=yes,menubar=yes,resizable=yes,width=800,height=600');return false;">chip@mcclellands.org</a>><br>

To: TriEmbed Discussion <<a href="mailto:triembed@triembed.org" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=triembed@triembed.org&cc=&bcc=&su=&body=','_blank','location=yes,menubar=yes,resizable=yes,width=800,height=600');return false;">triembed@triembed.org</a>><br>

Subject: [TriEmbed] Power Supply Testing - Am I over or under thinking<br>
        this?<br>
Message-ID: <<a href="mailto:D55875FF-1168-4B93-8026-22727767AC2E@mcclellands.org" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=D55875FF-1168-4B93-8026-22727767AC2E@mcclellands.org&cc=&bcc=&su=&body=','_blank','location=yes,menubar=yes,resizable=yes,width=800,height=600');return false;">D55875FF-1168-4B93-8026-22727767AC2E@mcclellands.org</a>><br>

Content-Type: text/plain; charset="windows-1252"<br>
<br>
To all,<br>
<br>
In my never ending pursuit of longer battery life and / or less batteries, I have been exploring moving from a linear DC-DC converter to a switching power converter.<br>
<br>
TI was gracious enough to send me some samples of their TPS63031 Buck-Boost Switching Power Supply which requires few external components and with their WEBench and Switcher Pro tools, Pete and I were able to create a simple board to test this chip.  Pete lent his expertise and lessons learned in working with these tiny QFN packages and we were able to build one of these boards over the weekend.<br>

<br>
Now I need to test it.  I wanted to share my approach with this group to make sure I am headed down the right track.<br>
<br>
Major components:<br>
        - The TPS63031 which should maintain a constant 3.3V output as the batteries drain from 5.5V to 1.8V<br>
        - A data logger<br>
        - Arduino (5V)<br>
        - Battery packs of various types up to 5.5V<br>
        - Some sort of load (like a 13.2 ohm 1W resistor)<br>
        - A ?high-side? current sensor like this one  from Adafruit which has an i2C output<br>
        - A Real Time Clock like the DS1307<br>
<br>
Here is the under / over thinking part.  In the end, I want to have a rough idea how efficient this device is and whether is can maintain a constant 3.3V voltage and 250mA current while the batteries run down.<br>
<br>
My proposed approach is:<br>
        - Three power rails (Vin for the Power Supply, Vout for the Power Supply and 5V for the Arduino) and a common ground<br>
        - A ?load? resistor connecting the Vout to ground<br>
        - A current / voltage sensor to measure on Vin<br>
        - I would then ask the Arduino to log the following every 30 seconds or so - Vin, Iin and Vout<br>
        - As long as the supply is delivering the 3.3V output, calculating Iout would be the voltage divided by the fixed load reisitance<br>
<br>
After the batteries die (Vout drops below 3.3V), I could calculate the efficiency as the following:<br>
<br>
        - Instantaneous Efficiency % = (Vout * Iout) / (Vin * Iin) *100<br>
        - I think I could simply integrate the instantaneous efficiency over the duration of the test to get the overall efficiency.<br>
<br>
Am I thinking of this correctly?<br>
<br>
Thanks,  Chip<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20140624/379e9912/attachment-0001.html" target="_blank">http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20140624/379e9912/attachment-0001.html</a>><br>

<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
TriEmbed mailing list<br>
<a href="mailto:TriEmbed@triembed.org" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=TriEmbed@triembed.org&cc=&bcc=&su=&body=','_blank','location=yes,menubar=yes,resizable=yes,width=800,height=600');return false;">TriEmbed@triembed.org</a><br>

<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
<br>
<br>
------------------------------<br>
<br>
End of TriEmbed Digest, Vol 13, Issue 17<br>
****************************************<br>
</blockquote></div><br></div></div>