Louisvdw / dbus-serialbattery

Battery Monitor driver for serial battery in VenusOS GX systems
MIT License
539 stars 165 forks source link

SoC is falling #171

Closed dan11hh closed 1 year ago

dan11hh commented 2 years ago

Describe the bug I don‘t know if it is a bug, but at two installed systems the SoC shown by serialbattery falls. mit works around three weeks perfekt. Voltage was around 3,45V the SoC was 99%. now it just shows 90%, at the other (same) system it is at 60%.

VenusOS (please complete the following information):

Battery/BMS (please complete the following information):

It is the JKBMS not your Driver, Louis, but how can I handle that?

Louisvdw commented 2 years ago

This would not be a bug in the driver, but rather that the driver is now showing you what is happening inside your battery. The SOC value is what your BMS is publishing. The driver is just publishing that the the Victron system.

This can be influence by the formulas and logic that your BMS use. It could be that there are some cells not up to voltage that is keeping the SOC value lower. Dig a bit into the min/max cell values and check if you see anything strange. The graphs in the advance section in VRM give a lot of great insight into your battery.

dan11hh commented 2 years ago

Thanks or you reply. That is my "problem". The Battery Voltages are nearly matching the whole time. The greatest difference which the VRM showed to me is 0,04V while Loading with 65A. Any ideas? For me the SoC is important, cause my OpenWB Wallbox need it to control the loading process of my car.

Louisvdw commented 2 years ago

Are you using large currents or are your system only using small amounts at a time. These BMS use a shunt to measure the current flow and while this is one of the best methods to use it can sometimes struggle to measure small amounts of current. So if you have a 100A BMS but are most of the time using say 1A then it could be that your BMS is not reading that correctly. A shunt has to be calibrated for either large currents or small. Or you need 2 to be able to read small and large currents, which increase the cost so no body builds BMS like that.

When you are seeing the 0.04V cell difference, is that when your battery is at the highest SOC? What are your voltages at that time? Can you post these 3 graphs from your system for the last full day that shows the problem image

dan11hh commented 2 years ago

You're the man! Thanks for your massiv help. The battery is now up for 40 days. I was last week in holiday so the battery wasn't used that much, if that matters... I just to make sure that i can add second 16s pack parallel to the existing one. (same config) Bildschirmfoto 2022-08-03 um 16 08 36 Bildschirmfoto 2022-08-03 um 16 09 23 Bildschirmfoto 2022-08-03 um 16 09 43 Bildschirmfoto 2022-08-03 um 16 11 46

Today (first day back) i got a max difference from 0,08V, but just while i load with 65A and just a short time. If i disable loading in the bms the cells will be all back nearby.

Louisvdw commented 2 years ago

Your system is looking good. All the values is as I would expect them

dan11hh commented 2 years ago

Hmmm thanks again for you answer. i have no idea how to recalibrate the SoC. Did you have any further tipps/ideas?

Louisvdw commented 2 years ago

What settings do you have for your JKBMS?

dropax commented 2 years ago

To recalibrate SoC in the JKBMS the following procedure works for me:

You'll see 100% only for the brief moment when the BMS' Max Cell Voltage is hit and the charge-FET gets disabled.