Leaf Gen 1 board
- johu
- Site Admin
- Posts: 5787
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1022 times
- Contact:
Re: Leaf Gen 1 board
Ok, installed version 5 now, looking good!
Damien, same for me with eagle. But since the free version is restricted to 100x80 I have to move
Damien, same for me with eagle. But since the free version is restricted to 100x80 I have to move
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 260
- Joined: Sat Jan 12, 2019 12:39 am
- Location: UK
Re: Leaf Gen 1 board
Excellent. I started on eagle too, but took the plunge to use kicad exclusively after needing a 4 layer board.
It is possible to run designspark under wine. I'll see if I can find a link to the instructions. It's how I've used it. I do understand the reluctance to change from something you've got so much time invested in.
It is possible to run designspark under wine. I'll see if I can find a link to the instructions. It's how I've used it. I do understand the reluctance to change from something you've got so much time invested in.
- celeron55
- Posts: 776
- Joined: Thu Jul 04, 2019 3:04 pm
- Location: Finland
- Has thanked: 28 times
- Been thanked: 110 times
- Contact:
Re: Leaf Gen 1 board
I tried designspark on wine and it wasn't too difficult to get it running and open damien's boards using it. Can't comment on long term stability. I think they even had a semi official tutorial for the install.
- 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
Going forward it would be useful to promote a 'preferred' CAD tool for open inverter developments. Can we all agree this is KiCad and that we start a common library on github for any custom parts that we create in the future?
I appreciate this doesn't help Damien and his investment in designspark but maybe if the rest of us use KiCad it will make his transition easier in the future?
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.
- johu
- Site Admin
- Posts: 5787
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1022 times
- Contact:
Re: Leaf Gen 1 board
Yeah I'd definitely vote for KiCAD. Just doing the first steps in it and it seems really intuitive and I could easily find answers to beginners questions on the web (good user base).
Now, back to the leaf board some questions arose:
1. Where is the bus voltage?
2. What is CN1?
3. Are there 3 current sensors?
4. What is the "good" level of the fault signals on CN3? Can I just have them on a common 5V pull up (wired-AND) and fault out if one goes low?
5. Do you know any of the other signals on CN3?
6. Pin pitch of CN2?
7. Where is the motor temp sensor connected? Is it the same as in Leaf2?
Now, back to the leaf board some questions arose:
1. Where is the bus voltage?
2. What is CN1?
3. Are there 3 current sensors?
4. What is the "good" level of the fault signals on CN3? Can I just have them on a common 5V pull up (wired-AND) and fault out if one goes low?
5. Do you know any of the other signals on CN3?
6. Pin pitch of CN2?
7. Where is the motor temp sensor connected? Is it the same as in Leaf2?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 260
- Joined: Sat Jan 12, 2019 12:39 am
- Location: UK
Re: Leaf Gen 1 board
KiCAD is a good choice for any OSHW project, the problem is that there is always a learning curve with any new-to-you piece of software and also some, like Damien, have many years invested in another tool.
Some of the footprints are up on my github, including the gen-2 proprietary leaf connector.
And finally I think this is the guide I used to get DS running in Ubuntu https://designspark.zendesk.com/hc/en-u ... with-Wine-
Some of the footprints are up on my github, including the gen-2 proprietary leaf connector.
And finally I think this is the guide I used to get DS running in Ubuntu https://designspark.zendesk.com/hc/en-u ... with-Wine-
Re: Leaf Gen 1 board
johu wrote: ↑Fri Jul 26, 2019 5:04 pm Yeah I'd definitely vote for KiCAD. Just doing the first steps in it and it seems really intuitive and I could easily find answers to beginners questions on the web (good user base).
Now, back to the leaf board some questions arose:
1. Where is the bus voltage? If you mean 12V+ then they are on pin 39,40.
2. What is CN1? Temperature sensor on pin 1 and 3
3. Are there 3 current sensors? Yes, they are on CN4 and are three in total.
4. What is the "good" level of the fault signals on CN3? Can I just have them on a common 5V pull up (wired-AND) and fault out if one goes low? Check the schematics I sent you on email before, maybe they have the answear
5. Do you know any of the other signals on CN3?
6. Pin pitch of CN2? 2.2 mm is the pitch.
7. Where is the motor temp sensor connected? Is it the same as in Leaf2? It's the same connector on the motor, the tempsensor comes in on pin 15 on CN2.
Robin Hellström
MR Electronics AB
MR Electronics AB
- johu
- Site Admin
- Posts: 5787
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1022 times
- Contact:
Re: Leaf Gen 1 board
Cool, thanks
1. no I mean a signal that represents the high voltage level
4. Yes they are all pulled up to 5V, does that mean 5V=good?
7. The temp sensor must have 2 pins, what is the other one connected to?
1. no I mean a signal that represents the high voltage level
4. Yes they are all pulled up to 5V, does that mean 5V=good?
7. The temp sensor must have 2 pins, what is the other one connected to?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Re: Leaf Gen 1 board
johu wrote: ↑Fri Jul 26, 2019 7:33 pm Cool, thanks
1. no I mean a signal that represents the high voltage level.
That's over my paygrade to figure out
4. Yes they are all pulled up to 5V, does that mean 5V=good?
Sounds reasonable but maybe someone else on the forum have better knowledge
7. The temp sensor must have 2 pins, what is the other one connected to?
Pin 14 on CN2 is GND for tempsensor
Robin Hellström
MR Electronics AB
MR Electronics AB
- johu
- Site Admin
- Posts: 5787
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1022 times
- Contact:
Re: Leaf Gen 1 board
7. Thanks
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- johu
- Site Admin
- Posts: 5787
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1022 times
- Contact:
Re: Leaf Gen 1 board
BTW does anyone know what the large PNP power trannies are used for on Nissan original boards?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Teknomadix
- Posts: 27
- Joined: Sun Jul 14, 2019 7:37 am
- Location: Cascadia
- Contact:
- johu
- Site Admin
- Posts: 5787
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1022 times
- Contact:
Re: Leaf Gen 1 board
Right. If it were a PNP/NPN pair I would have said resolver excitation. But two PNP...
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 99
- Joined: Sat Dec 22, 2018 9:39 pm
- Location: Vancouver, Canada
- Been thanked: 10 times
Re: Leaf Gen 1 board
Pure speculation, precharge and charge relay drivers for the battery pack. At least that was my thoughts when I saw a similar pair on the gen2 board.
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Leaf Gen 1 board
No they dont use the inverter for contactor control.
I'm going to need a hacksaw
- johu
- Site Admin
- Posts: 5787
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1022 times
- Contact:
Re: Leaf Gen 1 board
Is this the outside-world connector: https://www.digikey.de/product-detail/d ... ND/2273491
?
2.2mm vertical and 3mm horizontal pin spacing.
?
2.2mm vertical and 3mm horizontal pin spacing.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Re: Leaf Gen 1 board
I would say that's the correct connector. Looks really like the one I have.johu wrote: ↑Mon Jul 29, 2019 12:24 pm Is this the outside-world connector: https://www.digikey.de/product-detail/d ... ND/2273491
?
2.2mm vertical and 3mm horizontal pin spacing.
Just like the drawing suggest from the connector on Digikey is the two screws holding it to the board on the underside, see attachment.
The numbering of the connectors seems also correct.
- Attachments
Robin Hellström
MR Electronics AB
MR Electronics AB
- johu
- Site Admin
- Posts: 5787
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1022 times
- Contact:
Re: Leaf Gen 1 board
Thats cool, so no salvaging is needed for the Gen1 board then.
Currently fighting with KiCad symbol footprint stuff
Currently fighting with KiCad symbol footprint stuff
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Leaf Gen 1 board
Have you used this service? https://componentsearchengine.com/
They make components for all the major pcb cad packages including kicad.
They make components for all the major pcb cad packages including kicad.
I'm going to need a hacksaw
Re: Leaf Gen 1 board
Just an heads up now when you folks are designing adapterboards. There is a little caviat that Nissan has done with the way cables go from the outside green connector to the inside white connector (the one Johannes found on Digikey). There is not much of the cables going from one number in the green connector to the same number in the white connector. I think this makes it a litle more tricky to design the board regarding how to use the pins on the white connector.
My suggestion is that you use the original needed functions like motortemp, sin, cos, excite, 12V+, GND, IGN and CAN just like Nissan has done on the white connector. In that way are we still able to look back in Nissan maintance manuals and see the correlation of functions on the pins when you look up wiring diagrams and pictures of connectors and so on. An extra little problem is that Nissan don't show the white contact in their manual.
I tried today to filter out the must needed cables between the white and green connector but falled a little short on how I cut the green connector for 6 months ago, the cables are left very short on my green connector. Will try again tomorrow but every one else who are in need of this adapterboard should have a look at their green connector and try to write down the colours and pins between the connectors.
Also have a look at the pinout of the white connector, see attachment, which I can confirm is the correct order.
What do you all think of this thought?
My suggestion is that you use the original needed functions like motortemp, sin, cos, excite, 12V+, GND, IGN and CAN just like Nissan has done on the white connector. In that way are we still able to look back in Nissan maintance manuals and see the correlation of functions on the pins when you look up wiring diagrams and pictures of connectors and so on. An extra little problem is that Nissan don't show the white contact in their manual.
I tried today to filter out the must needed cables between the white and green connector but falled a little short on how I cut the green connector for 6 months ago, the cables are left very short on my green connector. Will try again tomorrow but every one else who are in need of this adapterboard should have a look at their green connector and try to write down the colours and pins between the connectors.
Also have a look at the pinout of the white connector, see attachment, which I can confirm is the correct order.
What do you all think of this thought?
Robin Hellström
MR Electronics AB
MR Electronics AB
Re: Leaf Gen 1 board
Okay, I did my best to sort out the connection pins between the two connectors, see attachment.
I've also attached the pinout of the green connector from the maintance manual.
I've also attached the pinout of the green connector from the maintance manual.
- Attachments
-
- Inkoppling V2.ods
- ODS-file for your own editing
- (12.24 KiB) Downloaded 185 times
-
- F13-CN2 translation.pdf
- PDF of the connections
- (22.33 KiB) Downloaded 215 times
Robin Hellström
MR Electronics AB
MR Electronics AB
- johu
- Site Admin
- Posts: 5787
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1022 times
- Contact:
Re: Leaf Gen 1 board
Getting started on the adapter board. KiCAD was too much trouble so using FreePCB again.
Has anyone found the bus voltage pin?
Has anyone found the bus voltage pin?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- johu
- Site Admin
- Posts: 5787
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1022 times
- Contact:
Re: Leaf Gen 1 board
And I could use some help on "CN3"
Pins:
Pins:
- nc
- connected to 3
- connected to 2
- bus voltage?? PWM or linear?
- n/a
- Fault 1
- n/a
- Fault 2
- 5V
- nc
- nc
- Fault 3
- Fault 4
- 12V
- 5V
- Fault 5
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
Re: Leaf Gen 1 board
I'll have a poke around on my inverter next week and see what I can find.
I'm going to need a hacksaw
- johu
- Site Admin
- Posts: 5787
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1022 times
- Contact:
Re: Leaf Gen 1 board
Yeah sounds good
So I've wired up all more or less known signals, assuming all 5 fault signals are good when not low. So they have a common pull-up resistor of 10k on the mainboard and 1nF filter cap.
Missing things are the bus voltage and the characteristic of the heatsink temp sensor.
I did a pin map based on Robins table. I'm reusing Nissan pin map and in addition mapped some IO on spare pins. Everything is brought out to the white connector but not to the green one due to a lack of pins.
So I've wired up all more or less known signals, assuming all 5 fault signals are good when not low. So they have a common pull-up resistor of 10k on the mainboard and 1nF filter cap.
Missing things are the bus voltage and the characteristic of the heatsink temp sensor.
I did a pin map based on Robins table. I'm reusing Nissan pin map and in addition mapped some IO on spare pins. Everything is brought out to the white connector but not to the green one due to a lack of pins.
- Attachments
-
- pinmap.txt
- (1.23 KiB) Downloaded 183 times
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9