Page 2 of 2

Re: Leaf full stack not reversing properly

Posted: Sat Mar 15, 2025 3:25 pm
by Rustybkts
Just testing the Fwd/Rev power and the latest trial mod is excellent with plenty of power in reverse.

On the Leaf drive unit application I feel that the Throtramp units of %/10ms should ideally be %/100ms as I have it set to 1% and still is pretty fierce with easy wheelspin in Fwd on my front wheel drive 106 running on 260v.
Parameter limits are 1 - 100.

Regarding the water heater.
Not sure what is happening with the LIN comms as it is displaying tmpheater 207C, udcheater 25v and powerheater 20320W yet the heat is on with 12v on the heater power supply input but appears to be uncontrollable.
I hear a clonk from the heater which I assume to be an overtemp cutout when its hot.

@tom91 do you still require the CAN logs for the reverse power test as I assume they are not associated with the heater.

Re: Leaf full stack not reversing properly

Posted: Sat Mar 15, 2025 3:35 pm
by tom91
Rustybkts wrote: Sat Mar 15, 2025 3:25 pm Regarding the water heater.
Not sure what is happening with the LIN comms as it is displaying tmpheater 207C, udcheater 25v and powerheater 20320W yet the heat is on with 12v on the heater power supply input but appears to be uncontrollable.
I hear a clonk from the heater which I assume to be an overtemp cutout when its hot.
Do not post that in this thread. go back to your other thread.
Rustybkts wrote: Sat Mar 15, 2025 3:25 pm Just testing the Fwd/Rev power and the latest trial mod is excellent with plenty of power in reverse.

On the Leaf drive unit application I feel that the Throtramp units of %/10ms should ideally be %/100ms as I have it set to 1% and still is pretty fierce with easy wheelspin in Fwd on my front wheel drive 106 running on 260v.
Parameter limits are 1 - 100.
Okay it would be worth looking at then, will have a review of code. Timing cannot change, the task is ran every 10ms so possibly add decimals below 1.

Yes provide a CAN log confirm the behaviour now in reverse.

Re: Leaf full stack not reversing properly

Posted: Sun Mar 16, 2025 10:21 am
by J0hannes
Houston, wehave TORQUE :D
Leaf_reversing_OK.png
I did this test just by holding against the brake and vehicle not really moving. Now we have symmetrical torque :)

CAN trace from the test
FWD_REV_160325-1203.csv
(1.02 MiB) Downloaded 492 times
Parameters
params_160325-1154.json
(2.27 KiB) Downloaded 559 times

Re: Leaf full stack not reversing properly

Posted: Sun Mar 16, 2025 12:32 pm
by Rustybkts
Tested the car running Fwd for a couple of seconds then reverse up a steep slope. Loads of power in reverse but fully controllable.

Re: Leaf full stack not reversing properly

Posted: Sun Mar 16, 2025 6:13 pm
by tom91
Can one of you please do a free run of the motor with reverse gear selected in the Zombie to see what motor rpm it limits at.

Re: Leaf full stack not reversing properly

Posted: Sun Mar 16, 2025 7:08 pm
by J0hannes
I'll see if I can log this on Tuesday.
tom91 wrote: Sun Mar 16, 2025 6:13 pm Can one of you please do a free run of the motor with reverse gear selected in the Zombie to see what motor rpm it limits at.

Re: Leaf full stack not reversing properly

Posted: Tue Mar 18, 2025 3:41 pm
by J0hannes
So the RPM limit in reverse seems to be about 3500
WOTinR_NoDS.png
CAN log:
NoDS_WOTinR_Filtered_11A_1D4_1DA.csv
(183.9 KiB) Downloaded 561 times
Params:
params_231TH_180325-1711.json
(2.27 KiB) Downloaded 471 times

Re: Leaf full stack not reversing properly

Posted: Wed Jun 25, 2025 5:30 am
by vitecd
J0hannes wrote: Sun Mar 02, 2025 7:31 pmCAN trace
what are you using for CAN decoding?

Re: Leaf full stack not reversing properly

Posted: Wed Jun 25, 2025 7:42 am
by tom91
vitecd wrote: Wed Jun 25, 2025 5:30 am what are you using for CAN decoding?
SavvyCan and a dbc file from Dalas github https://github.com/dalathegreat/leaf_can_bus_messages

Re: Leaf full stack not reversing properly

Posted: Wed Jun 25, 2025 8:31 am
by vitecd
Thank you, very usefull

Re: Leaf full stack not reversing properly

Posted: Wed Jul 16, 2025 11:38 pm
by vitecd
tom91 wrote: Tue Mar 11, 2025 11:54 am Okay so made both limits the same lets see what that does. Make sure not to break anything.

https://github.com/damienmaguire/Stm32- ... 6c70b2aa69
Hi, Tom,
Having same issue, reversing with foot on the ground. Should I try to replace the [1] byte and recompile? My SW is 2.22a

Re: Leaf full stack not reversing properly

Posted: Thu Jul 17, 2025 7:14 am
by tom91
vitecd wrote: Wed Jul 16, 2025 11:38 pm Should I try to replace the [1] byte and recompile? My SW is 2.22a
Sure you can make the changes as quoted.

Re: Leaf full stack not reversing properly

Posted: Thu Aug 14, 2025 6:50 am
by JaniK
Why are we still saying to the leaf motor that we are pressing the brake pedal while driving?

In the 0x1D4: Brakepedalpressed =1

Also if there is same torque limit both ways, will it mess with the regen?

From Leaf OEM display, regen goes to about 28kW in B mode:
2014 leaf gen2 display for motor power kW
2014 leaf gen2 display for motor power kW

Re: Leaf full stack not reversing properly

Posted: Thu Aug 14, 2025 9:25 am
by tom91
JaniK wrote: Thu Aug 14, 2025 6:50 am Why are we still saying to the leaf motor that we are pressing the brake pedal while driving?

In the 0x1D4: Brakepedalpressed =1
No idea it seems to have no impact on the inverter.
JaniK wrote: Thu Aug 14, 2025 6:50 am Also if there is same torque limit both ways, will it mess with the regen?
Yes this is why its now removed in the vehicle testing branch and will be added into a release upcoming.

Re: Leaf full stack not reversing properly

Posted: Sat Aug 30, 2025 12:50 pm
by tom91
Fix implemented in the release now to remove the reverse limiter sent over CAN to the Leaf inverter.

viewtopic.php?t=6603