Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 17th June 2008, 05:53 AM   (permalink)
Default sensor voltage conditioning

I have a sensor that produces 0 - 5 vdc. I would like to create a circuit to change this output so that anything below 2 volts translates to 0vdc, and so that the the sensor's range from 2 to 5vdc translates to 0 to 5 vdc. Seems like I need to start with something that subtract 2 vdc from the sensor's output (down to but not less than 0vdc), and then multiples that result times 5/3. Any thoughts on how to do that with op amps and such...?
tom86951 is offline  
Old 17th June 2008, 06:07 AM   (permalink)
Default

This sounds like a classic case for a comparator.
Read all about it.
Voltage Comparators
Mikebits is offline  
Old 17th June 2008, 07:19 AM   (permalink)
Default

Quote:
Originally Posted by Mikebits View Post
This sounds like a classic case for a comparator.
Read all about it.
Voltage Comparators
A comparator will give you a logic output. I believe what's wanted is a linear output over the range of 2 to 5V while ignoring inputs below 2V.

You can use a non-inverting op amp with a gain of 5/3 and a negative 2V offset.

Is this homework or a real problem?
__________________
Carl
crutschow is offline  
Old 17th June 2008, 07:39 AM   (permalink)
Default

I guess your right, he wants to ignore anything from 0-2v, and then output a proportional voltage from 2-5 volts where 2 volts =0 and 5 =5. I did not read the post carefully enough.

Last edited by Mikebits; 17th June 2008 at 07:41 AM.
Mikebits is offline  
Old 17th June 2008, 09:00 AM   (permalink)
Default

Quote:
Originally Posted by tom86951 View Post
I have a sensor that produces 0 - 5 vdc. I would like to create a circuit to change this output so that anything below 2 volts translates to 0vdc, and so that the the sensor's range from 2 to 5vdc translates to 0 to 5 vdc. Seems like I need to start with something that subtract 2 vdc from the sensor's output (down to but not less than 0vdc), and then multiples that result times 5/3. Any thoughts on how to do that with op amps and such...?
hi,
I designed this offset circuit for a similar sensor, if you recalculate the resistors etc, this circuit will give you,
within a few mV's of zero and +5V, for the +2V thru +5V input signal.

Keep the load resistance that the 358 drives over say 10K, [which a PIC is]
then you should get as low as 5 to 10mV, for a "0V" out.

Can you recalc the values OK.?

A CA3140 or CA3240 OPA will be a suitable alternative, but NOT a 741..
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 7th July 2008 at 12:25 PM.
ericgibbs is offline  
Old 27th June 2008, 03:38 PM   (permalink)
Default

Quote:
Originally Posted by crutschow View Post
A comparator will give you a logic output. I believe what's wanted is a linear output over the range of 2 to 5V while ignoring inputs below 2V.

You can use a non-inverting op amp with a gain of 5/3 and a negative 2V offset.

Is this homework or a real problem?
It is a real world project. I have a pressure sensor that measures from absolute zero (vacuum) to 30psi and produces a linear 0-5vc. I want to use that sensor to drive a pressure gauge that takes a 0-5v signal and reads from atmospheric pressure to 30psi. To do that, I need to ignore the first few volts of the sensor (which is vacuum below the gauge's ability to display) and then amplify the signal above 2v by a 5/3 ratio.
tom86951 is offline  
Old 27th June 2008, 03:41 PM   (permalink)
Default

Quote:
Originally Posted by ericgibbs View Post
hi,
I designed this offset circuit for a similar sensor, if you recalculate the resistors etc, this circuit will give you,
within a few mV's of zero and +5V, for the +2V thru +5V input signal.

Keep the load resistance that the 358 drives over say 10K, [which a PIC is]
then you should get as low as 5 to 10mV, for a "0V" out.

Can you recalc the values OK.?

A CA3140 or CA3240 OPA will be a suitable alternative, but NOT a 741..
Eric, thanks once again for your help. It looks like you are on to something, but I need a little help understanding the circuit and how to recalc the values for my 5/3 gain and -2 offset. Can you dumb it down for me?
tom86951 is offline  
Old 27th June 2008, 05:10 PM   (permalink)
Default

I would suggest using an instrumentation amplifier. I will assume that the output impedance of your transducer is rather low, but you want very high impedance on the input to your gain circuit. See the wikipedia page on instrumentation amplifiers:

Instrumentation amplifier - Wikipedia, the free encyclopedia

Put a 2V reference (many ways to do this) on the V1 node and put the output of the transducer on the V2 node. Set the gain to 5/3. Again, there are a number of ways to do this - one would be to set R1=Rgain and then set R3=5k and R2=9k.

This assumes that you are using a set of op-amps that have a supply that exceeds 5V on Vdd and is also supplied by a negative rail on Vss. If this is the case, then I would suggest adding another stage to your output: Tie the output of the instrumentation amp to the non-inverting input of an op-amp set up as a voltage follower through a 10k resistor. On the non-inverting input of the voltage follower, you can tie the output of a comparator (biased from a positive rail and referenced to ground) that is comparing the input to that same 2V reference. The comparator will pull the input to the voltage follower to zero volts if Vin<2V, otherwise you get the output of the instrumentation amp. The op-amps can be in a quad package with the comparator being on its own.

If you are biasing the op-amps with ground on Vss, then you'll have to go with some type of rail-to-rail op-amp and figure on having some accuracy issues near the rails. With this set up, though, you only need the three op-amps set up as an instrumentation amp.
OutToLunch is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Wall Following Sensor, variable voltage to IR LED. 3v0 Robotics Chat 22 17th May 2008 12:51 PM
Tachometer Pickup conditioning. gtx15 Electronic Projects Design/Ideas/Reviews 2 13th October 2007 04:12 PM
PT1000 Conditioning Circuit Gain Calculations AlphaRugal79 General Electronics Chat 3 4th March 2007 01:16 PM
Pulse capture signal basic conditioning DanD Micro Controllers 3 2nd August 2006 11:49 AM
trying to use op-amp summing circuit to offset car sensor voltage elRey General Electronics Chat 10 28th June 2006 01:42 PM



All times are GMT. The time now is 06:46 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker