Sign In / Join Cloud 360
Engineering • Innovation • Learning
Electronics Fundamentals Intermediate Level 16 min

Operational Amplifiers: Inverting, Non-Inverting & Active Filters

Ideal op-amp golden rules, closed-loop negative feedback gain derivations, virtual ground, slew rate limits, and second-order active Sallen-Key low-pass filter design.

Prerequisites: Ohm's Law, Kirchhoff's Laws, and basic capacitor impedance ($Z_C = 1 / j\omega C$).

1. Overview & Concept Definition

An operational amplifier is a high-gain direct-coupled differential amplifier with differential inputs and single-ended output, used with external feedback networks to define precise linear mathematical transfer functions.

2. Engineering & Industrial Significance

Essential for buffering high-impedance sensors (piezo, pH probes), scaling low-voltage transducer signals into microcontroller ADC ranges, removing noise via active analog filters, and precision current sensing.

3. Physical Working Principle & Transducer Dynamics

Under negative feedback, the op-amp obeys the two Golden Rules: 1. Input impedance is infinite ($I_+ = I_- = 0$). 2. Differential input voltage is driven to zero via high open-loop gain ($V_+ = V_-$), establishing a virtual short circuit. In the inverting configuration, the inverting pin acts as a virtual ground, setting input current $I_{in} = V_{in}/R_1$ which is entirely absorbed by feedback resistor $R_f$.

4. Governing Equations & Mathematical Models

Inverting Amplifier Gain: $A_v = -\frac{R_f}{R_{in}}$
Non-Inverting Amplifier Gain: $A_v = 1 + \frac{R_f}{R_{in}}$
Maximum Slew Rate: $SR = \left.\frac{dV_{out}}{dt}\right|_{max} \ge 2\pi \times f_{max} \times V_{peak}$
Second-Order Sallen-Key Cutoff: $f_c = \frac{1}{2\pi \sqrt{R_1 R_2 C_1 C_2}}$
Gain-Bandwidth Product (GBWP): $f_{unity} = |A_v| \times f_{3dB}$

5. Practical Implementation

// ANSI C: Calculating component values for a 2nd-Order Sallen-Key Low-Pass Butterworth Filter
#include <stdio.h>
#include <math.h>

void calculate_sallen_key(float fc_hz, float c1_farads, float *r1_out, float *r2_out, float *c2_out) {
    // For standard Butterworth Q = 0.7071: set R1 = R2 = R, C1 = 2 * C2
    *c2_out = c1_farads / 2.0f;
    float r = 1.0f / (2.0f * M_PI * fc_hz * sqrtf(c1_farads * (*c2_out)));
    *r1_out = r;
    *r2_out = r;
}

6. Common Engineering Pitfalls & Troubleshooting

Frequent Engineering Pitfalls
  • Exceeding common-mode input voltage range ($V_{CM}$): Standard op-amps (e.g. LM358, TL072) cannot swing inputs to the positive rail, causing clipping and phase reversal. Use Rail-to-Rail Input/Output (RRIO) op-amps for 3.3V/5V single-supply systems.
  • Ignoring Slew Rate: Trying to amplify high-frequency, large-amplitude sinusoids results in triangular distortion when required $dV/dt$ exceeds the op-amp slew rate.
Diagnostic & Troubleshooting Checklist
  • Observe output with an oscilloscope. If self-oscillations occur at high frequency, add a 10pF-47pF feedback capacitor parallel to $R_f$ to cancel pole instability caused by input stray capacitance.
  • Measure offset voltage: If $V_{out} \ne 0$ with grounded inputs, check DC bias current mismatch. Place a compensation resistor $R_{comp} = R_{in} \parallel R_f$ at the non-inverting terminal.

7. Applications & Physical Constraints

TYPICAL APPLICATIONS
  • Microcontroller ADC anti-aliasing pre-filters
  • Shunt resistor low-side and high-side current sense amplifiers
  • Wheatstone strain-gauge bridge instrumentation amplifiers
PHYSICAL LIMITATIONS
  • Output voltage cannot exceed power supply rails ($V_{OH} \le V_{CC} - 1.2\text{V}$ for non-rail-to-rail models).
  • Finite Gain-Bandwidth Product limits amplification at frequencies above a few hundred kilohertz.
Pinout & Interface Specs
PIN / SIGNAL FUNCTION / ELECTRICAL SPEC
IN- Inverting input terminal
IN+ Non-inverting input terminal
V+ Positive supply rail (+5V / +12V)
V- Negative supply rail (0V single-supply or -12V dual-supply)
OUT Amplifier output terminal
Have questions on this topic?

Ask LUNA to calculate component values or explain alternative control methods for Operational Amplifiers: Inverting, Non-Inverting & Active Filters.