The Short Answer: What's an Op Amp and Why Do We Use Them?

An operational amplifier (op amp) is a high-gain, DC-coupled voltage amplifier with differential inputs and a single-ended output. In practical bench terms, it is a building block that forces its two input pins to the exact same voltage by adjusting its output pin, provided you wire a feedback loop to tell it what to do. We use them because they allow us to build precise amplifiers, active filters, and signal conditioners using just a few cheap passive components, completely independent of the messy internal transistor physics.

The Golden Rules of Ideal Op Amps:
1. No current flows into the input pins (infinite input impedance).
2. The op amp will drive its output to whatever voltage is necessary to make the voltage difference between the inverting (-) and non-inverting (+) inputs exactly zero (infinite open-loop gain).

Standard DIP-8 Pinout and Symbol

Most hobbyist and legacy industrial op amps come in an 8-pin Dual In-Line Package (DIP-8) containing two independent amplifier channels (a "dual" op amp). Here is the industry-standard pinout looking down at the IC with the notch facing left:

  • Pin 1: Output A
  • Pin 2: Inverting Input A (-)
  • Pin 3: Non-Inverting Input A (+)
  • Pin 4: V- (Negative Supply or Ground)
  • Pin 5: Non-Inverting Input B (+)
  • Pin 6: Inverting Input B (-)
  • Pin 7: Output B
  • Pin 8: V+ (Positive Supply)

On a schematic, the symbol is a triangle pointing right. The non-inverting input (+) is on top, the inverting input (-) is on the bottom, and the output is the right point. Power rails (V+ and V-) are often omitted in schematics to reduce clutter, but they are physically required on the bench.

Safe Default Part Numbers and Operating Regions

Walking into a distributor's parametric search yields thousands of op amps. For 95% of DIY, audio, and microcontroller interfacing projects, you only need to stock three part numbers. Here are the safe defaults with their real-world ratings and 2026 approximate bulk pricing.

Part NumberBest ForSupply RangeInput/Output TypeApprox. Cost
LM358General purpose, single-supply sensor amps3V to 32V (Single) or ±1.5V to ±16V (Dual)Input includes GND; Output swings to GND but not V+$0.12
TL072Audio preamps, high-impedance sensors±5V to ±18V (Dual supply strongly preferred)JFET inputs (low bias current); neither rail-to-rail$0.45
MCP60023.3V/5V logic interfacing, battery devices1.8V to 6.0V (Single)True Rail-to-Rail Input and Output (RRIO)$0.65

Operation Regions: Linear vs. Saturation

An op amp operates in one of two distinct regions depending on whether you use negative feedback. Understanding this prevents the most common beginner mistake: treating an op amp like a comparator without realizing the recovery time penalties.

RegionCircuit StateTypical VoutTypical IoutPractical Application
LinearClosed-loop (Negative feedback applied)Mid-rail (e.g., 2.5V on a 5V supply)< 10mA (Signal level)Amplifiers, active filters, PID controllers
SaturationOpen-loop (No feedback, or positive feedback)Slammed against V+ or V- railUp to 20-30mA (Short-circuit limit)Comparators, Schmitt triggers, oscillators

How to Bias and Select an Op Amp for the Job

Selecting the right op amp requires matching the silicon's limitations to your signal. Here is the decision framework I use at the bench:

  1. Define the Supply: Are you running off a dual ±12V bench supply, or a single 5V USB rail? If single supply, you must select an op amp that supports single-supply operation (input common-mode range includes the negative rail).
  2. Check the Gain Bandwidth Product (GBW): GBW is the frequency at which the op amp's open-loop gain drops to 1 (0 dB). If you need a gain of 100 (40 dB) for a 20 kHz audio signal, your GBW must be at least 100 × 20,000 = 2 MHz. The LM358 (1 MHz GBW) will fail here; the TL072 (3 MHz GBW) will barely pass; you'd want an NE5532 (10 MHz GBW).
  3. Verify Slew Rate: Slew rate is the maximum speed the output can change, measured in V/μs. If your output needs to swing 10V in 1μs, an LM358 (0.3 V/μs) will turn your square wave into a triangle wave. You need a part rated for at least 10 V/μs.
  4. Bias the Inputs: Op amps cannot amplify a signal that swings below their negative supply rail. On a single 5V supply (where V- = 0V), an AC audio signal swinging ±1V will be clipped on the negative half-cycle. You must bias the non-inverting input to VCC/2 (2.5V) using a resistor voltage divider, shifting the signal into the linear operating region.

A Complete Application Circuit: Non-Inverting Amplifier

Let's build a practical, single-supply non-inverting amplifier to boost a 0.5V peak sensor signal to a 5V peak signal for an Arduino ADC. We will use the MCP6002 because it is rail-to-rail and runs perfectly on a 5V single supply.

Target Specs: Gain of 10. VCC = 5V. Input biased at 2.5V.

Component Values and Wiring

  • U1: MCP6002 (Pins 8 to 5V, Pin 4 to GND).
  • R1, R2: 10kΩ each. Wired as a divider from 5V to GND. The midpoint (2.5V) connects to Pin 3 (Non-inverting input). This sets our DC bias.
  • C1 (Input Coupling): 1µF ceramic. Connects the AC sensor signal to Pin 3, blocking the sensor's DC offset while letting our 2.5V bias pass.
  • R3 (Feedback): 90kΩ. Connects from Pin 1 (Output) to Pin 2 (Inverting input).
  • R4 (Ground Reference): 10kΩ. Connects from Pin 2 (Inverting input) to the 2.5V bias point (not to 0V GND!).

The Math: The gain formula for a non-inverting amplifier is Gain = 1 + (R3 / R4). Here, 1 + (90k / 10k) = 10. Because we referenced R4 to the 2.5V bias instead of 0V ground, the output will sit at 2.5V DC when the input is 0V, and swing ±2.5V (from 0V to 5V) when the input swings ±0.25V. Perfect for a 5V ADC.

Real-World Scenario: The Clipped Audio Preamp Disaster

Theory is clean; the bench is messy. Here is a real-world failure that perfectly illustrates why biasing and part selection matter.

The Setup: A hobbyist was building an acoustic guitar preamp using a TL072. They powered it with a single 9V battery (V+ to 9V, V- to 0V GND). They wired the guitar pickup directly to the non-inverting input (Pin 3) via a 1MΩ resistor, set the feedback network for a gain of 20, and connected the output to an oscilloscope and an audio amp.

The Numbers: The guitar pickup outputs roughly 200mV peak AC. With a gain of 20, the expected output was 4V peak. Since the supply was 9V, 4V peak should fit easily within the rails.

The Outcome: The audio was a horrific, gated fuzz distortion. The oscilloscope showed the waveform completely flattened at 0V for the entire negative half of the cycle, and severely compressed on the positive half.

What Went Wrong: Two massive errors compounded here. First, the TL072 is not a single-supply op amp. Its input common-mode range requires the inputs to stay at least 2V to 3V away from the negative rail. With V- at 0V, the inputs needed to stay above 3V. The guitar signal was swinging around 0V, completely violating the input range. Second, they forgot to bias the input to VCC/2 (4.5V). Even if they had used an LM358 (which tolerates inputs at 0V), the output would still have clipped the negative half of the AC wave because an op amp cannot output a voltage lower than its V- rail (0V). The Fix: They switched to an MCP6002, added a voltage divider to bias the input to 4.5V, and used AC coupling capacitors on the input and output.

How Op Amps Fail and How to Test Them with a Multimeter

Op amps generally fail in three ways: output stage shorted to a rail (usually from driving a capacitive load or a dead short), input stage blown (from ESD or voltage exceeding the supply rails), or thermal shutdown/latch-up. According to Texas Instruments' application notes on op amp electrical overstress, input overvoltage is the most common killer in DIY rigs.

Before throwing a suspect chip in the trash, run this diagnostic sequence with a standard digital multimeter (DMM).

  1. De-energize and Discharge: Remove power from the circuit. Short any large coupling capacitors with a 100Ω resistor to discharge them safely.
  2. Check for Output Shorts (Resistance Mode): Set your DMM to resistance. Measure between the Output pin (Pin 1 or 7) and V+ (Pin 8), then Output and V- (Pin 4). A healthy op amp should read in the megaohms or OL (overload). If you read less than 50Ω, the internal output transistor has shorted. The chip is dead.
  3. Test the Input Protection Diodes (Diode Mode): Set the DMM to diode test mode. Place the red probe on the Inverting Input (Pin 2) and the black probe on V- (Pin 4). You should read a forward voltage drop of roughly 0.6V to 0.8V (the internal ESD protection diode). Reverse the probes; it should read OL. Repeat for the non-inverting input (Pin 3). If you read 0.00V (short) or OL in both directions (open), the input stage is destroyed.
  4. In-Circuit DC Offset Check (Voltage Mode): If the chip passes the dead-short tests, power the circuit on. Set the DMM to DC Voltage. Measure the voltage between the Output pin and ground. In a properly biased linear circuit, this should match your bias voltage (e.g., 2.5V or 4.5V). If the output is slammed to V+ or V- within millivolts, the op amp is either saturated due to a missing feedback resistor, or the internal differential pair is unbalanced and the chip is faulty.

For deeper analysis of frequency response and stability issues, you will need an oscilloscope and a function generator to check for phase margin and ringing, but for 90% of bench failures, a $20 DMM and these four steps will tell you exactly whether the silicon is alive or dead. For more on testing analog ICs, the Analog Devices Op Amp Basics library provides excellent deep-dives into internal transistor topologies and how they dictate external failure modes.