Skip navigation
TechXchange
Digi-Key TechXchange Communities > Projects and Designs > Discussions
18309 Views 10 Replies Latest reply: Nov 26, 2011 5:48 PM by GregoireLeGros RSS
Currently Being Moderated

Sep 25, 2011 9:33 AM

ADC doesn't like negative voltage. How can I change my AC plus/minus 2.5v to DC 0 to 5v ?

I've built a heart monitor which outputs a trace to an lcd screen. I used an LT1168 and LT1112 circuit straight off the manufacturers datasheet and it works just great when I view the output on my oscilloscope. The mbed microcontroller is used to digitise this output voltage and display it on the color lcd.  I'm using an mbed microcontroller (www.mbed.org is seriously interesting for electronic hobby guys) which has a couple ADC ports but it doesnt like the negative part of my input signal. So the output onto the lcd screen clips off anything below zero. I need to shift the output of the LT1168 up so that its range becomes all positive. The output from my LT1168/LT1112 nerve impulse amplifier is approximately plus/minus 2.5 V while the acceptable input range for the microcontroller ADC is 0 to +3.3V.

  • Novice 5 posts since
    Sep 25, 2011

    Simple way is to bias the ADC input at 2.5V with a high valued resistor to a 2.5V reference, or just make a voltage divider between +5V and ground.  Then AC couple your signal.  This forms a high pass filter, so you have to make sure you pick the RC time constant long enough to handle your lowest frequency of interest. 

      • Novice 5 posts since
        Sep 25, 2011

        OK, now I have a better picture of what you are doing.

        You don't need to add an RC coupling circuit.  Your circuit should be DC coupled and you should NOT have a dc offset issue.

         

        First, you have too much gain.  Your output is 5Vpp and your input range is only 3.3Vpp.

        You should probably cut your gain in half or more.

        Your ADC input range is 0 to +3.3V, but your output signal is 5Vpp?

        I don't understand how your LT1168 output can go negative, unless you are using a negative supply. 

        Your LT1168 circuit should be powered from +5V and ground.

        And the inputs of your LT1168 must be biased to ~ +2.5V by a resistor divider string off +5V and ground.

        Insert a large valued series resistor between each LT1168 input and the +2.5V point of the divider string.

         

        If you posted your actual schematic, I could tell you for sure if this is the issue.

  • designspecialist-power 62 posts since
    Mar 22, 2011

    GregoireLeGros,

     

    My first thought is that something as simple as adding an old fashioned Summing Amplifier may accomplish both the level shifting and output scaling to fit your 3.3V input ADC.

     

    You could set it up with two inputs to sum together.  One would be your +2.5V/-2.5V output from your LT1168/LT1112 nerve impulse amplifier, and the other would be a -2.5V reference voltage you could set with a voltage divider off your -3V rail.

    Summing_Amp.JPG

     

    If you set the RF/Rin ratio to 0.5 then Vout would range from 0~2.5V instead of 0~5V.  That voltage range should then be acceptable for the extra summing amp if you give it +3V/-3V rails as well, and for the 3.3V max input voltage of your ADC.

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 3 points