[Driving] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Tell us about the project you do with the open inverter
Iceman96
Posts: 49
Joined: Sun Jan 14, 2024 1:36 am
Has thanked: 61 times
Been thanked: 18 times

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by Iceman96 »

Further to my last post. I was reading through your pdfof the Zombie settings and noticed it was showing a spot valuefor the SOC of 97%. Could that be preventing it from charging byanychance?
User avatar
Bratitude
Posts: 925
Joined: Thu Jan 02, 2020 7:35 pm
Location: Canada
Has thanked: 131 times
Been thanked: 309 times
Contact:

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by Bratitude »

Iceman96 wrote: Sat Aug 17, 2024 8:49 am Further to my last post. I was reading through your pdfof the Zombie settings and noticed it was showing a spot valuefor the SOC of 97%. Could that be preventing it from charging byanychance?
No there’s a missing can ID making it go into fail safe.
It’s a bug in the zombie code
https://bratindustries.net/ leaf motor couplers, adapter plates, custom drive train components
Sector7e
Posts: 44
Joined: Sat May 20, 2023 3:09 am
Has thanked: 43 times
Been thanked: 19 times

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by Sector7e »

Iceman96 wrote: Sat Aug 17, 2024 8:47 am Hi Sector7e,

Great project and I am enjoying following it. You are about 12 months ahead of me, as I started my project this year. Very similar though, as I am putting the running gear out of a 2014 Leaf into a Holden Rodeo trayback ute. Mine Is only 2wd, but has the same ground clearance as the 4wd model. Like you I am mating the full leaf stack to the 5 speed manual gearbox. I am hoping to be able to fit it in without modification, but clearance of the pdm back to the firewall is very tight. About 5mm, so I may have to do something similar to what you hav3 done (looks very neat btw).
As to your current problem with the charging I am not much help to you yet. I am planning to test run the leaf stack out of the car this week, so I will betesting the granny charger then. I wont be able to test the chademo though, which fron your screenshots is the one you are having problems with.
Also out of interest, are you using the leaf contactors in the battery pack?

Regards - Andrew
Thank you for the complement, and I'm glad that I was of some help to your project. Yes, I'm attempting to get the 6.6kw j1772 charger working, but still no luck. I moved the Leaf Battery CAN signal to the same CANBUS as the rest of the Leaf EV stack, but that doesn't seem to have helped. Also, yes I'm using the batter contactors. Hopefully the weather will allow for more troubleshooting this weekend.:)
Screenshot 2024-08-17 142106.png
Sector7e
Posts: 44
Joined: Sat May 20, 2023 3:09 am
Has thanked: 43 times
Been thanked: 19 times

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by Sector7e »

Bratitude wrote: Sat Aug 17, 2024 3:31 pm No there’s a missing can ID making it go into fail safe.
It’s a bug in the zombie code
How did you overcome this issue on your 720 build? Are you using a build of the GitHub fork with the fix? I'm I able to to manually push the ID with the OpenInverter CAN Tool? I will be moving in a few weeks. It would be nice to get a 1 day tag and drive it across town to my new house without towing it.
User avatar
Bratitude
Posts: 925
Joined: Thu Jan 02, 2020 7:35 pm
Location: Canada
Has thanked: 131 times
Been thanked: 309 times
Contact:

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by Bratitude »

Sector7e wrote: Sat Aug 17, 2024 9:02 pm How did you overcome this issue on your 720 build? Are you using a build of the GitHub fork with the fix? I'm I able to to manually push the ID with the OpenInverter CAN Tool? I will be moving in a few weeks. It would be nice to get a 1 day tag and drive it across town to my new house without towing it.
I’m running an outlander OBC as it fits on the inverter and clears the hood.

But here’s a suggested fix. https://github.com/damienmaguire/Stm32-vcu/issues/91
https://bratindustries.net/ leaf motor couplers, adapter plates, custom drive train components
Iceman96
Posts: 49
Joined: Sun Jan 14, 2024 1:36 am
Has thanked: 61 times
Been thanked: 18 times

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by Iceman96 »

Sector7e wrote: Sat Aug 10, 2024 11:44 pm I have the Hardbody moving reliably, but I can't seem to get it to charge. The Zombieverter will show it is in charge mode, but doesn't start charging. I'm currently using a 24kwh leaf pack at 43% SOH.

Charging.jpg
Charger.png

I'm attaching the Zombieverter settings in a PDF to see if I have an incorrect setting that may be causing this: Huebner Inverter Management Console.pdf
Hi Sector7e
Could you tell me how you exported a copy of your Zombie setpoints and spot values as a pdf please. I have looked every2here but cant find how to do it. I have tried hitting the “Submit parameters to openinverter” button, but it just sits there spinning its wheels and nothing seems to happen. I would
I would like to do the same so I can post a copy of my settings on my support request. I am talking to my Zombie with my ipad, so not sure if that affectsthe abilty to export to a pdf
Cheers - Andrew
User avatar
tom91
Posts: 2172
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 190 times
Been thanked: 492 times

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by tom91 »

Iceman96 wrote: Wed Aug 21, 2024 1:23 am I would like to do the same so I can post a copy of my settings on my support request. I am talking to my Zombie with my ipad, so not sure if that affectsthe abilty to export to a pdf
Cheers - Andrew
https://openinverter.org/wiki/Web_Interface

The heading Parameters in the wiki. It is as simple as clicking Download Parameter File on the web interface :) .
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Sector7e
Posts: 44
Joined: Sat May 20, 2023 3:09 am
Has thanked: 43 times
Been thanked: 19 times

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by Sector7e »

Iceman96 wrote: Wed Aug 21, 2024 1:23 am Hi Sector7e
Could you tell me how you exported a copy of your Zombie setpoints and spot values as a pdf please. I have looked every2here but cant find how to do it. I have tried hitting the “Submit parameters to openinverter” button, but it just sits there spinning its wheels and nothing seems to happen. I would
I would like to do the same so I can post a copy of my settings on my support request. I am talking to my Zombie with my ipad, so not sure if that affectsthe abilty to export to a pdf
Cheers - Andrew
On my PC I highlighted the parameters in the browser, opened the print dialog, and printer only the selection to a PDF file. I'm not sure that will be easy on iOS.
Sector7e
Posts: 44
Joined: Sat May 20, 2023 3:09 am
Has thanked: 43 times
Been thanked: 19 times

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by Sector7e »

I finally got the Nissan to charge with the Leaf PDM with the help of J0hannes. He kindly provided me with his fork of the ZOmbieverter code for testing. I took the Nissan for a 5 mile trip to the gas station for snacks, and the only issue I noticed is a drive shaft vibration.
PXL_20240824_213653460.MP.jpg
The speedo works!!! I added first 5 EV miles to the odometer. 🥳
Before.jpg
Before I loomed the wires in the cabin
PXL_20240825_013551289.MP.jpg
After looming most of the wires
46872.png
It's taking a charge!!! :D
PXL_20240825_181604835.MP.jpg
Charging. I don't have the fan installed yet, so I'm being cautious.
PXL_20240825_165746797.jpg
Possible future swap...
Iceman96
Posts: 49
Joined: Sun Jan 14, 2024 1:36 am
Has thanked: 61 times
Been thanked: 18 times

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by Iceman96 »

Sector7e wrote: Sun Aug 25, 2024 7:04 pm I finally got the Nissan to charge with the Leaf PDM with the help of J0hannes. He kindly provided me with his fork of the ZOmbieverter code for testing. I took the Nissan for a 5 mile trip to the gas station for snacks, and the only issue I noticed is a drive shaft vibration.

PXL_20240824_213653460.MP.jpg
The speedo works!!! I added first 5 EV miles to the odometer. 🥳
Before.jpg
Before I loomed the wires in the cabin
PXL_20240825_013551289.MP.jpg
After looming most of the wires
46872.png
It's taking a charge!!! :D
PXL_20240825_181604835.MP.jpg
Charging. I don't have the fan installed yet, so I'm being cautious.
PXL_20240825_165746797.jpg
Possible future swap...

Hi Sector7e

Great to hear that you got your charging working - congrats and well done! Thats where I am stuck at the moment. I am close I think, but not quite there yet. My granny charger evse “clicks” and indicates that it is charging, but there is no, or at best minimal charging current flowing. And I know that my battery pack is at approx 50% charge, as I ran it down to that before I removed it from the car, so it shouldbe wanting a charge. Are you using the genuine nissan power inlet, and can I ask how you wired up the CP and PP pins? I have looked everywhere on this site for info, and have watched Damiens and others video’s several times, but I am still not sure how cp and pp are connected. I have connected the white wire from pin 29 from the PDM to the PP pin, and the brown wire from pin 30 on the pdm to the CP pin. If the zombie is powered up, but does not have an ignition signal and I plug in my evse, it clicks and the contactors in the battery pack close, and the zombie indicates it is in “charge” mode, but again, no charge goes into the battery. If I then unplug the evse, the contactors drop out ok. And if I have the zombie in “run” mode, but with no direction input selected, and then plug in the Evse, It clicks and says it is charging, but again there is no current flow into the battery. Also the zombie remains in”Run” mode. And I know the evse is ok, as I was using it on the Leaf right up until I stripped it. Any ideas or sugestions?
User avatar
J0hannes
Posts: 95
Joined: Sat Nov 11, 2023 10:29 am
Location: Finland
Has thanked: 13 times
Been thanked: 83 times

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by J0hannes »

Iceman96 wrote: Tue Aug 27, 2024 5:28 am It clicks and says it is charging, but again there is no current flow into the battery. Also the zombie remains in”Run” mode. And I know the evse is ok, as I was using it on the Leaf right up until I stripped it. Any ideas or sugestions?
My knowledge is limited to official sw versions 2.05 & 2.17 which have been the base for the fuckery I've done in my fork --> unofficoal sw--> NO support on forum etc....

I'll tell you that at the moment, that's all you're going to get with AC charging, a click and then nothing. It is not your connections or what charger you are using. The Zombieverter does not send all the required CAN messages to Leaf PDM, the Leaf PDM goes into fault mode because of this and that's the reason you don't get a charge going.

For me 2.05 or 2.17 did not work and as people posting on the forum have not bothered reporting what sw version they are using when reporting something is working or not, it is not really practicat trying to search the forum in a desperate attempt chase down the version that was last with functioning AC charging on Leaf PDM.

While I was battling with this problem, I did not bother to go down with the zombieverter sw versions to see what is the last official release where the AC charging has been functional. That is one approach that you could also try and that could provide some insight on the timeline when the AC charging stopped working on official releases.

IF you would want to contribute, you could test the previous releases of official Zombieverter firmware and report, which is the latest one where the Leaf PDM AC charging works. Until the official has this bug fixed, this is the only option if you want to get help with software related issues on the forum. You know, just flash an old release, check that parameters are good try AC charging and if it works, you don't have to go further down in releases.

This is an Open source project meaning everyone can (and should) try to contribute in a way their abilities let them.
User avatar
tom91
Posts: 2172
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 190 times
Been thanked: 492 times

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by tom91 »

This AC charging not working is flagged and going to be rolled into an upcoming release. It was down to a missing CAN message for the PDM during charging, one that is sent for the Inverter during driving.
https://github.com/damienmaguire/Stm32-vcu/issues/91
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Sector7e
Posts: 44
Joined: Sat May 20, 2023 3:09 am
Has thanked: 43 times
Been thanked: 19 times

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by Sector7e »

J0hannes wrote: Tue Aug 27, 2024 2:46 pm My knowledge is limited to official sw versions 2.05 & 2.17 which have been the base for the fuckery I've done in my fork --> unofficoal sw--> NO support on forum etc....

I'll tell you that at the moment, that's all you're going to get with AC charging, a click and then nothing. It is not your connections or what charger you are using. The Zombieverter does not send all the required CAN messages to Leaf PDM, the Leaf PDM goes into fault mode because of this and that's the reason you don't get a charge going.

For me 2.05 or 2.17 did not work and as people posting on the forum have not bothered reporting what sw version they are using when reporting something is working or not, it is not really practicat trying to search the forum in a desperate attempt chase down the version that was last with functioning AC charging on Leaf PDM.

While I was battling with this problem, I did not bother to go down with the zombieverter sw versions to see what is the last official release where the AC charging has been functional. That is one approach that you could also try and that could provide some insight on the timeline when the AC charging stopped working on official releases.

IF you would want to contribute, you could test the previous releases of official Zombieverter firmware and report, which is the latest one where the Leaf PDM AC charging works. Until the official has this bug fixed, this is the only option if you want to get help with software related issues on the forum. You know, just flash an old release, check that parameters are good try AC charging and if it works, you don't have to go further down in releases.

This is an Open source project meaning everyone can (and should) try to contribute in a way their abilities let them.
J0hannes, would there be any value in me trying to conduct the regression testing on the AC charging bug after I get settled in the new house? I'd like to find a way to help in the project with my limited programming skills. I'm willing to push my limits and learn.

Iceman96, if you're getting into charge mode on the Zombieverter your PP and CP are likely connected correctly. You will need to wait for the bug fix to be merged in the new release. If I were you I would shift my focus to the adaptor plate and mounting the motor until the issue is officially resolved.

Tom91, will the AC Charging fix still be merged into the next release (possibly 2.18?) even if the suggestions on GitHub aren't implemented in time?
User avatar
tom91
Posts: 2172
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 190 times
Been thanked: 492 times

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by tom91 »

Sector7e wrote: Tue Aug 27, 2024 4:10 pm Tom91, will the AC Charging fix still be merged into the next release (possibly 2.18?) even if the suggestions on GitHub aren't implemented in time?
I have introduced them along with the Nissan Leaf BMS, upon Damiens request as he will be using the Leaf stack (motor+inverter+pmd) and Battery in his truck. So these will be in the next release.
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Sector7e
Posts: 44
Joined: Sat May 20, 2023 3:09 am
Has thanked: 43 times
Been thanked: 19 times

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by Sector7e »

[*]
tom91 wrote: Tue Aug 27, 2024 4:55 pm I have introduced them along with the Nissan Leaf BMS, upon Damiens request as he will be using the Leaf stack (motor+inverter+pmd) and Battery in his truck. So these will be in the next release.
Are there plans to add the OpenInverter BMS to the ZombieVerter in the near future? When I reach phase 2 of my build I might use it for my new battery pack.
User avatar
tom91
Posts: 2172
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 190 times
Been thanked: 492 times

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by tom91 »

Sector7e wrote: Tue Aug 27, 2024 5:45 pm Are there plans to add the OpenInverter BMS to the ZombieVerter in the near future? When I reach phase 2 of my build I might use it for my new battery pack.
Just map it like one of supported CAN based BMSes.
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
User avatar
J0hannes
Posts: 95
Joined: Sat Nov 11, 2023 10:29 am
Location: Finland
Has thanked: 13 times
Been thanked: 83 times

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by J0hannes »

tom91 wrote: Tue Aug 27, 2024 4:55 pm I have introduced them along with the Nissan Leaf BMS, upon Damiens request as he will be using the Leaf stack (motor+inverter+pmd) and Battery in his truck. So these will be in the next release.
Ooh, I'm liking what I saw :) Nice Job!
Iceman96
Posts: 49
Joined: Sun Jan 14, 2024 1:36 am
Has thanked: 61 times
Been thanked: 18 times

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by Iceman96 »

J0hannes wrote: Tue Aug 27, 2024 2:46 pm My knowledge is limited to official sw versions 2.05 & 2.17 which have been the base for the fuckery I've done in my fork --> unofficoal sw--> NO support on forum etc....

I'll tell you that at the moment, that's all you're going to get with AC charging, a click and then nothing. It is not your connections or what charger you are using. The Zombieverter does not send all the required CAN messages to Leaf PDM, the Leaf PDM goes into fault mode because of this and that's the reason you don't get a charge going.

For me 2.05 or 2.17 did not work and as people posting on the forum have not bothered reporting what sw version they are using when reporting something is working or not, it is not really practicat trying to search the forum in a desperate attempt chase down the version that was last with functioning AC charging on Leaf PDM.

While I was battling with this problem, I did not bother to go down with the zombieverter sw versions to see what is the last official release where the AC charging has been functional. That is one approach that you could also try and that could provide some insight on the timeline when the AC charging stopped working on official releases.

IF you would want to contribute, you could test the previous releases of official Zombieverter firmware and report, which is the latest one where the Leaf PDM AC charging works. Until the official has this bug fixed, this is the only option if you want to get help with software related issues on the forum. You know, just flash an old release, check that parameters are good try AC charging and if it works, you don't have to go further down in releases.

This is an Open source project meaning everyone can (and should) try to contribute in a way their abilities let them.

Hi JOhannes

Thanks very much for your advice. I have watched Damiens video’s where he had it working so I could work my way back until I find the version that works. But in light of the other reples where it looks like the bug will be fixed in a future release, I will just wait for that one and use it. I am happy with how everything else is working, so I will now concentrate my efforts on physically mounting the leaf stack into my vehicle. That is going to take me a while, so hopefully by the time I get all that done the new release may already be out. And if not, I will then start trying the older releases.
Thanks again to everyone for their help
Sector7e
Posts: 44
Joined: Sat May 20, 2023 3:09 am
Has thanked: 43 times
Been thanked: 19 times

Re: [FIRST DRIVE] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by Sector7e »

I just updated to the zombieverter 2.20, and prior to that I was on 2.17. With v2.20 I seem to have a major issue in which the motor will bounce back and forth somewhat violently as after it spools down. When it gets to about 0 rpm it will bounce between 0rpm and 1rpm until I force it into gear, which stops the motor and brings it down to a constant 0rpm. This happens both in neutral and in gear. I'll revert to 2.17 and see if it continues to do this, or if this is a 2.20 regression.

Here is a video showing the issue:
User avatar
tom91
Posts: 2172
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 190 times
Been thanked: 492 times

Re: [Driving] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by tom91 »

Please post params for diagnostics.

Also why are you free reving it?!? This is not a real use case as there is almost no inertia.
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Sector7e
Posts: 44
Joined: Sat May 20, 2023 3:09 am
Has thanked: 43 times
Been thanked: 19 times

Re: [Driving] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by Sector7e »

tom91 wrote: Sat Dec 07, 2024 6:58 pm Please post params for diagnostics.

Also why are you free reving it?!? This is not a real use case as there is almost no inertia.
I'm only revving it in neutral to show the issue in a safe way. The vehicle does the same thing in gear, but violently shakes the truck.

Here are the parameters:
{
"Inverter": 1,
"Vehicle": 2,
"GearLvr": 0,
"Transmission": 0,
"interface": 0,
"chargemodes": 3,
"BMS_Mode": 4,
"ShuntType": 1,
"InverterCan": 0,
"VehicleCan": 1,
"ShuntCan": 1,
"LimCan": 0,
"ChargerCan": 0,
"BMSCan": 0,
"OBD2Can": 1,
"CanMapCan": 0,
"DCDCCan": 0,
"HeaterCan": 1,
"MotActive": 0,
"potmin": 25,
"potmax": 1300,
"pot2min": 25,
"pot2max": 1300,
"regenrpm": 1500,
"regenendrpm": 100,
"regenmax": -30,
"regenBrake": -10,
"regenramp": 100,
"potmode": 1,
"dirmode": 1,
"reversemotor": 0,
"throtramp": 100,
"throtramprpm": 20000,
"revlim": 8000,
"revRegen": 0,
"udcmin": 280,
"udclim": 403,
"idcmax": 200,
"idcmin": -100,
"tmphsmax": 85,
"tmpmmax": 300,
"throtmax": 100,
"throtmin": -100,
"throtmaxRev": 30,
"throtdead": 10,
"RegenBrakeLight": -15,
"throtrpmfilt": 15,
"Gear": 1,
"OilPump": 50,
"cruisestep": 200,
"cruiseramp": 20,
"regenlevel": 2,
"udcsw": 356,
"cruiselight": 0,
"errlights": 0,
"CAN3Speed": 0,
"BattCap": 24,
"Voltspnt": 403,
"Pwrspnt": 6600,
"IdcTerm": 0,
"CCS_ICmd": 0,
"CCS_ILim": 100,
"CCS_SOCLim": 100,
"SOCFC": 50,
"Chgctrl": 0,
"ChgAcVolt": 120,
"ChgEff": 90,
"ConfigFocci": 0,
"DCdc_Type": 0,
"DCSetPnt": 14,
"BMS_Timeout": 10,
"BMS_VminLimit": 3,
"BMS_VmaxLimit": 4.18,
"BMS_TminLimit": 5,
"BMS_TmaxLimit": 50,
"Heater": 0,
"Control": 0,
"HeatPwr": 0,
"HeatPercnt": 0,
"Set_Day": 0,
"Set_Hour": 0,
"Set_Min": 0,
"Set_Sec": 0,
"Chg_Hrs": 0,
"Chg_Min": 0,
"Chg_Dur": 0,
"Pre_Hrs": 0,
"Pre_Min": 0,
"Pre_Dur": 0,
"PumpPWM": 1,
"Out1Func": 6,
"Out2Func": 7,
"Out3Func": 3,
"SL1Func": 0,
"SL2Func": 0,
"PWM1Func": 0,
"PWM2Func": 4,
"PWM3Func": 2,
"GP12VInFunc": 12,
"HVReqFunc": 11,
"PB1InFunc": 12,
"PB2InFunc": 12,
"PB3InFunc": 12,
"GPA1Func": 0,
"GPA2Func": 0,
"ppthresh": 2500,
"BrkVacThresh": 2500,
"BrkVacHyst": 2500,
"DigiPot1Step": 0,
"DigiPot2Step": 0,
"FanTemp": 40,
"TachoPPR": 2,
"IsaInit": 0,
"Tim3_Presc": 719,
"Tim3_Period": 7200,
"Tim3_1_OC": 3600,
"Tim3_2_OC": 3600,
"Tim3_3_OC": 3600,
"CP_PWM": 10
}
User avatar
tom91
Posts: 2172
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 190 times
Been thanked: 492 times

Re: [Driving] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by tom91 »

Sector7e wrote: Sat Dec 07, 2024 7:08 pm I'm only revving it in neutral to show the issue in a safe way. The vehicle does the same thing in gear, but violently shakes the truck.
You should have made that clear. So when driving it slows to near zero the it shakes violently?

Change the "regenramp": 100 this is very high. same goes for your throtramp.

You can also try increasing regenendrpm to 200 or higher.
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Sector7e
Posts: 44
Joined: Sat May 20, 2023 3:09 am
Has thanked: 43 times
Been thanked: 19 times

Re: [Driving] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by Sector7e »

tom91 wrote: Sat Dec 07, 2024 7:09 pm You should have made that clear. So when driving it slows to near zero the it shakes violently?

Change the "regenramp": 100 this is very high. same goes for your throtramp.

You can also try increasing regenendrpm to 200 or higher.
Tom,

So I was able to make it stop. It seems like the FS5W71C 5 speed transmission is causing some sort of confusion with the regen with the slack that exists within the transmission. Maybe the input shaft of the transmission is bouncing back and forth with the Leaf output shaft causing the regen to think the Leaf motor is still accelerating, and tries to kick in the regen? I tried the following and the bouncing(is this what you would call it? Or maybe osculation?) still continued:

regenramp: 80,40, 20, 1
regenendrpm 200, 300, 600

The bouncing immediately stopped when I changed regenbrake and regenmax to 0.

Tom, are there any parameters you would like me to try or anything that would help in finding the reason my vehicle configuration is causing this problem?
User avatar
tom91
Posts: 2172
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 190 times
Been thanked: 492 times

Re: [Driving] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by tom91 »

https://github.com/damienmaguire/Stm32- ... _220a.json

Here are damiens params. Damien does not run any pedal regen on his leaf setup in his BMW E46

https://github.com/damienmaguire/Stm32- ... k220a.json

Here are the truck params
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Sector7e
Posts: 44
Joined: Sat May 20, 2023 3:09 am
Has thanked: 43 times
Been thanked: 19 times

Re: [Driving] 1996 Nissan D21 Hardbody 4x4 Leaf Swap

Post by Sector7e »

tom91 wrote: Sun Dec 08, 2024 1:25 am https://github.com/damienmaguire/Stm32- ... _220a.json

Here are damiens params. Damien does not run any pedal regen on his leaf setup in his BMW E46

https://github.com/damienmaguire/Stm32- ... k220a.json

Here are the truck params
Updates
  • I was able to drive my truck to my new house with a charging patch from J0hannes. Thanks! :)
  • Zombieverter 2.20A firmware fixed initiate AC charging with the LEAF PDM
  • After getting the charging started I'm unable to leave charging mode without a hard reboot of the zombieverter
  • I've smoothed out the motor oscillation with parameters
  • I've purchased CATL style modules to build a 52.8kWh battery pack
The motor oscillation issue has seemed to smooth itself out without any major parameter changes when I reverted back to 2.17 for testing and then back to 2.20. I don't know exactly what caused the issue with the initial update to 2.20, but I can no longer replicate the issue after flashing the Zombieverter to 2.20 a second time.

I have been able to successfully charge the battery. Now I can't seem to get the zombieverter out of charging mode without a hard reset. Unplugging the charging cable doesn't leave charging mode, turning the ignition off and on in any sequence didn't seem to do the trick either. What conditions is the VCU looking for to go back into run or off mode?
Post Reply