This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Wrong method of Average current calculation in Current Online Power Profiler

Hi Support team,

The Online Power Profiler is calculating the Average Current  consumption for nRF52840 DK board in a wrong way.

Calculation is of blocks. => Pre-processing,  Crystal ramp up, Standby, Start radio .. and so on

Take a block, say, Pre-processing. In case of my trial,

Current 8 mA over 60 us is Average Current over that period. It is NOT Total Current.

So, when averaging out for the final result of Total average current, it is not (sum of all current from blocks) divided by (Total time).

Rather it should be sum of (current from block  *  length in time) divided by total time.

E.g. above,

(8 mA * 60 us) + (Crystal ramp up current * its length time) + (Standby current * its length time) + (Start Radio current * its length time) + .... divided by Total Time (4.09 ms).

This leads to Average current for the above example, 4.93 mA

Δ  (time) (µs) Avg Current (mA)
Actual result
 (DC Power Analyzer)
Online
Power Profiler
Actual result
 (DC Power Analyzer)
Online
Power Profiler
(Actual result)
µs * mA
(Online Profiler)
µs * mA 
Pre-processing 82 60 3.944961 8 323.486802 480
 Crystal ramp up 369 400 1.315642 1.6 485.471898 640
Standby 1024 1072 0.194566 0.2 199.235584 214.4
Start radio 123 130 3.017489 4.9 371.151147 637
Radio Tx 328 288 11.70975 11.6 3840.798 3340.8
Radio switch  164 159 7.456234 6 1222.822376 954
Radio Rx 123 60 7.85647 10.9 966.34581 654
Standby 205 155 1.853382 3.7 379.94331 573.5
Start radio 82 126 4.511664 3.9 369.956448 491.4
Radio Tx 328 288 11.607017 11.6 3807.101576 3340.8
Radio switch  123 159 7.19594 6 885.10062 954
Radio Rx 164 60 6.950762 10.9 1139.924968 654
Standby 164 155 1.317042 3.7 215.994888 573.5
Start radio 123 126 5.722221 3.9 703.833183 491.4
Radio Tx 328 288 11.730833 11.6 3847.713224 3340.8
Radio switch  164 159 6.583572 6 1079.705808 954
Radio Rx 82 60 8.647814 10.9 709.120748 654
Post-processing 451 350 2.843615 3.5 1282.470365 1225
Total Sum
(Calculated from the above items)
4427 4095 104.458974 118.9 21830.17676 20172.6
Average     104.46 / 4427 = 0.024 118.9 / 4095 = 0.029 4.931144512 4.926153846
 from actual result
 / as Online Tool displays
4465 4090 4.744113 0.024
        ==> 4.93 mA ==> 4.93 mA

Kindly correct the Online Power Profiler !

Thanks !

Parents
  • This tool calculates the average current consumption given a set of parameters, one of those parameters is the advertising interval. With an interval of 1000ms the average current consumption will be (4.93mA * 4.09ms + sleep current * (1000ms - 4.09ms)) = 24µA


    The average current consumption during an advertisment event with your parameters is indeed 4.93mA, but this event occurs only once every second for 4.09ms. 

  • Thank you for the information.

    I understood.

    Since the graph / Test Setup details /  description did not mention this, instead shows only the advertising section, I was confused.

    For another instance,

    Where the idle / standby time after the advertisement post-processing completed,  is not shown in the graph / neither in the Test Setup description ! So thought, average of 4.09ms !

Reply
  • Thank you for the information.

    I understood.

    Since the graph / Test Setup details /  description did not mention this, instead shows only the advertising section, I was confused.

    For another instance,

    Where the idle / standby time after the advertisement post-processing completed,  is not shown in the graph / neither in the Test Setup description ! So thought, average of 4.09ms !

Children
No Data
Related