[WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
-
- Posts: 15
- Joined: Sat Nov 11, 2023 10:29 am
- Location: Finland
- Has thanked: 2 times
- Been thanked: 3 times
[WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
Well, looks like I'm in the business to shine some light to this project.
Maybe a word about myself first. I'm a mechanical engineer and a Suzuki nutter. The SJ Suzuki has been my 1st choise to rid me of my excess time and currency for over 25 years.
I've got a Suzuki SJ410k which has met a Samurai along its life and thus has Samurai running gear in.
This is a recreational Offroad vehicle for me but is also driven on pavement a day of driving is maybe 100-120km at worst (typical would be less than 50km and then a day of wheeling) So in that sense also a perfect candidate for a Leaf swap:)
Yes, this is a rusty shitbox, but I'm not bothered about it.
The plan:
Phase I - Get the motor stack in and run Leaf battery on the pick up bed (if it fits). The idea is to skip motor coupling with transmission and go to TC with a drive shaft. Gearing should be ok
As this will be a road use car, I'll need to add a heater. Suzuki didn't make the heater core too big, so instead of shoehorning a PTC in place of it, I'm thinking about solving heater topic with a Volkswagen heater. I was looking at them from a online wrecker and they don't seem to cost a dick and an arm. This probably needs another coolant circulation pump?
I've already converted the retrofit powersteering to electrohydraulic, so brakes would be next. Vacuum pump should do the job.
It should be a first drive at the end of Phase I.
Phase II - Repack the battery so it can be squeezed lower, between the frame rails and majority of the mass in front of the rear axle to better weight distribution. Cleanup the rats nest of cable job that will definetly emerge along the way. I'll most likely eat my words, but for the time being I don't want to invest in a separate BMS, so Leaf LBC will be used and rewiring ahead.
I can't seem to get my head wrapped around the BMS topic. Why people seem to chose something else over the Leaf LBC even when using Leaf modules?
Inspection / MOT at the end of Phase II
Phase III - The winch --> This is a wild thought for the moment, but once I have 400V on the car, why not upgrade the winch motor from a 12v Amp chomper to something more sensible? A typical winch motor is 2-3Hp, so there should be at least some options for this. Hyundai HSG or something like that? Any Idea what power the electric AC compressor motors make?
Next on the list would be yanking all the ICE stuff out and get on with building.
I've ordered a full Leaf drive stack with a 30kWh battery, they should be arriving during next few weeks.
I'm now in the controller lookout phase.
At the moment my understanding is that Zombieverter would be the way to go if opting the Leaf full stack path. Any reason why not?
Maybe a word about myself first. I'm a mechanical engineer and a Suzuki nutter. The SJ Suzuki has been my 1st choise to rid me of my excess time and currency for over 25 years.
I've got a Suzuki SJ410k which has met a Samurai along its life and thus has Samurai running gear in.
This is a recreational Offroad vehicle for me but is also driven on pavement a day of driving is maybe 100-120km at worst (typical would be less than 50km and then a day of wheeling) So in that sense also a perfect candidate for a Leaf swap:)
Yes, this is a rusty shitbox, but I'm not bothered about it.
The plan:
Phase I - Get the motor stack in and run Leaf battery on the pick up bed (if it fits). The idea is to skip motor coupling with transmission and go to TC with a drive shaft. Gearing should be ok
As this will be a road use car, I'll need to add a heater. Suzuki didn't make the heater core too big, so instead of shoehorning a PTC in place of it, I'm thinking about solving heater topic with a Volkswagen heater. I was looking at them from a online wrecker and they don't seem to cost a dick and an arm. This probably needs another coolant circulation pump?
I've already converted the retrofit powersteering to electrohydraulic, so brakes would be next. Vacuum pump should do the job.
It should be a first drive at the end of Phase I.
Phase II - Repack the battery so it can be squeezed lower, between the frame rails and majority of the mass in front of the rear axle to better weight distribution. Cleanup the rats nest of cable job that will definetly emerge along the way. I'll most likely eat my words, but for the time being I don't want to invest in a separate BMS, so Leaf LBC will be used and rewiring ahead.
I can't seem to get my head wrapped around the BMS topic. Why people seem to chose something else over the Leaf LBC even when using Leaf modules?
Inspection / MOT at the end of Phase II
Phase III - The winch --> This is a wild thought for the moment, but once I have 400V on the car, why not upgrade the winch motor from a 12v Amp chomper to something more sensible? A typical winch motor is 2-3Hp, so there should be at least some options for this. Hyundai HSG or something like that? Any Idea what power the electric AC compressor motors make?
Next on the list would be yanking all the ICE stuff out and get on with building.
I've ordered a full Leaf drive stack with a 30kWh battery, they should be arriving during next few weeks.
I'm now in the controller lookout phase.
At the moment my understanding is that Zombieverter would be the way to go if opting the Leaf full stack path. Any reason why not?
- johu
- Site Admin
- Posts: 5791
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1025 times
- Contact:
Re: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
Sounds actually quite simple to begin with. Numberplate and sparkling condensation suggests Norrland?
I'd always roll with OEM BMSes when feasible. Maybe this helps getting an idea of what's involved when re-arranging
I'd always roll with OEM BMSes when feasible. Maybe this helps getting an idea of what's involved when re-arranging
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 15
- Joined: Sat Nov 11, 2023 10:29 am
- Location: Finland
- Has thanked: 2 times
- Been thanked: 3 times
Re: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
Norway is close but not quite. Finland
Thanks for the video, looks like quite a doable job to repack the battery once the time comes.
I placed an order for the Zombieverter board, enclosure and a 1000A IVT-S shunt.
I was wondering, is the shunt always needed with Zombieverter? I know that Damien said in one of his videos that the shunt is chosen to be used to standardize the system.
If I haven't missed something Leaf battery should have current measurement in it, so I was wondering whether it could be used and what might be the drawbacks if it would be used?
Thanks for the video, looks like quite a doable job to repack the battery once the time comes.
I placed an order for the Zombieverter board, enclosure and a 1000A IVT-S shunt.
I was wondering, is the shunt always needed with Zombieverter? I know that Damien said in one of his videos that the shunt is chosen to be used to standardize the system.
If I haven't missed something Leaf battery should have current measurement in it, so I was wondering whether it could be used and what might be the drawbacks if it would be used?
- johu
- Site Admin
- Posts: 5791
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1025 times
- Contact:
Re: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
Yes the Nissan BMS puts current on the CAN bus too. Not sure of Zombieverter supports decoding it yet but the code is available: https://github.com/jsphuebner/stm32-car ... eafbms.cpp
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 490
- Joined: Thu Mar 02, 2023 1:30 pm
- Location: Uk
- Has thanked: 253 times
- Been thanked: 65 times
Re: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
Moi!J0hannes wrote: ↑Sun Nov 26, 2023 5:03 pm Norway is close but not quite. Finland
Thanks for the video, looks like quite a doable job to repack the battery once the time comes.
I placed an order for the Zombieverter board, enclosure and a 1000A IVT-S shunt.
I was wondering, is the shunt always needed with Zombieverter? I know that Damien said in one of his videos that the shunt is chosen to be used to standardize the system.
If I haven't missed something Leaf battery should have current measurement in it, so I was wondering whether it could be used and what might be the drawbacks if it would be used?
This sounds like an exciting project!
I believe the zombie supports the BMW Sbox for current measuring as well as the IVT Shunt
-
- Posts: 15
- Joined: Sat Nov 11, 2023 10:29 am
- Location: Finland
- Has thanked: 2 times
- Been thanked: 3 times
Re: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
Some goodies came in yesterday!
Got the motor stack and battery in the shop now. Looks like I got most of what I is needed. The heater? cable/connector seems to be the only thing missing. Anyone have a part number for this cable so I can find this easier online?
Got the motor stack and battery in the shop now. Looks like I got most of what I is needed. The heater? cable/connector seems to be the only thing missing. Anyone have a part number for this cable so I can find this easier online?
-
- Posts: 15
- Joined: Sat Nov 11, 2023 10:29 am
- Location: Finland
- Has thanked: 2 times
- Been thanked: 3 times
Re: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
Some things have proggressed.
I used the good info by Dala to make a rats nest of a battery sniffer to see how the 30kWh battery is doing. Well, as the Norwegian wreckers pre -dismantle pics showed 11/12 battery soh bars, I was expecting around 80% condition when purchasing this.
I still don't hve a deep enough understanding of the battery side to interpret whether this is in good condition or not, but maybe the community can shine some light on how to make sense of the Leaf Spy data
The leaf SM on battery says on the battery part that a maximum cell voltage ±33mV. I suppose that this 13mV seen in the LeafSpy schreenshots means that battery is good. Looks like I didn't win in the PDM bingo and got a 3,6kW charger. Well, shouldn't be a too big of a bummer as this is a single phase charger and I'll be charging this with a 10A schuko plug charger anyways for most of the time. I cracked open the PDM to remove the AC comp cable. A nice tool to use in the opening is a cheap knife Later I read from the Leaf SM that you shouldn't use a metal tool to scrape the sealant as it can (will) cause shavings that can enter the PDM AC compressor cable attaches to the battery input bus bars and there is a 30A fuse (400V), I wonder if there is anything limiting the max current which can be drawn here? See thoughts for phase 3 of this project I extracted the Leaf reduction gear input shaft as it is useless for me in any other purpose than adapter building. I had a Suzuki transmission main shaft with the splined output that was the first thing I thought of for the other part of the adapter build. The other day I remembered that I have laying somewhere in the parts bin this TC input gear that needs a dentist. This should be a more suitable blank to work on as it has the splined driveshaft flange end
I used the good info by Dala to make a rats nest of a battery sniffer to see how the 30kWh battery is doing. Well, as the Norwegian wreckers pre -dismantle pics showed 11/12 battery soh bars, I was expecting around 80% condition when purchasing this.
I still don't hve a deep enough understanding of the battery side to interpret whether this is in good condition or not, but maybe the community can shine some light on how to make sense of the Leaf Spy data
The leaf SM on battery says on the battery part that a maximum cell voltage ±33mV. I suppose that this 13mV seen in the LeafSpy schreenshots means that battery is good. Looks like I didn't win in the PDM bingo and got a 3,6kW charger. Well, shouldn't be a too big of a bummer as this is a single phase charger and I'll be charging this with a 10A schuko plug charger anyways for most of the time. I cracked open the PDM to remove the AC comp cable. A nice tool to use in the opening is a cheap knife Later I read from the Leaf SM that you shouldn't use a metal tool to scrape the sealant as it can (will) cause shavings that can enter the PDM AC compressor cable attaches to the battery input bus bars and there is a 30A fuse (400V), I wonder if there is anything limiting the max current which can be drawn here? See thoughts for phase 3 of this project I extracted the Leaf reduction gear input shaft as it is useless for me in any other purpose than adapter building. I had a Suzuki transmission main shaft with the splined output that was the first thing I thought of for the other part of the adapter build. The other day I remembered that I have laying somewhere in the parts bin this TC input gear that needs a dentist. This should be a more suitable blank to work on as it has the splined driveshaft flange end
-
- Posts: 15
- Joined: Sat Nov 11, 2023 10:29 am
- Location: Finland
- Has thanked: 2 times
- Been thanked: 3 times
Re: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
The other day I got things connected to the extent that I plugged the HV battery to see if the inverter would see the voltage rise during precharge (I did study the Leaf SM and to me it looks like the inverter voltage measurement is used during precharge to determine when to close main contactor.
Inverter voltage goes up during precharge, so next I'll attempt some copy-paste-coding and see if I can get the Leaf BMS talking with zombie
After some headscratching and pain with getting my modifications to compile, success?
The Leaf inverter module in the Stm32-vcu code seems to send Leaf BMS messages to the CAN, I suppose these can be commented out, if the real thing is connected? -
- Posts: 15
- Joined: Sat Nov 11, 2023 10:29 am
- Location: Finland
- Has thanked: 2 times
- Been thanked: 3 times
Re: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
An update in place: I'm in Github now
https://github.com/Romukeisari/Stm32-vcu-LeafLBC
This hackery is not working properly at the moment.
Contactors close and motor runs but EVSE is not charging.
Leaf LBC for current info and Leaf inverter voltage used for precharge info.
Is my train of thought correct if I mute the LBC simulating CAN messages Zombie sends to CAN if I have the actua LBC in same CAN as PDM and Inverter?
I've started to gather materials for motor/driveshaft adapter. Will use a 15mm aluminum plate as base and make a bearing mount in the middle.
https://github.com/Romukeisari/Stm32-vcu-LeafLBC
This hackery is not working properly at the moment.
Contactors close and motor runs but EVSE is not charging.
Leaf LBC for current info and Leaf inverter voltage used for precharge info.
Is my train of thought correct if I mute the LBC simulating CAN messages Zombie sends to CAN if I have the actua LBC in same CAN as PDM and Inverter?
I've started to gather materials for motor/driveshaft adapter. Will use a 15mm aluminum plate as base and make a bearing mount in the middle.
- johu
- Site Admin
- Posts: 5791
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1025 times
- Contact:
Re: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
sounds correct to me
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 15
- Joined: Sat Nov 11, 2023 10:29 am
- Location: Finland
- Has thanked: 2 times
- Been thanked: 3 times
Re: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
Thanks!
This gives me the courage to plow along and continue with the head banging.
-
- Posts: 15
- Joined: Sat Nov 11, 2023 10:29 am
- Location: Finland
- Has thanked: 2 times
- Been thanked: 3 times
Re: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
Headbanging continues
NEW ability unlocked, now I can CANtrace and decode with savvyCAN, this is really cool I use the AZE0 DBC by Dala
IF I'm quick, I can get the charger to click but no current. I may have found out the reason for no current, but at the moment don't fully understand what is happening.
The way I read this is that when the OBC wakes up, it's happy to output 3.3kW
This status shift realated to OBC bootup?
Zombie sends a charge power command, before there is AC voltage signal. Is this sensitive to the sequence of events.
Then there is AC status voltage, but nothing changes afterwards
Here's a CANdump of what I'm looking into at the moment. Here I have both the spoofing messages Zombie sends and the actual LeafLBC messages, but to me it looks like the OBC doesn't get upset because of all those LBC messages flying around. Thoughts and input are more than welcome
IF there would be a kind someone with a Zombieverter with Leaf stack and slow charging works for comparison a CANdump could be useful (of the process of plugging in the charger to a system which is OFF until the EVSE clicks and current flows)
NEW ability unlocked, now I can CANtrace and decode with savvyCAN, this is really cool I use the AZE0 DBC by Dala
IF I'm quick, I can get the charger to click but no current. I may have found out the reason for no current, but at the moment don't fully understand what is happening.
The way I read this is that when the OBC wakes up, it's happy to output 3.3kW
This status shift realated to OBC bootup?
Zombie sends a charge power command, before there is AC voltage signal. Is this sensitive to the sequence of events.
Then there is AC status voltage, but nothing changes afterwards
Here's a CANdump of what I'm looking into at the moment. Here I have both the spoofing messages Zombie sends and the actual LeafLBC messages, but to me it looks like the OBC doesn't get upset because of all those LBC messages flying around. Thoughts and input are more than welcome
IF there would be a kind someone with a Zombieverter with Leaf stack and slow charging works for comparison a CANdump could be useful (of the process of plugging in the charger to a system which is OFF until the EVSE clicks and current flows)
- Attachments
-
- 140424-1710_Startup_sequence_WITH_LEAF_BMS_Plug in during boot.txt
- (2.93 MiB) Downloaded 7 times
-
- Posts: 211
- Joined: Sun Feb 20, 2022 4:23 am
- Location: N. Wiltshire. UK
- Has thanked: 16 times
- Been thanked: 101 times
Re: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
I have no experience with leaf PDM etc, but your code on github does not look up to date as it does not compile and has other errors.
From you CAN log the zombieverter is still sending data on 3 ids which may be causing the problems. I think this is because where you have declared/defined the variable to compare BMS type ( a bit confusing you are using shunt type parameter ) is fixed at compile time and is not code that is executed at run time.
From you CAN log the zombieverter is still sending data on 3 ids which may be causing the problems. I think this is because where you have declared/defined the variable to compare BMS type ( a bit confusing you are using shunt type parameter ) is fixed at compile time and is not code that is executed at run time.
-
- Posts: 15
- Joined: Sat Nov 11, 2023 10:29 am
- Location: Finland
- Has thanked: 2 times
- Been thanked: 3 times
Re: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
Good that you brought that up, I had some problems getting the code to push and now I managed to push some updates I'm working on to see if this would get it working (git also a very new thing to me )
Since the LBC measured current, I figured that I want the LBC to be listed as in the shunt type list. For me this seemed intuitive.
It'll be a while now before I'll have a chance to test this with my rig...
Since the LBC measured current, I figured that I want the LBC to be listed as in the shunt type list. For me this seemed intuitive.
It'll be a while now before I'll have a chance to test this with my rig...
Which 3 ids are you referring to? Looks like I've missed somethingroyhen99 wrote: ↑Mon Apr 15, 2024 10:37 am I have no experience with leaf PDM etc, but your code on github does not look up to date as it does not compile and has other errors.
From you CAN log the zombieverter is still sending data on 3 ids which may be causing the problems. I think this is because where you have declared/defined the variable to compare BMS type ( a bit confusing you are using shunt type parameter ) is fixed at compile time and is not code that is executed at run time.
-
- Posts: 211
- Joined: Sun Feb 20, 2022 4:23 am
- Location: N. Wiltshire. UK
- Has thanked: 16 times
- Been thanked: 101 times
Re: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
0x59E, 0x55B and 0x5BC. If you look at each id one at a time it's clear that most of the messages sent are the fixed values from leafinv.cpp.
-
- Posts: 15
- Joined: Sat Nov 11, 2023 10:29 am
- Location: Finland
- Has thanked: 2 times
- Been thanked: 3 times
Re: [WIP] Project Rising Sun: Suzuki SJ410k meets Leaf full stack
Oh yeah those, thanks for chicking this out and spotting them Like you mentioned, the declaration/definition of the variable to check shunt type was outside any called function, so it wouldn't have updated and thus my attempt to mute the messages didn't work.