User avatar
garygid
Gold Member
Posts: 12469
Joined: Wed Apr 21, 2010 8:10 am
Delivery Date: 29 Mar 2011
Leaf Number: 000855
Location: Laguna Hills, Orange Co, CA

Re: CAN-Do: a CAN-message Analysis Tool

Fri Sep 09, 2011 4:41 pm

If somebody creates new Recipe items, or
creates a useful Log-file:

zip it and email the ".zip" file to me, and I can:
Include the Recipe items
Host your Log-File, if you wish.
See SOC/GID-Meter and CAN-Do Info
2010 Prius
2011 LEAF, 2014 Tesla S85
2018 & 2019 Tesla Model 3
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
Craigslist: Xm5000Li Electric Motorcycle

lincomatic
Posts: 316
Joined: Fri Jun 10, 2011 10:01 am
Delivery Date: 06 Apr 2011
Leaf Number: 3819

Re: CAN-Do: a CAN-message Analysis Tool

Fri Sep 09, 2011 4:54 pm

garygid wrote:Had the car L2-charged overnight (in early to late morning), perhaps to 100%?

If so, warming internally to 80ºF is not impossible.

Or, maybe charger or coolant temperature?

I will look at D4 of 50A :D
The car had finished charging to 80% several hours before, so I think everything was already cold, but yes, it's still a possibility.

some numbers of interest (probably not temperature, but interesting numbers):

D4 of 5BF rises while charging, then drops to zero when the charge is complete. it's also zero while not charging.

the graph of the bottom 3 bits of D1 and all 8 bits of D2 (recipe 1,7,8 + 2,ff,0) is interesting... it drops in a stepped fashion during charging, then all bits set when not charging.

TEG
Posts: 1388
Joined: Thu Jun 10, 2010 8:43 pm

Re: CAN-Do: a CAN-message Analysis Tool

Fri Sep 09, 2011 5:04 pm

I am not really sure what I am doing yet, but I tried using this software, and noticed some formatting issues on the main page.
See below:
Image

Maybe you need to set a specific font size or something so that it fits on my desktop? (See also in the CAN Select rectangle.)

I was attempting to see if I could hunt for CAN messages related to the charge pilot PWM signal, but I am a bit lost on how to do that.
I was able to do IO_CONTROL->BROWSE_BIN->CHG_LO_BAT.evc
Then read the bin log.
Then I can click on individual entries, see the data and graph it (in some cases), but not sure what to do next?
Is there any place where the text name of a message type shows up in the data? Or is it pure guesswork based on the values?

Stoaty
Posts: 4490
Joined: Fri Jun 18, 2010 9:50 pm
Delivery Date: 12 Jun 2011
Leaf Number: 3871
Location: West Los Angeles

Re: CAN-Do: a CAN-message Analysis Tool

Fri Sep 09, 2011 5:16 pm

lincomatic wrote:Also, I was looking into D4 of 50A as a candidate for temperature in C, but it looks too high ... my car was cold this morning, and it was 62F outside, but the temp was translating to about 82F.
I haven't noticed the bars on the battery temperature gauge corresponding very well with current temperature, because the battery tends to respond slowly to changes in outside temperature. Thus it takes a while to go from 5 to 6 bars for me, but once at 6 bars it may stay there for 24 hours after car gets to a cooler temperature (100 degrees in the valley to 70 degrees in parking garage). The battery is supposed to be insulated to keep it from getting to a high temperature in a hot climate. That would make it take a while to cool down also. So it may be that 82 degrees is reasonable if the car was out in high temperatures all day.
2011 Leaf with 62,000 miles given to Nephew
2013 Tesla Model S85 with 251 miles rated range at full charge
Leaf Spy Manual
Battery Aging Model Spreadsheet

lincomatic
Posts: 316
Joined: Fri Jun 10, 2011 10:01 am
Delivery Date: 06 Apr 2011
Leaf Number: 3819

Re: CAN-Do: a CAN-message Analysis Tool

Fri Sep 09, 2011 5:20 pm

I use that screen to look at raw data. The left 3 digits before the colon are the message ID's. Click on one, and you can view the data from the sequential messages of that ID in the log.

The message filters screen is great for finding trends. You can cook up a recipe on some bits and then plot it. I'll let Gary explain the gory details.

If you want to try to find parameters related to charging, look for data values which look zeroed out or full of 1's in evsplit.evc, but have other numbers in them in ChgLoBatt.evc.

User avatar
garygid
Gold Member
Posts: 12469
Joined: Wed Apr 21, 2010 8:10 am
Delivery Date: 29 Mar 2011
Leaf Number: 000855
Location: Laguna Hills, Orange Co, CA

Re: CAN-Do: a CAN-message Analysis Tool

Fri Sep 09, 2011 5:30 pm

Msg 55A D2, D3, and D6 could be Battery temperatures (ºF)?

Sort of the 69 to 89 range during a 6-hour L2 16A charge to 100% (the on-line "charging" Log).
See SOC/GID-Meter and CAN-Do Info
2010 Prius
2011 LEAF, 2014 Tesla S85
2018 & 2019 Tesla Model 3
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
Craigslist: Xm5000Li Electric Motorcycle

User avatar
garygid
Gold Member
Posts: 12469
Joined: Wed Apr 21, 2010 8:10 am
Delivery Date: 29 Mar 2011
Leaf Number: 000855
Location: Laguna Hills, Orange Co, CA

Re: CAN-Do: a CAN-message Analysis Tool

Fri Sep 09, 2011 5:35 pm

On Font sizes:

I see I need to leave a bit more space after the Radio Buttons.
I will in 1.5.2

They are all specified, but setting a system to "larger than normal text size" can override and give this effect.

It is unlikely that I have sizes set to "smaller than normal", and they all fit OK on Vista here.

What OS are you using?
See SOC/GID-Meter and CAN-Do Info
2010 Prius
2011 LEAF, 2014 Tesla S85
2018 & 2019 Tesla Model 3
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
Craigslist: Xm5000Li Electric Motorcycle

User avatar
garygid
Gold Member
Posts: 12469
Joined: Wed Apr 21, 2010 8:10 am
Delivery Date: 29 Mar 2011
Leaf Number: 000855
Location: Laguna Hills, Orange Co, CA

Re: CAN-Do: a CAN-message Analysis Tool

Fri Sep 09, 2011 5:41 pm

There are no "labels" for fields in the CAN data.
Also, no scaling or units.

It is just look at the data and try to match it
with the circumstances of the log creation.
See SOC/GID-Meter and CAN-Do Info
2010 Prius
2011 LEAF, 2014 Tesla S85
2018 & 2019 Tesla Model 3
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
Craigslist: Xm5000Li Electric Motorcycle

Stoaty
Posts: 4490
Joined: Fri Jun 18, 2010 9:50 pm
Delivery Date: 12 Jun 2011
Leaf Number: 3871
Location: West Los Angeles

Re: CAN-Do: a CAN-message Analysis Tool

Fri Sep 09, 2011 5:42 pm

garygid wrote:Sort of the 69 to 89 range during a 6-hour L2 16A charge to 100% (the on-line "charging" Log).
Where did those numbers (69-89) come from? What do you mean by on-line charging log? I'm not following here.
2011 Leaf with 62,000 miles given to Nephew
2013 Tesla Model S85 with 251 miles rated range at full charge
Leaf Spy Manual
Battery Aging Model Spreadsheet

User avatar
garygid
Gold Member
Posts: 12469
Joined: Wed Apr 21, 2010 8:10 am
Delivery Date: 29 Mar 2011
Leaf Number: 000855
Location: Laguna Hills, Orange Co, CA

Re: CAN-Do: a CAN-message Analysis Tool

Fri Sep 09, 2011 6:28 pm

I have on-line at
http://www.wwwsite.com/puzzles/cando/" onclick="window.open(this.href);return false;

1. the CAN-Do program
2. a 6-hour log of EV-CAN messages during charging to 100%
3. another short triple-log set, made while driving a short way
4. a file of "Recipe" items, used to describe the data, and its scaling, mostly used for easy graphing.

Download these three into the same folder and try to run CAN-Do (that I wrote in VB6 for Windows).

I got the (roughly) 69 to 89 (raw) numbers from the "55A" messages, graphing the D2, D3, or D6 data (over to 6-hour time span of the log).
See SOC/GID-Meter and CAN-Do Info
2010 Prius
2011 LEAF, 2014 Tesla S85
2018 & 2019 Tesla Model 3
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
Craigslist: Xm5000Li Electric Motorcycle

Return to “LEAF CANBus”