I wanted to cover some basic microchips that any hobbyist or engineer should have in their parts bin. What do you do if you have too low of a voltage being applied to something? Suppose you have a clock signal that just isn’t at the threshold needed to make your digital logic array work. You could use an op amp!
What is an op-amp? Well, the full name of “operational amplifier” doesn’t really tell you that much. Fundamentally, they are solid state microchips that use analog components to accomplish a particular goal. Most are used to supply an amplified voltage to a particular source. Above is shown a typical “inverting amplifier” with a gain of 2. First, let’s think about what this little bit of silicon does.
They look like generic microchips. The above link is for the two-per-chip design.
Pin1/5: These are for the offset voltage for the chip. If you need a precise voltage output, this is your adjustment tool
Pin2: This is your negative input. Sometimes people call this V-n.
Pin3: This is the same as Pin2 except for positive. Also called V-p. V-n and V-p are always equal in magnitude.
Pin4/7: Negative and positive power rails. Note that the output voltage can never go above it’s respective polarity’s power rail value. That means in this example, the op-amp will saturate and not go above 20VDC or below -20VDC.
Pin6: This is the output of the op-amp. Note that it is connected to either V-n or V-p depending on if it is configured for inverting or non-inverting. This particular op-amp is inverting. To make it non-inverting would require swapping the input ground and the input voltage source.
How do we know that the gain is 2? Well, we know two fundamental truths. The input currents are effectively zero. The input voltages must be matched if the opamp is operating normally. This is part of why we call it the “magic Dorito” chip. How does it do it? About 2 dozen transistors are squeezed inside that bad boy.
We now do a simple nodal analysis, do some algebra, and get Vout = Vin (R2/R1)
There are many possible op-amp configurations and it is not feasible to memorize every combination. It’s my personal recommendation to just do a nodal analysis. Some op-amps act to sum their inputs, some will provide the difference. Some can provide the derivative of voltage change while others can provide an integral of the input. These would require a more complex analysis technique. If R2 (also denoted as Rf) also has a capacitor hanging around nearby, it’s probably one of those calculus function op-amps. There are dozens of other types of op-amp circuits available for use.