Measuring negative voltages


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    May 2006
    Posts
    13

    Default Measuring negative voltages

    Hi every one:
    Does any one have any ideas as to how I can measure negative voltages accurately using the pic's internal ADC or an external ADC. The voltage would be between -2 to 12 V.
    thanx
    sam

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,122


    Did you find this post helpful? Yes | No

    Default Raise it

    One idea might be to use an op-amp, like LMC662, and raise the negative voltage with the offset fed into the op-amp. But since the span is |-2-12|=14 volts you will need a divider too. So I would use a divide first to down scale the voltage range with a 2 resistor divider and obtain maximum 3 volts when the input will reach 12. That is because the op-amp would have an offset of 2 volts,so the output would be raise to 5Volts.

    The divider should be a divide by 4, like 3K from input to common node and 1K down to earth.

    The common node is going to feed the +input of the op-amp and the - input of the op-amp would get -2 offset voltage (with a low Z source). The output should be connected to the -input (follower). Now the power supply should be +/- 5 volt at least (sorry...).

    Ioannis

  3. #3
    Join Date
    May 2006
    Posts
    13


    Did you find this post helpful? Yes | No

    Talking

    thanx for the idea but is there any way you can give me a diagram.
    thanx
    sam

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,122


    Did you find this post helpful? Yes | No

    Default

    What part you don't understand?

    I do not ussually draw schematics on screen...

    Ioannis

  5. #5
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,610


    Did you find this post helpful? Yes | No

    Default OP based rectifer and amplifier/attenuator.

    Hi Sam,
    Attached is a schematic of an inputstage I've designed and used succesfully with the internal ADC. It's an OP-based rectifier with adjustable gain.

    Apply your -12V signal to the input and adjust P1 untill you get your desired output (+5V or +4.096 or whatever). (Do this before you connect the output to the ADC)

    The sign output will be high or low dependig on if the input voltage is positive or negative and you can use a digital input to read the sign and 'add' one bit of resoultion to the ADC resulting in +/- 10bit. Since your voltage is always negative you can leave that part out if you don't need it.

    There's one drawback though. You need to feed the OP-amp with +/-15V.

    Hope it helps.

    /Henrik Olsson.
    Attached Images Attached Images  

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,122


    Did you find this post helpful? Yes | No

    Default

    On the schetch of Henrik please consider the voltage drop on the output resistor of 1K that is going to be in series with the ADC input resistor of your PIC (about 10K). That will give a ratio of about 1/10th.

    Ioannis

Similar Threads

  1. Measuring p-p of a 1.5v to 12v ac signal?
    By sccoupe in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th October 2009, 16:22
  2. DS18S20 reading negative temperature
    By srob in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 28th December 2007, 21:21
  3. Reading (ADC) negative current
    By sougata in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 21st November 2006, 17:38
  4. Sort of OT, SMT cap...which side is negative
    By Christopher4187 in forum General
    Replies: 2
    Last Post: - 28th January 2006, 13:55
  5. Need Help in Measurement of Voltage
    By apache in forum General
    Replies: 5
    Last Post: - 5th June 2005, 15:39

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