An electronics op amp (operational amplifier) is a high-gain, DC-coupled differential voltage amplifier. On the bench, it is the ultimate signal-conditioning workhorse. You use it to amplify微弱 sensor signals, filter noise, buffer high-impedance sources, and perform mathematical operations on analog voltages. But picking the wrong part or forgetting to bypass the power rails will leave you chasing phantom oscillations and clipped waveforms.

This guide skips the abstract textbook derivations and focuses on what you actually need to know at the workbench: which part numbers to stock, how to read the pinout, how to bias it for single or dual supplies, and how to test a suspect chip with a digital multimeter (DMM).

The Safe Defaults: Which Electronics Op Amp to Buy

Walk into any university lab or hobbyist workspace, and you will find a handful of legacy and modern op amps that serve as the default choices for 90% of general-purpose circuits. Here are the safe defaults you should keep in your component bins, complete with their critical ratings.

Part Number Type / Input Supply Range Slew Rate Input Offset Voltage Best For
LM741 Bipolar ±5V to ±18V 0.5 V/µs 1 mV (typ) Legacy learning, high-voltage tolerant basics
LM358 Bipolar (Single Supply) 3V to 32V (or ±16V) 0.3 V/µs 3 mV (typ) Battery-powered sensors, low-side current shunts
TL072 JFET ±5V to ±18V 13 V/µs 3 mV (typ) Audio mixing, active filters, high-impedance sources
OPA2134 FET (Precision) ±2.5V to ±18V 20 V/µs 0.5 mV (max) High-fidelity audio, precision DC measurement
Bench Tip: The LM358 datasheet from Texas Instruments highlights a crucial feature: its input common-mode range includes ground (the negative rail). This makes it the undisputed king for single-supply, low-side current sensing without needing a negative voltage rail.

Anatomy and Pinout: Reading the Symbol

The standard schematic symbol for an electronics op amp is a triangle pointing to the right. The top input is typically the inverting input (marked with a minus sign, ), and the bottom input is the non-inverting input (marked with a plus sign, +). The point of the triangle is the Output. Power rails (V+ and V−) are often omitted in schematics to reduce clutter, but they are always physically present on the chip.

For the ubiquitous 8-pin DIP (Dual In-line Package) dual op amps (like the LM358 or TL072), the standard pinout is:

  • 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)

Biasing and Operating Regions

How you bias an op amp dictates whether it operates in the linear region (acting as an amplifier) or the saturation region (acting as a comparator). To keep an op amp in the linear region, you must apply negative feedback—routing a portion of the output signal back to the inverting (−) input.

Operating Region Feedback Condition Output Voltage State Typical Use Case
Linear (Active) Negative feedback present Vout = Gain × (V+ − V−) Amplifiers, active filters, PID controllers
Positive Saturation No feedback or positive feedback; V(+) > V(−) Clamped near V+ rail (e.g., V+ minus 1.5V) Comparators, Schmitt triggers, square wave generators
Negative Saturation No feedback or positive feedback; V(−) > V(+) Clamped near V− rail (e.g., V− plus 1.0V) Comparators, zero-crossing detectors

Single-Supply Biasing: If you are running an LM358 off a single 9V battery, the op amp cannot output negative voltages. You must create an artificial 'virtual ground' at half the supply voltage (4.5V). You do this by using a voltage divider (two 10kΩ resistors in series from 9V to GND) and buffering it, or simply feeding the 4.5V midpoint directly to the non-inverting input to bias the AC signal around the center rail.

Application Circuit: Inverting Amplifier with Gain

Let us build a practical inverting amplifier using an LM358 on a single 12V supply. We want a voltage gain of −10, meaning a 0.5V peak AC input will yield a 5V peak inverted output, biased around a 6V DC virtual ground.

Component List

  • U1: LM358 Dual Op Amp (DIP-8)
  • R1, R2: 10 kΩ (Voltage divider for virtual ground)
  • R3: 10 kΩ (Input resistor, Rin)
  • R4: 100 kΩ (Feedback resistor, Rf)
  • C1: 10 µF electrolytic (Virtual ground bypass)
  • C2, C3: 100 nF ceramic (Power rail decoupling)
  • C4, C5: 1 µF electrolytic (Input and output AC coupling)

Wiring Steps

  1. Power and Bypass: Connect Pin 8 to +12V and Pin 4 to GND. Place C2 (100nF) directly between Pin 8 and Pin 4, and C3 (100nF) between Pin 8 and GND to prevent high-frequency oscillation.
  2. Virtual Ground: Connect R1 from +12V to Pin 3 (Non-inverting input). Connect R2 from Pin 3 to GND. This sets the DC bias at Pin 3 to exactly 6V. Connect C1 (10µF) from Pin 3 to GND to stabilize this bias against AC noise.
  3. Input Network: Route your AC signal through C4 (1µF) to block external DC offsets. Connect the other side of C4 to R3 (10kΩ). Connect the other side of R3 to Pin 2 (Inverting input).
  4. Feedback Loop: Connect R4 (100kΩ) between Pin 2 (Inverting input) and Pin 1 (Output). This sets the gain to −(R4/R3) = −(100k/10k) = −10.
  5. Output Coupling: Connect C5 (1µF) from Pin 1 to your load. This strips away the 6V DC bias, leaving only the amplified, inverted AC signal.
Verify Step: Before applying an AC signal, power the circuit and measure Pin 1 with your DMM. You should read exactly 6.0V DC (±50mV). If you read 11V or 0.5V, your op amp is saturated, indicating a wiring error in the feedback loop.

Bench Testing: How It Fails and How to Test It

Op amps rarely fail gracefully. According to Analog Devices application notes, common failure modes include output stage blowouts from shorting the output to ground, thermal shutdown, or degraded input offset voltage from exceeding the absolute maximum differential input voltage (often ±0.7V, which destroys the base-emitter junctions of the input transistors).

Here is how to test a suspect DIP-8 op amp using a standard digital multimeter:

  1. De-energize and Isolate: Remove power from the circuit. If possible, pull the chip from the socket. In-circuit testing is unreliable due to parallel feedback resistors.
  2. Diode Test (Protection Diodes): Set your DMM to Diode mode. Place the red probe on Pin 4 (V−) and the black probe on Pin 2 (In−). You should read a forward voltage drop of ~0.6V to 0.7V (the internal ESD protection diode). Reverse the probes; it should read 'OL' (Open Loop). Repeat for Pin 3. If it reads 0.0V, the input stage is shorted.
  3. Output Short Check: Set the DMM to Resistance (Ohms). Measure between Pin 1 (Output) and Pin 4 (V−), then Pin 1 and Pin 8 (V+). A healthy op amp will read in the kilo-ohm or mega-ohm range. If it reads near 0Ω, the internal output push-pull transistors have blown, usually from a dead short on the output pin.
  4. Live Offset Test: If the chip passes DMM tests but acts erratically, breadboard it as a voltage follower (tie Pin 1 to Pin 2, feed 2.5V to Pin 3). Measure Pin 1. It should read exactly 2.5V. If it reads 3.2V, the chip has suffered thermal damage and has a massive 700mV input offset voltage. Trash it.

Frequently Asked Questions

Can I use an electronics op amp as a comparator?

Technically yes, but practically you should avoid it unless it is an emergency. Op amps like the LM741 are designed to stay in the linear region. When driven into saturation (acting as a comparator), the internal compensation capacitor takes a long time to discharge, resulting in a slow 'recovery time' that can add microseconds of delay to your output edges. Furthermore, many op amps lack open-collector outputs, making them difficult to interface directly with 5V microcontrollers. Use a dedicated comparator like the LM393 instead.

Why is my single-supply op amp output clipping at the bottom?

This is almost always an Input Common-Mode Range (ICMR) violation. If you are running a TL072 on a single 12V supply and trying to measure a 0.1V shunt voltage near ground, the TL072 cannot 'see' voltages that close to the negative rail (it requires about 3V of headroom). The inputs will phase-invert or simply stop working, causing the output to clip. Switch to an LM358 or a modern 'rail-to-rail input' op amp that explicitly includes the negative rail in its ICMR datasheet specifications.

What causes an op amp to oscillate on the bench?

High-frequency oscillation (often 1MHz to 10MHz) is usually caused by two things: missing power supply bypass capacitors or excessive capacitive loading on the output. Every op amp requires a 100nF ceramic capacitor placed as physically close to the V+ and V− pins as possible. If you are driving a long coaxial cable or a large capacitor, the load's phase shift eats into the op amp's phase margin. Fix this by adding a small series resistor (e.g., 47Ω) directly at the op amp's output pin, before the capacitive load.

How do I measure input offset voltage practically?

Configure the op amp as a non-inverting amplifier with a high closed-loop gain, such as 1000 (Rf = 999kΩ, Rin = 1kΩ). Tie the non-inverting input directly to ground (0V) through a low-impedance path. Power the chip with a clean dual supply (e.g., ±12V). Measure the DC voltage at the output pin with a precise DMM. If the output reads 1.5V, divide by the gain (1000) to find the input offset voltage: 1.5V / 1000 = 1.5mV. This practical method, detailed in All About Circuits semiconductor guides, amplifies the tiny microvolt offset into a readable macroscopic voltage.