OnewheelCommunityEdition / OWCE_App

GNU General Public License v3.0
113 stars 30 forks source link

Predict Captain Morgan % #51

Open kenpoulton opened 4 years ago

kenpoulton commented 4 years ago

Enhancement request: show total capacity and predicted usable capacity.

The board quits when any one cell gets down to 3 V. When there is a cell voltage imbalance, this can happen well above 0% (mine rarely gets all the way down to 10% and has stopped as early as 80%). I have some data on my weak battery pack.

Here is my empirical formula for predicting the Captain Morgan % :

CM = dV/5 - (100-Start)*2 CM = Captain Morgan fail (%) dV = max_cell(mV)-min_cell(%) Start = current_battery(%)

An alternative formulation might be based purely on the current lowest cell voltage, but I don’t have enough data for that.

beeradmoore commented 3 years ago

Is this the same across all board types? Is that 3V when board is idle or does that include voltage sag as well?

kenpoulton commented 3 years ago

The Pint and XR have the same voltage batteries. V1 and Plus are somewhat lower voltage.

I haven’t been able to test under load because my board has flaky Bluetooth. 3.0 V w/o load is very close to 0%. I think the BMS uses 3 V under load as well - you have very little power when any cell is close to 3 V.

I now think that simply showing a percentage based on the cell with the lowest voltage would accurately reflect the usable battery charge.