⚡ Electronics · Analog Circuits
📅 March 2026⏱ 9 min read🟡 Intermediate

Op-Amps: The Virtual Short and Essential Circuits

The operational amplifier is a near-magical IC: infinite input impedance, zero output impedance, and gain of a million. With one simple rule — the virtual short — you can analyze every op-amp circuit by algebra alone. Understanding the inverting amplifier, integrator, active filter, and comparator covers 90% of analog design.

1. The Ideal Op-Amp

An operational amplifier has two inputs (inverting (−) and non-inverting (+)) and one output. The ideal model has:

Open-loop, even a 1 µV input difference produces a saturated output. Op-amps are almost never used open-loop except as comparators — they're used with negative feedback, which is what makes them useful and predictable.

2. The Virtual Short Principle

When an op-amp is connected with negative feedback (output connected back to the inverting input through a network), it will do whatever necessary to make the voltage difference between its inputs zero:

V+ = V− (virtual short) I+ = I− = 0 (no input current)

These two rules — along with Kirchhoff's current law — are all you need to analyze any linear op-amp circuit:

  1. Identify V+ from the circuit (usually a voltage divider or direct connection)
  2. Set V− = V+ (virtual short)
  3. Apply KCL at the V− node to find Vout

The op-amp adjusts Vout through the feedback network to enforce V+ = V−. The output is the op-amp "working to make both inputs equal." This is feedback control — the same principle as a PID controller's integral action.

Why "virtual": The inputs are not electrically connected — there's no real short. The op-amp's high gain and feedback create the effect of equal voltages without current flow between inputs.

3. Inverting Amplifier

Circuit: Vin connects to V− through R1. Vout connects to V− through Rf. V+ is grounded (0 V).

By virtual short: V− = V+ = 0 V (V− is a "virtual ground").

KCL at V−: current through R1 must equal current through Rf (no current into op-amp input):

I_in = (V_in − 0) / R_1 = V_in / R_1 I_f = (0 − V_out) / R_f I_in = I_f → V_in/R_1 = −V_out/R_f Gain: A_v = V_out/V_in = −R_f/R_1

The gain is set by the ratio of two resistors. Negative sign means output is inverted. Input impedance = R1. Precision requires low-drift metal-film resistors.

4. Non-Inverting Amplifier & Voltage Follower

Circuit: Vin connects to V+. R1 connects V− to ground. Rf connects Vout to V−.

Virtual short: V− = V+ = Vin. Voltage divider from Vout to ground through Rf and R1:

V− = V_out × R_1/(R_1 + R_f) = V_in Gain: A_v = V_out/V_in = 1 + R_f/R_1

Gain ≥ 1 (non-inverting). Input impedance is very high (~10⁷ Ω for real IC), ideal for loading sensitive sources.

Voltage follower (unity-gain buffer): Rf = 0, R1 = ∞. Gain = 1. Vout = Vin. Used to isolate high-impedance sources from low-impedance loads. Every sensor output should be buffered this way before driving cables or ADCs.

5. Summing and Difference Amplifiers

Summing Amplifier
V_out = −R_f(V₁/R₁ + V₂/R₂ + ...)

Multiple inputs each through their own resistor to V−. Virtual ground means no interaction between inputs. Used in DAC circuits (R-2R ladder) and audio mixers.

Difference Amplifier
V_out = R_f/R_1 × (V₂ − V₁)

Amplifies the difference between two signals while rejecting common-mode noise. Fundamental for measuring sensor output in noisy environments. CMRR (Common-Mode Rejection Ratio) >80 dB typical.

Instrumentation Amplifier
Gain = 1 + 2R/R_G

Three op-amps. Very high CMRR (>110 dB), adjustable gain with a single resistor. Standard for medical electrodes, Wheatstone bridge sensors (strain gauges, load cells). INA128, AD620.

6. Integrator and Differentiator

Replace the feedback resistor with a capacitor to get circuits that perform calculus:

Integrator (Miller integrator): R1 input resistor, capacitor Cf in feedback:

V_out(t) = −(1/R₁C_f) ∫ V_in(t) dt Square wave input → triangle wave output Sine wave f → sine wave with −90° phase shift, gain = 1/(2πf·R₁C_f)

Used in waveform generators, ADC sample-and-hold, control system integrators. Add a large feedback resistor in parallel with Cf to limit DC gain and prevent saturation.

Differentiator: C input, Rf feedback:

V_out(t) = −R_f·C · dV_in/dt Triangle wave → square wave output

Differentiators amplify noise (noise has high frequency components with large derivatives) — add a small resistor Rs in series with the input capacitor to limit high-frequency gain.

7. Real-World Limitations & Common ICs

Common IC families: