Skip to content
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

Offset battery state so 50% reads as 0% #127

Open
MoffKalast opened this issue Apr 26, 2021 · 4 comments · Fixed by #138
Open

Offset battery state so 50% reads as 0% #127

MoffKalast opened this issue Apr 26, 2021 · 4 comments · Fixed by #138
Assignees

Comments

@MoffKalast
Copy link
Contributor

MoffKalast commented Apr 26, 2021

Something we talked about the other day, but then forgot to turn into an issue.

To sum up, the RPi becomes unstable under what's currently being calculated as 50%, so we should probably label it as far lower, like 5% or 10% at most so it's clearer that the robot is about to stop working and adjust the linear curve accordingly.

I suppose the question is what do we do with the remaining 0-49%. We could just have it linearly interpolate between 0-5% or something or just have it display as zero. Anyhow, up to the guy who implements it as it's more up to personal preference.

@mjstn
Copy link
Contributor

mjstn commented May 7, 2021

We don't want to let our batteries operate much lower than around 12V which is near that 50% capacity.
We are unable to monitor anything but battery voltage. Some tweeks have gone into the MCB that apply to better tolerance and value resistors used to measure voltage as well as a fix for the ratio so older boards were often way off in battery readings.

Many battery mfgs have lots of info on the nature of battery life as a function of how far you regularly discharge the battery. This one seems rather good coverage in terms of how a battery overall life is shortened by a given regular depth of discharge (DOD).
http://www.batteriesinaflash.com/deep-cycle-battery-faq

@MoffKalast
Copy link
Contributor Author

MoffKalast commented May 7, 2021

I mean according to some of our customers, there's a pretty high chance of sd card corruption below 50%, so I'd say we should set a hard limit there and not even debate deep cycles. I'd imagine the 5V rail must become unstable somehow during robot movement but we don't exactly have proper tests of it.

@mjstn
Copy link
Contributor

mjstn commented May 7, 2021

Totally agree. I was trying to say, stop at 50% discharge which is in the 'area' of 12V
I have as of last week completed an enhancement to my battery load pulser and was hoping to do more 'exact tests' but frankly we should take advice from the hundreds of folks that have used gel cells before and trust their judgement in order to not 'push our luck' and corrupt a lot more SD cards simply to get an extra 30 minutes of robot life.

@MoffKalast
Copy link
Contributor Author

MoffKalast commented May 7, 2021

This has me thinking though if we have two 7.2Ah batteries in series that gives us what, like 4Ah@28V to use in total?

I think there are 20V 6Ah cordless drill batteries out there that might get us similar range and we could probably fit like four of them for the same space/mass, plus they have protection and battery indication. Sounds totally ridiculous but it could be something worth trying out. After all those are fairly standard too.

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

Successfully merging a pull request may close this issue.

2 participants