Tesla model 3 BMB control boards

Topics concerning the Tesla front and rear drive unit drop-in board
User avatar
johu
Site Admin
Posts: 6968
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 454 times
Been thanked: 1771 times
Contact:

Re: Tesla model 3 BMB control boards

Post by johu »

Maybe that's past the noise threshold of voltage measurement. Do you get the same delta when checking a few cells with a multimeter?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
hanskraayeveld
Posts: 56
Joined: Fri Oct 03, 2025 6:50 am
Has thanked: 1 time
Been thanked: 5 times

Re: Tesla model 3 BMB control boards

Post by hanskraayeveld »

Yes almost same measurement, within 2mv.

I only do not understand why Tesla model S/X bleeding is thru 4x160 ohm resistance, so 40 ohm.

4v / 40 ohm = 100 mA

And I removed 1 brick wire, one which was/is bleeding, and measured 37 mA.

Why is Tesla 3/Y bleeding less mA? And how is it done? By resistance wire? Because I dont see any resistors or something getting hot. (I have a thermal imager)
hanskraayeveld
Posts: 56
Joined: Fri Oct 03, 2025 6:50 am
Has thanked: 1 time
Been thanked: 5 times

Re: Tesla model 3 BMB control boards

Post by hanskraayeveld »

Hello,

I changed balancing a bit. If deltaV is big, BalHys grows.
20251017_063243.jpg
Also showed it in parameters list.
Screenshot_20251017_063257_Samsung Internet.jpg
But the strange thing is, I can upload it to both boards I bought, but 1 board it works, 1 led red constant, 1 led blinking.
Other board, after uploading, 1 led constant, other led stops blinking.
Screenshot_20251017_064246_Samsung Internet.jpg
Message: communication problem....

When changing code back, it works...

So 1 board new code is working, 1 board didnt work.... strange??

If I do any modifications on code, no communication between stm and esp

Boatloader problem?
User avatar
tom91
Posts: 2753
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 264 times
Been thanked: 717 times

Re: Tesla model 3 BMB control boards

Post by tom91 »

Spent my after noon with a 23s BMB playing around. Findings are:

1. Cells populate only half if using one of the two connectors
2. All cells and other values work with the 0.5.TA code
3. Balancing works with 0.5.TA code - Same behavior as observed in this thread.

Findings from bench work this afternoon
1. Balancing registers have a reset timer, I am sure its somewhere in a message being sent but have decide to brute force it for now
2. balance resistors and transistors are on the back of the BMBs

Improvements
1. Keep configuring balancing registers during "idle state" until 20 loops before starting measuring to ensure timer runs out
2. Make the measurement interval configurable, one measurement message loop is roughly 800mS, so recommended setting is 1 measurements per 2 seconds or more if you are looking to balance.
3. Alternating cells is required.

As always updates on github: https://github.com/damienmaguire/Tesla- ... 27ed1dcbed
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
hanskraayeveld
Posts: 56
Joined: Fri Oct 03, 2025 6:50 am
Has thanked: 1 time
Been thanked: 5 times

Re: Tesla model 3 BMB control boards

Post by hanskraayeveld »

How many percent did balancing increase with your updates, do you think?
User avatar
tom91
Posts: 2753
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 264 times
Been thanked: 717 times

Re: Tesla model 3 BMB control boards

Post by tom91 »

Depends on what you set the time between measurement to. So up to you now, there will always be the 0.8ish Seconds to cycle the measurement.

Plus the 50% duty cycle due to switching between even and odd.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
hanskraayeveld
Posts: 56
Joined: Fri Oct 03, 2025 6:50 am
Has thanked: 1 time
Been thanked: 5 times

Re: Tesla model 3 BMB control boards

Post by hanskraayeveld »

Screenshot_20251017_220151_Samsung Internet.jpg
Both boards showing this message.

I can upload both boards your code, but cant see anything...
hanskraayeveld
Posts: 56
Joined: Fri Oct 03, 2025 6:50 am
Has thanked: 1 time
Been thanked: 5 times

Re: Tesla model 3 BMB control boards

Post by hanskraayeveld »

Hello,

After both boards communication problem, I do this:

Upload in state of .hex, .bin to 0x08000000.
After it upload .hex again, and both boards are working now.

I did not understand what the problem was, but both boards working now.
Balancing is fine, 10 sec even, 10 sec odd, 0.8 for measuring voltages.

Thanks
hanskraayeveld
Posts: 56
Joined: Fri Oct 03, 2025 6:50 am
Has thanked: 1 time
Been thanked: 5 times

Re: Tesla model 3 BMB control boards

Post by hanskraayeveld »

I am really pleased about the balance boards. Balancing is I think almost twice faster now.
Sorry for Tom and Damian, but I did again a few modifications, and I'll explain why.

We do a lot of battery repair. Most model S/X but M3 is coming now... Bad cells, cheap, unfortunatly. When a defect pack arrived, I want immediately charge to approx 4.00v cellvoltage, and balance nice. So 1 module is defect, 3 will be well balanced:
Screenshot_20251019_170110_Samsung Internet.jpg
Screenshot_20251019_170119_Samsung Internet.jpg
Module1 is defect. Bad leaking cells (lithium) which decrease cellvoltage of 2/3 bricks.

So we use your board to balance immediatly the 3 good modules (over a weekend), open battery, and place 1 other (well balanced module) in the battery. We only have to (dis)charge the replaced well balanced module, to same voltage, maybe balance whole battery again, and place in car.

Well balanced for us is very important, because you have a good 0-point (start point).

So I did some modifications, I make cellvoltage 10 times "better", so balancing can be better.

So thanks for all work done, I will improve a little, e.g. balancing per module, because we have 10 modules on a bench, with different voltages, so 1 controller can balance 4 modules with different voltages. (And maybe a sign after the voltage of which he is balancing)

Not important for 99% users, but important for us.

We bought 2 more controllers.
hanskraayeveld
Posts: 56
Joined: Fri Oct 03, 2025 6:50 am
Has thanked: 1 time
Been thanked: 5 times

Re: Tesla model 3 BMB control boards

Post by hanskraayeveld »

I see I have to do some more modifications, umin x 10, avg cellv, etc
hanskraayeveld
Posts: 56
Joined: Fri Oct 03, 2025 6:50 am
Has thanked: 1 time
Been thanked: 5 times

Re: Tesla model 3 BMB control boards

Post by hanskraayeveld »

Screenshot_20251019_185649_Samsung Internet.jpg
hanskraayeveld
Posts: 56
Joined: Fri Oct 03, 2025 6:50 am
Has thanked: 1 time
Been thanked: 5 times

Re: Tesla model 3 BMB control boards

Post by hanskraayeveld »

Screenshot_20251019_232928_Samsung Internet.jpg
Screenshot_20251019_232933_Samsung Internet.jpg
The measurements of the cell voltages is really very accurate... I begin to admire the batman chip...

I know why it has to be very accurate, because the SOC of the LPF. Only one millivolt can be a soc change of~ 3%.
User avatar
muehlpower
Posts: 750
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 17 times
Been thanked: 168 times

Re: Tesla model 3 BMB control boards

Post by muehlpower »

I am very pleased to see progress in the development of the M3 BMS. The need to re-solder the Batman chip is still preventing me from purchasing it. I have a donor board, but I am unsure how to proceed. Does it also work with johu's “ESP32 CAN Web Interface”? It will be installed in the battery box, which is not ideal for Wi-Fi.
User avatar
tom91
Posts: 2753
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 264 times
Been thanked: 717 times

Re: Tesla model 3 BMB control boards

Post by tom91 »

muehlpower wrote: Mon Oct 20, 2025 7:12 pm Does it also work with johu's “ESP32 CAN Web Interface”?
Yes make sure to flash a CAN bootloader before installing it into the battery box. It is an OI project so you can use the open inverter tools.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
hanskraayeveld
Posts: 56
Joined: Fri Oct 03, 2025 6:50 am
Has thanked: 1 time
Been thanked: 5 times

Re: Tesla model 3 BMB control boards

Post by hanskraayeveld »

Screenshot_20251102_225047_Samsung Internet.jpg
This M3 battery balanced, module1 defect.
Screenshot_20251102_224809_Samsung Internet.jpg
Other module1 balancing to 3687 mv, after it replacing.
Post Reply