← ME-4 · OP-AMPS

Inverting & non-inverting

YOU WILL BE ABLE TO
  • Derive the inverting amplifier's gain from the golden rules.
  • Derive the non-inverting amplifier's gain.
  • Compare input impedance and available gain ranges.
  • Recognise the follower as a limiting case.

Two configurations account for most op-amp circuits, and both derive from Lesson 1's two lines in about three steps each. Start with the inverting amplifier.

vinRinRf−+U1vout
The inverting amplifier: the − input is a virtual ground, so the input current has nowhere to go but through R_f.

The non-inverting input is grounded, so rule 1 puts the inverting input at 00 V too — a VIRTUAL GROUND: a node held at zero volts by the feedback, without being connected to ground. Then the current through RinR_{in} is vin/Rinv_{in}/R_{in}, and rule 2 says none of it enters the op-amp, so all of it continues through RfR_f to the output. Ohm's law on RfR_f finishes the job:

Av=voutvin=−RfRinA_v = \frac{v_{out}}{v_{in}} = -\frac{R_f}{R_{in}}inverting amplifier

Now move the signal to the non-inverting input and ground the bottom of the input resistor instead. The circuit is the same skeleton with the signal injected in a different place — worth noticing, because the two circuits look far more different than they are.

vin+−U1R1Rfvout
The non-inverting amplifier: same skeleton, signal moved to the + input and R_1 grounded.

Rule 1 puts the inverting input at vinv_{in}. That node sits at the top of R1R_1, whose bottom is grounded, so the current through R1R_1 is vin/R1v_{in}/R_1 — and rule 2 sends all of it through RfR_f. The output is therefore vinv_{in} plus the drop across RfR_f:

Av=1+RfR1A_v = 1 + \frac{R_f}{R_1}non-inverting amplifier
WORKED EXAMPLE

Both configurations, same parts

  1. Take Rf=100R_f = 100 kΩ and the other resistor =10= 10 kΩ.
  2. Inverting: Av=−100/10=−10A_v = -100/10 = -10. Input impedance 1010 kΩ.
  3. Non-inverting: Av=1+100/10=11A_v = 1 + 100/10 = 11. Input impedance essentially infinite.
  4. Same two resistors, gains of −10-10 and +11+11 — and note the non-inverting gain can never be brought below 11, no matter what the ratio is.
−10-10 and +11+11
WORKED EXAMPLE

Designing to a specification

  1. Required: amplify a 00–100100 mV sensor signal to 00–3.33.3 V for a Pico ADC, without inverting (the ADC cannot read negative voltages).
  2. Needed gain: 3.3/0.1=333.3/0.1 = 33. Non-inverting, since the sign must stay positive and the sensor is weak.
  3. 1+Rf/R1=33⇒Rf/R1=321 + R_f/R_1 = 33 \Rightarrow R_f/R_1 = 32. Choose R1=1R_1 = 1 kΩ, Rf=32R_f = 32 kΩ; nearest stock 3333 kΩ gives Av=34A_v = 34.
  4. Check the output range: 34×100 mV=3.434 \times 100\ \text{mV} = 3.4 V — slightly beyond the 3.33.3 V rail, so trim to Rf=30R_f = 30 kΩ for Av=31A_v = 31, giving 3.13.1 V full scale with headroom.
  5. That final check is not optional: an amplifier whose output cannot reach its computed value clips, and Lesson 4 explains what that looks like.
Non-inverting, R1=1R_1 = 1 kΩ, Rf=30R_f = 30 kΩ, Av=31A_v = 31

PRACTICE

Q1

An inverting amplifier uses Rin=4.7R_{in} = 4.7 kΩ and Rf=47R_f = 47 kΩ. Find its gain and its input impedance.

Q2

Design a non-inverting amplifier with a gain of exactly 55 using stock values.

Q3

Why can't a non-inverting amplifier have a gain of 0.50.5, and what would you use instead?

Q4

Explain what "virtual ground" means and why the inverting amplifier's input impedance equals RinR_{in} rather than something enormous.

Inverting & non-inverting · ME-4 · iLearnSTEM Electronics