Module 21 · 8 min read · Free chapter
Operational amplifiers and their applications: ideal op-amp, virtual ground, inverting and non-inverting amplifiers, adder, subtractor, integrator, differentiator, comparator, CMRR and slew rate
Start from zero: an amplifier that does maths
The operational amplifier got its name in the 1940s, when vacuum-tube versions were wired up to add, subtract, integrate and differentiate voltages in analog computers that solved equations for gun directors and aircraft. In 1968 Fairchild's μA741 put a complete op-amp on a single silicon chip, and it is still taught everywhere.
An op-amp by itself has an enormous gain, far too large to use directly. Its power comes from negative feedback (feedback): connect a couple of resistors or capacitors around it and the circuit's behaviour depends almost entirely on those passive components. Two simple rules then let you analyse nearly any op-amp circuit in a few lines.
The ideal and the real op-amp
An op-amp has an inverting input (−), a non-inverting input (+), an output and two supply rails (typically ±15 V). It amplifies the difference between its inputs:
Internally it is a differential-amplifier input stage, a high-gain middle stage and a push-pull output stage, all DC coupled so it amplifies down to zero frequency.
| Parameter | Ideal | 741 (typical) |
|---|---|---|
| open-loop gain A | ∞ | 2 × 10⁵ (106 dB) |
| input resistance | ∞ | 2 MΩ |
| output resistance | 0 | 75 Ω |
| bandwidth | ∞ | unity-gain 1 MHz |
| CMRR | ∞ | 90 dB |
| slew rate | ∞ | 0.5 V μs⁻¹ |
| input offset voltage | 0 | 1 mV |
The two golden rules (ideal op-amp with negative feedback):
- No current flows into either input (infinite input resistance).
- The output adjusts so that (virtual short). Since the output is limited to about ±14 V and A is about , the input difference is at most about 0.1 mV, effectively zero.
Common-mode rejection. An ideal op-amp responds only to the difference signal and ignores the common-mode signal . A real one gives . The common-mode rejection ratio
measures its ability to reject interference (such as 50 Hz hum) picked up equally on both inputs.
Slew rate is the maximum rate of change of the output, . For a sine output of amplitude , the maximum slope is , so undistorted output needs
For the 741 with = 10 V, kHz.
Inverting, non-inverting and follower
Inverting amplifier. Input through to the (−) input; feedback resistor from output to (−); (+) grounded.
By rule 2 the (−) input is at 0 V although not connected to ground: a virtual ground. The current through is . By rule 1 all of it flows on through , so :
The input resistance is just . Gain is set by a resistor ratio; the minus sign means a 180° phase reversal.
Non-inverting amplifier. Input to (+); from (−) to ground and from output to (−). The divider gives , and :
No phase reversal, and the input resistance is very high (the op-amp's own input resistance multiplied by the loop gain).
Voltage follower (buffer). Output connected straight to (−), input to (+): , gain 1. It isolates a high-resistance source from a low-resistance load.
Worked example. Inverting with = 10 kΩ, = 100 kΩ: gain −10, input resistance 10 kΩ. An input of 0.5 V gives −5 V. An input of 2 V would ask for −20 V, beyond the rail, so the output saturates at about −14 V.
Exact gain with finite A. For the non-inverting amplifier, with . For A = and ideal gain 11, the actual gain is 10.9988: the ideal formula is excellent.
Mathematical operations
Summing amplifier (adder). Several inputs, each through its own resistor, meet at the virtual ground of an inverting amplifier. The currents add:
With all resistors equal, . Audio mixers and digital-to-analog converters (binary-weighted resistors ) use this.
Difference amplifier (subtractor). through to (−) with feedback; through to (+) with to ground. By superposition
It rejects any voltage common to both inputs. Three op-amps (two buffers and a difference stage) make an instrumentation amplifier with very high input resistance and CMRR, used for ECG and strain-gauge bridges.
Integrator. Replace by a capacitor C. The current charges C, and :
A square-wave input gives a triangular output; a constant input gives a linear ramp. In practice a large resistor across C prevents drift to saturation from offsets.
Differentiator. Capacitor C at the input and resistor R in feedback. The capacitor current flows through R:
A triangular input gives a square output. It amplifies high-frequency noise (gain rises with f), so a small series resistor is added.
Analog computer. Two integrators and an inverter in a loop solve , producing a sine wave: this is how analog computers modelled oscillators, rockets and reactors.
Log and antilog amplifiers. Putting a diode or transistor in the feedback path uses its exponential I-V law (diode equation) to give , enabling analog multiplication.
Comparators, Schmitt trigger and other uses
Comparator. With no feedback, the huge gain drives the output to a rail as soon as the inputs differ by a fraction of a millivolt:
Applying a reference voltage to one input turns a sine wave into a square wave, detects when a signal crosses a level (zero-crossing detector), or switches a fan when a temperature sensor's voltage passes a set point.
Schmitt trigger. A noisy input near the threshold makes a simple comparator chatter. Adding positive feedback through a divider (, ) from output to (+) gives two thresholds:
The output switches high-to-low only when the input rises above and back only when it falls below . The gap is the hysteresis , which makes switching clean.
Other applications.
- Active filters: op-amps with R and C make low-pass, high-pass and band-pass filters with gain and no inductors.
- Precision rectifier: a diode inside the feedback loop rectifies signals of millivolts, since the op-amp's gain overcomes the diode's 0.6 V drop.
- Oscillators: Wien bridge and phase-shift (oscillators), and a Schmitt trigger with an RC feedback makes a square-wave generator (astable multivibrator).
- Current-to-voltage converter: a photodiode into a virtual ground with feedback resistor R gives , the standard light meter.
- Sample-and-hold, voltage regulators, ADC and DAC circuits.
Mains lens: how UPSC asks this
Op-amps are explicitly named in P2.4, and questions almost always ask for one or two applications with derivations.
Expect:
- Ideal op-amp and virtual ground (10 marks): characteristics, golden rules.
- Inverting and non-inverting amplifiers (10 marks): derive gains; compare.
- Adder, subtractor, integrator, differentiator (10 to 15 marks): circuit and output expression for two of them.
- CMRR and slew rate (short notes with a numerical).
- Comparator and Schmitt trigger (10 marks).
Model answer plan: "Explain the concept of virtual ground. Show how an op-amp can be used as (i) an adder and (ii) an integrator." (15 marks).
- Ideal op-amp properties; golden rules with negative feedback; virtual ground in inverting configuration.
- Adder circuit; currents at summing junction; .
- Integrator circuit; capacitor current; ; square to triangle.
- Practical notes: resistor across C; uses in analog computing.
Quick revision
- ; ideal: A, , bandwidth ∞, = 0.
- Golden rules: no input current; (virtual short, virtual ground).
- Inverting ; non-inverting ; follower 1.
- Adder ; subtractor .
- Integrator ; differentiator .
- CMRR ; slew rate limits ; 741: 0.5 V μs⁻¹.
- Comparator; Schmitt trigger thresholds , hysteresis.