-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
SOC reset, cells voltage, balanced cells #29
Comments
Hello, In the link yopu provided user finaly say :
Thanks anyway for your support and great battery driver! Good to see active development and support. It's the same conclusion as mine. |
I missunderstood something. Indeed, if you are using the calculated SOC you do not need the I optimized the procedure in the latest nightly version, please install it and test it. Set the |
Or maybe there is something i do not get ...
I use calculated SOC yes, but SOC_RESET_VOLTAGE is the value that reset SOC to 100%, i still need it right ? This mecanism is still needed to reset SOC to 100% ? If not .. how does it reset ? Thanks Manuel, will try your nightly. |
If you are using the SOC calculation of the driver, then the SOC is reset when one cell reaches |
Ooooo i did not know that .. ! I suppose i missed something in the doc/config.ini. With the changes that you did in nightly the SOC_RESET_VOLTAGE is still not used in Driver SOC calculation mode .. right ? Or is it ? why not use this same SOC_RESET_VOLTAGE instead of MAX_CELL_VOLTAGE even in SOC calculation mode ? In my case ..... since my cells are balanced... MAX_CELL_VOLTAGE on one cell is reached at the same time (or near) as High voltage alarm (not all the time but often) which make things not really confortable. |
Correct. Other settings do not make sense. Incease OVP voltage or lower |
OVP protection as nothing to do here... i never reach OVP, it's a security not to be reached in normal use.
Then i will have a "high voltage" alarm each time i want a SOC RESET.... cause my pack reach MAX_CELL_VOLTAGEx16 at the same time one my cell reach MAX_CELL_VOLTAGE. Not everybody work by charging their pack high where the cells deviation is high... ! I do not .. meaning the actual system do not work. Even in Calculated SOC, there is a need for a SOC_RESET_VOLTAGE setting that can be lower then MAX_CELL_VOLTAGE. There is something that i miss cause it seems so obvious that i do onot understand. |
You can set If it's still not clear please post some screenshots of the high voltage warning/error and all the settings of your BMS. If you are not reaching OVP then probably the alarm is not comming from the BMS. |
Changing MAX_CELL_VOLTAGE will have no impact on this problem. ; --------- SOC calculation ---------
; Description:
; Calculate the SOC in the driver. Do not use the SOC reported by the BMS
; SOC_CALCULATION:
; True: Calc SOC in the driver, do not use SOC reported from BMS
; - The SOC is calculated by integration of the current reported by the BMS
; - The current reported from the BMS can be corrected by
; the map (SOC_CALC_CURRENT_REPORTED_BY_BMS, SOC_CALC_CURRENT_MEASURED_BY_USER)
; - The SOC is set to 100% if the following conditions apply for at least SOC_RESET_TIME seconds:
; * Current is lower than SOC_RESET_CURRENT amps
; * Sum of cell voltages >= self.max_battery_voltage - VOLTAGE_DROP_
; - The calculated SOC is stored in dbus to persist a driver restart
; False: Use SOC reported from BMS (none of the other parameters apply)
; More info: https://github.com/Louisvdw/dbus-serialbattery/pull/868
SOC_CALCULATION = True
SOC_RESET_CURRENT = 5
SOC_RESET_TIME = 30
SOC_CALC_CURRENT_REPORTED_BY_BMS = -200, -100, -50, -25, -10, -5.9, -5, -3.4, -3.0, -2.4, -2.2, -1.4, -0.5, 0, 0.5, 1, 1.8, 2.2, 2.6, 2.8, 3, 3.35, 3.8, 4, 4.5, 5, 5
SOC_CALC_CURRENT_MEASURED_BY_USER = -200, -100, -50, -25, -10, -6.2, -5, -3.2, -2.70, -2.2, -2.1, -1, 0, 0, 0, 0.5, 1, 1.5, 2, 2.3, 2.55, 3, 3.55, 3.8, 4.35, 4.9, 5 self.max_battery_voltage ? What is that .. where does it come from, there is no other reference to this self.max_battery_voltage constant/variable in the config.ini |
Without screenshots I'm not able to help you. If the alarm is raised by the BMS it is triggered directly by the BMS, there are no settings for that in the driver.
|
You don't have to always quote the text I wrote, if you directly reply to it. I don't know where you got this code from. Since you are not answering to my questions and posting the requested screenshots, I think we are not getting to a point. I will reply again, if you posted the requested screenshots. |
This code ? It comes from the config.ini ? |
Check the latest update to the venus-os_dbus-serialbattery/etc/dbus-serialbattery/config.default.ini Lines 182 to 197 in 2624bd1
Still waiting for the requested screenshots. |
Yes. See venus-os_dbus-serialbattery/etc/dbus-serialbattery/battery.py Lines 414 to 423 in 2624bd1
|
Hello, |
If you are in "SOC calculation" mode, the SOC_RESET_VOLTAGE is not used. Just set the MAX_CELL_VOLTAGE to the correct value, go a little over this voltage on your Charge controller and set those settings to your needs : SOC_CALCULATION = True Thanks again |
Describe the bug
Hello All,
This is not per say a bug, maybe i'm doing something wrong.
My cells are well balanced and i do not charge them all the way up, i keep at 54.65V Bulk and 54.4 Float.
Problem is that the condition where SOC_RESET_VOLTAGE has to be higher then MAX_CELL_VOLTAGE do not work that well in those situation where there is near no deviation between cells... they all at the same voltage withtin 0.008V (at 54.6V total).
Which mean .. i'm kind locked between having a "High voltage" alarm .. ot not meeting the conditions on the SOC_RESET.
Why would there be a condition on the SOC_RESET_VOLTAGE ? I want to be able to use a value lower then MAX_CELL_VOLTAGE.
Alarm high voltage when > MAX_CELL_VOLTAGEx16
=> No room here when there is not deviation.
3.416 : SOC_RESET_VOLTAGE
3.415 ; MAX_CELL_VOLTAGE
Charge is not let to the BMS in my system, charge controller is doing the job, Chargers are set to 54.65V
CVCM_ENABLE = False, is disabled :
How to reproduce
Charge pack up to 54.65V => SOC reset do not happend.
Expected behavior
Reset SOC at the desired voltage.
Driver version
v1.0.202404
Venus OS device type
Cerbo GX
Venus OS version
3.30
BMS type
JKBMS / Heltec BMS
Cell count
16
Battery count
1
Connection type
Bluetooth
Config file
Relevant log output
Any other information that may be helpful
No response
The text was updated successfully, but these errors were encountered: