Author Topic: OPA316, level shift input signal, buffer output  (Read 2028 times)

0 Members and 1 Guest are viewing this topic.

Offline Vindhyachal.taknikiTopic starter

  • Frequent Contributor
  • **
  • Posts: 487
OPA316, level shift input signal, buffer output
« on: September 13, 2016, 04:55:43 pm »
1. I have application where input signal voltage varies from +5V to -5V. Have to level shift the signal and fed it to microcontroller adc which is sampling at 1MSPS. Microcontroller adc range varies from 0V to 3.3V
Selected OPA316 for this application. Attached find the circuit.

2. Can I level shift the signal using single supply opamp(3.3V) volt from +-5V to 0-3.3Vdc

3. I have calculated resistor values as in attached ckt. I dont have opamp right now, but if I simulate the resistor network without opamp, on applying +5V at vin, I got +3.3V at In+ & on applying -5V at Vin, I get 0V at In+.

4. Is this ckt ok? What error margin I should take for voltage range?
i think 1% resistor values will be ok.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19524
  • Country: gb
  • 0999
Re: OPA316, level shift input signal, buffer output
« Reply #1 on: September 13, 2016, 06:26:17 pm »
All the op-amp does is buffer the signal. If the ADC has a high input impedance, then the op-amp can be omitted and it will still work perfectly.
 

Offline Syntax_Error

  • Regular Contributor
  • *
  • Posts: 204
  • Country: us
Re: OPA316, level shift input signal, buffer output
« Reply #2 on: September 14, 2016, 02:14:11 pm »
https://www.google.com/?gws_rd=ssl#q=op+amps+for+everyone+pdf

Provided without sarcasm or attitude. I include the search list instead of a link to the PDF in question because this provides additional tools and information. This PDF (Op Amps for Everyone) is simply written and very very useful for these type of conversion requirements.
It's perfectly acceptable to not know something in the short term. To continue to not know over the long term is just laziness.
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: OPA316, level shift input signal, buffer output
« Reply #3 on: September 14, 2016, 02:59:33 pm »
Again, "Op Amps For Everyone" is a great reference.  See section 4.3, pick the right case and follow the yellow brick road.

I would get rid of the 10k resistor between the op amp and the ADC.  MANY uC ADCs want to see a fairly low impedance source - like 2k (check the datasheet for your uC).  The resistor serves no purpose and it can get in the way.  If you want to protect the uC pin, try a 330 Ohm resistor instead.

 

Offline Syntax_Error

  • Regular Contributor
  • *
  • Posts: 204
  • Country: us
It's perfectly acceptable to not know something in the short term. To continue to not know over the long term is just laziness.
 

Offline Vindhyachal.taknikiTopic starter

  • Frequent Contributor
  • **
  • Posts: 487
Re: OPA316, level shift input signal, buffer output
« Reply #5 on: September 16, 2016, 05:59:32 am »
Thanks
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: OPA316, level shift input signal, buffer output
« Reply #6 on: September 16, 2016, 10:15:37 am »
There are a number of ways of solving this, from something as simple as
2 R's to developing a simple - supply for the OpAmp to expand its CM
range.

https://www.dropbox.com/s/k1yn4m7heaixvmg/ADinput%20negative%20inputs.zip?dl=0


Regards, Dana.
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Offline Vindhyachal.taknikiTopic starter

  • Frequent Contributor
  • **
  • Posts: 487
Re: OPA316, level shift input signal, buffer output
« Reply #7 on: September 17, 2016, 06:49:19 am »
This ckt works. But it has one major consideration that source voltage should be able to both source & sink current.
Let say I have a sensor which is not able to sink current like theromocouple. Suppose I have sensor with +-5V & it dont sink current.
In that case what would be the ideal solution?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf