An operational amplifier (op amp) is a high-gain, differential voltage amplifier. In theory, it has infinite input impedance, zero output impedance, and infinite open-loop gain. On the bench, it is a highly practical but easily misunderstood component that will happily rail its output to the supply voltage if you ignore its input common-mode range or output swing limitations. Analyzing op amp circuits requires moving past the idealized textbook equations and accounting for real-world silicon constraints like input offset voltage, bias currents, and saturation limits.

The Anatomy of an Op Amp: Pinouts and Operating Regions

Before wiring anything, you must understand the physical package and the operating regions. The most common through-hole package is the 8-pin DIP (Dual In-line Package). While dual and quad variants exist, the pinout for a single op amp in an 8-pin DIP follows a strict industry standard:

  • Pin 1 & 5: Offset Null (used to trim input offset voltage to zero with a potentiometer; often ignored in general-purpose circuits).
  • Pin 2: Inverting Input (IN-).
  • Pin 3: Non-Inverting Input (IN+).
  • Pin 4: V- (Negative supply rail or ground in single-supply setups).
  • Pin 6: Output (OUT).
  • Pin 7: V+ (Positive supply rail).
  • Pin 8: NC (No Connection) or a second offset null pin.

When analyzing op amp circuits, the device operates in one of three distinct regions depending on the feedback network and input differential voltage. Here is the operation regions table with typical values for a standard bipolar op amp running on a ±15V supply:

Operating Region Condition Typical Output Voltage (±15V Supply) Output Current Capability
Linear (Active) Closed-loop negative feedback; V(IN+) ≈ V(IN-) Between -13V and +13V ±20 mA to ±40 mA (short-circuit protected)
Positive Saturation V(IN+) > V(IN-) by >1mV; no negative feedback ≈ +13V to +14V (V+ minus headroom) Limited by internal short-circuit protection
Negative Saturation V(IN-) > V(IN+) by >1mV; no negative feedback ≈ -13V to -14V (V- plus headroom) Limited by internal short-circuit protection
Bench Tip: The 1.5V to 2V headroom lost at the supply rails in standard bipolar op amps is a frequent source of frustration. If you need the output to swing within millivolts of the supply rails, you must specify a "Rail-to-Rail Output" (RRO) CMOS op amp.

Selecting and Biasing the Right Op Amp for the Job

Selecting an op amp starts with your power supply architecture. If you have a dual supply (e.g., ±12V), biasing is trivial: ground is your 0V reference, and the inputs can swing above and below it. If you are on a single supply (e.g., 0V to 5V), you must create a "virtual ground" at mid-supply (2.5V) using a resistive voltage divider buffered by another op amp, or you must select an op amp specifically rated for single-supply, ground-referenced operation.

Here are the safe default part numbers I keep in my bench stock, complete with their critical ratings:

Part Number Best Use Case Supply Voltage Range Input Bias Current Gain-Bandwidth (GBW) Approx. Cost (2026)
LM358 General purpose, single-supply, low-speed DC 3V to 32V (Single) or ±1.5V to ±16V 20 nA (typ) 1 MHz $0.15
TL072 Audio, low-noise, high-impedance sensors ±5V to ±15V (Dual supply preferred) 5 pA (typ, JFET input) 3 MHz $0.80
MCP6002 3.3V/5V logic interfacing, battery-powered 1.8V to 6.0V (Single supply) 1 pA (typ, CMOS input) 1 MHz $0.60
OPA2134 Precision audio, high-fidelity DAC buffers ±2.5V to ±18V 5 pA (typ, FET input) 8 MHz $4.50

For a deeper look into how input and output voltage ranges dictate your part selection, the Analog Devices MT-041 Tutorial is the definitive reference on op amp input/output stage limitations.

A Complete Application Circuit: Non-Inverting Amplifier Walkthrough

Let us analyze a standard non-inverting amplifier configuration. This circuit provides high input impedance and a positive voltage gain, making it ideal for buffering and amplifying sensor signals.

Design Goal: Amplify a 0.5V DC sensor signal to 5.5V to maximize the resolution of a 0-10V ADC.

  • Op Amp: TL072 (powered by ±12V dual supply to ensure plenty of headroom).
  • Input: 0.5V DC applied to Pin 3 (IN+).
  • Feedback Network: Resistor Rf (Feedback) from Pin 6 (OUT) to Pin 2 (IN-). Resistor Rin (Ground) from Pin 2 (IN-) to Ground.

The gain equation for a non-inverting amplifier is Gain = 1 + (Rf / Rin). We need a gain of 11 (since 0.5V × 11 = 5.5V).

  1. Select Rin = 10 kΩ. This sets the impedance seen by the inverting input and keeps current draw low.
  2. Calculate Rf: 11 = 1 + (Rf / 10k) → 10 = Rf / 10k → Rf = 100 kΩ.
  3. Connect a 100kΩ resistor between Pin 6 and Pin 2.
  4. Connect a 10kΩ resistor between Pin 2 and Ground.
  5. Apply the 0.5V signal to Pin 3.

With negative feedback applied, the op amp adjusts its output to force the voltage at Pin 2 to match Pin 3. Pin 2 will sit at 0.5V. The current through Rin is 0.5V / 10kΩ = 50 µA. Because the op amp inputs draw virtually zero current (5 pA for the TL072), that same 50 µA must flow through Rf. The voltage drop across Rf is 50 µA × 100kΩ = 5.0V. The output voltage is V(IN-) + V(Rf) = 0.5V + 5.0V = 5.5V. The math holds perfectly on the bench.

Bench Scenario: When the Math Meets Reality

Textbook analysis assumes ideal components. Real-world analyzing of op amp circuits requires troubleshooting silicon limitations. Here is a scenario from a recent motor-controller build.

The Setup: I needed to measure the current draw of a 12V DC motor using a 0.05Ω shunt resistor placed on the low side (between the motor and ground). At a peak current of 4A, the shunt drops 0.2V (V = I × R). I wanted to amplify this 0.2V signal to 2.0V for a microcontroller ADC, requiring a gain of 10. I was powering the circuit from a single 9V battery to save board space, so I grabbed a TL072 from my bin, wired it as a non-inverting amp with Rf=90k and Rin=10k, and powered it with V+ = 9V and V- = 0V (Ground).

The Numbers: Input = 0.2V. Expected Output = 2.0V.

The Outcome: The output was railed at roughly 8.2V, completely ignoring the input signal. The microcontroller ADC maxed out immediately.

What Went Wrong: I violated the Input Common-Mode Voltage Range. The TL072 is a JFET-input op amp designed for dual supplies. According to its datasheet, the inputs must remain at least 2V to 3V away from either supply rail to keep the internal transistors in their active region. With V- tied to 0V, the inputs needed to be at least 3V above ground. My 0.2V shunt signal was deep inside the dead zone, causing the internal differential pair to cut off and the output to rail high.

The Fix: I swapped the TL072 for an LM358. The LM358 is a PNP-input bipolar op amp specifically designed so that its input common-mode range includes the negative rail (ground) and extends up to V+ minus 1.5V. With the LM358, the 0.2V input was well within spec, and the output correctly read 2.0V (minus a 15mV error due to the LM358's inherent input offset voltage, which was acceptable for this motor control application).

Troubleshooting and Testing Op Amps with a Multimeter

Op amps generally fail in three ways: an ESD event punches through the thin gate oxide of a CMOS input, an overvoltage event fries the output stage transistors, or thermal runaway destroys the die due to a shorted output load. You cannot test an op amp's internal gain with a basic multimeter, but you can definitively identify a dead part using a two-stage diagnostic process.

Stage 1: Power-Off Diode Test (Checking for Shorts)

Remove the op amp from the circuit if possible, or ensure the board is completely de-energized and capacitors are discharged.

  1. Set your multimeter to Diode Test mode.
  2. Place the black probe on the V- pin (Ground) and the red probe on the V+ pin. You should read a forward voltage drop (typically 0.6V to 1.5V) representing the internal protection diodes and junctions. If it reads 0.00V or a dead short, the internal power rails are fried. Discard the IC.
  3. Test from V- to IN+, IN-, and OUT. None of these should read as a dead short (0.00V). A reading of 0.4V to 0.8V is normal for input protection diodes.

Stage 2: Power-On Virtual Short Test (Checking Linear Operation)

This test verifies that the negative feedback loop is functioning and the op amp is not internally latched or saturated.

  1. Power the circuit. Verify V+ and V- pins have the correct supply voltages relative to ground.
  2. Set the multimeter to DC Voltage mode.
  3. Measure the voltage at IN+ (Pin 3) and IN- (Pin 2). In a properly functioning linear circuit with negative feedback, these two voltages must be virtually identical (within a few millivolts, dictated by the part's input offset voltage spec).
  4. If IN+ and IN- are more than 50mV apart, the op amp is either saturated (railed), the feedback resistor is open, or the IC is dead.
  5. Check the Output pin (Pin 6). If it is sitting within 1V of either the V+ or V- supply rail, the op amp is in saturation. Trace back to see if the input signal exceeds the common-mode range or if the required output voltage exceeds the op amp's swing capabilities.
Safety & Code Caveat: When analyzing op amp circuits that interface with mains-powered sensors (like AC current transformers or mains voltage dividers), ensure proper galvanic isolation or use high-value series resistors (e.g., 1MΩ) on the op amp inputs. A fault in the mains sensor can route lethal voltage directly into your low-voltage op amp and microcontroller, destroying the board and creating a shock hazard. Always consult foundational semiconductor safety texts when bridging high and low voltage domains.

Mastering the analysis of op amp circuits is less about memorizing complex calculus and more about respecting the physical boundaries of the silicon. By selecting the right default part for your supply architecture, respecting the common-mode input ranges, and systematically testing with a multimeter, you will eliminate 95% of the bench headaches associated with analog design.