Playing with Op-Amp's

Thread Starter

Weird Tolkienish Figure

Joined Sep 16, 2013
6
Looking to build an analog computer to do some rather complicated math, what op-amps would you recommend for hobbyists?

I was thinking of this one:

http://www.ti.com/product/lm324

I would like to incrementally play with op-amps until I can do some of the projects mentioned at this website:

http://www.allaboutcircuits.com/textbook/semiconductors/chpt-9/computational-circuits/

I have built circuits with the 555 and such. As far as Newbs go, I'm pretty newbish, but I feel I have grasped most of the basic concepts.

Will I need an oscilloscope? This will drive my budget contraints up, and space issues (and annoyed wife, lol).

How bad are noise problems with these?
 

dl324

Joined Mar 30, 2015
16,923
Looking to build an analog computer to do some rather complicated math, what op-amps would you recommend for hobbyists?
LM324 is probably okay to start with but, without more info on the complicated math you want to perform, can't say if it's a good choice. There are other opamps with lower input currents, offset voltage, and can swing to the positive rail (LM324 should be able to get to the negative supply in split supply mode).
Will I need an oscilloscope? This will drive my budget contraints up, and space issues (and annoyed wife, lol).
I'd say mandatory for analog circuits. If you decide to get one, do your research. USB scopes are cheap, but there's a reason they say "you get what you pay for". Some of the inexpensive digital scopes seem to have poor resolution (compared to my 30-40 year old Tektronix which cost $8K when it was introduced). Prices for analog scopes (used, don't think you can buy new) wax and wane; they seem to be at a premium now.
How bad are noise problems with these?
Depends on application.
 

#12

Joined Nov 30, 2010
18,224
Looking to build an analog computer to do some rather complicated math
Isn't that like looking for a good bicycle to get to St. Louis quickly? I thought about doing this experiment 40 years ago when every op-amp was a PIB for accuracy. Today, you have op-amps available that make your concerns about noise and my concerns about offset voltage a thing of the past...WAY past.

You should go to a vendor site like www.mouser.com and learn how to use the parametric search engine. You will be amazed at what's available.
 

crutschow

Joined Mar 14, 2008
34,452
The LM324 is a cheap, common op amp, but it has a significant input offset voltage and input bias current which can introduce errors in the output, especially if you have an integrator in the circuit.
That may be okay for simple op amp functions but, depending upon your budget, you might want to look for one with a lower input voltage offset and input bias current.

If you are computing any AC or time-varying functions, you will need an oscilloscope.
For DC type functions, a multimeter will be fine.

What type of "complicated math" do you want to do?
 

Thread Starter

Weird Tolkienish Figure

Joined Sep 16, 2013
6
What type of "complicated math" do you want to do?
I shouldn't have mentioned the "complicated math" bit. My idea was that I work at a statistical software company, I thought it might be neat to build analog equivalents of some of the simpler calculations, like calculating p values for normal distributions.

But, as the fellow said about building a bike to go to St. Louis, I'd like to start real simple, with a simple model that is forgiving enough on input voltages (hopefully 9v or 12v maybe) so I don't fry the thing when I hook up some wrong wirers, or that doesn't leave me scratching my head because it's not really meant for hobbyists.

Ideally I'd like to build very simple adders, subtractors, dividers, multipliers with op-amps. Just at a learning phase here.

Hope that makes more sense.
 

AnalogKid

Joined Aug 1, 2013
11,045
The LM324 is an old, trusted, dear friend, and for the basic functions in post #5 is good enough for learning-level precision. Plus, the little puppy is very robust. Compared to more modern designs it has all kinds of input errors, but with +/-15V supplies you should be able to see real results. Analog computers of the 60's used discrete component amplifiers with chopper stabilization. Not much bandwidth, but impressive precision given the tech at the time.

ak
 

cmartinez

Joined Jan 17, 2007
8,254
I like the, "smart" filter at mouser. It eliminates all the options that result in, "zero parts meet your criteria, please guess again".
Digikey has upgraded his parametric engine by showing you the number of available parts with the parameter selection that you've made before you hit the "Apply Filters" button. That more or less helps you avoid the annoying situation that you've just mentioned.
 

#12

Joined Nov 30, 2010
18,224
I believe you are missing some information. Mouser greys out all the choices that would cause zero results so you don't even have to look and see if you have a zero before clicking on, "apply filters". You can not choose a zero result option at mouser if you turn on the, "smart" filtering option.
 

cmartinez

Joined Jan 17, 2007
8,254
I believe you are missing some information. Mouser greys out all the choices that would cause zero results so you don't even have to look and see if you have a zero before clicking on, "apply filters". You can not choose a zero result option at mouser if you turn on the, "smart" filtering option.
Which reminds me why I prefer digikey... mouser's site is slower, at least for me, maybe it's because of where I'm located.

EDIT: But what I actually do all the time is make a list of the items that I found at digikey and then search specifically for them at mouser... sometimes the price difference is important
 

#12

Joined Nov 30, 2010
18,224
Lucky me. I have 15 Mega somethings per second.
How good is it?
When AAC takes a whole second to load a page, I know something is wrong at AAC. ;)
 

Thread Starter

Weird Tolkienish Figure

Joined Sep 16, 2013
6
I ordered 10 LM324N's for $5 on amazon, free shipping.

Looking at the mouser site, they make dedicated analog IC's for division and multiplication, i'm thinking I might just use those, rather than try to use the "non-linear" components described in this thread.
 

dl324

Joined Mar 30, 2015
16,923
Looking at the mouser site, they make dedicated analog IC's for division and multiplication, i'm thinking I might just use those, rather than try to use the "non-linear" components described in this thread.
Seems straightforward enough using LM324. Division and multiplication are just subtracting and adding logarithms.

One thing to note about LM324 is that the output won't tolerate an indefinite short to the positive rail; shorting to ground is okay...
 

dl324

Joined Mar 30, 2015
16,923
Which reminds me why I prefer digikey... mouser's site is slower, at least for me, maybe it's because of where I'm located.
I live in a rural area and we've only had broadband available in our area for a couple years. Before that, it was dial-up or wireless. Now that the FCC has changed the definition of broadband from 4Mbps down/1Mbps up to 25/3, broadband is no longer available because our provider throttles uploads for the majority of their customers to 1Mbps for uploads. I'm on the wrong side of the digital divide; again...
 

DickCappels

Joined Aug 21, 2008
10,180
Please DO use the LM324. It has a much better chance of helping you experience some of the more interesting phenomena such as offset voltage, input noise, slew rate limiting, cross-over distortion, etc. No kidding, it would be valuable experience for you.

The pin-out of the LM324 is a very common one and later if you desire you can unplug the LM324 and replace it with one that is closer to ideal.
 

dl324

Joined Mar 30, 2015
16,923
Ordered an O-scale train for $200 and 10 LM324 PIN's for $5 and yet I'm equally excited about both, lol.

Which one was the better deal? :D
Your Wife probably won't be too thrilled about your new toy if you try to get approval for a scope purchase... I would have gone for a piece of test equipment over the train 100% of the time; but that's just practical me;)
 
Top