I made a Leaf BMS wiring test board out of a burnt BMS

Nissan Leaf/e-NV200 drive stack topics
Post Reply
User avatar
janosch
Posts: 306
Joined: Tue Jun 30, 2020 9:23 am
Location: London, UK
Has thanked: 67 times
Been thanked: 54 times
Contact:

I made a Leaf BMS wiring test board out of a burnt BMS

Post by janosch »

Hi,

I made a simple LED array to test BMS Spaghetti wiring:
- if your connections are correct: all LEDs are on
- if you skipped a cell: you burn an LED out
- if you reversed a connection: the LED is dark

I made them in loops of 4, so you don't have a continuous connection of 380V, but sections of ~15V.
LEDs are THT, so easy to resolder if popped.

You can see in the photo below some LEDs are dark where I removed the bus bars while working on the pack.

Thoughts?
IMG-20211124-WA0003.jpg
test_board_4_led_loop.png
test_board_4_led_loop.png (5.45 KiB) Viewed 6036 times
User avatar
johu
Site Admin
Posts: 5682
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by johu »

Very nice! Is that on a prototype board or an actual PCB design? I would have a use case for this.

viewtopic.php?p=33537#p33537
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
janosch
Posts: 306
Joined: Tue Jun 30, 2020 9:23 am
Location: London, UK
Has thanked: 67 times
Been thanked: 54 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by janosch »

I have some PCBs.

I can send you one of the boards to self-populate if you want.
PXL_20211122_183446270.MP-min.jpg
User avatar
ZooKeeper
Posts: 507
Joined: Mon Mar 30, 2020 10:23 pm
Location: USA

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by ZooKeeper »

NICE!
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
Ruudi S
Posts: 55
Joined: Sun Apr 12, 2020 2:02 pm
Location: EU Estonia
Has thanked: 13 times
Been thanked: 13 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by Ruudi S »

janosch wrote: ↑Wed Nov 24, 2021 11:57 am Hi,

I made a simple LED array to test BMS Spaghetti wiring:
- if your connections are correct: all LEDs are on
- if you skipped a cell: you burn an LED out
- if you reversed a connection: the LED is dark

I made them in loops of 4, so you don't have a continuous connection of 380V, but sections of ~15V.
LEDs are THT, so easy to resolder if popped.

You can see in the photo below some LEDs are dark where I removed the bus bars while working on the pack.

Thoughts?

IMG-20211124-WA0003.jpg
test_board_4_led_loop.png
Great idea and implementation!
Is this for GEN1 Leaf BMS or GEN2?
User avatar
johu
Site Admin
Posts: 5682
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by johu »

Ruudi S wrote: ↑Sun Nov 28, 2021 12:49 pm Is this for GEN1 Leaf BMS or GEN2?
They are all the same in that respect.
Please don't quote entire posts
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
janosch
Posts: 306
Joined: Tue Jun 30, 2020 9:23 am
Location: London, UK
Has thanked: 67 times
Been thanked: 54 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by janosch »

Yes, all the same like johu said, as a matter of fact the photos above are from a 24kWh pack ... and the ones below are from an otherwise untouched 40kWh one.

You can see one LED is off, thats where I made a wiring mistake on the board and connected both sides to the same cell. Everything else works perfect, on a full pack everything comes on.

I am just sending two boards to a school in Illinois today, if anyone want the last one, send me a PM.
IMG-20211129-WA0002.jpg
IMG-20211129-WA0001.jpg
Ruudi S
Posts: 55
Joined: Sun Apr 12, 2020 2:02 pm
Location: EU Estonia
Has thanked: 13 times
Been thanked: 13 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by Ruudi S »

I want this board!
User avatar
Bratitude
Posts: 783
Joined: Thu Jan 02, 2020 7:35 pm
Location: Canada
Has thanked: 57 times
Been thanked: 168 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by Bratitude »

Are you willing the share the design files??
https://bratindustries.net/ leaf motor couplers, adapter plates, custom drive train components
User avatar
janosch
Posts: 306
Joined: Tue Jun 30, 2020 9:23 am
Location: London, UK
Has thanked: 67 times
Been thanked: 54 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by janosch »

Ruudi S wrote: ↑Sun Dec 12, 2021 4:13 pm I want this board!
Bratitude wrote: ↑Sun Dec 12, 2021 6:14 pm Are you willing the share the design files??
Hello,

if you want to self print, the gerber files are attached below.

- D40 will not come on, that is a wiring error I made
- D51 is too close to the aluminium case, you need to "correct" the case there to make sure it doesn't touch!

Post here & let me know what your experience is! I hope it helps.
bmsmatrix-v01.zip
(122.29 KiB) Downloaded 170 times
Ruudi S
Posts: 55
Joined: Sun Apr 12, 2020 2:02 pm
Location: EU Estonia
Has thanked: 13 times
Been thanked: 13 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by Ruudi S »

Thanks for the files but I don't know how to use them. Do you have boards available?
User avatar
johu
Site Admin
Posts: 5682
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by johu »

janosch wrote: ↑Mon Dec 13, 2021 12:35 pm - D40 will not come on, that is a wiring error I made
- D51 is too close to the aluminium case, you need to "correct" the case there to make sure it doesn't touch!
The board arrived now, thanks very much!
How can I fix D40 ?

@Ruudi: you can upload that zip-file at jlcpcb or some other service
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: 5682
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by johu »

Populated my board now but that immediately brought up a question: how can you check 96 cell voltages with just 78 LEDs? Indeed some inputs do not light any LED
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
janosch
Posts: 306
Joined: Tue Jun 30, 2020 9:23 am
Location: London, UK
Has thanked: 67 times
Been thanked: 54 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by janosch »

johu wrote: ↑Mon Dec 27, 2021 1:49 pm Populated my board now but that immediately brought up a question: how can you check 96 cell voltages with just 78 LEDs? Indeed some inputs do not light any LED
It is quite possible I made more mistakes, but see sketch below, there is some fenceposting going on with the loops of four. I am making sure I test every wire once, and not every individual cell. https://en.wikipedia.org/wiki/Off-by-on ... post_error

swapping individual wires
Simplified schematic with 8 cells, needs only 6 LEDs to check every sensing wire. You do not need to check between (4,5), because if you did swap the wires, the LED now connected to (3,5) should see 8V and pop.

swapping groups of wires
If you swap a whole group around (1,2,3,4) with (5,6,7,8), it would look as if everything was OK, while it is in fact not, but I assumed that was quite unlikely. The swap would have to land exactly on the boundary of loops on the board to be unnoticeable.

Simplified Sketch:
Screenshot from 2021-12-27 15-45-33.png
Full Schematic:
Attachments
bms_test_board_schematic.pdf
(143.24 KiB) Downloaded 147 times
User avatar
johu
Site Admin
Posts: 5682
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by johu »

Alright, understood :) very clever. I'll actually be looking for "weak" wires, i.e. that measure normal on the multimeter but might collapse when loaded
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: 5682
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by johu »

All built and sort of tested. Now what was the issue with D40? It lights up but you said there is a wiring error
Attachments
IMG_20211228_110926.jpg
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
janosch
Posts: 306
Joined: Tue Jun 30, 2020 9:23 am
Location: London, UK
Has thanked: 67 times
Been thanked: 54 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by janosch »

johu wrote: ↑Tue Dec 28, 2021 10:18 am All built and sort of tested. Now what was the issue with D40? It lights up but you said there is a wiring error
The last pin on LB14 is 48-
The first pin on LB15 is 49+

they are the same.

So if you connect it to a real battery pack, it will just remain dark because both sides of the diode are connected to the same cell. Not sure why Nissan decided to double them up at that one place.

There isn't a "fix" I think, just ignore it.

Looking neat, let me know how you progress. I like the SMD LEDs in the THT spaces.
TonyV
Posts: 87
Joined: Sat Nov 14, 2020 9:00 pm
Location: Toronto
Has thanked: 1 time
Been thanked: 8 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by TonyV »

Do you happen to have one for a Chevy Volt battery? ;)
I'll figure this out sooner or later
Isaac96
Posts: 656
Joined: Sat Oct 05, 2019 6:50 pm
Location: Northern California, USA
Been thanked: 1 time
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by Isaac96 »

janosch wrote: ↑Tue Dec 28, 2021 11:45 am The last pin on LB14 is 48-
The first pin on LB15 is 49+

they are the same.

So if you connect it to a real battery pack, it will just remain dark because both sides of the diode are connected to the same cell. Not sure why Nissan decided to double them up at that one place.
Nissan did this because their maintenance switch is located between cells 48 and 49 in the middle of the pack, so they have split the BMS board similarly (you can see some optoisolators on the board for this). Otherwise when the maintenance switch was disconnected current would pass through the BMS - not favorable for longevity.
User avatar
janosch
Posts: 306
Joined: Tue Jun 30, 2020 9:23 am
Location: London, UK
Has thanked: 67 times
Been thanked: 54 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by janosch »

Isaac96 wrote: ↑Tue Feb 08, 2022 9:15 pm
janosch wrote: ↑Tue Dec 28, 2021 11:45 am ....
Nissan did this because their maintenance switch is located between cells 48 and 49 in the middle of the pack, so they have split the BMS board similarly (you can see some optoisolators on the board for this). Otherwise when the maintenance switch was disconnected current would pass through the BMS - not favorable for longevity.
That makes perfect sense. I saw the division there before.

Unrelated:
The board does not always show you a single loose wire. In the Simplified Sketch above, if you disconnect the wires to cell 2 and 3, you will still get all three LEDs light up there, because they are just in series. Brightness will be identical as well unfortunately.

Learnt that just now by testing a new pack, that had a loose wire, then plugged the test board in to verify and it still lit up all LEDs. So it is good for detecting swapped wires, not necessarily for individual missing wires.
Alibro
Posts: 829
Joined: Sun Feb 23, 2020 9:24 am
Location: Northern Ireland
Has thanked: 248 times
Been thanked: 144 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by Alibro »

I made a spreadsheet to show the voltages at each connector.
Leaf BMS Cell and Pin Numbers.ods
(32.74 KiB) Downloaded 118 times
I'm not great with spreadsheets so it is pretty rough but if you enter the voltage of your cells it will show the voltage at each pin, assuming all cells are at the same voltage.

Please feel free to check, improve and share.

When testing I screwed the neg of my volt meter to the pack neg and taped a small needle to the pos probe so I could poke it into each pin of the connector in turn and check the voltage from the spreadsheet.
I need a bigger hammer!
User avatar
pablo_mtl
Posts: 35
Joined: Wed Oct 07, 2020 11:30 pm
Location: Canada
Has thanked: 3 times
Been thanked: 2 times

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by pablo_mtl »

@janosch very nice work! Good idea :)
User avatar
janosch
Posts: 306
Joined: Tue Jun 30, 2020 9:23 am
Location: London, UK
Has thanked: 67 times
Been thanked: 54 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by janosch »

Thanks Pablo, I hope it helps.

Just saw that the board even made its way into Johannes recent video about the A2 installation.
Brave man to plug it in with naked hands, I always put the gloves on at that stage!
https://youtu.be/8eKkwPbLwDQ?t=408
Attachments
Screenshot from 2022-03-11 15-01-34-min.png
User avatar
johu
Site Admin
Posts: 5682
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: I made a Leaf BMS wiring test board out of a burnt BMS

Post by johu »

That is unacceptable practise by me. As a wise man said: "don't do as I do, do as I say". I say: wearing gloves in that situation is a good idea :)
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Post Reply