Been loving this thread, so much useful information about the XP batteries
The guy I bought my batteries from said they only needed 5V on the RS485 connector to keep the internal BMS alive. As pointed out here, this isn't actually the case. Since I only have 2 parallel batteries in a campervan it seemed overkill to spend a lot of money on a BMS, and I didn't want to keep plugging in a laptop regularly, so ended up coding my own solution which runs on £20 hardware...
A BMS for Valence XP batteries, designed to run on Arduino or similar hardware. - seb303/Arduino-XP-BMS
github.com
My goals with this were to:
- Keep the Valence internal BMS awake so the intra-module balancing is active.
- Provide a signal to a charge controller to disable charging in case of individual cell over-voltage or over-temperature.
- Provide a signal to a load disconnect relay in case of individual cell under-voltage or over-temperature.
- Provide warning and shutdown status outputs for over-temperature, over-voltage, under-voltage and communication error.
- Provide basic event logging (can be accessed via a laptop).
- Have a mode for long term storage / not in use, where it will let the batteries rest at a lower SOC.
If anyone needs some help to get it up and running, feel free to give me a shout.
Also, I am interested in some feedback on my choice of thresholds for warning and shutdown. The values used by the Valance U-BMS (according to the Valence User Manual) seem quite extreme, I guess spec'ed for maximum battery capacity, fast charging and heavy usage. I would rather aim for maximum battery life. These are the values I settled on:
Over voltage warning: 3.6V (Valence U-BMS value = 3.9V)
Over voltage shutdown: 3.8V (Valence U-BMS value = 4.0V)
Hysteresis: 0.2V (i.e. voltage must drop by this amount before the warning or shutdown is cancelled.
Under voltage warning: 3.0V (Valence U-BMS value = 2.8V)
Under voltage shutdown: 2.7V (Valence U-BMS value = 2.3V)
Hysteresis: 0.2V
Over temperature warning: 55C (Valence U-BMS value = 60C)
Over temperature shutdown: 60C (Valence U-BMS value = 65C)
Hysteresis: 2C
Long term storage mode allows a battery to drop to 50% SOC (which will probably never happen as they seem to drop so slowly), then charge back up to 80%. (SOC according to the internal SOC value read from the batteries.)
I have in any case set my charge controller to quite a conservative voltage in the first place: 13.9V, with 13.5V float. The batteries seemed to reach 100% SOC ok,. I'm not sure if I would gain much more capacity by charging to a higher voltage? I only have 320W of solar to charge 276Ah of batteries, so charging doesn't need to happen very fast (although I guess this isn't so true when charging from the vehicle while driving - in this case the charge controller can put out 700W / 63A).