Author Topic: choosing an Op-Amp  (Read 2409 times)

0 Members and 1 Guest are viewing this topic.

Offline anishkgtTopic starter

  • Frequent Contributor
  • **
  • Posts: 769
  • Country: qa
    • George Hobby
choosing an Op-Amp
« on: November 14, 2017, 11:01:13 am »
Hi All,

I am trying to learn how to use an op-amp and so far I've managed to learn it bit by bit out of experience. I have an RC filter to smooth out a PWM signal from an Arduino to control the contrast of an LCD and I've designed a buffer with the best of my knowledge.

Not sure which op-amp to choose and if am not wrong it should be rail to rail - rail. my Pcb works on +5v and does not a negative supply. Would appreciate if some one could guide me here.

Thanks in advance.
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: choosing an Op-Amp
« Reply #1 on: November 14, 2017, 11:22:45 am »
Some comments -

1) This OpAmp is not RRIO, its input CM range does not include the positive rail. Vin must
be <= 4V for Vdd = 5V.
2) The output only goes to either rail if the OpAmp load current = 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 anishkgtTopic starter

  • Frequent Contributor
  • **
  • Posts: 769
  • Country: qa
    • George Hobby
Re: choosing an Op-Amp
« Reply #2 on: November 14, 2017, 11:31:26 am »
Thanks Dana,

That was a generic one. I was checking this out on LTSPice and i can see favorable results with the AD8031. Favaourable i mean i see a smooth curve at 100% duty cycle.

Would this opamp be best suited here.
 

Online tszaboo

  • Super Contributor
  • ***
  • Posts: 7381
  • Country: nl
  • Current job: ATEX product design
Re: choosing an Op-Amp
« Reply #3 on: November 14, 2017, 12:35:23 pm »
determine:
operational frequency -> GBW from that
allowed DC errors-> offset voltage and bias currents
price of the circuit
special features
power supply requirements and delivery capabilities

Head to TI.com and punch in your requirements. Use the cross reference tools for other manufacuters if you wish.
 

Offline anishkgtTopic starter

  • Frequent Contributor
  • **
  • Posts: 769
  • Country: qa
    • George Hobby
Re: choosing an Op-Amp
« Reply #4 on: November 14, 2017, 04:02:12 pm »
Just sharing link where i found it to be useful, maybe it could help somebody. http://www.electronics-tutorials.ws/opamp/opamp_1.html
 

Offline JanJansen

  • Frequent Contributor
  • **
  • Posts: 380
  • Country: nl
Re: choosing an Op-Amp
« Reply #5 on: November 14, 2017, 04:45:14 pm »
Look for Microchip brand rail to rail opamps, then look to the price for the cheapest version, available 1,2 or 4 in one package.
More expensive versions are faster responding you dont need that for this.
aliexpress parachute
 
The following users thanked this post: anishkgt

Offline fcb

  • Super Contributor
  • ***
  • Posts: 2117
  • Country: gb
  • Test instrument designer/G1YWC
    • Electron Plus
Re: choosing an Op-Amp
« Reply #6 on: November 14, 2017, 05:11:53 pm »
Looks like your electrolytics on the filter are ass<>face.

Also depends what you want to drive, and how important it is to get to 0V.  I could use anything from the trusty, cheap but flawed LM358, through the excellent and fairly cheap MCP6001 family, up to an OP279G and beyond.
https://electron.plus Power Analysers, VI Signature Testers, Voltage References, Picoammeters, Curve Tracers.
 
The following users thanked this post: anishkgt

Offline anishkgtTopic starter

  • Frequent Contributor
  • **
  • Posts: 769
  • Country: qa
    • George Hobby
Re: choosing an Op-Amp
« Reply #7 on: November 14, 2017, 07:07:21 pm »
My Load is an 20x4 LCD display and a 0 volt is not really necessary, at 1.2v the contrast is very dark so some where about 1 to 1.5v would be ok.


Those are not electrolytic they are ceramic. Those symbols are US version of the cap.
 

Offline IanMacdonald

  • Frequent Contributor
  • **
  • Posts: 943
  • Country: gb
    • IWR Consultancy
Re: choosing an Op-Amp
« Reply #8 on: November 14, 2017, 07:53:31 pm »
The CA3140 suggests itself here, it's able to work with a single supply, inputs and outputs near 0v.
 

Offline anishkgtTopic starter

  • Frequent Contributor
  • **
  • Posts: 769
  • Country: qa
    • George Hobby
Re: choosing an Op-Amp
« Reply #9 on: November 14, 2017, 08:28:46 pm »
The CA3140 suggests itself here, it's able to work with a single supply, inputs and outputs near 0v.

seems to be a bit costly. https://www.digikey.com/scripts/DkSearch/dksus.dll?Detail&itemSeq=243955443&uq=636462664722674432 is something i was looking at. Would this be a perfect one ?
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: choosing an Op-Amp
« Reply #10 on: November 14, 2017, 10:14:22 pm »
One other issues, make sure there is a DC path from V+ input of OpAmp back
to ground, eg. the PWM source must not be AC coupled into the filter input.

That's to insure OpAMP bias current has a return path. No charge slowly accumulates
which would provide an unwanted offset into OpAmp. Also if you choose to use
larger filter Rs, lower Cs, then in V- path to output insert a series R that is ~ the
same the V- sees to ground. To mitigate offset due to bias current flowing thru an
R. If you pick a real low bias current part you should be able to not bother with the
additional R.


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

Offline anishkgtTopic starter

  • Frequent Contributor
  • **
  • Posts: 769
  • Country: qa
    • George Hobby
Re: choosing an Op-Amp
« Reply #11 on: November 15, 2017, 04:59:58 am »
Thanks Dana but  :-//

Sounds a bit too much grasp for a beginner. I've added Resistor in series with the non-inverting to the output.

Quote
the PWM source must not be AC coupled into the filter input.
If i understand AC coupling, it is blocking DC, which would not help here.
 

Offline fcb

  • Super Contributor
  • ***
  • Posts: 2117
  • Country: gb
  • Test instrument designer/G1YWC
    • Electron Plus
Re: choosing an Op-Amp
« Reply #12 on: November 15, 2017, 06:42:53 pm »
Is this for setting the LCD contrast?

If so, you might not need the the opamp (they can be quite hi-z inputs), either way an LM358 would probably work fine.
https://electron.plus Power Analysers, VI Signature Testers, Voltage References, Picoammeters, Curve Tracers.
 

Offline anishkgtTopic starter

  • Frequent Contributor
  • **
  • Posts: 769
  • Country: qa
    • George Hobby
Re: choosing an Op-Amp
« Reply #13 on: November 15, 2017, 06:51:20 pm »
Yes that would be for adjusting the contrast on a 16x2 LCD. the LMV321 is a good one as it comes in the SOT23-5 which is perfect as am out of space.

Thanks for the reply tho.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf