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

Improve battery reporting accuracy #96

Open
elsalahy opened this issue Dec 24, 2020 · 0 comments
Open

Improve battery reporting accuracy #96

elsalahy opened this issue Dec 24, 2020 · 0 comments
Assignees
Labels
Firmware Anything related to code and SW on the HW

Comments

@elsalahy
Copy link
Contributor

Summary:

We can add multiple battery management APIs that allow us to accurately report the battery voltage level.
see #94 where we provide APIs that use the 12 bit ADC to report the ADC status.

The output data has a minor deviation ( ~ (+- 120) mv), and this is mostly due to RP605Z283B error percentage
image

We can also do the data averaging the cloud to better estimate the battery status.

Why do we need this?

To get a better representation of the device battery level.

What is already there? What do you see now?

A good battery report system with no data averaging/offsetting.
Battery reporting deviation in mv ( ~ (+- 120) mv)

What is missing? What do you want to see?

Improved battery monitoring using filters (averaging or exponential as @azerimaker recommended)

How do you propose to implement this?

  • Add supporting filtering functions
  • Add APIs that report a more accurate representation

Environment:

Bare-Metal or OS

Acceptance Criteria:

The improvement of the accuracy shouldn't add a computational overhead.

What can you do yourself and what do you need help with?

All

@elsalahy elsalahy added this to the Backlog milestone Dec 24, 2020
@elsalahy elsalahy self-assigned this Dec 24, 2020
@elsalahy elsalahy added the Firmware Anything related to code and SW on the HW label May 31, 2021
@johanstokking johanstokking removed this from the Backlog milestone Nov 29, 2021
@NicolasMrad NicolasMrad assigned azerimaker and unassigned elsalahy Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Firmware Anything related to code and SW on the HW
Projects
None yet
Development

No branches or pull requests

3 participants