Panelpwr-log

From OLPC
Revision as of 06:47, 26 October 2011 by Rsmith (talk | contribs)
Jump to: navigation, search

Purpose

panelpwr-log is a power logging script that is designed to measure how much power is provided to the XO via the external power jack. Its primary use is for logging and measuring the input power from a solar panel directly connected to the XO.

Usage

Field Descriptions

panelpwr-log creates 7 columns which are mostly for the scripts that process the output. The key for the columns is:

<date_in_seconds>, <battery SOC>, <bat voltage>, <bat current>, <bat temp>, <accumulated current><status>, <Net mAh>, <net time in minutes>, <Vin>, < W per sample>

The last 4 columns are the ones that you can look at to see what happenend.

   <Net mAh>, <net time in minutes>, <Vin>, < W per sample>
   Net mAh:
       This is the net sum of the mAh from the start of the log until

the current reading. Its just the difference in ACR adjusted to mA rather than uA.

   Net time in minutes:
       Time in minutes from the start of the log.  Default sample time

is 300 seconds so this usually bumps by 5 each sample. Pressing a key will make it wake up early so its not always a multiple of 5.

   Vin:  This can be ignored.
   W per sample:
       This is the diff in ACR over the diff in time at the midpoint of

the battery voltages between the current and previous sample. Its a rough approx of the average battery power for that sample period. Its in mW although its not accurate to a mW.