This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

AAA voltage measurement

Hi,

I'm using a NRF52832. I'm looking to measure the battery voltage. I'm using 2XAAA cells in serie (voltage range between 2V and 3V).

Below is the configuration to measure the voltage (To simplify the example, I have voluntarily removed protections on the battery connection). 

Regarding the internal characteristics of the ADC on NRF52, what is the best value for R6 and C6 to avoid any issue with acquisition time / impedance ...? Could you confirm that the leakage would be very low (input impedance >1M Ohms on the ADC input)?

EDIT  : In my real use case, the NRF is not directly powered by the batteries but by a boost circuit (3V). 

Thank you

Parents Reply
  • Since Vbat should never be greater than VDD, you can just hook it up directly. Realistically Vbat needs to be within Vthreshold of VDD.  Basically you want to make sure the top fet in the CMOS doesn't turn on by providing an input voltage greater than VDD + Vthreshold. Normally this shows in spec's as VDD + 0.3V. for max.

    The SAADC is a switched capacitive input that successive approximation is done against.  When it is not sampling you are looking at a turned off fet. So very, very high impedance.

    Nordic normally specify 1Mohm, but often state is is significantly larger than that. Since you don't need the resistor then you don't need the cap.  Just hook it up directly.

    If you are worried about having Ain sitting directly on Vbat which customers touch when swapping out the batteries then follow the guidelines for LiPo measurement but just lose the bottom half of the voltage divider so you won't have any leakage.

    The input cap on the SAADC is very small ( a few pF) so without giving it much thought you could just choose 100kohm and 1nF. The SAADC and the 1nF do coulomb sharing.  So you can always fix the acquisition time to compensate.

    LiPo guide if you wish to look at it: devzone.nordicsemi.com/.../measuring-lithium-battery-voltage-with-nrf52

Children
Related