Sunday 10 April 2016

voltage - Convert from a specifc range to another one


Can anyone explain how one would convert one voltage range to another? I'm going to need to convert a range of -10 to +10 volts into a range of 0 to +5 volts. How would this be accomplished? Thanks!


Let me say something more. Inside of a torpedo there are gyroscopes. This gyroscope give -10 volts when the torpedo have 180 degrees of deviation to the west and 10 volts when the deviation is to the east. This signal is DC, so i need to change this range a range: 0 to 5 v DC . Thanks




Answer



You could use a dual RRO op-amp (eg. AD8676) and ICL7660 as follows (single 5V supply)


schematic


simulate this circuit – Schematic created using CircuitLab


This has 0~5V output for -10~10V in. If you have to handle the -10V and +10V cases with an ADC that has a nominal 5V reference, then you may wish to increase R1 slightly to cover saturation voltage of the op-amps, resistor tolerances and so on, perhaps 5-10%. Then just scale the number from the ADC digitally.


You can bypass R6 and R7 with 0.1uF if you're worried about noise.


One advantage of this circuit is that the gain is set by two resistors (input and output gain) so you can change the input range or output range independently. For example, to change to +/-5V input, change R1 to 100K. To change the output to 0~2.5V (say you got a better reference for your ADC but it's 2.50V), change R4 to 49.9K.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...