Tesla model 3 BMB control boards
- johu
- Site Admin
- Posts: 6969
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 455 times
- Been thanked: 1771 times
- Contact:
Re: Tesla model 3 BMB control boards
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
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)
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
Hello,
I changed balancing a bit. If deltaV is big, BalHys grows. Also showed it in parameters list. 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. 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?
I changed balancing a bit. If deltaV is big, BalHys grows. Also showed it in parameters list. 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. 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?
- 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
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
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
-
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
How many percent did balancing increase with your updates, do you think?
- 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
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.
Plus the 50% duty cycle due to switching between even and odd.
-
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
Both boards showing this message.
I can upload both boards your code, but cant see anything...
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
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
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
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:
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.
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:
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
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
-
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
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%.
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%.
- 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
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.
- 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
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.muehlpower wrote: ↑Mon Oct 20, 2025 7:12 pm Does it also work with johu's “ESP32 CAN Web Interface”?
-
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
This M3 battery balanced, module1 defect.
Other module1 balancing to 3687 mv, after it replacing.
Other module1 balancing to 3687 mv, after it replacing.