Leaf Gen 1 Inverter Board

Nissan Leaf/e-NV200 drive stack topics
Post Reply
User avatar
langoo
Posts: 68
Joined: Thu May 09, 2019 6:27 pm
Location: Varberg, Sweden

Re: Leaf Gen 1 Inverter Board

Post by langoo »

Jack Bauer wrote: Thu Aug 01, 2019 1:57 pm In other news all the wiring diagrams for the gen 1 resolver connector on the motor that I have are wrong. Correct pinout :

1-2: Temp sensor. 20k at approx 20c ambient

3-8: 17R. Exciter

6-7: 37R. Sin/Cos

4-5 : 37R. Sin/Cos
Would you mind sharing the final connection between the resolver cable and white connector on the logic board? If you remember the colours please write them too.
Did you figure out the Sin+/Sin- and Cos+/Cos-, which of 4-5 and 6-7 is what?
Robin Guldmyr
MR Electronics AB
PoloLbricolo
Posts: 102
Joined: Wed Apr 10, 2019 2:32 pm
Location: France
Has thanked: 2 times
Been thanked: 11 times

Re: Leaf Gen 1 Inverter Board

Post by PoloLbricolo »

Awesome work !

I'm just wondering where did you find the due_wire and Wire_EEPROM libraries ? The other two are easy to find with the arduino ide. And no luck with the wire lib's.
User avatar
Jack Bauer
Posts: 3666
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 12 times
Been thanked: 351 times
Contact:

Re: Leaf Gen 1 Inverter Board

Post by Jack Bauer »

I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3666
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 12 times
Been thanked: 351 times
Contact:

Re: Leaf Gen 1 Inverter Board

Post by Jack Bauer »

So good news is we can now command positive and negative torque and regen the motor in both directions.
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3666
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 12 times
Been thanked: 351 times
Contact:

Re: Leaf Gen 1 Inverter Board

Post by Jack Bauer »

0x1d4 byte 6 needs to be 0x30 before the inverter will accept a positive torque command. Updated the software on github for running on the open source vcu. All I need to do now is get it to read the throttle pedal and send torque commands that way.

https://github.com/damienmaguire/Nissan ... Controller
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3666
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 12 times
Been thanked: 351 times
Contact:

Re: Leaf Gen 1 Inverter Board

Post by Jack Bauer »

Here are a few pictures of my "blackboard" where I worked out the resolver connections. Will put it into something more readable.

Drove the car for the first time today:)
Attachments
2019-08-16 15.11.48.jpg
2019-08-16 15.11.44.jpg
2019-08-16 15.11.39.jpg
I'm going to need a hacksaw
User avatar
langoo
Posts: 68
Joined: Thu May 09, 2019 6:27 pm
Location: Varberg, Sweden

Re: Leaf Gen 1 Inverter Board

Post by langoo »

Robin Guldmyr
MR Electronics AB
User avatar
Jack Bauer
Posts: 3666
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 12 times
Been thanked: 351 times
Contact:

Re: Leaf Gen 1 Inverter Board

Post by Jack Bauer »

Wow that looks great:) its a gen 1?
I'm going to need a hacksaw
User avatar
langoo
Posts: 68
Joined: Thu May 09, 2019 6:27 pm
Location: Varberg, Sweden

Re: Leaf Gen 1 Inverter Board

Post by langoo »

Jack Bauer wrote: Sun Aug 18, 2019 7:56 pm Wow that looks great:) its a gen 1?
Yes it is ;)
Attachments
DSC01736.JPG
Robin Guldmyr
MR Electronics AB
User avatar
ra_XOr
Posts: 3
Joined: Tue Mar 26, 2019 5:18 am

Re: Leaf Gen 1 Inverter Board

Post by ra_XOr »

Hey Damien, for the board build, whereabouts the R6 and R8 located? They are on the BOM but not on the pick and place file.

My Nissan leaf is here 😅😅..

Cheers,
Berdi
Posts: 18
Joined: Fri Jul 19, 2019 11:42 am
Location: Georgia

Re: Leaf Gen 1 Inverter Board

Post by Berdi »

Good day! Thanks everyone! are very cool! :)
damian.lo
Posts: 123
Joined: Sat Dec 22, 2018 12:46 pm
Location: Poland

Re: Leaf Gen 1 Inverter Board

Post by damian.lo »

Hello,

Like someone here knows, I'm building since some time BMW116 conversion with Leaf motor. My DIY inverter with Johannes v2 controller works, but in meantime I want to try also play with Leaf inverter. Controller from JB connected via CAN is great for this and I want to try this. I want to solder this myself, but here is problem with my soldering skill :)
I'm not able to solder ATSAM3X8 myself, so I have question - can You maybe sell me pcb with already soldered IC1? I tried to ask You via PW, but according new rules better will be here. Maybe other person will have the same question.

Regards.
skyguy6153
Posts: 5
Joined: Fri Aug 23, 2019 5:38 pm

Re: Leaf Gen 1 Inverter Board

Post by skyguy6153 »

damian.lo wrote: Sun Oct 13, 2019 7:54 pm Hello,

Like someone here knows, I'm building since some time BMW116 conversion with Leaf motor. My DIY inverter with Johannes v2 controller works, but in meantime I want to try also play with Leaf inverter. Controller from JB connected via CAN is great for this and I want to try this. I want to solder this myself, but here is problem with my soldering skill :)
I'm not able to solder ATSAM3X8 myself, so I have question - can You maybe sell me pcb with already soldered IC1? I tried to ask You via PW, but according new rules better will be here. Maybe other person will have the same question.

Regards.
Honestly, I'm in the same boat in terms of SMD soldering, as the VCM is the first board I've ever done before (The only experience I have with soldering is on 18650 cells). Either way, that on shouldn't be too hard. Buy a solder wick (which are relatively cheap), look up some videos and read some articles on how to use it. You can bridge the connections all together and then use the solder wick to remove the excess solder.
damian.lo
Posts: 123
Joined: Sat Dec 22, 2018 12:46 pm
Location: Poland

Re: Leaf Gen 1 Inverter Board

Post by damian.lo »

And here's problem with all pads connected. I've already working v2 board from Johannes, which I done myself. Also I'm soldering from time to time some smd parts, but I feel that this is too small for me. From other side - in case of trouble I can take hotair and take cpu back. The world belongs to the brave man :)
Ok, I will wait a little - maybe Damien can make this favourite for me. Otherwise I have to fight with this. The most important is - car with motor is waiting for heart so I have to put something inside fast.
arber333
Posts: 3572
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 134 times
Been thanked: 339 times
Contact:

Re: Leaf Gen 1 Inverter Board

Post by arber333 »

damian.lo wrote: Sun Oct 20, 2019 2:12 pm And here's problem with all pads connected. I've already working v2 board from Johannes, which I done myself. Also I'm soldering from time to time some smd parts, but I feel that this is too small for me. From other side - in case of trouble I can take hotair and take cpu back. The world belongs to the brave man :)
Ok, I will wait a little - maybe Damien can make this favourite for me. Otherwise I have to fight with this. The most important is - car with motor is waiting for heart so I have to put something inside fast.
I think best is to just put rev. 2 board in controler and make connection. PWM signals are good, you just have to connect current sensors and voltage and temp sensing. I think this should be done with minimum loss of time. If you have to make a new circuit and all you loose time learning its quirks. Better to hold on to known ground for quick assembly.

But look at me full of wisdom and still my Pug wont drive... :oops:

EDIT: did anyone make a drawing of gen1 Leaf main board in Design spark. If i have layout i can quickly draw Lebowski board on that. Some time ago Bas told me it doesnt absolutely need three current sensors to run.
damian.lo
Posts: 123
Joined: Sat Dec 22, 2018 12:46 pm
Location: Poland

Re: Leaf Gen 1 Inverter Board

Post by damian.lo »

The best into Leaf inverter + Damiens board is clear connection via CAN. There is nothing to connect (yes, maybe some). If I will take v2 board + my power stage I really scare about my IGBTs that will blow. Like You said some time ago to me - better take proven power stage (prius or Leaf) and adopt only what is necessary to go.
Maybe v2 board + Leaf interface board from Johannes will be really fastest.
You have right - also me I have many open projects and car is still waiting. :)
doobedoobedo
Posts: 263
Joined: Sat Jan 12, 2019 12:39 am
Location: UK
Been thanked: 1 time

Re: Leaf Gen 1 Inverter Board

Post by doobedoobedo »

arber333 wrote: Sun Oct 20, 2019 4:54 pm EDIT: did anyone make a drawing of Leaf main board in Design spark. If i have layout i can quickly draw Lebowski board on that. Some time ago Bas told me it doesnt absolutely need three current sensors to run.
I don't know if you can import a gerber into design spark? My 2nd gen adaptor board has gerbers on github, you'd need the edge cuts one.
User avatar
Cookie6000
Posts: 247
Joined: Wed May 08, 2019 9:27 am
Location: Wicklow, IRL
Has thanked: 12 times
Been thanked: 33 times
Contact:

Re: Leaf Gen 1 Inverter Board

Post by Cookie6000 »

damian.lo wrote: Sun Oct 13, 2019 7:54 pm I want to solder this myself, but here is problem with my soldering skill :)
Same here Damian! I have been looking at a lot of the youtube tutorials and I think I'll take a shot at the chip but making sure I have all the right utensils to hand. One thing I don't have is that hot air gun thing. I presume it would be far trickier using just a soldering iron?

Another question for you all. I nearly have all the parts but, from the BOM, there are a number of RS parts that you can only buy in rolls of 5000 (!?) or discontinued. I emailed them and mentioned them I would be more than happy to take 25-50 resistors off the 5000 roll but they said they couldn't...(or wouldn't!). Has anyone one any to spare, advise on where I can get the last remaining parts here:
image.png
I had a look on mouser and elsewhere but unsure how accurate I have to be with other ratings aside from the resistance etc.

Thanks all!

Fiachra
Home of the #Audi8e - https://twitter.com/FiachraCooke
doobedoobedo
Posts: 263
Joined: Sat Jan 12, 2019 12:39 am
Location: UK
Been thanked: 1 time

Re: Leaf Gen 1 Inverter Board

Post by doobedoobedo »

If it's resistors and capacitors, get any with the same tolerance and power rating as in the BOM.
damian.lo
Posts: 123
Joined: Sat Dec 22, 2018 12:46 pm
Location: Poland

Re: Leaf Gen 1 Inverter Board

Post by damian.lo »

Exactly like doobedoobedo said, buy the same size 0805M and other values and will be good. Those missed parts, which were not present at Mouser, I bought in Farnell.
And one thing - don't miss to buy external Molex connectors A and B types with inserts, like I did :) Also are available at Farnell:
Conn. Molex 2x10 1 Molex 33472-2006
Conn. Molex 2x6 1 Molex 33472-1206
Terminal to Molex Conn. 32 Terminal Female Molex 33012-2002
User avatar
Cookie6000
Posts: 247
Joined: Wed May 08, 2019 9:27 am
Location: Wicklow, IRL
Has thanked: 12 times
Been thanked: 33 times
Contact:

Re: Leaf Gen 1 Inverter Board

Post by Cookie6000 »

Brill.
Thanks guys. What do you think soldering iron vs hot air gun method? Doable with an iron?
Home of the #Audi8e - https://twitter.com/FiachraCooke
doobedoobedo
Posts: 263
Joined: Sat Jan 12, 2019 12:39 am
Location: UK
Been thanked: 1 time

Re: Leaf Gen 1 Inverter Board

Post by doobedoobedo »

If you don't have hot air then 0805 should be easy enough with an iron. Have a practice first if you're not confident (you can get practice boards, google "0805 practice board").
User avatar
johu
Site Admin
Posts: 6754
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 382 times
Been thanked: 1574 times
Contact:

Re: Leaf Gen 1 Inverter Board

Post by johu »

I did the V3 mainboard with a 20 year old Ersa Multitip 15W, fine SMT solder and solder wick for the CPU. Basically short out all pins, then pull the excess solder off with the wick. Just make sure you align it right.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
damian.lo
Posts: 123
Joined: Sat Dec 22, 2018 12:46 pm
Location: Poland

Re: Leaf Gen 1 Inverter Board

Post by damian.lo »

0805 it's no problem with thin iron, but bigger problem for me was cpu. For this I take old graphic card for example and first resolder old parts like memory and then try to solder them. Like Johannes said - most important is to align them and use flux. If some legs are joined together - use wick. In theory was simple - in practise - yes - is necessary practice :)
arber333
Posts: 3572
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 134 times
Been thanked: 339 times
Contact:

Re: Leaf Gen 1 Inverter Board

Post by arber333 »

damian.lo wrote: Mon Nov 11, 2019 10:09 pm 0805 it's no problem with thin iron, but bigger problem for me was cpu. For this I take old graphic card for example and first resolder old parts like memory and then try to solder them. Like Johannes said - most important is to align them and use flux. If some legs are joined together - use wick. In theory was simple - in practise - yes - is necessary practice :)
In Theory There Is No Difference Between Theory and Practice, In Practice There Is!
Post Reply