No charge current with Leaf PDM and Zombiverter VCU

Rustybkts
Posts: 104
Joined: Wed Apr 24, 2024 4:00 pm
Has thanked: 17 times
Been thanked: 11 times

No charge current with Leaf PDM and Zombiverter VCU

Post by Rustybkts »

This is a fresh look at my earlier thread regarding the Leaf drive unit with Zombiverter not charging.

To avoid any issues with the Leaf drive unit I have purchased and wired in another 2015 Leaf Gen2 drive unit with EM57 motor.

Before connecting to the original wiring looms I connected +12v to the inverter terminals 46, 48 and ground to 47, 49 to check the current when not enabled/sleeping which is the same as on my original drive unit of around 500mA.
Current on the 12 battery supply to PDM terminal 18 is around 250mA.
This is what I am experiencing on the original drive unit so how are other users coping with this continuous drain on the 12v battery plus Zombiverter?

Connected the original car looms to the new test drive unit and it performs exactly the same as the one in the car.
Again, I can run the inverter and the DC-DC is running when the Zombiverter receives an ignition on pulse to its terminal 52 but with the ignition on relay 12 supply disconnected which powers Inverter term 42 and PDM term 16!
HV contactors have of course already closed when the ignition is keyed.

When the Type 2 plug is inserted, nothing happens with ignition off but my EVSE does detect the car is charging with 0 Amps displayed if ignition is on.
The plug is not shown as detected in the spot values list.

Can anyone clarify the order of operation to charge?
Does the Leaf PDM detect the plug is inserted with term 16 disabled or does it require ignition on?
Does the Zombiverter receive plug detected from the PDM CAN and close the HV contactors or again does it require ignition on?

One other thing to note. I am reading the cell voltages and temp from the BMS correctly in spot values but the SOC is always 99.8% which is incorrect.
I am using an Orion BMS with SimpBMS CAN frames.

Reading CAN 0x0390 byte 5 is 80 plug out and 84 with plug in with Zombiverter ign on but when only the PDM is enabled using 12v to pin 16 I get 90 on byte 5 plug out and 94 plug in.
User avatar
tom91
Posts: 2962
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bicester, Oxfordshire
Has thanked: 328 times
Been thanked: 847 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by tom91 »

Rustybkts wrote: Sun Jan 12, 2025 2:07 pm This is what I am experiencing on the original drive unit so how are other users coping with this continuous drain on the 12v battery plus Zombiverter?
This is resolved with my recent code fix for Leaf. viewtopic.php?p=78654#p78654
Rustybkts wrote: Sun Jan 12, 2025 2:07 pm Reading CAN 0x0390 byte 5 is 80 plug out and 84 with plug in with Zombiverter ign on but when only the PDM is enabled using 12v to pin 16 I get 90 on byte 5 plug out and 94 plug in.
this is not expected behaviour. Again most likely an issue with you chargeport/how you wired it as stated before.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Rustybkts
Posts: 104
Joined: Wed Apr 24, 2024 4:00 pm
Has thanked: 17 times
Been thanked: 11 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by Rustybkts »

tom91 wrote: Sun Jan 12, 2025 3:53 pm This is resolved with my recent code fix for Leaf. viewtopic.php?p=78654#p78654
I understood that this was only for Gen 3 issues.
tom91 wrote: Sun Jan 12, 2025 3:53 pm this is not expected behaviour. Again most likely an issue with your chargeport/how you wired it as stated before.
I will compare the type 1 socket PP resistance if installed and duplicate if necessary on my type 2 as I assume the different byte 5 CAN message must be due to the different resistance being sensed.
User avatar
tom91
Posts: 2962
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bicester, Oxfordshire
Has thanked: 328 times
Been thanked: 847 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by tom91 »

Rustybkts wrote: Sun Jan 12, 2025 4:21 pm I understood that this was only for Gen 3 issues.
Yes/No, charging would not work on Gen 3 PDM with current release. The Nissan Leaf components of any generation never sleep with current release, this does not stop charging working on Gen1 and Gen2 as far as others have found. The fix I created solves the not sleeping issue and then Gen 3 PDM not charging issue, as they are related.

The Byte 5 shows a port state, so wrong resistances would yeild an incorrect state or error state.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Rustybkts
Posts: 104
Joined: Wed Apr 24, 2024 4:00 pm
Has thanked: 17 times
Been thanked: 11 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by Rustybkts »

Is there a thread to help Newbs compiling and installing code tweaks?
I already have the latest version v2.20A installed but have no idea how any update to it is performed.
User avatar
tom91
Posts: 2962
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bicester, Oxfordshire
Has thanked: 328 times
Been thanked: 847 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by tom91 »

Rustybkts wrote: Sun Jan 12, 2025 4:54 pm Is there a thread to help Newbs compiling and installing code tweaks?
I already have the latest version v2.20A installed but have no idea how any update to it is performed.
Once testing is done a new release will be made, Damien is working on it. Your issue is still the fact you are not going into charge mode as the PDM is unhappy. This will not be fixed with the software changes. Clearly the issue you had before is still there.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Rustybkts
Posts: 104
Joined: Wed Apr 24, 2024 4:00 pm
Has thanked: 17 times
Been thanked: 11 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by Rustybkts »

Will check the charge port area wiring. May have messed up there as type 1 and 2 are slightly different in operation.

Many thanks for your assistance on this.

I note the Leaf threads are very popular so will detail my project when complete.
Rustybkts
Posts: 104
Joined: Wed Apr 24, 2024 4:00 pm
Has thanked: 17 times
Been thanked: 11 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by Rustybkts »

I have checked the charge port and the resistance of 2.7k is correct to the original type 1. PP and CP are wired correctly.

Again plug in gives a 0x0390 byte 5 reading of 84 and plug out 80. With the PDM enabled 12v to pin 16 I get 94 plug in and 90 plug out.

Same with both Leaf drive units.
Rustybkts
Posts: 104
Joined: Wed Apr 24, 2024 4:00 pm
Has thanked: 17 times
Been thanked: 11 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by Rustybkts »

Just wired the second Leaf PDM using its own harness to the Zombie.

Still get 0x390 byte 5 reading 84 plug in and 80 plug out. When PP is disconnected I get 8C which I assume is a fault condition.

The plug is still not sensed on spot values due I assume the wrong data. It is simply not possible to wire incorrectly as my EVSE is sensing PP and CP correctly.
User avatar
tom91
Posts: 2962
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bicester, Oxfordshire
Has thanked: 328 times
Been thanked: 847 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by tom91 »

Okay, due to the lack of information and logs I do not know exactly what the value of the byte 5 means. Logs and testing I have seen is that the "first" nibble should be 0 when unplugged and 8 when plugged it. Can look at modifying the code to accept a "range" so currently 1-8 seems to be okay but I am not sure.

Can you measure the resistance of the Proximity with the plug inserted but not plugged into the PDM.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Rustybkts
Posts: 104
Joined: Wed Apr 24, 2024 4:00 pm
Has thanked: 17 times
Been thanked: 11 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by Rustybkts »

With plug out its 2.73K and with a 16A limited plug in its 836R.

Its odd that with power on ign on pin 16 that 80 or 86 toggles to 90 or 96 so I assume it has some meaning somewhere.
User avatar
tom91
Posts: 2962
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bicester, Oxfordshire
Has thanked: 328 times
Been thanked: 847 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by tom91 »

I have been looking at as many logs as I can find and am struggling to find any log that does not show the 8 when plugged in on the first nibble. 0 when unplugged.

Is there any way to remove the resistance from your socket? Damiens truck runs no pull down on the proximity, and it resports 00 unplugged and then 08 plugged in.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Rustybkts
Posts: 104
Joined: Wed Apr 24, 2024 4:00 pm
Has thanked: 17 times
Been thanked: 11 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by Rustybkts »

Will try in the morning but disconnecting PP gives 8C so doubt the PP plug resistance will blank the leading 8.

The original Type 1 has a 2.73k resistor.

Does Damien use the Leaf PDM to sense the plug or Zombie?
User avatar
tom91
Posts: 2962
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bicester, Oxfordshire
Has thanked: 328 times
Been thanked: 847 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by tom91 »

Rustybkts wrote: Wed Jan 15, 2025 6:11 pm Does Damien use the Leaf PDM to sense the plug or Zombie?
PDM of course its his Nissan Leaf test bench.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Rustybkts
Posts: 104
Joined: Wed Apr 24, 2024 4:00 pm
Has thanked: 17 times
Been thanked: 11 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by Rustybkts »

Can confirm, no difference without the 2.7k resistor in the socket but I get 8C and not 80 with plug out and 84 with plug in and 9C/94 with 12v ign on on pin 16.
User avatar
tom91
Posts: 2962
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bicester, Oxfordshire
Has thanked: 328 times
Been thanked: 847 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by tom91 »

Okay this baffles me why it would be. Can you please post full logs of your testing. Please have it wired as per wiki instructions.

Then I can review all CAN traffic for possible more clues.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Rustybkts
Posts: 104
Joined: Wed Apr 24, 2024 4:00 pm
Has thanked: 17 times
Been thanked: 11 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by Rustybkts »

CAN and Zombie config files attached.

The test was with ignition on and start keyed as its the only way the HV contactors close.

How is charging usually achieved? Ignition off would be sensible but I assume it requires at least ignition on?

Test was with plug out and ign on, then plug in, then plug out again.
Attachments
test.txt
(1.78 MiB) Downloaded 468 times
params (3).json
(2.13 KiB) Downloaded 439 times
User avatar
tom91
Posts: 2962
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bicester, Oxfordshire
Has thanked: 328 times
Been thanked: 847 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by tom91 »

Rustybkts wrote: Fri Jan 17, 2025 1:41 pm How is charging usually achieved? Ignition off
Sensing the PDM wake up and send correct port status. As was mentioned before.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Rustybkts
Posts: 104
Joined: Wed Apr 24, 2024 4:00 pm
Has thanked: 17 times
Been thanked: 11 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by Rustybkts »

tom91 wrote: Thu Jan 16, 2025 4:33 pm Okay this baffles me why it would be. Can you please post full logs of your testing. Please have it wired as per wiki instructions.

Then I can review all CAN traffic for possible more clues.
Jut wondered if anything stood out or if any other data is required from the above logs?
User avatar
tom91
Posts: 2962
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bicester, Oxfordshire
Has thanked: 328 times
Been thanked: 847 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by tom91 »

Still the same thing with the PDM reporting the incorrect values for the charge port.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Rustybkts
Posts: 104
Joined: Wed Apr 24, 2024 4:00 pm
Has thanked: 17 times
Been thanked: 11 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by Rustybkts »

tom91 wrote: Fri Jan 24, 2025 11:29 am Still the same thing with the PDM reporting the incorrect values for the charge port.
I purchased a new 2015 Gen 2 drive module so that I had a completely new PDM to test and still have an 8 as the leading digit instead of a 0 in the CAN message as you know.

It doesn't matter what I do, the leading digit is an 8 so not sure how to progress with this.
User avatar
tom91
Posts: 2962
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bicester, Oxfordshire
Has thanked: 328 times
Been thanked: 847 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by tom91 »

Rustybkts wrote: Fri Jan 24, 2025 11:38 am leading digit is an 8
No the first digit, in hex the right most digit.

So 0x80 is fine. It is the 0 in this postion that is important.

This is all the logs I have seen from both working leafs and other working conversions.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Rustybkts
Posts: 104
Joined: Wed Apr 24, 2024 4:00 pm
Has thanked: 17 times
Been thanked: 11 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by Rustybkts »

Sorry, my Hex terminology is a bit confusing.

Are you saying the plug out 0x390 byte 5 should be 0x80 and 0x88 plug in?
I haven't tried using a different EVSE capable of 7kW as my garage one is set to a max 3.5kW for supply reasons but could try on my house charger.
I wonder if the 0x84 I get is due to the lower EVSE rating?
User avatar
tom91
Posts: 2962
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bicester, Oxfordshire
Has thanked: 328 times
Been thanked: 847 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by tom91 »

0x84 - Connected is strange, please try ther plugs/evses to see if this changes.

0x80 - unconnected is correct.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Rustybkts
Posts: 104
Joined: Wed Apr 24, 2024 4:00 pm
Has thanked: 17 times
Been thanked: 11 times

Re: No charge current with Leaf PDM and Zombiverter VCU

Post by Rustybkts »

Ok, with the Easee EVSE set to 32A and a 32A cable connected, I get 0x88 for plug in and 0x080 plug out.
0x084 must be 16A limit detected.

Zombie has plug detected but nothing on Pilot type in Spot values.

Its windy but couldn't hear the HV being enabled. Should this happen with Ignition key in the off position or on?
Post Reply