Operational Amplifier (Op-Amp)
Operational Amplifier (Op-Amp)
Definition: An operational amplifier is a high-gain integrated circuit that amplifies the voltage difference between its two inputs.
How It Works
- It has two inputs, inverting (−) and non-inverting (+), and one output, amplifying the difference between them by a very large open-loop gain, often over 100,000
- Left alone (open-loop), that gain is so high the output slams to one supply rail or the other for any tiny input difference, which is why op-amps are almost always used with feedback
- Negative feedback, a resistor path from the output back to the inverting input, tames that raw gain into precise, predictable behavior
- Two “golden rules” simplify analysis for an ideal op-amp with negative feedback: no current flows into either input, and the op-amp adjusts its output so both inputs sit at the same voltage
- Common configurations include inverting amplifier, non-inverting amplifier, voltage follower (buffer), summing amplifier, differential amplifier, and integrator/differentiator circuits
- Real op-amps deviate from the ideal model with input bias current, input offset voltage, finite slew rate, and limited bandwidth, all specified on the datasheet
- Positive feedback (rather than negative) turns an op-amp into a comparator or oscillator instead of a linear amplifier
- Common-mode rejection ratio (CMRR) describes how well an op-amp ignores a signal present equally on both inputs, important for rejecting noise picked up by long sensor wires
Common Configurations
- Inverting amplifier — amplifies and flips the signal’s polarity, input impedance set by Rin
- Non-inverting amplifier — amplifies without flipping polarity, very high input impedance
- Voltage follower (buffer) — unity gain, isolates a high-impedance source from a low-impedance load
- Summing amplifier — adds multiple weighted input voltages together at one output
- Differential amplifier — amplifies only the difference between two input signals, rejecting common noise on both
- Integrator — output is the time integral of the input, used in analog computing and filters
- Comparator — open-loop or positive feedback use, output snaps high or low based on which input is larger
Illustration
Under the Hood
Inverting amplifier gain:
Vout / Vin = −(Rf / Rin)
Non-inverting amplifier gain:
Vout / Vin = 1 + (Rf / Rin)
Voltage follower (buffer), a special case with Rf = 0 and Rin = ∞:
Vout = Vin
Open-loop gain (ideal, very large):
Vout = A_ol × (V+ − V−), where A_ol → ∞
Slew rate limit on output speed:
dVout/dt ≤ Slew Rate (V/µs)
Worked Problem 1: inverting amplifier gain Given: an inverting amplifier with Rf = 100 kΩ and Rin = 10 kΩ, input signal Vin = 0.05 V. Step 1: Gain = −(Rf / Rin) = −(100k / 10k) = −10. Step 2: Vout = Gain × Vin = −10 × 0.05 V. Answer: Vout = −0.5 V (inverted and amplified 10 times).
Worked Problem 2: non-inverting amplifier for microphone boost Given: a microphone signal of 2 mV needs a gain of 100, using a non-inverting amplifier with Rin = 1 kΩ. Step 1: Gain = 1 + (Rf / Rin) = 100. Step 2: Rf / Rin = 99, so Rf = 99 × 1 kΩ = 99 kΩ. Step 3: Vout = Gain × Vin = 100 × 0.002 V. Answer: Rf ≈ 99 kΩ gives Vout = 0.2 V, boosting the microphone signal by 100x without inverting it.
Worked Problem 3: summing amplifier Given: a summing (inverting) amplifier with two inputs V1 = 1 V through R1 = 10 kΩ, V2 = 2 V through R2 = 20 kΩ, feedback resistor Rf = 10 kΩ. Step 1: Vout = −Rf × (V1/R1 + V2/R2). Step 2: V1/R1 = 1V / 10kΩ = 0.1 mA. V2/R2 = 2V / 20kΩ = 0.1 mA. Step 3: Sum = 0.1 mA + 0.1 mA = 0.2 mA. Step 4: Vout = −10 kΩ × 0.2 mA. Answer: Vout = −2 V.
Worked Problem 4: slew rate limiting a fast signal Given: an LM741 op-amp has a slew rate of 0.5 V/µs, and needs to output a 10 Vpp square wave transition. Step 1: Time to slew 10 V = 10 V / 0.5 V/µs. Step 2: Time = 20 µs. Answer: the output takes 20 µs just to swing across the full 10 V step, meaning this op-amp can’t cleanly reproduce fast-edged signals much above a few kHz, motivating the choice of a faster op-amp for high-speed applications.
Quick Reference: Key Op-Amp Specs
| Spec | Meaning | Why It Matters |
|---|---|---|
| Open-loop gain (A_ol) | Raw gain with no feedback | Determines accuracy of closed-loop gain |
| Input offset voltage | Small internal input mismatch | Causes DC error at output, worse at high gain |
| Slew rate | Max output voltage change per microsecond | Limits usable frequency for large signal swings |
| Gain-bandwidth product (GBW) | Gain × frequency stays roughly constant | Higher gain configs have lower usable bandwidth |
| Input bias current | Tiny current drawn into each input | Creates error voltage across high source impedances |
Why It Matters
- Op-amps are the workhorse building block for analog signal processing: amplifiers, filters, comparators, and sensor signal conditioning
- Feedback design lets engineers get precise, repeatable gain from an imprecise raw component, using just a couple of resistors
- They appear in nearly every piece of analog electronics: audio equipment, instrumentation, power supplies, and the analog front end of most sensor circuits
- Differential amplifier configurations reject common-mode noise, which is essential for accurately measuring small signals in electrically noisy environments
Common Pitfalls
- Forgetting an op-amp needs a dual supply (or a single supply with a bias network) to swing its output both above and below its reference, especially with AC signals
- Exceeding the output’s ability to swing all the way to the supply rails; not all op-amps are “rail-to-rail,” so the output can clip before reaching the supply voltage
- Ignoring slew rate, the maximum rate the output can change, which distorts high-frequency or fast-edged signals even if gain is otherwise correct
- Leaving the non-inverting input floating in a single op-amp circuit, letting noise dominate the output
- Assuming zero output impedance and infinite input impedance always hold; real op-amps have finite input bias current and output impedance that matter in precision designs
- Building an unstable feedback loop with too much phase shift, causing oscillation instead of stable amplification
- Forgetting input offset voltage, a small internal mismatch that shows up as an unwanted DC error at the output, especially significant in high-gain circuits
- Omitting supply decoupling capacitors near the op-amp’s power pins, letting noise couple into sensitive analog stages
Comparison
| Configuration | Gain Formula | Inverts Signal? | Input Impedance |
|---|---|---|---|
| Inverting amplifier | −(Rf/Rin) | Yes | ≈ Rin (moderate) |
| Non-inverting amplifier | 1 + (Rf/Rin) | No | Very high (ideal: infinite) |
| Voltage follower (buffer) | 1 | No | Very high |
| Summing amplifier | −Rf × Σ(Vn/Rn) | Yes | Depends per input resistor |
| Differential amplifier | Depends on resistor ratios | Depends on input | Moderate |
History
- The term “operational amplifier” originated in the 1940s from analog computers, where high-gain vacuum-tube amplifiers performed mathematical “operations” like summing and integration
- Early op-amps were built from vacuum tubes, then discrete transistors, both bulky and expensive
- Fairchild Semiconductor’s µA709 (1965), designed by Bob Widlar, was one of the first widely successful monolithic IC op-amps
- The LM741, released in 1968 and still manufactured today, became the most famous and widely taught op-amp due to its simplicity and forgiving design, despite being outperformed by newer parts
- Modern op-amps, like precision instrumentation and rail-to-rail low-power parts, trace their lineage directly back to these 1960s designs while offering vastly better specifications
Example
A microphone’s weak few-millivolt signal is boosted by a non-inverting op-amp circuit with feedback resistors set for a gain of 100 before further processing. The LM741 and the more modern LM358 are commonly used introductory op-amp ICs in hobbyist and educational circuits, while precision instrumentation amplifiers built from multiple op-amps measure tiny sensor signals in medical and industrial equipment.
FAQ
Why can’t an op-amp be used without feedback in most circuits? Open-loop gain is so high that any tiny offset or noise drives the output fully to one supply rail, making it useless for linear amplification without feedback taming that gain.
What is a comparator, and how does it relate to an op-amp? A comparator is essentially an op-amp used deliberately in open-loop mode, letting the huge gain snap the output high or low based on which input is larger, useful for threshold detection.
Why do op-amps need two power supply pins if they only have two signal inputs? The supply pins (V+ and V−, or V+ and ground) power the internal amplifier stages; they’re separate from the signal inputs that the amplifier compares.
What does “rail-to-rail” mean? It means the op-amp’s output (and sometimes input) can swing all the way to the positive and negative supply voltages, rather than stopping a volt or two short.
Can an op-amp be damaged by its input voltage exceeding the supply rails? Yes, most op-amps have absolute maximum input voltage ratings tied closely to the supply rails, and exceeding them can forward-bias internal protection diodes and damage the chip.
Why does gain-bandwidth product matter when choosing an op-amp? GBW is roughly constant for a given op-amp design, so configuring it for higher gain proportionally reduces the maximum frequency it can amplify accurately, which is why high-gain, high-frequency needs require a specialized wideband part.
Related Terms
Referenced by