lukati
Posts: 288
Joined: Wed Aug 17, 2011 3:23 pm
Delivery Date: 07 Dec 2011

Re: Annual Battery Inspection - Seekrit Data Report

Sat Mar 17, 2012 10:33 pm

TonyWilliams wrote:Why go to three decimal places, and then apparently not use any? I can't believe it is exactly 24,756.000 miles.

All data is 2 bytes wide (i.e. 4 hex digits), except for the milage. Two bytes would not be enough to hold enough miles (65,535), so more digits are needed. They may have gone for another 2 byte unit although they only needed one more digit. That wastes 3 digits but keeps the memory well organized.

User avatar
TickTock
Posts: 1701
Joined: Sat Jun 04, 2011 10:30 pm
Delivery Date: 31 May 2011
Leaf Number: 3626
Location: Queen Creek, Arizona
Contact: Website

Re: Annual Battery Inspection - Seekrit Data Report

Sat Mar 17, 2012 10:47 pm

FMCGTORUNTIME: from charge to run time (time sitting after charge completion before operating)?
FMRUNTOCGTIME: from run to charge time (time sitting after running before starting charge)?

User avatar
Nubo
Posts: 4509
Joined: Fri May 28, 2010 11:01 am
Delivery Date: 31 Oct 2014
Location: Vallejo, CA

Re: Annual Battery Inspection - Seekrit Data Report

Sat Mar 17, 2012 10:51 pm

Nekota wrote:I'll take a guess at the units being metric and in 0.1 meters for 6300.7 miles.


Metric makes sense since the temps all seem to be.

But a leading zero doesn't make sense to me.

If I assume a reversed order, then the three leading zeros might make sense, then assume one digit for tenths...

4b06.0 = 19206.0 kM (11934 mi).
I noticed you're still working with polymers.

User avatar
Nubo
Posts: 4509
Joined: Fri May 28, 2010 11:01 am
Delivery Date: 31 Oct 2014
Location: Vallejo, CA

Re: Annual Battery Inspection - Seekrit Data Report

Sat Mar 17, 2012 11:03 pm

TickTock wrote:FMCGTORUNTIME: from charge to run time (time sitting after charge completion before operating)?
FMRUNTOCGTIME: from run to charge time (time sitting after running before starting charge)?


Makes sense, except the report has all zeros for FMRUNTOCGTIME ..?
I noticed you're still working with polymers.

Smidge204
Posts: 940
Joined: Wed Nov 24, 2010 1:42 pm

Re: Annual Battery Inspection - Seekrit Data Report

Sun Mar 18, 2012 3:17 am

Nekota wrote:I'll take a guess at the units being metric and in 0.1 meters for 6300.7 miles.

Interesting... could also be 101,400,576 feet = 19,204.6545 miles Truncating also possible but it's actually more difficult to handle 3 bytes of data than 4. They just used a 32bit INT instead of a 16bit INT.

Nubo wrote:If I assume a reversed order, then the three leading zeros might make sense, then assume one digit for tenths... 4b06.0 = 19206.0 kM (11934 mi).

I've never seen hexadecimal reversed like that. At worst the byte order would be reversed (little vs big endian), not the nybble order!

06 0B 40 00 becomes 00 40 0B 06 or 4,197,126. If we assume that's meters, it works out to 2,607.97 miles. If we leave the byte order as is, then 101,400,576 meters = 63,007.3968 miles which may be possible (No clear reason to shift the decimal like Nekota did). I suspect, though, that byte order is NOT reversed. If it was then you'd expect the reversal to be used throughout - so that means he's used quick charge (QUICKCG) a total of 256 times (0100) instead of just once (0001) and a normal charge (NORMALCG) 56,832 times (DE00) instead of 222 times (00DE).

----

I converted the table into CSV and HTML versions (HTML has hex converted to decimal assuming no byte order reversal).
=Smidge=

lukati
Posts: 288
Joined: Wed Aug 17, 2011 3:23 pm
Delivery Date: 07 Dec 2011

Re: Annual Battery Inspection - Seekrit Data Report

Sun Mar 18, 2012 10:20 am

Nekota wrote:I'll take a guess at the units being metric and in 0.1 meters for 6300.7 miles.

That would be a little odd, but might just be true. The report has 1 QC and 222 L1/L2 events under NUMBER_OF_QC_AND_NC. This number is close to a total of 216 charging events under SOC_AT_GC. Depending on whether these charging events went to 80% or 100% SOC and using a range of 3-5 miles/kWh, the total milage should be in the 3,400-10,900 mile range. So 6,300 miles looks about right.

Using the entire width of the data block certainly makes more sense than truncating it. Given that the three least significant digits are zero, the counter probably increments in units of 1000, or about 410 m. The total milage that can be displayed would be 429,497 km. Totally reasonable.

DaveinOlyWA
Posts: 12332
Joined: Sat Apr 24, 2010 7:43 pm
Delivery Date: 10 Nov 2016
Leaf Number: 314199
Location: Olympia, WA
Contact: Website

Re: Annual Battery Inspection - Seekrit Data Report

Sun Mar 18, 2012 11:15 am

Guessing unknown parameters to be time between charge complete and next time driven maybe and miles measured by tire rotations which is about like what 400 rotations per mile? Or so since that is how most cars determine distance
2011 SL; 44,598 miles. 2013 S; 44,840 miles.2016 S30 (build 10/2016)"low water marks" 27,000 miles.363GID Ahr 79.13Hx95.17%kwh28.1QCs238,L2's 251
My Blog; http://daveinolywa.blogspot.com" onclick="window.open(this.href);return false;

User avatar
Ingineer
Posts: 2736
Joined: Fri Oct 15, 2010 1:09 pm
Delivery Date: 13 Jul 2011
Leaf Number: 6969
Location: Berkeley, California
Contact: Website

Re: Annual Battery Inspection - Seekrit Data Report

Mon Mar 19, 2012 10:03 pm

Looks like the mileage figure is KM if divided by 0x4000 (decimal 16384) or bit shifted right 14 places. Or you can divide it by 0x66F6 (26358 decimal) to directly derive miles.

So this report's 0x060B4000 = 6189 km or 3847 miles.

-Phil
Easily Learn Electricity HERE! - - - - Website: http://evseupgrade.com/ - - - - Like us on Facebook: EVSE Upgrade

sandeen
Posts: 120
Joined: Fri May 12, 2017 1:45 pm
Leaf Number: 026685
Location: Minnesota

Re: Annual Battery Inspection - Seekrit Data Report

Tue Jul 04, 2017 11:35 am

Phil, can you say where this report came from? Would be awesome to be able to do a "self-check" for battery health using these stats. Was this extracted from the car?
2012 SL from TX, (mfg 8/12), used, dropped to 8 bars at 43.50 Ahr, 40,601 miles. my daily stats =/= my collected data on 4-bar losers

Return to “Engineering”