pulquero / BatteryAggregator

MIT License
33 stars 7 forks source link

Cell Voltage limitation - CVL #77

Open wetty opened 5 days ago

wetty commented 5 days ago

Please include system details:

Hardware:

Setup: DVCC Everything is off except BatteryAggregator as BMS

BatteryAggregator with the described behaviour was Version 3.2 (I have now updated to Version 3.13, but hat not tested again)

I checked the BatteryAggregator Settings after writing this issue and found that cvlMode is on max_always. But I thing non of the cvlMode does handle the scenario correct. I have to test a little bit further.

I have two scenarios for reducing the charge voltage.

Maybe it is a little bit tricky do decide which behaviour is correct. In my case when both batteries are in Bulk or Absorption mode then the minimum of the charging voltages is correct. When both batteries are in float mode, then the lowest voltage is correct. And when one batterie is in Bulk or Absorption and the other one is in float, then the voltage of the batterie in Bulk or Absorption should be correct.

wetty commented 4 days ago

Setting for CVL was "min_when_balancing". With this BatteryAggregator switches to the lowest value, which is in my example/Screenshoot the Foat/FloatTransition Value of Akku 1. Akku 2 is still balancing as the delta is 0.024V. So the overall Battery Charge Voltage should be the value of Akku 2. In my case 62.24V (18x 3.45 = 62.1V + 0.14V Drop Off). Bildschirmfoto 2024-10-03 um 15 45 14

So I thing the CVL Setting/Calculation needs something that ignores the Float and Float Transition mode as long as another Battery is still in Bulk or Absorption Mode. Then it should take the lowest value of all the Buld/Absorption Voltages.

Only when all Batteries are in Float Or Float Transition Mode the highest of the Float Voltages should be used.

pulquero commented 3 days ago

Can you check if the mode is available in dbus? This is the main issue with trying to implement CVL well, trying to extract the required information over dbus from the bms. Atm I am mainly dependent on /Io/AllowToCharge and /Balancing.

wetty commented 3 days ago

The Mode as string value is available under the battery Info/ChargeMode

Maybe have a look at the same problem from dbus-aggregate-batteries

Bildschirmfoto 2024-10-04 um 11 46 41 Bildschirmfoto 2024-10-04 um 11 47 12