Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

diyBMS cooperation with the 160S high-voltage battery #175

Open
PiotrSin opened this issue Dec 2, 2023 · 17 comments
Open

diyBMS cooperation with the 160S high-voltage battery #175

PiotrSin opened this issue Dec 2, 2023 · 17 comments

Comments

@PiotrSin
Copy link

PiotrSin commented Dec 2, 2023

I have a li-ion battery from an electric car (car floor). Currently, this battery works with a Chinese BMS and a HYD 20 KTL-3PH inverter.
It works well but lacks features available in diyBMS.
I have built a PCB to run diyBMS with such a battery, but the problem is that diyBMS only supports batteries up to 128S.
Please change the program code for 160S or more batteries. I will be happy to share my knowledge and present my project.
I understand the difficulties with high voltage batteries. I know they are dangerous.
I have the appropriate qualifications to work with high voltage.
thank you for your support

@stuartpittaway
Copy link
Owner

Hi, how are you with compiling code? Using vscode?

I suggest that we could use the diybms alongside the existing BMS, particularly if you just want monitoring and reporting features.

Which diybms cell modules do you have?

@PiotrSin
Copy link
Author

PiotrSin commented Dec 2, 2023

I count on the author's help to change the code in BMS. I'm not good at programming.
Combining two different BMS systems does not seem to be a good solution
I have prepared 1 Controller 4.6 board and 10 ModuleV490-AllInOne boards

@stuartpittaway
Copy link
Owner

stuartpittaway commented Dec 2, 2023

What cell chemistry is it? What voltage range per cell?

I was suggesting using 2 BMS whilst this is tested and proven reliable, rather than risk damage or worst

@PiotrSin
Copy link
Author

PiotrSin commented Dec 2, 2023

Li-lion
2,8V > 4,2V
I use the range of 3V to 4.1V to increase durability

@stuartpittaway
Copy link
Owner

Great, you fitted the 4.5V reference in the modules?

@PiotrSin
Copy link
Author

PiotrSin commented Dec 2, 2023

yes

@stuartpittaway
Copy link
Owner

Ok, give me a day or two to review the code.

Might be worth while connecting up at least 1 of the modules to a bank for testing.

@PiotrSin
Copy link
Author

PiotrSin commented Dec 2, 2023

ok, I'll wait, thanks for your help, I'll take your suggestion

@stuartpittaway
Copy link
Owner

Hi @PiotrSin, here is a controller firmware which should support up to 192 cells.

I would start with a 16S pack/bank and then grow the cells as needed.

On the communication speed setting - use 5K.

Instructions for cabling up the 16S monitor board is here... #162

192-cell-esp32-controller-firmware-complete.zip

@PiotrSin
Copy link
Author

PiotrSin commented Dec 4, 2023

Thank you very much and I'll start testing.
Thanks also for the tip
How can I support this project or buy you a coffee :)

@PiotrSin
Copy link
Author

PiotrSin commented Dec 4, 2023

bms
Update done, looks good.
Tomorrow I will test it, first I will test it on 16S, then I will connect it to 10x16S.
I will write how the tests turned out

@stuartpittaway
Copy link
Owner

stuartpittaway commented Dec 5, 2023

How can I support this project or buy you a coffee :)

You can also send beer tokens via Paypal - https://paypal.me/stuart2222

How are you going to control over current limits?

The DIYBMS doesn't include any current breakers that are often found in the Chinese BMS boards (MOSFETs) the reason is that the BMS can support very small and very large deployments, so didn't want to limit the flexibility. The idea is that you would use a current shunt trip (via a controller relay) to trigger an external breaker.

Additionally, are you planning to use the current shunt/monitor? That has an absolute voltage maximum of 85V input, so you would have to do something creative (resistor divider?) to use that.

@PiotrSin
Copy link
Author

PiotrSin commented Dec 5, 2023

This is exactly my plan, the BMS controls a relay to a high voltage contactor that disconnects the battery.
There are two more safeguards

  • additional voltage comparators for each 16S section
  • overcurrent protection
    and additionally implemented temperature and fire protection with detection of gases from leaking batteries

For this set I will use a shunt developed by the user from this thread:
https://community.openenergymonitor.org/t/isolated-high-voltage-isolated-current-shunt-based-on-ads1115/24249

@PiotrSin
Copy link
Author

PiotrSin commented Dec 5, 2023

I have another question about programming the V490-AllInOne Module,

@stuartpittaway
Copy link
Owner

You can't program the V490 boards directly from the controller - they use the STM32 chip not the ATMEL ones found on the older boards.

All the pre-compiled code is in the release section.

If you are NOT using the DIYBMS current sensor/monitor then you will also not be able to use the CANBUS integration (Pylontech/Victorn) if that is on your plan.

@PiotrSin
Copy link
Author

PiotrSin commented Dec 9, 2023

image
Tries to perform voltage calibration on individual battery cells.
This is only possible on 1 battery cell, but changing the multiplier does not introduce a corrected voltage value.
The remaining accumulator targets cannot be edited
Where to look for a solution to the problem?
image

@stuartpittaway
Copy link
Owner

stuartpittaway commented Dec 10, 2023

The calibration settings has no affect on the v490 module, there shouldn't be any need for calibration as the design uses higher accuracy parts.

Why are your voltage levels so different?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants