Page 34 of 57

Re: LEAF CANbus decoding. (Open discussion)

Posted: Wed Oct 16, 2013 8:25 am
by JeremyW
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.

Re: LEAF CANbus decoding. (Open discussion)

Posted: Thu Oct 24, 2013 8:11 am
by TickTock
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.

Re: LEAF CANbus decoding. (Open discussion)

Posted: Fri Oct 25, 2013 9:14 pm
by garygid
Good sloothing, TT. :D

Re: LEAF CANbus decoding. (Open discussion)

Posted: Thu Oct 31, 2013 11:57 am
by JeremyW
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. :)

Re: LEAF CANbus decoding. (Open discussion)

Posted: Fri Nov 08, 2013 9:31 am
by TickTock
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.

Re: LEAF CANbus decoding. (Open discussion)

Posted: Fri Nov 08, 2013 7:12 pm
by garygid
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

Re: LEAF CANbus decoding. (Open discussion)

Posted: Thu Nov 14, 2013 12:33 am
by Turbo3
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

Re: LEAF CANbus decoding. (Open discussion)

Posted: Thu Nov 14, 2013 6:11 am
by TickTock
Thanks Jim - very cool. Looks right to me.

Re: LEAF CANbus decoding. (Open discussion)

Posted: Thu Nov 14, 2013 7:29 am
by garygid
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.

Re: LEAF CANbus decoding. (Open discussion)

Posted: Thu Nov 14, 2013 10:29 am
by garygTx
It looks fine. It will be interesting to see how it changes in the heat of summer, as my AmpHrs have been constant recently.