<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PowerProfiler 2: How to set up ampere-mode properly?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111917/powerprofiler-2-how-to-set-up-ampere-mode-properly</link><description>Hi guys, I&amp;#39;m trying to measure deep-sleep current of my application quite precisely to obtain a reference measurement to evaluate against for further improvements. The setup is as follows: I connect a battery in ampere mode. Here, I&amp;#39;m struggling between</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jun 2024 07:01:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111917/powerprofiler-2-how-to-set-up-ampere-mode-properly" /><item><title>RE: PowerProfiler 2: How to set up ampere-mode properly?</title><link>https://devzone.nordicsemi.com/thread/488220?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 07:01:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da653839-8c5a-4de3-98e4-5ea161934c09</guid><dc:creator>danielschultz</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;Thank you for clarification. That did the trick regarding the triangle-wave measurements. Guess also I caught the change of resistor in the 5 mA range was caught here (0.5Vpk, 2V offset):&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1718089080698v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Will try to&amp;nbsp;see if I can get good results with the good suggestion by&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/hmolesworth"&gt;hmolesworth&lt;/a&gt;&amp;nbsp;!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PowerProfiler 2: How to set up ampere-mode properly?</title><link>https://devzone.nordicsemi.com/thread/488174?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 16:17:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44149c57-416d-48b0-a740-788577dd9301</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Do check:&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ug_ppk2/page/UG/ppk/ppk_power_supply_specs.html"&gt;https://docs.nordicsemi.com/bundle/ug_ppk2/page/UG/ppk/ppk_power_supply_specs.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;DUT voltage must be between 0.8-5V. Can you repeat the test for instance with offset 3V and 300mV amplitude?&lt;/p&gt;
&lt;p&gt;Edit: I believe the measurement resistors will be changed around 50uA, 500uA, 5mA and 50mA, with some hysteresis depending on whether current is increasing or decreasing.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PowerProfiler 2: How to set up ampere-mode properly?</title><link>https://devzone.nordicsemi.com/thread/488173?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 16:16:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb97e574-540a-4851-b5dc-40b164f80f03</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;I never found out the transition switching times for the different measurement ranges, but with some loss of precision some of the switching disturbances can be defeated by using a known calibrated constant current in addition to the DUT current by using (say) a 0.1% (or even 1%) resistor in parallel with the DUT (to minimise number of current ranges used) and subtracting that constant current from the result.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// Resistor Rc for current sense is 1k0 in parallel with one or more of 110R, 11R0, 1R0 and 0R051
//
//              &amp;lt;- +ve Supply to DUT From VOUT                               External Battery +ve To VIN
//             +------------------------------+                             +-----------------------+
//             |                              |                             |                       |
//             |              +---------+     |                             |     +---------+       |
//             |              |     GND |     | VOUT                   VIN  |     | GND -ve |       |
//   +=========O=========+    |    +====O=====O=============================O=====O====+    |       | Battery
//   |        Vdd (+)    |    |    |    |     #----+                        |     |    |    |       | + 3 volts
//   |                   |    |    |    |     |    |Rc        AMPERE \      |     |    |    |     +-O-+
//   |                   |    |    |    |     |   +++                 \     |     |    |    |     |   |
//   |                   |    |    |    |     |   | |   +-----------O  O----#     |    |    |     |   |
//   | Device Under Test |    |    |    |     |   | |   |                   |     |    |    |     |   |
//   |       DUT         |    |    |    | 120k|   | |   |                   |120k |    |    |     |   |
//   |                   |    |    |    |    +++  +++   |   \  SOURCE      +++    |    |    |     |   |
//   |                   |    |    |    |    | |   |    |    \             | |    |    |    |     +-O-+
//   |                   |    |    |    |    | |   +----#--O  O-- PPK LDO  | |    |    |    |       | Gnd (-)
//   |                   |    |    |    |    | |                           | |    |    |    +-------+
//   |                   |    |    |    |    +++                           +++    |    |
//   |                   |    |    |    |     |                             |     |    |
//   |                   |    |    |    |     #-- VDUT                VIN --#     |    |
//   |                   |    |    |    |     |  Sense                Sense |     |    |
//   |                   |    |    |    |    +++                           +++    |    |
//   |                   |    |    |    |    | |                           | |    |    |
//   |                   |    |    |    |    | |                           | |    |    |
//   |                   |    |    |    |    | |                           | |    |    |
//   |                   |    |    |    |    +++                           +++    |    |
//   |                   |    |    |    |     | 30k                     30k |     |    |
//   |                   |    |    |    +--#--+                             +--#--+    |
//   |                   |    |    |       |                                   |       |
//   |                   |    |    |     =====      &amp;lt;&amp;lt;== Common Gnd ==&amp;gt;&amp;gt;     =====     |
//   |                   |    |    |      ===           (Common -ve)          ===      |
//   |        Gnd (-)    |    |    |       =                                   =       |
//   +=========O=========+    |    +===================================================+
//             |              |     PPK-II
//             +--------------+&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PowerProfiler 2: How to set up ampere-mode properly?</title><link>https://devzone.nordicsemi.com/thread/488154?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 13:25:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9405625-27ca-4b84-9c45-756896fb4818</guid><dc:creator>danielschultz</dc:creator><description>&lt;p&gt;Using setup 1, I applied a 1Vp triangle with 1V offset and measured the current through a 470 ohm resistor to span over approximately the same current range as my DUT in deepsleep:&lt;br /&gt;&lt;img style="max-height:314px;max-width:495px;" height="314" src="https://devzone.nordicsemi.com/resized-image/__size/990x628/__key/communityserver-discussions-components-files/4/pastedimage1718026513247v4.png" width="495" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:586px;max-width:489px;" height="586" src="https://devzone.nordicsemi.com/resized-image/__size/978x1172/__key/communityserver-discussions-components-files/4/pastedimage1718026494020v3.png" width="489" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Something strange happens&amp;nbsp;in some of these transitions, not outputting a triangular symmetric waveform. About ~500 uA a rapid transition occurs downwards. However, peak values are as they should be (~&lt;span&gt;1.28 mA&lt;/span&gt;).&lt;br /&gt;&lt;br /&gt;When going down to peak values of ~500 uA, symmetric triangle-waves are seen on the output. However, the current values are off by a factor of 10. With 250 mVpeak, 250mV offset&amp;nbsp; trangle wave over 470 ohm resistor, peak currents are measured to be 50 uA.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Even though the transients first discussed cannot be replicated by this, maybe this approves what have been discussed regarding switching of shunt resistors??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PowerProfiler 2: How to set up ampere-mode properly?</title><link>https://devzone.nordicsemi.com/thread/488140?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 13:00:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b23fa6c-da41-4495-9d60-43666b6c6580</guid><dc:creator>danielschultz</dc:creator><description>&lt;p&gt;Hi again,&lt;br /&gt;&lt;br /&gt;I thought about that too - hence my question if someone knew what threshold values are for current ranges to switch the internal shunt resistors.&lt;br /&gt;&lt;br /&gt;Either that or the internal regulator&amp;#39;s operating in refresh mode. Do you know at what rate the internal cap is charged? Does this depend on DUT current consumption?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PowerProfiler 2: How to set up ampere-mode properly?</title><link>https://devzone.nordicsemi.com/thread/488135?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 12:44:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28cb4588-1d2c-42f8-b568-09cf66aa3bb7</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;It may be that the spikes are caused by the PPK when it switches&amp;nbsp;between two measurement resistors, because of the frequent change in current consumption.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PowerProfiler 2: How to set up ampere-mode properly?</title><link>https://devzone.nordicsemi.com/thread/488115?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 11:47:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ee3f96a-a054-4b29-9569-ba8fbe440b47</guid><dc:creator>danielschultz</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;br /&gt;&lt;br /&gt;Thank you for your answer. I also noticed setup #2 wouldn&amp;#39;t work whatsoever- so that was a bummer by me!&lt;br /&gt;&lt;br /&gt;DUT is an ESP32 with some peripherals connected to it, everything powered by the same Li-Ion battery. Measuring while the DUT&amp;nbsp;and the peripherals are in deep-sleep.&lt;br /&gt;&lt;br /&gt;So the question is if the very light but dynamic load (the DUT) can cause the above mentioned behaviour with transients in the measurements, even if this is not seen with a passive load (470 ohm - 1Mohm)?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PowerProfiler 2: How to set up ampere-mode properly?</title><link>https://devzone.nordicsemi.com/thread/488090?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 10:56:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5c18b9c-3c84-4ed0-b22e-8a5ac4649e1e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Only setup #1 will work, you need to have ground between PPK and DUT for them to ensure they have the same ground potential:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_ppk2/UG/ppk/measure_current_ampere_meter.html?cp=11_9_5_2"&gt;https://infocenter.nordicsemi.com/topic/ug_ppk2/UG/ppk/measure_current_ampere_meter.html?cp=11_9_5_2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Normally &amp;quot;spikes&amp;quot; in measurements are caused by the internal regulator is operating in refresh mode, which means it only turn ON for short periods to charge it&amp;#39;s decoupling capacitor. This overall reduce current consumption quite a lot.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s difficult to provide any more details here without actually knowing what hardware and software is doing here, without knowing more of your DUT I would say setup #1 seems to be most correct, both in terms of what they look like and actual current.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PowerProfiler 2: How to set up ampere-mode properly?</title><link>https://devzone.nordicsemi.com/thread/488073?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 09:52:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbfe00cd-6b02-4b5a-89b2-8decede8d9cf</guid><dc:creator>danielschultz</dc:creator><description>&lt;p&gt;Hey everyone,&lt;br /&gt;&lt;br /&gt;I found myself having made a rookie mistake on the measurements. I see that with passive loads, setup (2) is yielding incorrect results. So I guess this method can be discarded.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I observed there is a ~4 sec of obtaining a correct result when powering the (in this case passive) load. I must&amp;#39;ve been fooled by this &amp;quot;delay&amp;quot; and concluded upon the result within 4 seconds earlier ...&lt;br /&gt;&lt;br /&gt;Q1: Is this behaviour to be expected? I&amp;#39;m curious if someone, with a reference to schematics can explain this behaviour if so.&lt;br /&gt;&lt;img style="max-height:261px;max-width:614px;" height="261" src="https://devzone.nordicsemi.com/resized-image/__size/1228x522/__key/communityserver-discussions-components-files/4/pastedimage1718011415843v1.png" width="614" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is some tests I have done with our 5 PPK2&amp;#39;s. With &amp;quot;ampere mode&amp;quot; i am referring to test setup 1 mentioned above:&lt;br /&gt;&lt;img style="max-height:243px;max-width:762px;" height="243" src="https://devzone.nordicsemi.com/resized-image/__size/1524x486/__key/communityserver-discussions-components-files/4/pastedimage1718011984961v2.png" width="762" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;This yields a difference of ~40 uA from ampere mode to source mode on the same PPK2. Generally source mode is less. Can&amp;#39;t figure this out if this is to be expected, but I guess it is expected behaviour when it&amp;#39;s seen on all PPK2&amp;#39;s&lt;br /&gt;&lt;br /&gt;In ampere mode, there is a difference of max. 21 uA (~10%) from PPK2 to PPK2. With passive loads I don&amp;#39;t see that much of a variance. Maybe this is the difference from deep-sleep cycle to deep-sleep cycle on the IoT devices.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Q3: Will switching of the sense resistor be captured in measurements? For which current thresholds will they be switched?&lt;br /&gt;&lt;br /&gt;Q4: The incorrect measurements on PPK2 no. (2) is due to the control of the source mode supply is malfunctioning. 3.6V output setting gives 4.15V out. When obtaining these tests, another device suddenly got this error aswell. Have you seen other instances of this failure to occur and what might be causing it?&lt;br /&gt;&lt;br /&gt;Hope&amp;nbsp;relevant answers to this post&amp;nbsp;might serve to other trying to obtain reference measurements for further optimizing battery usage. Hopefully getting an answer to be sure to obtain measurements as should be done so one can question the DUT instead of the measurement gear.&lt;br /&gt;&lt;br /&gt;Br Daniel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>