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.
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
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.