Resistor Voltage Divider and ADC


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Perth, Australia
    Posts
    429

    Default Resistor Voltage Divider and ADC

    Hi,

    I need to measure the voltage of a battery, so i'm going to be using a resistor voltage divider to drop the voltage down to <5v that the ADC can handle. Like this:


    Battery +ve ------- 18k Resistor ------- ADC Pin ------- 4.7k Resistor ------- Ground

    My question is, what is my impedance for calculating the min ADC acquisition time in this instance? Is it just the impedance to ground (i.e. 4.7k)? Or do I have to consider the 18k resistor as well?
    "I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams

  2. #2


    Did you find this post helpful? Yes | No

    Default Impedance is the parallel combination

    Your effective input impedance is the parallel combination of 4k7 and 18k.

    Formula is R1*R2/(R1 + R2).

    HTH
    BrianT

  3. #3
    Join Date
    Nov 2005
    Location
    Perth, Australia
    Posts
    429


    Did you find this post helpful? Yes | No

    Default

    Oh, really? I cant say I understand why that is the case, but i'll take your word for it.

    In that case I should be able to use even higher resistor values (to reduce the wasted current) without violating the PIC's specification of a 10k maximum impedance on ADC inputs?

    Something like:

    Battery +ve ------- 47k Resistor ------- ADC Pin ------- 12k Resistor ------- Ground

    = 9.56k input impedance ~ 10uS ADC acquisition time (and only wasting fractions of a mA of battery current)
    "I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Nov 2005
    Location
    Perth, Australia
    Posts
    429


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Thanks. I don't have any trouble working out the divisor so that it wont go over 5v for my input range. It's the impedance that I was worried about (but still want to minimise wasted current).

    It's a shame that DT's calculator there doesn't have the impedance in the result. I have yet to find confirmation elsewhere that the input impedance is the parallel impedance of the 2 resistors. It seems a little counter-intuitive to me. If anything, I would have thought that it would be the series impedance.
    "I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Consider BrianT answer confirmed
    This may help, near the end....
    http://www.kpsec.freeuk.com/imped.htm
    Dave
    Always wear safety glasses while programming.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts