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.
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)
| Item | Specification |
|---|---|
| Op-amp trainer kit | IC 741 with patch sockets for inputs, output and resistors |
| Dual DC power supply | ±12 V (or ±15 V) |
| Function generator | Sine / square, 1 Vpp, 1 kHz typical |
| Oscilloscope | Two channels: CH1 input, CH2 output |
| Resistors | R1 = 10 kΩ; Rf = 10 kΩ, 22 kΩ, 47 kΩ, 100 kΩ |
| Patch cords | Banana 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 / RfAV = 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:
- Output saturation: the output cannot exceed the supply rails; with ±12 V a 741 swings to about ±10.5 V. If |AV| × Vin(peak) is larger than this, the output waveform is clipped.
- Bandwidth: the 741 has a gain-bandwidth product of about 1 MHz, so the bandwidth is roughly 1 MHz / (1 + Rf/R1). With a gain of 10 the gain starts falling above about 90 kHz.
- Slew rate: the 741 output can change at most about 0.5 V/µs, which distorts large high-frequency signals into triangles.
Circuit connections
- Connect the ±12 V supply: + to V+ (pin 7), − to V− (pin 4) and COM to the kit ground.
- Connect the function generator output to one end of R1 and the other end of R1 to the inverting input (pin 2).
- Connect Rf between the inverting input (pin 2) and the output (pin 6).
- Connect the non-inverting input (pin 3) to ground.
- 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
- Make the connections with R1 = 10 kΩ and Rf = 10 kΩ, and switch ON the power supply.
- Set the function generator to a 1 kHz sine wave of 1 Vpp.
- 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.
- Calculate the practical gain Vout / Vin and compare it with the theoretical gain −Rf/R1.
- Repeat with Rf = 22 kΩ, 47 kΩ and 100 kΩ.
- With Rf = 100 kΩ, increase the input amplitude until the output peaks flatten. Note the saturation voltage.
- 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
| Sr | Rf (kΩ) | Vout (Vpp) | Practical gain | Theoretical gain −Rf/R1 |
|---|---|---|---|---|
| 1 | 10 | 1 | −1.0 | −1.0 |
| 2 | 22 | 2.2 | −2.2 | −2.2 |
| 3 | 47 | 4.7 | −4.7 | −4.7 |
| 4 | 100 | 9.95 | −9.95 | −10 |
| Sr | Vin (Vpp) | Expected Vout (Vpp) | Observed Vout (Vpp) | Remark |
|---|---|---|---|---|
| 1 | 1 | 10 | 10 | Linear |
| 2 | 2 | 20 | 20 | Linear (just below the limit) |
| 3 | 3 | 30 | 21 | Clipped 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
- Connect the dual supply with the correct polarity before applying the input signal.
- Ground the non-inverting input; do not leave it floating.
- Keep the input small enough that the output does not saturate when measuring gain.
- Connect all grounds (supply COM, function generator and oscilloscope) together.
- Use the same oscilloscope coupling (DC) and correct V/div on both channels when comparing amplitudes.
Applications
- Signal amplification with a precise, resistor-set gain
- Phase inverter (gain −1)
- Summing amplifier and audio mixer
- Current-to-voltage converter (transimpedance amplifier)
- Active filters, integrators and differentiators
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.