Leaf Gen 1 Inverter Board
- Jack Bauer
- Posts: 3564
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 93 times
- Contact:
Leaf Gen 1 Inverter Board
Starting a thread here as I'll soon be working on a board for the Gen 1 Leaf inverter. Will update with info and board design as it develops.
I'm going to need a hacksaw
- Cookie6000
- Posts: 247
- Joined: Wed May 08, 2019 9:27 am
- Location: Wicklow, IRL
- Has thanked: 12 times
- Been thanked: 32 times
- Contact:
Re: Leaf Gen 1 Inverter Board
Nice one JB
Will be picking up my Gen 1 Leaf motor/dc inverter + loom later this week with the plan to mate it to an unsuspecting tdi Audi 80 Avant so everything you have been doing recently is bang on . Can't wait to get started and fire up a project thread on here. Plenty of ICE upgrade experience over the decades but this is a whole new horizon I am aiming for...
Will be picking up my Gen 1 Leaf motor/dc inverter + loom later this week with the plan to mate it to an unsuspecting tdi Audi 80 Avant so everything you have been doing recently is bang on . Can't wait to get started and fire up a project thread on here. Plenty of ICE upgrade experience over the decades but this is a whole new horizon I am aiming for...
Home of the #Audi8e - https://twitter.com/FiachraCooke
Re: Leaf Gen 1 Inverter Board
Just to let it be known, I have one of these as well and will be taking it apart.
Re: Leaf Gen 1 Inverter Board
Jack Bauer wrote: ↑Wed Jul 03, 2019 5:57 pm Starting a thread here as I'll soon be working on a board for the Gen 1 Leaf inverter. Will update with info and board design as it develops.
at the moment it is one of the real ways to create a budget and affordable electric car. for the benefit of all mankind !!!
Re: Leaf Gen 1 Inverter Board
Good day to all !! I am new to the forum. I will try not to disturb anyone. But if I make a mistake, do not kick much please.)) Thanks in advance !! )
I am not young and not a programmer. I do not know English at all. but I really hope that I will still have time to fulfill my dreams and aspirations to take care of our future generation in reality !!
For the fact that there are such impressive people as you, I want to say thanks to everyone !! THANK !! )
I am not young and not a programmer. I do not know English at all. but I really hope that I will still have time to fulfill my dreams and aspirations to take care of our future generation in reality !!
For the fact that there are such impressive people as you, I want to say thanks to everyone !! THANK !! )
Re: Leaf Gen 1 Inverter Board
Maybe you all could have a look and confirm my findings in this thread?
viewtopic.php?f=4&t=138&start=40#p2207
viewtopic.php?f=4&t=138&start=40#p2207
Robin Hellström
MR Electronics AB
MR Electronics AB
Re: Leaf Gen 1 Inverter Board
Today I tried to do this operation myself on my Gen1 inverter. I have previously tested out the Arduino and CAN-comunication with a Gen2 inverter and everything worked like expected. When I now do the same operation won't the motor turn on my Gen1, what I think might be broken on my Gen1 is the voltage sense component because I read 255 on byte 1 in CAN-message 1DA. What voltage measurement do you get Kevin when you read out that message from your inverter?
Anyone who has experience with broken voltage sense components on inverters?
Anyone who has experience with broken voltage sense components on inverters?
Robin Hellström
MR Electronics AB
MR Electronics AB
- Jack Bauer
- Posts: 3564
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 93 times
- Contact:
Re: Leaf Gen 1 Inverter Board
Started testing. I get 372v on 1DA when hv is applied which is correct. Think I have screwed up the resolver wiring as getting 16krpm and -24f motor temp:)
I'm going to need a hacksaw
Re: Leaf Gen 1 Inverter Board
Okay, then my assumption that something has broken in my inverter seems correct. I've got all the cables wired correctly so if you do it like me everything will workJack Bauer wrote: ↑Thu Aug 01, 2019 11:37 am Started testing. I get 372v on 1DA when hv is applied which is correct. Think I have screwed up the resolver wiring as getting 16krpm and -24f motor temp:)
- Attachments
-
- CN2-F13-F14 wiring.pdf
- (21.92 KiB) Downloaded 695 times
Robin Hellström
MR Electronics AB
MR Electronics AB
- Jack Bauer
- Posts: 3564
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 93 times
- Contact:
Re: Leaf Gen 1 Inverter Board
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
1-2: Temp sensor. 20k at approx 20c ambient
3-8: 17R. Exciter
6-7: 37R. Sin/Cos
4-5 : 37R. Sin/Cos
I'm going to need a hacksaw
Re: Leaf Gen 1 Inverter Board
I know the wiring I attached are as correct it can be, the problem is how Nissan show the terminals on the pictures of the connectors, they are seen from the connecting side of the connectors so a little confusing when you try to filter out the correct colours and pins the last problem is that Nissan changes colour on the wires from connector F13 and CN2 and the pin numbersJack 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
Robin Hellström
MR Electronics AB
MR Electronics AB
- Jack Bauer
- Posts: 3564
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 93 times
- Contact:
Re: Leaf Gen 1 Inverter Board
Anyone know howto use leafspy to read dtcs from the inverter? HAve tried connecting with a bluetooth obd but it wont read from the inverter can.
I'm going to need a hacksaw
Re: Leaf Gen 1 Inverter Board
Aren't all DTCS handled and served by the VCU, the inverter just sends som bit-valued error codes to the VCU and it's the VCU:s task to interpret the code and translate to DTCS?Jack Bauer wrote: ↑Fri Aug 02, 2019 8:45 am Anyone know howto use leafspy to read dtcs from the inverter? HAve tried connecting with a bluetooth obd but it wont read from the inverter can.
Robin Hellström
MR Electronics AB
MR Electronics AB
- Jack Bauer
- Posts: 3564
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 93 times
- Contact:
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Leaf Gen 1 Inverter Board
Congratulations! Was great to see your video on twitter
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.
- Jack Bauer
- Posts: 3564
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 93 times
- Contact:
Re: Leaf Gen 1 Inverter Board
Doing a double post here as well as on the E46 build thread. Had some good progress getting the Gen 1 leaf inverter responding to CAN. Big thanks to celeron55 for all his help and hard work. I have setup a Github repo for an open source controller project:
https://github.com/damienmaguire/Nissan ... Controller
As of now I can start the inverter and command torque in one direction only so still need to work out a bit of the can messaging. As always any help much appreciated. Here is a video of the first run :
https://github.com/damienmaguire/Nissan ... Controller
As of now I can start the inverter and command torque in one direction only so still need to work out a bit of the can messaging. As always any help much appreciated. Here is a video of the first run :
I'm going to need a hacksaw
Re: Leaf Gen 1 Inverter Board
Try sending these values on the first byte in message 0x11A to the inverter. The data is from your CAN-logs.
Robin Hellström
MR Electronics AB
MR Electronics AB
- Jack Bauer
- Posts: 3564
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 93 times
- Contact:
Re: Leaf Gen 1 Inverter Board
Some new Leaf logs uploaded : https://github.com/damienmaguire/LeafLo ... aster/2019
Same 2011 car as before.
0x1d4 byte 6 seems to have an active role.
0x00 when in park and brake released.
0x20 when brake lightly pressed in park.
0x30 when brake heavilly pressed in park.
Changes when driving, braking and regening.
Same 2011 car as before.
0x1d4 byte 6 seems to have an active role.
0x00 when in park and brake released.
0x20 when brake lightly pressed in park.
0x30 when brake heavilly pressed in park.
Changes when driving, braking and regening.
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3564
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 93 times
- Contact:
Re: Leaf Gen 1 Inverter Board
This looks super clean. Is the intent to keep this CAN based for commands or will this have analog inputs for throttle/brake/direction?
Re: Leaf Gen 1 Inverter Board
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.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
Did you figure out the Sin+/Sin- and Cos+/Cos-, which of 4-5 and 6-7 is what?
Robin Hellström
MR Electronics AB
MR Electronics AB
-
- Posts: 98
- Joined: Wed Apr 10, 2019 2:32 pm
- Location: France
- Has thanked: 2 times
- Been thanked: 7 times
Re: Leaf Gen 1 Inverter Board
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.
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.
- Jack Bauer
- Posts: 3564
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 93 times
- Contact:
- Jack Bauer
- Posts: 3564
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 93 times
- Contact:
Re: Leaf Gen 1 Inverter Board
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
- Jack Bauer
- Posts: 3564
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 93 times
- Contact:
Re: Leaf Gen 1 Inverter Board
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
https://github.com/damienmaguire/Nissan ... Controller
I'm going to need a hacksaw