Ugenz Academy/IoT Tutorial

Operational Amplifiers

11 min read2,024 words

Reading progress

Keep learning

Operational Amplifiers (Op-Amps)

1. What Is an Operational Amplifier?

An operational amplifier (op-amp) is an electronic device that amplifies the voltage difference between two input terminals.

It is commonly used in signal amplification, voltage comparison, filtering, sensor circuits, and mathematical operations such as addition and subtraction.

An op-amp typically has five important connections:

  • Non-inverting input (+): The input voltage applied here tends to make the output increase.
  • Inverting input (−): The input voltage applied here tends to make the output decrease.
  • Output: Provides the resulting output voltage.
  • Positive power supply (V_+V\_+): Supplies power to the amplifier.
  • Negative power supply (V_−V\_-): Supplies the other power-supply connection. Some op-amps instead use a single supply and ground.

LM741 (UA741) Operational Amplifier - OpAmp | DIP-8 - Robot Sepeti

robotsepeti.com

Op-amps are available as integrated circuits (ICs), such as the LM741, LM358, and LM324. Different models have different voltage, current, bandwidth, and input/output characteristics.

2. Basic Symbol of an Op-Amp

An op-amp is commonly represented by a triangle with two input terminals and one output terminal.

Op-Amps | mbedded.ninja

blog.mbedded.ninja

The main terminals are:

TerminalFunction
Non-inverting input (+)Input voltage that produces a positive response
Inverting input (−)Input voltage that produces an inverted response
OutputProduces the amplified result
Positive supplyProvides power to the IC
Negative supply or groundCompletes the power-supply connections

The power-supply pins are often omitted from simplified circuit symbols, but the op-amp still needs a suitable power supply to operate.

3. Working Principle of an Op-Amp

An op-amp amplifies the difference between its two input voltages.

Its basic open-loop equation is:

V_out=A_OL(V_+−V_−)V\_{\text{out}}=A\_{OL}(V\_+-V\_-)

Where:

  • V_outV\_{\text{out}} = Output voltage
  • A_OLA\_{OL} = Open-loop voltage gain
  • V_+V\_+ = Non-inverting input voltage
  • V_−V\_- = Inverting input voltage

An op-amp has a very high open-loop gain. Consequently, even a small difference between its inputs can drive the output toward one of its voltage limits.

Example: Suppose the open-loop gain is 100,000 and the difference between the input voltages is 0.1 mV.

V_out=100000(0.0001)V\_{\text{out}}=100000(0.0001) V_out=10 VV\_{\text{out}}=10\text{ V}

This is the theoretical result. The actual output is limited by the power-supply voltages and the output characteristics of the specific op-amp.

Most practical op-amp circuits use negative feedback to control the gain and produce a predictable output.

4. What Is Negative Feedback?

Negative feedback occurs when a portion of the output signal is returned to the inverting input in a way that opposes changes in the output.

It is one of the most important concepts in op-amp circuits.

Negative Feedback, Part 1: General Structure and Essential Concepts - Technical Articles

allaboutcircuits.com

Negative feedback helps:

  • Set a predictable voltage gain.
  • Improve linearity.
  • Reduce distortion.
  • Make the circuit less sensitive to variations in the op-amp's internal gain.
  • Control the relationship between input and output voltages.

When an op-amp operates with effective negative feedback and is not saturated, its input voltages are often approximately equal:

V_+≈V_−V\_+\approx V\_-

This is called the virtual short concept. It does not mean the two inputs are physically connected, nor does it mean significant current flows between them.

For an ideal op-amp, the input currents are approximately zero:

I_+≈I_−≈0I\_+\approx I\_-\approx0

These approximations are useful for analyzing many basic op-amp circuits.

5. Types of Op-Amp Circuits

Operational amplifiers can be configured in several ways, depending on the required function.

AcaDraw - AI Science Drawing Tool | Create Scientific Illustrations in Seconds

1. Non-Inverting Amplifier

Amplifies an input voltage without reversing its polarity. Its voltage gain is set by the feedback resistor network.

Scheme It | Inverting Op Amp | DigiKey

2. Inverting Amplifier

Amplifies the input while reversing its polarity. Its gain depends on the input and feedback resistors.

Basic Circuit Diagrams Solution | ConceptDraw.com

3. Comparator

Compares two input voltages and drives the output toward a high or low level according to which input is greater. Dedicated comparator ICs are often preferable for switching applications.

6. Inverting Amplifier

An inverting amplifier is an op-amp circuit in which the input signal is applied through a resistor to the inverting input. The non-inverting input is connected to a reference voltage, commonly ground.

A feedback resistor connects the output to the inverting input.

Inverting Op-Amp and the Concept of Virtual Ground - ALL ABOUT ELECTRONICS

allaboutelectronics.org

Working Principle

  1. The input voltage is applied through the input resistor R_inR\_{in}.
  2. Negative feedback keeps the inverting input approximately at the same voltage as the non-inverting input while the amplifier operates linearly.
  3. The op-amp adjusts its output to maintain this condition.
  4. The output has the opposite polarity to the input.

Voltage Gain Formula

AV=−RfR_inA_V=-\frac{R_f}{R\_{in}}

Where:

  • AVA_V = Voltage gain
  • RfR_f = Feedback resistance
  • R_inR\_{in} = Input resistance

The minus sign indicates a 180-degree phase inversion for a sinusoidal input within the circuit's operating bandwidth.

Example:

Suppose:

  • Rf=100,kΩR_f=100\\,k\Omega
  • R_in=10,kΩR\_{in}=10\\,k\Omega
  • V_in=0.2 VV\_{in}=0.2\text{ V}

The voltage gain is:

AV=−10010=−10A_V=-\frac{100}{10}=-10

Therefore:

V_out=−10(0.2)V\_{out}=-10(0.2) V_out=−2 V\boxed{V\_{out}=-2\text{ V}}

This result assumes the op-amp has sufficient supply voltage and output capability to produce −2 V.

7. Non-Inverting Amplifier

A non-inverting amplifier receives its input signal at the non-inverting (+) terminal. A feedback resistor network connects the output to the inverting terminal.

Basic Circuit Diagrams Solution | ConceptDraw.com

conceptdraw.com

Working Principle

  1. The input signal is applied to the non-inverting terminal.
  2. A portion of the output voltage is fed back to the inverting terminal.
  3. Negative feedback causes the amplifier to adjust the output.
  4. The output follows the input polarity while increasing its magnitude.

Voltage Gain Formula

AV=1+RfR1A_V=1+\frac{R_f}{R_1}

Where:

  • RfR_f = Feedback resistor
  • R1R_1 = Resistor from the inverting input to the reference voltage

Example:

Suppose:

  • Rf=40,kΩR_f=40\\,k\Omega
  • R1=10,kΩR_1=10\\,k\Omega
  • V_in=0.5 VV\_{in}=0.5\text{ V}

Then:

AV=1+4010=5A_V=1+\frac{40}{10}=5

The output is:

V_out=5(0.5)V\_{out}=5(0.5) V_out=2.5 V\boxed{V\_{out}=2.5\text{ V}}

This is the ideal output, assuming the op-amp can operate linearly at that voltage.

8. Difference Between Inverting and Non-Inverting Amplifiers

FeatureInvertingNon-Inverting
Input terminalInverting (−)Non-inverting (+)
Output polarityReversedSame as input
Gain formula−Rf/R_in-R_f/R\_{in}1+Rf/R11+R_f/R_1
Minimum ideal gain magnitudeCan be less than 11
Input impedanceApproximately determined by the input networkGenerally high
Common applicationSignal inversion and summingVoltage amplification and buffering

9. Voltage Follower (Buffer)

A voltage follower is a non-inverting op-amp circuit in which the output is connected directly to the inverting input.

电压跟随器的特点和性能 - 电子发烧友网

elecfans.com

Its ideal voltage gain is:

AV=1A_V=1

Therefore:

V_out≈V_inV\_{out}\approx V\_{in}

Although the output voltage is approximately equal to the input voltage, the buffer provides high input impedance and relatively low output impedance.

Why Is It Used?

A voltage follower helps prevent a load from significantly affecting a sensitive signal source.

For example, it can isolate a sensor output from a circuit that would otherwise draw too much current from the sensor.

The actual input and output impedance depend on the op-amp and its operating conditions.

10. Op-Amp as a Comparator

A comparator determines which of two input voltages is higher.

onsemi Community

community.onsemi.com

Working Principle

  • If V_+>V_−V\_+>V\_-, the output tends toward its high state.
  • If V_+\<V_−V\_+\<V\_-, the output tends toward its low state.

The exact output levels depend on the supply voltage, device design, and output stage.

Example: Light Detection

Suppose a sensor produces a voltage that changes with light intensity. A reference voltage is applied to the other input.

When the sensor voltage crosses the reference level, the output changes state. This can be used to control an indicator or another circuit.

For reliable switching, a dedicated comparator is often preferred. Adding hysteresis can prevent rapid output changes when the input is close to the switching threshold.

11. Summing Amplifier

A summing amplifier combines two or more input voltages into a single output voltage.

A common implementation is an inverting summing amplifier.

Basic Components - Operational Amplifier - Power's Wiki

wiki-power.com

For an ideal inverting summing amplifier:

V_out=−Rf(V1R1+V2R2)V\_{out}=-R_f\left( \frac{V_1}{R_1}+ \frac{V_2}{R_2} \right)

For equal input resistors R1=R2=RR_1=R_2=R:

V_out=−RfR(V1+V2)V\_{out}=-\frac{R_f}{R}(V_1+V_2)

Example: If Rf=RR_f=R, V1=1 VV_1=1\text{ V}, and V2=2 VV_2=2\text{ V}:

V_out=−(1+2)V\_{out}=-(1+2) V_out=−3 V\boxed{V\_{out}=-3\text{ V}}

The op-amp must have enough supply voltage to produce this output without saturation.

Summing amplifiers are used in audio mixing, analog computing, and signal-processing circuits.

12. Important Characteristics of Op-Amps

ParameterMeaning
Open-loop gainGain without feedback
Input impedanceOpposition to current drawn from the input source
Output impedanceEffective impedance at the output
Input offset voltageSmall differential input voltage needed to bring the output to a specified condition
BandwidthFrequency range over which the amplifier operates with the specified response
Slew rateMaximum rate of change of the output voltage
CMRRAbility to reject signals common to both inputs
PSRRAbility to reject variations in the power-supply voltage
Output swingRange of output voltages the device can produce
Input common-mode rangeRange of input voltages over which the inputs operate correctly

Real op-amps have limitations. Their outputs cannot necessarily reach the supply rails, and their gain decreases at higher frequencies.

13. Ideal vs. Practical Op-Amps

FeatureIdeal Op-AmpPractical Op-Amp
Open-loop gainInfiniteVery high but finite
Input impedanceInfiniteHigh but finite
Output impedanceZeroLow but nonzero
BandwidthInfiniteLimited
Input currentZeroSmall but nonzero
Offset voltageZeroUsually small but nonzero
Output voltageUnlimited in the ideal modelLimited by supply and device specifications

The ideal model simplifies circuit calculations, while the datasheet provides the actual limits of a practical device.

14. Common Op-Amp ICs

LM741 UA741 Operational Amplifiers Op-Amp IC Integrated Circuit - Rytronics.in

LM741

A classic general-purpose op-amp often used to explain basic analog circuits. It generally requires suitable dual power supplies and is not ideal for many modern low-voltage applications.

Kit 250 peças - Circuito Integrado Amplificador Operacional LM358N DIP-8 PTH (ST) - Original Circuitos Integrados Achei Componentes Eletrônicos - Loja Virtual Circuitos Integrados

LM358

A dual op-amp commonly used in low-frequency analog circuits and single-supply applications. Its input and output ranges still have specific limitations.

Texas Instruments LM324N Linear IC Quad Op Amp DIP14 | Rapid Electronics

LM324

Contains four op-amps in a single package and is useful when multiple analog amplifier stages are needed.

Always check the datasheet for the exact IC, particularly its supply voltage, input range, output swing, and pinout.

15. Applications of Operational Amplifiers

Operational amplifiers are used in many electronic systems:

  • Sensor circuits: Amplify small voltage signals from sensors.
  • Audio electronics: Amplify and process audio signals.
  • Filters: Build active low-pass, high-pass, and band-pass filters.
  • Signal conditioning: Adjust sensor signals for ADC inputs.
  • Comparators: Compare input and reference voltages, although dedicated comparator ICs are often better for this purpose.
  • Voltage followers: Buffer signals between circuit stages.
  • Summing circuits: Combine multiple analog signals.
  • Instrumentation: Measure and amplify small differences between signals.
  • Analog computation: Perform mathematical operations such as addition, subtraction, integration, and differentiation.

In summary: An operational amplifier is a high-gain differential amplifier used in many analog circuits. Negative feedback allows it to provide controlled gain, buffer signals, and perform mathematical operations. Common configurations include inverting amplifiers, non-inverting amplifiers, voltage followers, and summing amplifiers.

Keep learning. Keep building. Keep growing.

© 2026 Ugenz Academy