Leaf Gen 1 board

Nissan Leaf/e-NV200 drive stack topics
arber333
Posts: 3241
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 74 times
Been thanked: 223 times
Contact:

Re: Leaf Gen 1 board

Post by arber333 »

johu wrote: Fri Sep 06, 2019 6:11 pm Damn it.. I mean thanks for checking ;)
Even if it were PWM your multimeter would convert it to a voltage. So now I can either skip DC voltage which would disable meaningful precharge control or wire the remaining pins to a jumper link.
FOC doesnt need DC link voltage does it?
You could just make precharge function of time :( . But there would have to be clear instruction to use such and such resistor!
User avatar
johu
Site Admin
Posts: 5684
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Leaf Gen 1 board

Post by johu »

Ok, I added a 3-way jumper that lets you try out 3 possible inputs on CN3 for bus voltage. Also added possibility for pull-up or down resistor.

No, FOC doesn't really need the voltage, at least not per the current implementation.

So Gerber files attached, does anyone with a Gen1 Leaf want to get some boards made?

Mini BOM:
CN1: GT8E-4P-DS
CN2: TE AMP 1318384-4
CN3: GT8E-16DP-DS
CN4: GT8E-12DP-DS
CN5: GT8E-8P-DS
CN6: GT8E-5P-DS
R1: 120 (optional)
R2: 1k2
Attachments
leaf-gen1-adapter.zip
(36.21 KiB) Downloaded 239 times
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
langoo
Posts: 65
Joined: Thu May 09, 2019 6:27 pm
Location: Varberg, Sweden

Re: Leaf Gen 1 board

Post by langoo »

johu wrote: Fri Sep 06, 2019 6:11 pm Damn it.. I mean thanks for checking ;)
Even if it were PWM your multimeter would convert it to a voltage. So now I can either skip DC voltage which would disable meaningful precharge control or wire the remaining pins to a jumper link.
Over CAN-bus do we get the DC-voltage reading so some how is the logic board measuring it.

See my attachments.

This is the PCB that residents the IGBT:s, it looks like an array of resistors in the middle that goes somewhere on the board. I have measured it and there is contact with the incoming positive DC-voltage on that resistor array.
Attachments
IMG_20190804_200403.jpg
IMG_20190804_200522.jpg
IMG_20190803_113109.jpg
Robin Hellström
MR Electronics AB
User avatar
johu
Site Admin
Posts: 5684
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Leaf Gen 1 board

Post by johu »

That looks very similar to the gen2 driver board. Looks like the other end of those resistors bugger off to the logic section on an inner layer.
I'm sure it must show up somewhere.
Why does the connector have a different pin count to the one on the controller?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
langoo
Posts: 65
Joined: Thu May 09, 2019 6:27 pm
Location: Varberg, Sweden

Re: Leaf Gen 1 board

Post by langoo »

johu wrote: Fri Sep 06, 2019 10:13 pm That looks very similar to the gen2 driver board. Looks like the other end of those resistors bugger off to the logic section on an inner layer.
I'm sure it must show up somewhere.
Why does the connector have a different pin count to the one on the controller?
I attached an overview of the connectors/colours of the bottom PCB.
Attachments
Best picture I have of the connectors on the logic board. Yellow is second from right.
Best picture I have of the connectors on the logic board. Yellow is second from right.
IMG_20190803_113101.jpg
Robin Hellström
MR Electronics AB
soheil.akbari
Posts: 1
Joined: Tue Sep 24, 2019 8:30 am

Re: Leaf Gen 1 board

Post by soheil.akbari »

So Gerber files attached, does anyone with a Gen1 Leaf want to get some boards made?


Hi Johannes,

My first post on this forum. Totally a newbie and a mechanical engineer not electrical! I have a Gen1 that I am building a E-Truck out of. I am willing to pay the cost toward making some of these boards. I can use one. Let me know how to proceed. We typically use pcbway.com. They offer great quality and quick turn around.

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

Re: Leaf Gen 1 board

Post by skyguy6153 »

I ordered mine from JLCPCB, came with 5 in total. Image
User avatar
johu
Site Admin
Posts: 5684
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Leaf Gen 1 board

Post by johu »

Great, finally this got made.
The picture isn't visible, please attach it to the thread.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Emyr
Posts: 8
Joined: Thu May 16, 2019 3:13 pm

Re: Leaf Gen 1 board

Post by Emyr »

The image is hosted by google, it is probably still private.
skyguy6153
Posts: 5
Joined: Fri Aug 23, 2019 5:38 pm

Re: Leaf Gen 1 board

Post by skyguy6153 »

Ok, so all the components from the BOM above have arrived and been put on (except for R1, was confused as to if that is a 120 Ohm resistor or not?) I'm guessing I'll need the Revision 3 brainboard on the webshop, just like with the Gen 2 inverter board? Please let me know if you can't see the image. Image
User avatar
sfk
Posts: 289
Joined: Mon Jan 14, 2019 8:29 pm
Location: Wellington, NZ
Has thanked: 2 times

Re: Leaf Gen 1 board

Post by sfk »

That image doesn't work, sorry.
-< Mazda Eunos JC Cosmo rotary -> EV conversion w/ Lexus GS450H gear >-
User avatar
Kevin Sharpe
Posts: 1345
Joined: Fri Dec 14, 2018 9:24 pm
Location: Ireland and US
Been thanked: 4 times

Re: Leaf Gen 1 board

Post by Kevin Sharpe »

skyguy6153 wrote: Mon Nov 18, 2019 10:48 pmPlease let me know if you can't see the image.
Please post images as attachments because we've all experienced third part hosting sites changing their policies and making threads unreadable.
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
skyguy6153
Posts: 5
Joined: Fri Aug 23, 2019 5:38 pm

Re: Leaf Gen 1 board

Post by skyguy6153 »

It's not letting me post the photo on here. Becoming frustrated with this so if you want to see it, I've put it on my Instagram page. Sorry for any annoyance. https://www.instagram.com/p/B5BksODH76d ... sbhrb0pbdm
User avatar
johu
Site Admin
Posts: 5684
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Leaf Gen 1 board

Post by johu »

I tested your permissions, you should be able to upload files. Can you make a screenshot of any error message (and post it on instragram ;) )
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
johu
Site Admin
Posts: 5684
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Leaf Gen 1 board

Post by johu »

Some months alter I thought I should grab the photo from instagram :)
Attachments
leaf1.png
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
electric_e60
Posts: 6
Joined: Tue Feb 11, 2020 3:35 am
Location: GA, USA

Re: Leaf Gen 1 board

Post by electric_e60 »

I wish I found this thread earlier, I was unable to find the white connector anywhere after damaging the first one and had to buy a replacement inverter just for the connector. Good news is the inverter is only $200, Now I have 2 inverters for whatever reason and know where to get a hold of the connector:).

Anywho, Just bought the v3 Brainboard, Had my Gen 1 Leaf adapter made and ordered parts from the BOM. I'll test and report back when I get a hold of all parts. For now I'll keep reading through the Docs.

Is the process for the Gen1 and brainboard similar to the Gen2? Just attach the brainboard to the adapter, connect wires to the white connector? What pins power the motor?
lpitka
Posts: 8
Joined: Fri Oct 11, 2019 4:13 am
Location: Saskatoon, SK, Canada

Re: Leaf Gen 1 board

Post by lpitka »

I have installed the Leaf Gen 1 adapter with my V3 brain board into my Leaf Gen 1 Inverter, but I still haven't got the motor to spin yet.

The DESAT error is always asserted, even before I try to run the motor in manual mode from the web interface. Has anyone else made it past this point?
lpitka
Posts: 8
Joined: Fri Oct 11, 2019 4:13 am
Location: Saskatoon, SK, Canada

Re: Leaf Gen 1 board

Post by lpitka »

Update: Got the motor spinning! We had to remove the DESAT pin (and connect the forward pin to 12V...). Looks like the alert signal on this Leaf inverter is active high instead of active low. Does anyone know if this polarity is easily changed in the brainboard firmware? If not, it might be easier to invert the signal with hardware.

The inverter enclosure can't close with brain board being a daughter board on top of the adapter board, so I will have to design a new board to combine the brain board and adapter board (and integrate the brain board test circuit too).
User avatar
johu
Site Admin
Posts: 5684
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Leaf Gen 1 board

Post by johu »

That is very useful feedback. Too bad the universal brain board approach doesn't work here. How much extra room would there need to be? Would it work upside down?
The DESAT pin feeds into a NAND tree, i.e. it must be high in order for PWM to run. Inversion needed... Maybe an NPN transistor for now
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
electric_e60
Posts: 6
Joined: Tue Feb 11, 2020 3:35 am
Location: GA, USA

Re: Leaf Gen 1 board

Post by electric_e60 »

lpitka wrote: Fri Feb 28, 2020 3:36 pm Update: Got the motor spinning! We had to remove the DESAT pin (and connect the forward pin to 12V...). Looks like the alert signal on this Leaf inverter is active high instead of active low. Does anyone know if this polarity is easily changed in the brainboard firmware? If not, it might be easier to invert the signal with hardware.

The inverter enclosure can't close with brain board being a daughter board on top of the adapter board, so I will have to design a new board to combine the brain board and adapter board (and integrate the brain board test circuit too).
Thanks for reporting back. What pin is the DESAT pin? Is it on the v3 board or the adapter board?
lpitka
Posts: 8
Joined: Fri Oct 11, 2019 4:13 am
Location: Saskatoon, SK, Canada

Re: Leaf Gen 1 board

Post by lpitka »

johu wrote: Fri Feb 28, 2020 4:47 pm That is very useful feedback. Too bad the universal brain board approach doesn't work here. How much extra room would there need to be? Would it work upside down?
The DESAT pin feeds into a NAND tree, i.e. it must be high in order for PWM to run. Inversion needed... Maybe an NPN transistor for now
It might work with the brain board on the bottom side of the adapter board. I will take a look when I'm back in the shop on the weekend.

Another option would be to rearrange the adapter board so the brain board can sit right on top of the adapter board and be soldered to it instead of having to use female headers. Currently female headers are needed because the brain board would otherwise collide with CN4 and CN5, and the WiFi module would collide with CN1. If the brain board could be moved up a few mm on the adapter board then it would no longer collide with CN4 and CN5, and CN1 could be moved to the other side of the WiFi module. In this case, the brain board would be able to sit low enough on the adapter board to fit in the inverter enclosure.

I will add a transistor to invert the DESAT signal on the next board I order. Simple fix to the problem.
lpitka
Posts: 8
Joined: Fri Oct 11, 2019 4:13 am
Location: Saskatoon, SK, Canada

Re: Leaf Gen 1 board

Post by lpitka »

electric_e60 wrote: Sun Mar 01, 2020 5:52 am
lpitka wrote: Fri Feb 28, 2020 3:36 pm Update: Got the motor spinning! We had to remove the DESAT pin (and connect the forward pin to 12V...). Looks like the alert signal on this Leaf inverter is active high instead of active low. Does anyone know if this polarity is easily changed in the brainboard firmware? If not, it might be easier to invert the signal with hardware.

The inverter enclosure can't close with brain board being a daughter board on top of the adapter board, so I will have to design a new board to combine the brain board and adapter board (and integrate the brain board test circuit too).
Thanks for reporting back. What pin is the DESAT pin? Is it on the v3 board or the adapter board?
The DESAT pin is on the V3 board and is used to detect desaturation of the motor, as described in the theory section of the WiKi: https://openinverter.org/wiki/Hardware_ ... _Operation

There are 5 fault signals on CN3 of the adapter board that are all tied to this pin. Johannes noted these pins in a post a few pages back in this forum topic.
electric_e60
Posts: 6
Joined: Tue Feb 11, 2020 3:35 am
Location: GA, USA

Re: Leaf Gen 1 board

Post by electric_e60 »

lpitka wrote: Thu Mar 05, 2020 5:01 am
johu wrote: Fri Feb 28, 2020 4:47 pm That is very useful feedback. Too bad the universal brain board approach doesn't work here. How much extra room would there need to be? Would it work upside down?
The DESAT pin feeds into a NAND tree, i.e. it must be high in order for PWM to run. Inversion needed... Maybe an NPN transistor for now
It might work with the brain board on the bottom side of the adapter board. I will take a look when I'm back in the shop on the weekend.

Another option would be to rearrange the adapter board so the brain board can sit right on top of the adapter board and be soldered to it instead of having to use female headers. Currently female headers are needed because the brain board would otherwise collide with CN4 and CN5, and the WiFi module would collide with CN1. If the brain board could be moved up a few mm on the adapter board then it would no longer collide with CN4 and CN5, and CN1 could be moved to the other side of the WiFi module. In this case, the brain board would be able to sit low enough on the adapter board to fit in the inverter enclosure.

I will add a transistor to invert the DESAT signal on the next board I order. Simple fix to the problem.
Thanks. After removing DESAT pin, did you just have to put power to pin 7 and connect grounds to get the inverter working? I tried and had no luck.
lpitka
Posts: 8
Joined: Fri Oct 11, 2019 4:13 am
Location: Saskatoon, SK, Canada

Re: Leaf Gen 1 board

Post by lpitka »

electric_e60 wrote: Thu Mar 05, 2020 5:59 pm Thanks. After removing DESAT pin, did you just have to put power to pin 7 and connect grounds to get the inverter working? I tried and had no luck.
Here are the basic steps I followed to get the motor spinning: After following these steps the motor started to work. If you have issues then make sure to check the error log.

Good luck!
User avatar
johu
Site Admin
Posts: 5684
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Leaf Gen 1 board

Post by johu »

Hey Lance,
you see me surprised - it works with pinswap=4 ?

Removed the trailing comma
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Post Reply