You are currently viewing Inverting vs. non-inverting op-amp: measure the gain

Inverting vs. non-inverting op-amp: measure the gain

Leer en español

Put a sine wave into two amplifier circuits. Both give you a larger signal, but when the input rises, one output falls and the other rises with it. You can see the difference on a two-channel oscilloscope and use the traces to check the gain you calculated.

We ran both circuits in LabsLand Hive, a remote electronics lab. You load the circuit and operate the instruments in a browser. The voltage samples come back from physical lab equipment. For an introductory electronics class, this makes a short exercise in predicting gain, interpreting phase, and reading two vertical scales.

Predict the gain before you measure

Both circuits use a UA741 with a 100 kΩ feedback resistor and a 10 kΩ resistor. Check where the signal and the two resistors go. The same values give different answers in the two circuits.

  • Inverting. The input goes through the 10 kΩ resistor to the inverting terminal. The non-inverting terminal is grounded. The predicted gain is −100 kΩ ÷ 10 kΩ = −10.
  • Non-inverting. The input goes straight to the non-inverting terminal. The 10 kΩ resistor goes from the inverting terminal to ground. The predicted gain is 1 + 100 kΩ ÷ 10 kΩ = +11.

What the oscilloscope showed

We used the two 100 kΩ circuit files in the Hive op-amp documentation with their preset 1 kHz sine waves and ±15 V supply. Channel 1 (yellow) shows the input voltage. Channel 2 (cyan) shows the output. The presets use different input amplitudes, so compare the ratio within each measurement.

Hive oscilloscope with yellow input and cyan output on opposite peaks for the inverting amplifier
Inverting amplifier. A yellow crest lines up with a cyan trough. The channels use 1 V/div and 2 V/div respectively.
Hive oscilloscope with yellow input and cyan output peaking together for the non-inverting amplifier
Non-inverting amplifier. The traces peak together, and both channels use 1 V/div.
Two live Hive measurements. Voltages are peak to peak.
CircuitInputOutput
Inverting1.00 V10.03 V
Non-inverting0.49 V5.53 V

From the unrounded amplitudes, we measured voltage gains of about −10.1 and +11.2. The phase difference was about 176° for the inverting circuit and about 1° for the non-inverting circuit. We fitted the sine waves to the 500 acquired samples per channel. Hive assigned each circuit to a separate physical node, so these are two example measurements. Your results may differ slightly.

Try it with your class

  1. Download the two 100 kΩ files from the Hive circuit documentation. Open a full Hive session, choose Load and select one file. Open the oscilloscope and use Perform Measurement.
  2. Have students estimate the peak-to-peak voltage on each channel using its own volts-per-division setting. Ask them to calculate the magnitude of the gain and decide its sign from the timing of the peaks.
  3. Repeat with the second circuit. Ask where the input goes and why the non-inverting gain has the extra 1.

If you’re new to remote labs, the public Hive demo lets you make a measurement on a prepared resistor circuit. For the amplifier exercise, see the options for Hive class access.

This post is also available in Español.

Luis

Luis Rodríguez Gil is CTO of LabsLand and one of its co-founders. He has been taking part for over 8 years in remote labs research. Now he works in LabsLand to ensure that this innovative technology reaches its full potential for education.