The Core Concept: What Is an Op Amplifier on the Workbench?

An operational amplifier (op-amp) is a high-gain, DC-coupled differential voltage amplifier with a single-ended output. In abstract theory, an ideal op-amp has infinite input impedance, zero output impedance, and infinite open-loop gain. On the workbench, it is a versatile analog building block used to amplify weak sensor signals, filter audio, buffer high-impedance sources, and perform mathematical operations (addition, integration) on voltages.

To understand what is an op amplifier in a physical circuit, you must look at its symbol and pinout. The schematic symbol is a triangle pointing right. The top input is the inverting input (marked with a minus, -), the bottom input is the non-inverting input (marked with a plus, +), and the tip is the output (Vout). Power is supplied via two rails: V+ (positive) and V- (negative or ground).

Bench Tip: The Standard DIP-8 Dual Pinout
Most hobbyist and prototyping op-amps come in a DIP-8 package containing two independent amplifiers. The industry-standard pinout (used by the LM358, TL072, and NE5532) is:
Pin 1: Output A
Pin 2: Inverting Input A (-)
Pin 3: Non-Inverting Input B (+)
Pin 4: V- (Ground or Negative Rail)
Pin 5: Non-Inverting Input B (+)
Pin 6: Inverting Input B (-)
Pin 7: Output B
Pin 8: V+ (Positive Rail)

Operation Regions and Safe Default Part Numbers

An op-amp operates in one of three distinct regions depending on the feedback network and input differential voltage. When designing a circuit, your goal is almost always to keep the device in the linear region by using negative feedback.

Operation Region Condition Typical Output Voltage (5V Single Supply) Practical Application
Linear (Active) V- < Vout < V+ (with negative feedback) 0.1V to 3.5V (Standard) / 0.01V to 4.99V (Rail-to-Rail) Signal amplification, active filters, PID control loops
Positive Saturation V+ input > V- input (open loop or overloaded) ~3.5V (Standard) / ~4.95V (Rail-to-Rail) Comparators, Schmitt triggers, over-voltage detection
Negative Saturation V- input > V+ input (open loop or overloaded) ~0.02V (Standard) / ~0.005V (Rail-to-Rail) Comparators, zero-crossing detectors, logic inversion

When you need to grab a part from the bin, these are the safe, proven defaults for 2026 prototyping:

  • LM358 (General Purpose): The undisputed king of single-supply, low-frequency DC applications. It can swing its output down to true ground (0V) but cannot reach the positive rail. Cost: ~$0.15/unit. See the Texas Instruments LM358 product page for standard specs.
  • MCP6002 (Rail-to-Rail I/O): The modern default for 3.3V and 5V microcontroller interfacing. Both inputs and outputs can swing to within millivolts of the supply rails. Cost: ~$0.60/unit. Reference the Microchip MCP6002 datasheet for exact rail margins.
  • TL072 (Audio/JFET): Excellent for audio mixing and high-impedance piezo sensors due to ultra-low input bias current. Requires a dual supply (e.g., ±9V) for best performance. Cost: ~$0.40/unit.

Application Circuit: 3.3V Single-Supply Non-Inverting Amplifier

Let us build a practical circuit: amplifying a 0-1V analog pressure sensor signal to a 0-3.3V range to perfectly match the ADC input of an ESP32 or Raspberry Pi Pico. We will use the MCP6002 because we need the output to swing all the way to 3.3V.

Target Gain: 3.3 V/V
Formula: Gain = 1 + (Rf / Rin)
Resistor Selection: Rf = 23.2kΩ (1% metal film), Rin = 10kΩ (1% metal film).
Calculated Gain: 1 + (23.2 / 10) = 3.32 V/V.

Component List and Wiring

  1. U1 (MCP6002): Insert the DIP-8 IC across the breadboard center trench.
  2. Power: Connect Pin 8 to the 3.3V rail. Connect Pin 4 to the GND rail.
  3. Bypass Capacitor (C1): Place a 100nF (0.1μF) ceramic capacitor directly across Pin 4 and Pin 8 to filter high-frequency supply noise.
  4. Input Signal: Route the 0-1V sensor signal to Pin 3 (Non-Inverting Input).
  5. Feedback Network (Rf): Connect the 23.2kΩ resistor between Pin 1 (Output) and Pin 2 (Inverting Input).
  6. Ground Reference (Rin): Connect the 10kΩ resistor between Pin 2 (Inverting Input) and GND.
  7. Output: Route Pin 1 to your microcontroller's ADC pin (ensure a 10kΩ series resistor is placed between the op-amp output and the MCU pin to protect against accidental GPIO misconfiguration).

Real-World Scenario Walkthrough: The Clipped Sensor Signal

Theory is clean; the workbench is not. Here is a classic failure mode that catches out beginners transitioning from simulation software to physical breadboards.

The Setup: A maker is building a DIY digital scale using a load cell and an instrumentation amplifier that outputs a 0-2V DC signal. They want to scale this to 0-5V for a legacy 5V Arduino Uno ADC. They wire up an LM358 on a 5V single supply in a non-inverting configuration with a gain of 2.5 (Rf = 15kΩ, Rin = 10kΩ).

The Numbers: At a 1.0V input, the multimeter reads exactly 2.5V at the output. At 1.4V input, it reads 3.5V. The math is tracking perfectly.

The Outcome: When the maker places a heavy weight on the scale, expecting the input to hit 2.0V and the output to hit 5.0V, the Arduino serial monitor shows the ADC maxing out at 737 (which corresponds to ~3.6V). The signal is severely clipped, ruining the calibration curve at the high end.

What Went Wrong: The maker forgot to check the Output Voltage Swing specification in the LM358 Datasheet. The LM358 is a standard bipolar op-amp. Its high-level output voltage (VOH) is typically VCC - 1.5V. On a 5.0V supply, the absolute maximum output it can physically produce is about 3.5V. It saturated in the positive region long before the math dictated it should.

The Fix: The maker swapped the LM358 for an MCP6002 (powered at 5V), which features true rail-to-rail output transistors. The new op-amp successfully swung to 4.98V at full load, restoring the full 10-bit ADC resolution.

How to Bias, Select, and Test a Suspect Op-Amp

Selecting the right op-amp requires matching the part's limitations to your circuit's demands. Once a circuit is built, you also need to know how to verify if the silicon is actually functioning or if it has been destroyed by a static discharge or overvoltage event.

Selection and Biasing Rules

  • Single vs. Dual Supply: If you are running off a single battery or 5V USB rail, you must select an op-amp rated for single-supply operation (like the LM358 or MCP6002). If you are processing AC audio signals, you must either use a dual supply (±12V) or create a 'virtual ground' at VCC/2 using a resistor divider and buffer it with another op-amp channel.
  • Gain Bandwidth Product (GBWP): An op-amp's open-loop gain drops as frequency increases. If you need a gain of 100 (40dB) at 20kHz for audio, you need an op-amp with a GBWP of at least 2MHz (100 × 20,000). The LM358 (1MHz GBWP) will fail here; you need a TL072 (3MHz) or NE5532 (10MHz).
  • Input Common-Mode Range: The voltage at the input pins must stay within a specific window relative to the power rails. If a datasheet specifies the common-mode range is 'V- to V+ - 1.5V', feeding it a 5V signal on a 5V supply will cause phase reversal or clipping.

Multimeter Testing: Diagnosing a Dead Op-Amp

Op-amps rarely fail silently. When subjected to overvoltage on the inputs or a dead short on the output, the internal output transistors typically burn out, resulting in a short to one of the power rails. Here is how to test a suspect DIP-8 op-amp without removing it from the board (assuming power is disconnected).

  1. De-energize and Discharge: Remove all power from the circuit. Press the power button or short the main filter capacitors with a 100Ω resistor to ensure no residual voltage remains.
  2. Check for Output-to-Rail Shorts: Set your digital multimeter to Diode Test / Continuity mode. Place the black probe on Pin 4 (GND/V-) and the red probe on Pin 1 (Output A). You should read an open circuit (OL) or a high forward voltage drop (>0.6V). If it beeps or reads <0.2V, the lower output NPN transistor is blown short.
  3. Check the Positive Rail: Move the red probe to Pin 8 (V+). Place the black probe on Pin 1 (Output A). Again, you should see OL or a high diode drop. A low reading indicates a blown upper PNP transistor.
  4. Verify Input Impedance: Switch the meter to the 20MΩ Resistance range. Measure between Pin 2 (In-) and Pin 3 (In+). On a healthy JFET or CMOS op-amp, this should read in the megaohms or OL. If it reads near 0Ω, the differential input pair is destroyed.
  5. Live Voltage Check (If steps 2-4 pass): Power the circuit. Measure the voltage between Pin 4 and Pin 8 to confirm correct VCC. Then, measure the voltage between Pin 4 (GND) and Pin 2 (In-), and Pin 4 and Pin 3 (In+). In a properly biased linear circuit with negative feedback, these two input voltages must be nearly identical (within millivolts). If Pin 2 reads 1.5V and Pin 3 reads 2.5V, the op-amp has lost its virtual short and is either saturated or internally broken.
Safety & Code Caveat: While op-amps are typically low-voltage DC components, they are frequently used to interface with mains-powered systems (e.g., current transformers, zero-crossing detectors). If your op-amp circuit connects to any sensor tied to AC mains voltage, ensure proper galvanic isolation (using optocouplers or isolation amplifiers like the ISO124) is in place. Never rely solely on the op-amp's internal dielectric isolation to protect you from lethal voltages.