Page 7 of 10

Re: Nissan Leaf Gen3 inverter

Posted: Tue Aug 24, 2021 12:49 pm
by Jack Bauer
fyi gen3 leaf current sensors are 5v powered, 2.5v center 0A and 2.5mV/A

Re: Nissan Leaf Gen3 inverter

Posted: Tue Aug 31, 2021 9:13 am
by johu
Can you fit a good old Tamura?
https://www.digikey.de/product-detail/d ... -ND/529412

3.3 mV/A so you would loose some power.

for the bulky 800A L06P which would have the correct coefficient:
https://www.digikey.de/product-detail/d ... ND/3048495

Re: Nissan Leaf Gen3 inverter

Posted: Thu Sep 02, 2021 7:01 pm
by Dala
I have now completed my 110kW inverter retrofit! Video on installation:



Now to figure out the missing CAN messages and resolver coding!

Re: Nissan Leaf Gen3 inverter

Posted: Thu Sep 02, 2021 7:51 pm
by johu
Early forum release, thanks :)
You can pull more than 225A short term. I've also tuned my inverter to about 120 kW (with the openinverter board) and ran it on the 24 kWh pack. Even went full throttle for a few minutes doing a speed not allowed in Finland ;)

Re: Nissan Leaf Gen3 inverter

Posted: Fri Sep 03, 2021 4:21 pm
by Dala
Good to know!

I now made more progress on the Resolver Offset. I contacted Jim(Leafspy author) as soon as I had the first logs. Jim was able to add the resolver reading to the latest Leafspy Pro release, it looks like this: [76 -- -- -- --]
Image

I then ran my home-made writing, since this is not available in Leafspy yet. This is what my motor plate and the commands looked like:
Image

I then double-checked that the new offset was taken into use with Leafspy. It was. [86 -- -- -- --]
Image

This will all be automated soon, Jim is working hard on adding this as we speak :) But if you have a custom build that you can't connect Leafspy to, then the above commands I have listed will be mandatory! We need more people on the 110kW inverters :)

Re: Nissan Leaf Gen3 inverter

Posted: Fri Sep 03, 2021 4:24 pm
by Dala
This was mentioned in the video, the ZE1 inverter only needs the two first digits. That is why the rest are just listed as --

Image

But the above commands work for all generations, the extra numbers just get ignored!

Re: Nissan Leaf Gen3 inverter

Posted: Fri Sep 03, 2021 6:09 pm
by drprox
Nice. Resolver coding worked, I had got confused trying to get it to send the other numbers which aren't used!

FYI the fuse derate curve is shown here:
https://www.socfuse.com/products/detail/dc500vbt2543/

Btw. I didn't do anything smart with the CAN bridge, I just multiplied demand by 1.4

Re: Nissan Leaf Gen3 inverter

Posted: Sat Sep 04, 2021 8:08 am
by Dala
Great! I will work on getting the fault code cleared now.

My hypothesis is that some 10ms message is missing. The new inverter is sending a 0x120 that is just a heartbeat, so maybe the other similar ones are missing (like 0x1C2 or 0x1ED). I'll let you know if I have any breakthroughs!

Re: Nissan Leaf Gen3 inverter

Posted: Sat Sep 04, 2021 8:36 am
by drprox
Do you have a 40kWh pack? If so I thought it would essentially have a ZE1 BMS and therefore send out the 1C2 etc? Perhaps they flashed special firmware if not.

Re: Nissan Leaf Gen3 inverter

Posted: Sat Sep 04, 2021 11:01 am
by drprox
Did some playing this morning. The missing message is 4B9.

Re: Nissan Leaf Gen3 inverter

Posted: Sat Sep 04, 2021 12:33 pm
by Dala
You beat me to it! This is what my battery upgrade software looked like, so I was blocking most new messages:
Image

I have created a repository for the CAN-bridge inverter code: https://github.com/dalathegreat/Nissan- ... r-Upgrade/

I'll add the magic message there :)

Re: Nissan Leaf Gen3 inverter

Posted: Sun Sep 12, 2021 8:39 pm
by Dala
Full video on coding coming soon, here's a teaser:


Re: Nissan Leaf Gen3 inverter

Posted: Mon Sep 13, 2021 10:45 am
by bennyr
Don't you just love that EV grin?

Re: Nissan Leaf Gen3 inverter

Posted: Sat Sep 18, 2021 8:21 pm
by Dala
Final video is now out on the 110kW inverter! :)


Re: Nissan Leaf Gen3 inverter

Posted: Sun Sep 19, 2021 10:34 am
by johu
Very smooth and great that you're making it open source.

That camera effect is familiar :)

Re: Nissan Leaf Gen3 inverter

Posted: Fri Oct 08, 2021 5:43 pm
by Bratitude
Kelju wrote: Fri Oct 23, 2020 6:56 pm Adapter board is all assembled along with the V3 mainboard....
Kelju, would you mind sharing the pcb/ schematic for your adapter board?
Cheers

Re: Nissan Leaf Gen3 inverter

Posted: Mon Oct 25, 2021 6:47 pm
by Dala
Just got my hands on a gen4 (technically gen5) inverter! The part number for this 160kW inverter is 291A0-5SN0A. Anything I should check before chucking this into the LEAF?

Image

Re: Nissan Leaf Gen3 inverter

Posted: Tue Oct 26, 2021 6:24 pm
by drprox
If you are willing to open her up, i have been curious to know if they are using the same infineon IGBTs in this and therefore it is just a firmware change.

The reason being, my current sensor mod can overcome the firmware issue but not if I'm going to blow the gen4 igbts.

Re: Nissan Leaf Gen3 inverter

Posted: Wed Oct 27, 2021 4:29 pm
by Isaac96
drprox wrote: Tue Oct 26, 2021 6:24 pm If you are willing to open her up, i have been curious to know if they are using the same infineon IGBTs in this and therefore it is just a firmware change.

The reason being, my current sensor mod can overcome the firmware issue but not if I'm going to blow the gen4 igbts.
Are you planning to modify the phase current sensors?
Would that mess up the FOC algorithms?

Re: Nissan Leaf Gen3 inverter

Posted: Wed Oct 27, 2021 4:53 pm
by drprox
Yes. Already done it on the 110kW version and it seems to work great.

Re: Nissan Leaf Gen3 inverter

Posted: Thu Oct 28, 2021 4:57 am
by Isaac96
Awesome!

Re: Nissan Leaf Gen3 inverter

Posted: Thu Oct 28, 2021 5:47 am
by Bratitude
drprox wrote: Tue Oct 26, 2021 6:24 pm The reason being, my current sensor mod can overcome the firmware issue but not if I'm going to blow the gen4 igbts.
Is this mod simply just a purposeful phase shift in the readings? do you mind expanding how / what the mod entails?

Re: Nissan Leaf Gen3 inverter

Posted: Thu Oct 28, 2021 6:19 am
by drprox
Its simply an amplifier circuit to reduce the amplitude of the phase current signals, so the inverter drives more current to achieve its target 'torque'.

Re: Nissan Leaf Gen3 inverter

Posted: Mon Nov 08, 2021 10:06 am
by Leo M
johu wrote: Thu Sep 02, 2021 7:51 pm Early forum release, thanks :)
You can pull more than 225A short term. I've also tuned my inverter to about 120 kW (with the openinverter board) and ran it on the 24 kWh pack. Even went full throttle for a few minutes doing a speed not allowed in Finland ;)
Have you run it in reverse mode? My forward mode works fine, and in reverse mode there is an overcurrent. The settings are all working and tested on other inverters on GEN2 works perfectly! What could be the problem? Please help with advice.....Forward-great! Reverse - overcurrent....(

Re: Nissan Leaf Gen3 inverter

Posted: Fri Nov 12, 2021 1:11 pm
by Dala
I couldn't resist, so I installed the 160kW inverter with the 40kWh pack. No fuse problems so far :)