Operational Amplifiers (Op-Amps)
An operational amplifier, commonly called an op-amp, is a high-gain differential voltage amplifier used as a fundamental building block in analog electronics. By combining an op-amp with external resistors, capacitors and other components, engineers can create amplifiers, buffers, filters, integrators, differentiators, oscillators, comparators and many other circuits. :contentReference[oaicite:0]{index=0}
What Is an Op-Amp?
An operational amplifier is an electronic amplifier with two input terminals and one output terminal. The two inputs are called the non-inverting (+) input and the inverting (-) input.
The op-amp amplifies the voltage difference between these two inputs. A simplified relationship is:
VOUT = AOL ร (V+ โ Vโ)
where AOL is the open-loop voltage gain.
Practical op-amps have very high open-loop gain, high input impedance and low output impedance, although real devices do not reach the ideal values. :contentReference[oaicite:1]{index=1}
Why Is It Called an Operational Amplifier?
The name comes from the early use of these amplifiers in analog computers, where feedback networks allowed them to perform mathematical operations such as addition, subtraction, integration and differentiation.
Today, op-amps are used much more broadly in analog and mixed-signal electronics. :contentReference[oaicite:2]{index=2}
Basic Op-Amp Symbol
+V
โ
โ
โโโโโโโโโโโโโโโโโโโ
V+ โโโโโค + โ
โ โโโโโ VOUT
Vโ โโโโโค โ โ
โโโโโโโโโโโโโโโโโโโ
โ
โV
The two signal inputs are represented by the + and โ symbols.
- + = non-inverting input
- โ = inverting input
- OUT = output
- +V = positive supply
- โV = negative supply, when used
Op-Amp Terminals
Non-Inverting Input (+)
A voltage applied to the non-inverting input tends to drive the output in the same polarity.
Inverting Input (โ)
A voltage applied to the inverting input tends to drive the output in the opposite polarity.
Output
The output provides the amplified result of the differential input voltage, within the limits imposed by the power supply and the op-amp's output capability.
Power Supply Pins
Real op-amps also require power connections. Depending on the device, these may be operated from dual supplies or a single supply. :contentReference[oaicite:3]{index=3}
Differential Operation
The fundamental operation of an op-amp is differential amplification.
Vdiff = V+ โ VโThe output in open-loop operation can be represented approximately as:
VOUT = AOL ร VdiffBecause the open-loop gain is extremely high, even a very small difference between the inputs can produce a large output voltage. :contentReference[oaicite:4]{index=4}
Ideal Op-Amp Characteristics
For basic circuit analysis, an ideal op-amp is assumed to have the following characteristics:
- Infinite open-loop voltage gain
- Infinite input impedance
- Zero input current
- Zero output impedance
- Infinite bandwidth
- Infinite slew rate
- Zero input offset voltage
- Zero noise
- Infinite common-mode rejection
These are idealizations. Real op-amps have finite values for all of these parameters. :contentReference[oaicite:5]{index=5}
Practical Op-Amp Characteristics
| Parameter | Ideal | Practical |
|---|---|---|
| Open-loop gain | Infinite | Very high |
| Input impedance | Infinite | High |
| Input current | Zero | Small |
| Output impedance | Zero | Low |
| Bandwidth | Infinite | Finite |
| Slew rate | Infinite | Finite |
| Offset voltage | Zero | Small but non-zero |
| Noise | Zero | Present |
Open-Loop Operation
In open-loop operation there is no feedback from the output to the input.
โโโโโโโโโโโโโ V+ โโโโโโโโค โ โ OP-AMP โโโโโ VOUT Vโ โโโโโโโโค โ โโโโโโโโโโโโโ ```Because the open-loop gain is extremely high, the output tends to move toward one of the supply rails even for a relatively small differential input.
For this reason, op-amps are usually used with feedback when linear amplification is required. :contentReference[oaicite:6]{index=6}
Negative Feedback
Negative feedback is one of the most important concepts in op-amp circuits. A portion of the output is fed back to the inverting input.
โโโโโโโโโโโโโโโ VIN โโโโโโโโโบโ โ โ OP-AMP โโโโโโโ VOUT โโโโโโบโ โ โ โโโโโโโโโโโโโโโ โ โ โโโโโโโโโโโโโโ feedback
Negative feedback greatly reduces the effective gain but makes the gain more predictable and allows external components to determine the circuit's behavior. :contentReference[oaicite:7]{index=7}
Virtual Short
In a properly operating op-amp circuit with negative feedback, the voltage difference between the two inputs is usually very small.
For analysis, this is often approximated as:
V+ โ Vโ
This is sometimes called the virtual short.
The inputs are not actually electrically shorted together. Their voltages are approximately equal because of the feedback action.
Virtual Ground
A special case occurs when the non-inverting input is connected to ground. With negative feedback, the inverting input is then approximately at ground potential.
V+ = 0 V therefore approximately: Vโ โ 0 V
This point is called a virtual ground.
There is no physical wire connecting the inverting input to ground.
Input Current
For an ideal op-amp:
I+ = 0 Iโ = 0
Real op-amps have small input bias currents.
The magnitude depends strongly on the input technology. Bipolar-input op-amps generally have higher input bias currents than many JFET- or CMOS-input devices.
Inverting Amplifier
The inverting amplifier is one of the most common op-amp configurations.
Rf โโโโโ/\/\/\โโโโโ โ โ VIN โโRinโโดโโโโบ(โ) โ โ\ โ โ \ โโโ VOUT GND โโโโโโโโโโโบโ+/ โ/ ```The voltage gain is:
Av = โRf / RinThe minus sign indicates that the output is inverted relative to the input.
Example: Inverting Amplifier
Suppose:
Rin = 10 kฮฉ Rf = 100 kฮฉ ```Then:
Av = โ100k / 10k Av = โ10A 100 mV input would ideally produce approximately:
VOUT = โ1.0 Vprovided that the op-amp has sufficient supply voltage and output capability.
Non-Inverting Amplifier
In a non-inverting amplifier, the input signal is applied to the non-inverting input.
VIN โโโโโโโโโโโโโโบ(+) โ\ โ \ โ โโโโโ VOUT โ / โโโโโโ/ โ Rf โ โโโโโโโโโโโโโ โ โ Rg โ โ โ GNDโโโโโโโโโโโ
The voltage gain is:
Av = 1 + (Rf / Rg)
Voltage Follower
A voltage follower is a non-inverting amplifier with unity gain.
VIN โโโโโโโโบ(+) โ\ โ \ โ โโโโโ VOUT โ / โโโโโโ/ โ โโโโโโโโโโโโโโโโ ```The output is connected directly to the inverting input.
VOUT โ VINThe voltage follower is useful as a buffer because it provides high input impedance and low output impedance.
Summing Amplifier
An op-amp can add multiple input signals using an inverting summing configuration.
For equal input resistors, the output is approximately proportional to the negative sum of the input voltages.
VOUT = โ(V1 + V2 + V3 + ...) ```With different resistor values, each input can have a different weighting.
Differential Amplifier
An op-amp can be configured to amplify the difference between two signals.
VOUT โ (V2 โ V1)
Differential amplification is useful for signal conditioning and measurement systems.
Integrator
Replacing the feedback resistor in an inverting amplifier with a capacitor creates an integrator.
Ideally:
VOUT = โ(1/RC) โซ VIN dt
Integrators can be used in waveform generation, analog computation and control systems.
Differentiator
A capacitor can be used at the input of an op-amp circuit to create a differentiator.
Ideally:
VOUT = โRC ร dVIN/dt
Practical differentiators normally include additional components to limit high-frequency gain and improve stability.
Active Filters
Op-amps can be combined with resistors and capacitors to create active filters.
Common types include:
- Low-pass filters
- High-pass filters
- Band-pass filters
- Band-stop filters
- All-pass filters
Active filters can provide gain as well as frequency-selective behavior. :contentReference[oaicite:8]{index=8}
Op-Amp Comparator
An op-amp can be used without negative feedback as a basic voltage comparator.
If:
V+ > Vโ
the output tends toward the positive direction.
If:
V+ < Vโ
the output tends toward the negative direction.
Dedicated comparator ICs are generally preferable when high-speed or specialized comparator operation is required.
Precision Rectifier
An op-amp can be combined with diodes to create a precision rectifier.
This allows small signals to be rectified while greatly reducing the effective effect of the diode's forward-voltage drop.
Precision rectifiers are useful in signal measurement and audio circuits.
Oscillators
Op-amps can be used with resistors and capacitors to create oscillators.
Examples include:
- Wien bridge oscillator
- Relaxation oscillator
- Phase-shift oscillator
Oscillator circuits use feedback to generate a periodic output signal.
Op-Amps in Audio Electronics
Op-amps are widely used in audio equipment.
Typical applications include:
- Microphone preamplifiers
- Line-level amplifiers
- Active tone controls
- Active crossovers
- Equalizers
- Filters
- Buffers
- Mixers
- Signal conditioning
Op-Amp Supply Voltage
Op-amps require a power supply within their specified operating range.
Some devices are designed for dual supplies such as:
+15 V โ OP-AMP โ โ15 V
Others are designed specifically for single-supply operation:
+5 V โ OP-AMP โ GND
The supply arrangement strongly affects the available input and output voltage range.
Rail-to-Rail Op-Amps
A rail-to-rail op-amp is designed to operate with input and/or output voltages close to the supply rails.
This can be particularly useful in low-voltage single-supply circuits.
However, "rail-to-rail" does not necessarily mean that the input or output can reach the rail under every load and operating condition.
The datasheet should always be checked.
Output Saturation
An op-amp cannot normally produce an output voltage outside its power-supply range.
If a circuit demands more output voltage than the device can provide, the output approaches one of its limits and becomes saturated.
Requested output โ โผ โโโโโโโโโโโโโ โ OP-AMP โ โโโโโโโโโโโโโ โ โผ Maximum available output ```The exact output swing depends on the particular op-amp, supply voltage and load.
Common-Mode Voltage
The common-mode voltage is the voltage component shared by both inputs.
For two input voltages:
V+ and Vโ
the common-mode component can be represented as:
VCM = (V+ + Vโ) / 2
Every op-amp has a specified common-mode input range.
The input voltages must remain within that range for correct operation.
Common-Mode Rejection Ratio
The Common-Mode Rejection Ratio, or CMRR, indicates how effectively an op-amp rejects signals that are common to both inputs.
A high CMRR is desirable in differential measurement applications because it helps reject unwanted common-mode signals.
Input Offset Voltage
Ideally, an op-amp would produce zero output when both inputs are at exactly the same voltage.
Real op-amps have a small input offset voltage that represents the small differential voltage required to make the output behave as though the inputs were equal.
Low-offset op-amps are useful in precision measurement circuits.
Input Bias Current
Real op-amp inputs require a small amount of current.
This current is called input bias current.
It can create an unwanted voltage across external resistors, particularly when high resistance values are used.
Input Offset Current
The two input bias currents are not always identical.
Their difference is called input offset current.
This parameter can become important in precision circuits.
Gain-Bandwidth Product
Real op-amps have finite frequency response.
As frequency increases, the available voltage gain generally decreases. A commonly used parameter is the gain-bandwidth product, or GBW.
For a simple compensated op-amp, the closed-loop bandwidth approximately decreases as closed-loop gain increases.
Higher gain โ โผ Lower bandwidth Lower gain โ โผ Higher bandwidth
Slew Rate
The slew rate describes how quickly the op-amp output voltage can change.
It is commonly expressed in:
V/ยตs
If the required output voltage changes faster than the op-amp's slew-rate limit allows, the output waveform becomes distorted.
Why Slew Rate Matters in Audio
A high-frequency or large-amplitude audio signal can require a substantial output slew rate.
For a sine wave:
V(t) = Vp sin(2ฯft)
the maximum required slew rate is approximately:
SRrequired = 2ฯfVp
The selected op-amp should provide sufficient slew-rate margin for the required signal.
Noise
Every real op-amp produces some electrical noise.
Important noise specifications can include:
- Input voltage noise
- Input current noise
- Low-frequency noise
- Wideband noise
Low-noise op-amps are particularly useful in microphone preamplifiers, phono stages and precision measurement equipment.
Output Current
An op-amp is not normally a high-power amplifier.
Its output current capability is limited.
If a circuit requires substantial load current, a buffer, transistor output stage or dedicated power amplifier may be required.
Op-Amp Stability
Some op-amps are designed to remain stable at unity gain, while others require a minimum closed-loop gain.
This specification is important when selecting an op-amp for a voltage follower or other low-gain configuration.
Decoupling Capacitors
Supply bypass capacitors should normally be placed close to the op-amp power pins.
A common arrangement uses:
- Small ceramic capacitor for high-frequency decoupling
- Larger capacitor for lower-frequency supply variations
Poor supply decoupling can contribute to noise, oscillation and instability.
Op-Amp Packages
Op-amps are available in many packages.
- DIP
- SOIC
- TSSOP
- MSOP
- SOT-23
- QFN
- Other surface-mount packages
Some ICs contain one op-amp, while others contain two or four independent op-amps in a single package.
Single, Dual and Quad Op-Amps
| Type | Op-Amps in Package | Typical Use |
|---|---|---|
| Single | 1 | Dedicated amplifier circuits |
| Dual | 2 | Audio and general analog circuits |
| Quad | 4 | Multi-stage analog circuits |
Common Op-Amp ICs
Examples of widely encountered op-amp families include:
- LM741
- LM358
- LM324
- TL071
- TL072
- TL074
- NE5532
- NE5534
- LM833
- RC4558
These devices are not interchangeable simply because they are all called op-amps. Their supply requirements, pinouts, input ranges, noise, bandwidth, slew rate and output characteristics can differ significantly.
How to Select an Op-Amp
The correct op-amp depends on the application.
Important parameters include:
- Supply voltage
- Single or dual supply operation
- Input common-mode range
- Output voltage swing
- Input offset voltage
- Input bias current
- Input noise
- Open-loop gain
- Gain-bandwidth product
- Slew rate
- CMRR
- PSRR
- Output current
- Stability
- Package
- Number of channels
Op-Amp Troubleshooting
When an op-amp circuit is not working correctly, check the power supply before assuming that the IC is defective.
- Verify the supply voltage.
- Check the supply polarity.
- Check the ground connection.
- Check the IC orientation.
- Check the input voltages.
- Check the feedback network.
- Check for short circuits at the output.
- Check the output voltage.
- Check for oscillation.
- Check surrounding resistors and capacitors.
Testing an Op-Amp
An op-amp is normally tested as part of a circuit rather than by simply measuring resistance between its pins.
Useful measurements include:
- Supply voltage
- Input voltage
- Output voltage
- DC offset
- Current consumption
- Oscillation
An oscilloscope is particularly useful for identifying instability, distortion and unexpected oscillation.
Common Op-Amp Faults
| Symptom | Possible Causes |
|---|---|
| Output stuck high | Input condition, feedback fault, saturation or damaged IC |
| Output stuck low | Input condition, feedback fault, saturation or damaged IC |
| No output | No supply, incorrect wiring, failed IC or input problem |
| Output oscillates | Instability, poor layout, inadequate decoupling or capacitive load |
| Excessive noise | Supply noise, layout problems, unsuitable op-amp or external interference |
| Distorted signal | Slew-rate limitation, output-current limitation or saturation |
| Incorrect gain | Feedback resistor problem or incorrect circuit configuration |
Op-Amp Replacement
Replacing an op-amp requires more than matching the package and pin count.
Check:
- Pinout
- Supply voltage
- Input common-mode range
- Output swing
- Input offset voltage
- Input bias current
- Bandwidth
- Slew rate
- Noise
- Output current
- Stability
- Package
Two op-amps with the same number of pins may behave very differently.
Can an LM741 Replace an LM358?
Not automatically.
Although both are op-amps, they have different electrical characteristics, pin arrangements, supply requirements and application capabilities.
A replacement must be checked against the original circuit rather than selected solely because both devices are operational amplifiers.
Can an Op-Amp Drive a Speaker?
A normal small-signal op-amp is generally not intended to directly drive a low-impedance loudspeaker at substantial power.
For a speaker amplifier, a dedicated power amplifier or an op-amp followed by a suitable transistor output stage is normally more appropriate.
Op-Amp Applications
- Voltage amplification
- Audio preamplifiers
- Buffers
- Summing amplifiers
- Differential amplifiers
- Active filters
- Integrators
- Differentiators
- Comparators
- Precision rectifiers
- Oscillators
- Voltage regulators
- Signal conditioning
- Instrumentation circuits
- Sensor interfaces
- Analog signal processing
Key Points
- An op-amp is a high-gain differential voltage amplifier.
- It has inverting and non-inverting inputs.
- The output responds to the voltage difference between the inputs.
- Practical op-amps have finite gain and bandwidth.
- Negative feedback is fundamental to most linear op-amp circuits.
- The virtual-short concept gives V+ โ Vโ under suitable negative-feedback conditions.
- Input current is ideally zero but is small rather than zero in real devices.
- Inverting and non-inverting amplifiers are two fundamental configurations.
- Voltage followers provide buffering.
- Op-amps can implement active filters and mathematical operations.
- Slew rate limits how quickly the output can change.
- GBW limits the available closed-loop bandwidth.
- CMRR describes rejection of common-mode signals.
- Input offset voltage is important in precision circuits.
- Supply voltage, input range and output swing must be checked during design.
- Op-amps are available as single, dual and quad devices.
- Always check the datasheet before replacing an op-amp.