ADC offset, sensor, op-amp help?
Zap-o
Posts: 452
I am working on a device that requires a ADC to read a temperature sensor. My issue is that the voltage from the sensor is such that I am not getting the maximum potential out of my ADC (need better resolution). I am sure I need an op-amp to accomplish this task but I am not sure what type of circuit I will need. Below is a plot of what is happening. The X axis is the voltage and the Y axis is the temperature. The red line is the reading I am obtaining from my ADC as you can see I am only using a little under 1/2 of what the ADC can provide. In other words, at -40 degrees C the reading is around 2 volts. I would like to offset this so that at -40 degrees C the voltage is .5Volts.
So I was thinking of offsetting the input signal so that it looks like the blue line. Is this possible? If so what is it called?
So I was thinking of offsetting the input signal so that it looks like the blue line. Is this possible? If so what is it called?
Comments
-Phil
-Phil
-Phil
I use the SOT-23 version of that one (here), with an MCP3008 and a 2.5V reference, it's been flawless.
Most temperature sensor expect the ADC to have an accurate reference (not your general-purpose 5V or 3.3V power), because without a reference, it can't be consistently accurate (no matter how many bits you are measuring with). You will probably need a 4.096V or 2.5V reference depending on the temperature IC.
-Phil
Yes I am using a .01% Voltage reference regulator and the temperature sensor in my honest opinion is not even remotely an issue. Its either the ADC / the offset / resolution.
Phil thanks again ill read this over.
That's a 16 bit ADC you're using. Quite a bit of resolution even without any offset. Do you really require that much resolution? Is it a very low noise environment?
Is it one of those that puts out a current as a function of temp and would need a current to voltage convertor interfaced to it.
Then you could plot that output as a function of temp and then design the op amp interface to get 0 to 5 v as an input to your A/D
Can you use the sensor's data sheet to get a plot of volts out vs temp.
Tom
Indeed its a good ADC but I still wish to use all the resolution. My micro is the propeller.
@ tdlivings...
The temp sensor is doing as expected and after some circuits it runs linear. Its voltage is then proportional to the temperature.
@ Phil and others...
If I am on the right path and do this correctly I think I could design a differential op-amp circuit to offset the voltage, then take that value and run it into a small gain op-amp circuit to finally input in to my ADC. Will this do the trick? I have no idea but I am going to give her a try unless someone thinks its entirely the wrong way to do this. Any other ideas?
To use full range, consider op amp to scale and if needed filter the input signal. Diff input to cancel noise, and there are ways to scale the input both linearly and logarithmically using active devices in the fedback loop.
Check for another TI PDF pub, OP Amps for Everyone. More detail than can be imagined. a seriously good read. Also, TI has a Spice based Simulator called TINA-TI, looks interesting, not had time to play with it though. TI focus membership is good also for other tools and easy way to get hold of samples.
Frank
Oh hell, I read your post this morning while reading the exact PDF and got a little spooked. still looking for the hidden camera that you are watching me from. In all seriousness thanks and wish me luck.