User avatar
JeremyW
Posts: 1518
Joined: Sun Nov 13, 2011 12:53 am
Delivery Date: 23 Jun 2012
Leaf Number: 19136
Location: San Gabriel, CA

Re: LEAF CANbus decoding. (Open discussion)

Wed Oct 16, 2013 8:25 am

TickTock wrote:I was reading between 89-99mOhm in the summer and now am seeing 102-111. However, I had a formatting bug in my tripLog so I only have a few datapoints (that I manually captured). I was rounding to the nearest tenth so all my tripLog entries read 0.1 :-/

That's what I've been seeing too.
Former 2012 SL leasee 6/23/12 - 9/23/15
Now driving Honda Fit EV, License plate: CHADEMO
2000 Honda Insight for long trips

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: LEAF CANbus decoding. (Open discussion)

Thu Oct 24, 2013 8:11 am

A few more tidbits learned this week. We know that 1cb:d2,d3 is Target Braking and 1cb:d0,d1 is Regen Braking. The latter, however, is the target regen braking - that is, it is what regen would be applied if it wasn't limited by other factors (such as being in neutral, at 100% charge,no regen bubbles,etc). It appears that 1d5:d0,d1 is actual regen braking. When I change my braking monitor to use this value instead, the braking monitor correctly reflects the true regen response to applied pedal. Furthermore, this value very closely track motor amps * 1.3 (when the motor is generating power) - which takes me to the second tidbit. The target and actual regen signals do not include regen during coasting(foot off both pedals, but not in neutral). If you let off the accel, we all know regen is engaged. This regen is not reflected in these messages. However, if I instead use motor_amps(1d4:d2,d3)*1.4, that signal almost perfectly tracks applied regen when the brake pedal is used but also responds to regen during coasting. I have updated CANary to use this instead so the brake monitor reflects the true braking force from regen. Need to test a little more but will publish soon.

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

Re: LEAF CANbus decoding. (Open discussion)

Fri Oct 25, 2013 9:14 pm

Good sloothing, TT. :D
See SOC/GID-Meter and CAN-Do Info
2011 LEAF, sold in 2015
2010 Prius, 2014 silver Tesla S
Nissan EVSE, mod to 240/120v 16A
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
To Sell: X-treme 5000Li EV motorcycle

User avatar
JeremyW
Posts: 1518
Joined: Sun Nov 13, 2011 12:53 am
Delivery Date: 23 Jun 2012
Leaf Number: 19136
Location: San Gabriel, CA

Re: LEAF CANbus decoding. (Open discussion)

Thu Oct 31, 2013 11:57 am

I've ordered myself an isolated PCAN tool (CAN-USB) and plan on helping with more of the decoding on the car CAN bus. I'm really interested in the DC/DC converter operation and climate control. It would be nice for lower power charging with just the Brusa to shut down the pumps, on board charger and DC/DC since the Brusa does have a small (1 Amp) DC/DC available.

I'm also going to help where I can with the Open Vehicle Monitoring System support for the Leaf. I want to be able to see the actual charge rate while charging since the estimated time remaining with the Brusa running is always wrong. I also would like better remote climate control. I wouldn't pay for carwings and I'd like to help my fellow leafers do the same. :)
Former 2012 SL leasee 6/23/12 - 9/23/15
Now driving Honda Fit EV, License plate: CHADEMO
2000 Honda Insight for long trips

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: LEAF CANbus decoding. (Open discussion)

Fri Nov 08, 2013 9:31 am

Some additional tidbits:
On the EVcan, message ID 0x54f has useful climate control information. I haven't figure out what exactly they represent, but D2 (third data byte) is zero when the AC is off and climbs to around 20 when AC is running. Might be related to the power, or maybe compressor speed, not sure but is only active when the AC is active. Similarly D5, bits 5:0 are zero when the heater is off but climbs to around 15 when heater is turned on. Again not sure what it is tracking but was useful for implementing the heater monitor feature on CANary.
More details on the unofficial Leaf canbus doc.

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

Re: LEAF CANbus decoding. (Open discussion)

Fri Nov 08, 2013 7:12 pm

Good work, my friend.
Do you have the MsgIDs that GregH uses to determine the
J1772 Pilot signal percentage or Max-Amps value?

It would be nice to see what current capacity each EVSE has
to offer.

Cheers, Gary
See SOC/GID-Meter and CAN-Do Info
2011 LEAF, sold in 2015
2010 Prius, 2014 silver Tesla S
Nissan EVSE, mod to 240/120v 16A
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
To Sell: X-treme 5000Li EV motorcycle

Turbo3
Gold Member
Posts: 1835
Joined: Mon Jul 19, 2010 8:34 pm
Delivery Date: 12 May 2011
Leaf Number: 002191
Location: San Jose, CA

Re: LEAF CANbus decoding. (Open discussion)

Thu Nov 14, 2013 12:33 am

I have finally added the SOH value to Leaf Spy Pro (0x5B3 D2). I have also kept the old "Health" value but renamed to "Hx". The percent capacity based on AHr is now gone as it was too confusing with all the different initial values for AHrs with different Leaf model years/firmware updates.

Here is a screenshot. Please comment if this looks right as it is not released yet so can still be changed.

(updated 11/14/2013)
Image
Last edited by Turbo3 on Thu Nov 14, 2013 11:27 am, edited 1 time in total.

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: LEAF CANbus decoding. (Open discussion)

Thu Nov 14, 2013 6:11 am

Thanks Jim - very cool. Looks right to me.

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

Re: LEAF CANbus decoding. (Open discussion)

Thu Nov 14, 2013 7:29 am

The 3rd line, after "mi", could be ", 30 QCs, 2345 L1/L2s"
to give you a bit more space for larger numbers in the future.

Are the last 3 characters of the VIN a bit strange?

But, this should be in the Spy thread, right?
Excellent work.
See SOC/GID-Meter and CAN-Do Info
2011 LEAF, sold in 2015
2010 Prius, 2014 silver Tesla S
Nissan EVSE, mod to 240/120v 16A
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
To Sell: X-treme 5000Li EV motorcycle

garygTx
Posts: 59
Joined: Thu Nov 24, 2011 7:29 am
Delivery Date: 11 Nov 2011
Leaf Number: 5027
Location: Garland, TX

Re: LEAF CANbus decoding. (Open discussion)

Thu Nov 14, 2013 10:29 am

It looks fine. It will be interesting to see how it changes in the heat of summer, as my AmpHrs have been constant recently.
2011 SL 11/12/2011 - 10/06/2014 31,000 Miles, 2 bars lost
2015 SL 10/06/2014 - ?

Return to “LEAF CANBus”