Loading simulator...

Virtual lab · Analog Electronics

Op-Amp Inverting Amplifier – Virtual Lab Simulation

This op-amp virtual experiment lets you wire an inverting amplifier around an IC 741 operational amplifier, apply a signal from the function generator and compare the input and output waveforms, just as on a laboratory trainer kit. Change the feedback and input resistors to see how the voltage gain follows −Rf/R1, and drive the amplifier into saturation to see its limits.

▲ Back to the simulator

Aim

To design and study an inverting amplifier using an operational amplifier (IC 741), to verify that its voltage gain is AV = −Rf/R1 and to observe the 180° phase shift between input and output.

Apparatus (virtual)

ItemSpecification
Op-amp trainer kitIC 741 with patch sockets for inputs, output and resistors
Dual DC power supply±12 V (or ±15 V)
Function generatorSine / square, 1 Vpp, 1 kHz typical
OscilloscopeTwo channels: CH1 input, CH2 output
ResistorsR1 = 10 kΩ; Rf = 10 kΩ, 22 kΩ, 47 kΩ, 100 kΩ
Patch cordsBanana leads

Theory

An operational amplifier (op-amp) is a high-gain differential amplifier with two inputs — inverting (−) and non-inverting (+) — and one output. The IC 741 has an open-loop gain of about 2 × 105, an input resistance of about 2 MΩ and an output resistance of about 75 Ω. Because the open-loop gain is so large, op-amps are almost always used with negative feedback, which makes the gain depend only on external resistors.

In the inverting amplifier the input signal is applied to the inverting terminal through R1, the feedback resistor Rf connects the output back to the same terminal, and the non-inverting terminal is grounded. With negative feedback the op-amp keeps its two inputs at almost the same voltage. Since the + input is at 0 V, the − input is also held at 0 V — a virtual ground. Practically no current enters the op-amp input, so the current through R1 must flow through Rf:

Vin / R1 = −Vout / Rf
AV = Vout / Vin = −Rf / R1The minus sign is the 180° phase inversion: when the input goes positive, the output goes negative.

The input resistance of the inverting amplifier equals R1, because the source sees R1 connected to a virtual ground. The gain can be set to any value — less than, equal to or greater than one — by choosing the resistor ratio.

Practical limits:

Circuit connections

  1. Connect the ±12 V supply: + to V+ (pin 7), − to V− (pin 4) and COM to the kit ground.
  2. Connect the function generator output to one end of R1 and the other end of R1 to the inverting input (pin 2).
  3. Connect Rf between the inverting input (pin 2) and the output (pin 6).
  4. Connect the non-inverting input (pin 3) to ground.
  5. Connect oscilloscope CH1 to the input (generator side of R1) and CH2 to the output; connect both probe grounds and the function generator ground to the kit ground.

Procedure

  1. Make the connections with R1 = 10 kΩ and Rf = 10 kΩ, and switch ON the power supply.
  2. Set the function generator to a 1 kHz sine wave of 1 Vpp.
  3. Observe the input on CH1 and the output on CH2. Note the peak-to-peak output voltage and confirm that the output is inverted with respect to the input.
  4. Calculate the practical gain Vout / Vin and compare it with the theoretical gain −Rf/R1.
  5. Repeat with Rf = 22 kΩ, 47 kΩ and 100 kΩ.
  6. With Rf = 100 kΩ, increase the input amplitude until the output peaks flatten. Note the saturation voltage.
  7. Optionally, keep the gain at 10 and raise the frequency to observe the fall in gain and the onset of slew-rate distortion.

Observation table

Typical readings: Vin = 1 Vpp, 1 kHz sine, R1 = 10 kΩ, ±12 V supply
SrRf (kΩ)Vout (Vpp)Practical gainTheoretical gain −Rf/R1
1101−1.0−1.0
2222.2−2.2−2.2
3474.7−4.7−4.7
41009.95−9.95−10
Saturation check: Rf = 100 kΩ, R1 = 10 kΩ
SrVin (Vpp)Expected Vout (Vpp)Observed Vout (Vpp)Remark
111010Linear
222020Linear (just below the limit)
333021Clipped at ≈ ±10.5 V

Calculations

Theoretical gain for Rf = 100 kΩ, R1 = 10 kΩ: AV = −100k / 10k = −10. Practical gain = Vout / Vin = 9.95 / 1 = 9.95, with the output inverted, so AV ≈ −9.95. Percentage error = (10 − 9.95)/10 × 100 ≈ 0.5 %, caused by the finite open-loop gain and resistor tolerance.

Maximum undistorted input for gain 10 with ±10.5 V output swing: Vin(peak) = 10.5 / 10 = 1.05 V, i.e. about 2.1 Vpp.

Result

The inverting amplifier was built using IC 741. The measured gain closely matched −Rf/R1 for all resistor combinations, and the output was 180° out of phase with the input. The output saturated at about ±10.5 V with a ±12 V supply.

Precautions

Applications

Viva questions and FAQ

What is an inverting amplifier?

An op-amp circuit in which the input is applied to the inverting terminal through R1 and a feedback resistor Rf connects the output to the same terminal. The output is an amplified copy of the input, inverted by 180°, with gain −Rf/R1.

What is virtual ground?

With negative feedback the op-amp holds its two inputs at nearly the same voltage. Since the non-inverting input is grounded, the inverting input also stays at about 0 V even though it is not physically connected to ground.

Why is the gain negative?

The input drives the inverting terminal, so a positive input produces a negative output. The minus sign means a 180° phase shift between input and output.

What is the input impedance of an inverting amplifier?

Approximately R1, because the source sees R1 connected to the virtual-ground node.

Why does the output get clipped?

The output cannot go beyond the supply voltages. With ±12 V a 741 output saturates at about ±10.5 V, so if the gain times the input exceeds this, the peaks are flattened.

What are the ideal characteristics of an op-amp?

Infinite open-loop gain, infinite input impedance, zero output impedance, infinite bandwidth, infinite slew rate and zero offset voltage.

Can I perform the op-amp inverting amplifier experiment online?

Yes. This virtual lab lets you wire the IC 741 circuit, apply a signal from a function generator and measure the input and output on a two-channel oscilloscope in your browser.