Electronics Design AU
Analog

Op-Amps

Operational amplifier circuits: inverting and non-inverting configurations, filters, comparators, and instrumentation amplifiers.

The op-amp is the workhorse building block of analog circuit design: amplifiers, buffers, filters, and precision sensor interfaces are almost all built from op-amp circuits with different feedback networks around the same basic device. This subtopic covers op-amp circuit design at the practical level: core configurations, comparators, instrumentation amplifiers, and active filters.

What Is Op-Amp Circuit Design?

This subtopic covers what an engineer needs to actually design with op-amps: the core inverting and non-inverting amplifier configurations and their gain formulas, comparators (a related but distinct device optimised for a different job), instrumentation amplifiers for precision differential sensor signals, and active filter design. For the underlying analog signal-chain concepts this subtopic builds on (ADCs, DACs, and general signal conditioning), see the parent Analog topic.

This subtopic is part of the Analog topic.

Why Op-Amp Circuit Design Matters

  • The virtual short principle makes op-amp circuits analysable, but only within real limits. Treating the two inputs as exactly equal breaks down at high gain, high frequency, or with non-ideal source impedances — the practical design skill is knowing where the ideal-op-amp approximation stops being good enough.
  • Choosing an op-amp with insufficient gain-bandwidth product silently limits a circuit's usable bandwidth. Closed-loop bandwidth falls as closed-loop gain rises for a given GBW — a design that works at low gain can run out of bandwidth entirely once gain is increased for a different application requirement.
  • A comparator used as an op-amp, or vice versa, produces unreliable circuits. The two devices are optimised for genuinely different jobs (linear closed-loop operation vs fast open-loop switching), and using one in the other's role is a common source of instability or unreliable switching.
  • Stability with capacitive loads is not automatic. Op-amps can oscillate when driving cables, capacitive sensors, or ADC inputs without proper output isolation — a real, recurring bring-up failure, not a theoretical edge case.

Key Concepts

  • Virtual short — with negative feedback applied, an op-amp's output adjusts to keep its two inputs at (approximately) equal voltage; the foundation for analysing every closed-loop op-amp circuit.
  • Gain-bandwidth product (GBW) — the frequency at which open-loop gain falls to unity; for a single-pole op-amp, closed-loop bandwidth ≈ GBW / closed-loop gain, meaning higher gain always costs bandwidth for a given device.
  • Input offset voltage and bias current — the small imperfections (Vos, Ib) every real op-amp has relative to the ideal model; both are amplified by closed-loop gain and appear as DC error at the output, requiring source-impedance matching and careful part selection in precision circuits.
  • Comparator — an open-loop device optimised for fast switching between rails rather than linear operation; distinct from an op-amp despite superficial pin-for-pin similarity. See What Is a Comparator?.
  • Instrumentation amplifier — a precision differential amplifier (typically a three-op-amp topology) built for high CMRR and accurate gain on small differential signals from bridge sensors, thermocouples, and other low-level sources. See What Is an Instrumentation Amplifier?.

Common Mistakes

  • Missing supply bypass capacitors on op-amp pins — every op-amp supply pin needs a bypass capacitor (typically 100 nF ceramic, placed as close as possible to the pin); omitting it causes oscillation, increased noise, and unpredictable behaviour that can disappear the moment a probe touches the supply rail.
  • Choosing an op-amp with insufficient gain-bandwidth product — verify GBW against the maximum signal frequency and required closed-loop gain before selecting a device, not after a prototype shows unexpectedly low bandwidth.
  • Ignoring input bias current in high-impedance circuits — with source impedances in the MΩ range (piezoelectric sensors, pH electrodes), even nanoamp-scale bias currents create an offset voltage that can exceed the signal; use a FET-input op-amp for these sources.
  • Driving a capacitive load without output isolation — long cables, capacitive sensors, and ADC inputs can all destabilise an op-amp output; a small series isolation resistor (10–100 Ω) restores phase margin at a small cost to bandwidth and output swing.

Common Questions

When should I use an op-amp vs a comparator?

Use an op-amp for linear, closed-loop operation with negative feedback: amplification, buffering, filtering. Use a comparator for open-loop rail-to-rail switching: threshold detection, zero-crossing detection, simple over/under alarms. Using an op-amp as a comparator in a fast-switching application risks instability from its slow slew rate and phase margin characteristics; using a comparator in a linear feedback circuit typically doesn't work at all, since comparator inputs and outputs aren't designed for linear operation. See What Is a Comparator? for the full distinction.

How do I choose between inverting and non-inverting configurations?

Use the non-inverting configuration when the source needs high input impedance (the op-amp's input impedance is essentially the load the source sees) or when inverted output polarity isn't wanted. Use the inverting configuration when a virtual-ground summing node is useful (for summing multiple inputs, or for building an active filter around a feedback impedance), or when the lower input impedance of the inverting node is acceptable for the source. See Inverting and non-inverting op-amp configurations for the gain formulas and worked examples.

Do I need an instrumentation amplifier, or is a simple op-amp difference amplifier good enough?

A simple two-resistor-pair difference amplifier is adequate for signals with a healthy amplitude and low source impedance, where the CMRR requirement is modest. An instrumentation amplifier (or a purpose-built IC like the INA333 or AD8226) is worth the extra cost and complexity whenever the signal is small, the source impedance is high or unbalanced, or the common-mode rejection requirement is demanding. Bridge sensors, thermocouples, and load cells are the classic cases where a difference amplifier's practical CMRR falls short. See What Is an Instrumentation Amplifier? for the three-op-amp topology and CMRR analysis. Zeus Design designs analog front ends and precision op-amp circuits for measurement and IoT products.

Knowledge Base

Op-Amp Fundamentals

Filter Design

Precision Amplifiers

Forum Discussions

Forum Discussions

Related Topics