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

Vbat A6 electrically noisy #36

Open
neilh10 opened this issue Mar 30, 2022 · 0 comments
Open

Vbat A6 electrically noisy #36

neilh10 opened this issue Mar 30, 2022 · 0 comments

Comments

@neilh10
Copy link

neilh10 commented Mar 30, 2022

Measuring the LiPo battery voltage is through a resistor divider 10M / 2.7M with a capacitor 100nF
Using this reference there is a lot of noise on the ADC.

Can the resistance's be changed to 1M / 270K for better noise immunity.

With 12.7M - the current drain 4.0V/12.7M = 0.31uA
With 1.27M - the current drain 4.0V/1.27M = 3.1uA - negligble in the overall power management
For an algorithm that detects the lowest battery voltage as an estimate for battery capacity, a windowed filter of 4 readings was implemented. The "Some Sw filtering" below used the lowest value read in the 4 to achieve some noise reduction

220321_swfiltering_8daysNoise

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

No branches or pull requests

1 participant