Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Reflect non-linear relation of battery capacity to voltage #15

Open
danielkucera opened this issue Jan 30, 2020 · 3 comments
Open

Reflect non-linear relation of battery capacity to voltage #15

danielkucera opened this issue Jan 30, 2020 · 3 comments

Comments

@danielkucera
Copy link
Contributor

https://lygte-info.dk/info/BatteryChargePercent%20UK.html

@bergzand
Copy link
Contributor

@wosym
Copy link

wosym commented Feb 28, 2020

Maybe you can fit an equation on the observed measurements?
e.g.
y = 2.358007 + (0.003753138 - 2.358007)/(1 + (x/3.722494)^51.16191)
with y the remaining capacity in Ah, x the voltage in V.
(Function fit to the first graph of the first link)

@bergzand
Copy link
Contributor

bergzand commented Mar 1, 2020

I've applied a piecewise linear function over the data linked here. It might require some tuning, but it is probably better than the simple linear equation used previously.

See 82dc83c

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants