How Does an Operational Amplifier Work?

Introduction

An operational amplifier, often called an op-amp, is an electronic component that makes small differences in voltage easier to use. It has two inputs and one output. By itself, it can respond very strongly to the difference between its inputs, but in most circuits a portion of the output is fed back to control the result. This feedback lets an op-amp amplify signals and perform other useful tasks predictably.

What Is an Operational Amplifier?

An operational amplifier is an integrated circuit designed to amplify the voltage difference between two input terminals. Its two inputs are called the non-inverting input, marked with a plus sign, and the inverting input, marked with a minus sign. The output voltage depends on which input is higher and by how much.

The name comes from the component’s early use in circuits that performed mathematical operations, such as addition and integration. Today, op-amps appear in many kinds of electronic equipment, including audio devices, sensors, measuring instruments, and control systems.

An op-amp needs electrical power to operate. Its power-supply connections are often shown separately from its signal inputs and output in simplified circuit diagrams. The supply may use positive and negative voltages, or, in some designs, a single supply with a reference voltage that serves as a midpoint for signals.

How the Inputs Control the Output

In a simplified model, an op-amp compares the voltage at its two inputs and produces an output related to their difference. If the non-inverting input is slightly higher than the inverting input, the output tends to move in a positive direction. If the inverting input is higher, the output tends to move in a negative direction.

The basic relationship is often written as Vout = A(V+ − V−). Here, Vout is the output voltage, V+ and V− are the input voltages, and A is the op-amp’s open-loop gain. “Open loop” means that no part of the output is being fed back to an input.

In many op-amps, open-loop gain is very large. As a result, even a small difference between the inputs can drive the output close to one of its voltage limits. The output cannot rise above its positive supply or fall below its negative supply, and in practice it may not reach either supply exactly. These limits are called output saturation.

This high gain is useful, but it also means that an op-amp used without feedback often behaves more like a decision-making circuit than a controlled amplifier. A small input difference can send the output rapidly toward one limit or the other. Feedback is what makes the component’s behavior more manageable in many everyday circuits.

Negative Feedback: The Key to Predictable Operation

Negative feedback occurs when part of the output is returned to the input in a way that opposes the original difference between the inputs. If the output rises too far, the returned signal tends to reduce the input difference that caused the rise. If the output falls, the feedback tends to correct in the other direction.

Imagine an op-amp whose output is connected back to its inverting input through a network of components. A signal applied to the non-inverting input makes the output begin to change. That change also alters the voltage at the inverting input. The op-amp continues adjusting its output until the difference between its inputs is very small, provided it is operating within its limits and the feedback arrangement is stable.

This leads to a useful approximation: in a working negative-feedback circuit, the two input voltages are often nearly equal. This is sometimes called a virtual short. It is not a physical connection between the input terminals, and it does not mean that current freely flows from one input to the other. It is a result of the op-amp adjusting its output through feedback.

The approximation is not universal. It works when the feedback is negative, the op-amp is not saturated, and the circuit is operating within its bandwidth and other limits. It should not be applied blindly to circuits with positive feedback, disconnected feedback, or an output that has reached a supply limit.

Two Common Amplifier Circuits

Non-Inverting Amplifier

In a non-inverting amplifier, the input signal goes to the plus terminal. A resistor network sends a portion of the output back to the minus terminal. The output has the same polarity as the input: when the input signal rises, the output rises as well.

For an idealized circuit with two resistors, the voltage gain is commonly expressed as 1 + Rf/Rg. Here, Rf is the resistor from the output to the inverting input, and Rg connects the inverting input to the circuit’s reference point. If the resistor values produce a gain of five, for example, a small input signal may produce an output about five times as large, as long as the output remains within its usable range.

The non-inverting arrangement has high input impedance, meaning it draws relatively little current from the signal source. This can be useful when the source is a sensor or another circuit that should not be heavily loaded.

Inverting Amplifier

In an inverting amplifier, the signal reaches the minus terminal through an input resistor, while the plus terminal is connected to a reference voltage. A feedback resistor runs from the output to the minus terminal. The output signal is inverted: a positive-going input change produces a negative-going output change relative to the reference.

In the idealized case, the gain is −Rf/Rin. The minus sign indicates this reversal of polarity, while the resistor ratio sets the gain’s magnitude. For instance, if the feedback resistor is twice the input resistor, the output change is ideally twice as large in the opposite direction.

The point where the input resistor, feedback resistor, and op-amp input meet is often called a summing point. Under negative feedback, it can sit near the reference voltage even though it is not physically connected to that reference. This virtual reference helps explain how the resistor ratio, rather than the op-amp’s very large open-loop gain, determines the circuit’s behavior.

What Happens Inside an Op-Amp?

An op-amp is usually built from many electronic components within a single integrated circuit. Its internal stages work together to sense the input difference, increase the resulting signal, and drive the output. The exact design varies between models, but a simplified view includes an input stage, one or more gain stages, and an output stage.

The input stage is designed to compare the two input voltages while drawing little current from the sources. The gain stages increase the signal internally. The output stage provides a useful connection to an external circuit, within limits set by the device and its power supply. Internal circuitry may also help set operating conditions and protect the component.

This internal structure explains why an op-amp is more than a simple collection of resistors. Its output depends on power, device design, frequency, temperature, and the loads attached to it. Circuit calculations often start with an ideal model, then account for these practical characteristics when greater accuracy is needed.

Important Real-World Limits

Input impedance: A real op-amp draws a small amount of current at its inputs. The amount depends on the device. In many circuits it is small enough to ignore at first, but it can affect measurements involving very high resistances or weak signal sources.

Output range: The output has voltage limits set by the power supply and the op-amp’s design. A circuit that asks for a voltage outside this range cannot produce it; the output instead approaches a limit and the intended relationship between input and output breaks down.

Output current: An op-amp can supply or absorb only a limited amount of current. If the connected load demands more, the output voltage may not behave as expected, and the device may be stressed. Op-amps are generally used to process signals, not as unrestricted power sources.

Bandwidth and slew rate: An op-amp cannot respond equally well at every frequency. Its gain usually decreases at higher frequencies. Its output also has a maximum rate of change, called the slew rate. A fast, large signal change may therefore be reproduced with distortion or reduced amplitude.

Offset and noise: Even when the two input voltages are intended to be equal, a real op-amp may show a small output error because of input offset voltage, noise, and other non-ideal effects. These details matter in precise measurement circuits, though they may be unimportant in simpler applications.

Stability: Feedback must be arranged so that the circuit settles instead of producing unwanted oscillations. Op-amps are designed with stability considerations in mind, but circuit layout, component choices, load capacitance, and the specific device can affect the result.

Op-Amps Used Without Negative Feedback

An op-amp can also be used without the negative-feedback arrangement found in common amplifiers. In this case, its high gain makes it useful for comparing two voltages. A comparator produces an output that indicates which input is higher, often moving toward one output level or another.

Some op-amp circuits use positive feedback, which reinforces a change rather than opposing it. A comparator with positive feedback can have two different switching thresholds, a behavior known as hysteresis. This can help prevent a noisy or slowly changing input from making the output switch repeatedly near a single threshold. Dedicated comparator components are often preferred when fast or precise switching is required, because ordinary op-amps are not designed for every comparator task.

Where Operational Amplifiers Are Used

Op-amps are found in circuits that need to amplify, compare, filter, or condition signals. A sensor, for example, may produce a small voltage change that is difficult for later circuitry to use. An op-amp circuit can increase that signal or adjust its relationship to a reference.

In audio equipment, op-amps can amplify or filter electrical representations of sound. In measuring instruments, they can help buffer a signal so that the measurement circuit has less effect on the source. In signal-processing circuits, combinations of op-amps and resistors or capacitors can create filters that emphasize or reduce selected frequency ranges.

Op-amps can also perform mathematical relationships in analog circuits. With suitable components and feedback, a circuit can approximate operations such as summing signals or integrating a changing voltage over time. These functions are useful in particular designs, although digital systems perform many such tasks in other ways.

Conclusion

An operational amplifier senses the difference between two input voltages and uses its powered output to respond to that difference. Negative feedback makes this response predictable, allowing resistor and component networks to set useful gains and signal behaviors. Real op-amps have limits in voltage, current, speed, and precision, but within those limits they are versatile building blocks for amplifying, comparing, filtering, and conditioning signals.