Leaf full stack not reversing properly

Topics relating to the ZombieVerter VCU
Rustybkts
Posts: 104
Joined: Wed Apr 24, 2024 4:00 pm
Has thanked: 17 times
Been thanked: 11 times

Re: Leaf full stack not reversing properly

Post 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.
User avatar
tom91
Posts: 2753
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 264 times
Been thanked: 717 times

Re: Leaf full stack not reversing properly

Post 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.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
User avatar
J0hannes
Posts: 147
Joined: Sat Nov 11, 2023 10:29 am
Location: Finland
Has thanked: 19 times
Been thanked: 168 times

Re: Leaf full stack not reversing properly

Post 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
Rustybkts
Posts: 104
Joined: Wed Apr 24, 2024 4:00 pm
Has thanked: 17 times
Been thanked: 11 times

Re: Leaf full stack not reversing properly

Post 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.
Attachments
params (13).json
(2.27 KiB) Downloaded 549 times
Fwd_Rev_test.txt
(1.68 MiB) Downloaded 479 times
User avatar
tom91
Posts: 2753
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 264 times
Been thanked: 717 times

Re: Leaf full stack not reversing properly

Post 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.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
User avatar
J0hannes
Posts: 147
Joined: Sat Nov 11, 2023 10:29 am
Location: Finland
Has thanked: 19 times
Been thanked: 168 times

Re: Leaf full stack not reversing properly

Post 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.
User avatar
J0hannes
Posts: 147
Joined: Sat Nov 11, 2023 10:29 am
Location: Finland
Has thanked: 19 times
Been thanked: 168 times

Re: Leaf full stack not reversing properly

Post 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 470 times
User avatar
vitecd
Posts: 29
Joined: Thu Jul 18, 2024 1:42 am
Location: NZ
Has thanked: 15 times

Re: Leaf full stack not reversing properly

Post by vitecd »

J0hannes wrote: Sun Mar 02, 2025 7:31 pmCAN trace
what are you using for CAN decoding?
User avatar
tom91
Posts: 2753
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 264 times
Been thanked: 717 times

Re: Leaf full stack not reversing properly

Post 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
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
User avatar
vitecd
Posts: 29
Joined: Thu Jul 18, 2024 1:42 am
Location: NZ
Has thanked: 15 times

Re: Leaf full stack not reversing properly

Post by vitecd »

Thank you, very usefull
User avatar
vitecd
Posts: 29
Joined: Thu Jul 18, 2024 1:42 am
Location: NZ
Has thanked: 15 times

Re: Leaf full stack not reversing properly

Post 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
User avatar
tom91
Posts: 2753
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 264 times
Been thanked: 717 times

Re: Leaf full stack not reversing properly

Post 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.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
User avatar
JaniK
Posts: 399
Joined: Sun Aug 25, 2019 12:39 pm
Location: Finland
Has thanked: 92 times
Been thanked: 14 times

Re: Leaf full stack not reversing properly

Post 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
Any opinions are my own, unless stated otherwise. I take no responsibility if you follow my way of doing things and it doesn't work. Please double check with someone who knows what they are doing.
User avatar
tom91
Posts: 2753
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 264 times
Been thanked: 717 times

Re: Leaf full stack not reversing properly

Post 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.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
User avatar
tom91
Posts: 2753
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 264 times
Been thanked: 717 times

Re: Leaf full stack not reversing properly

Post by tom91 »

Fix implemented in the release now to remove the reverse limiter sent over CAN to the Leaf inverter.

viewtopic.php?t=6603
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Post Reply