Sub topic 5
Non-inverting amplifier gain
This chapter assumes you know voltage dividers, Kirchhoff's laws, and the virtual short from the previous chapters. Here you apply the virtual short to a second basic op amp circuit. It differs from the inverting amplifier because the signal enters the non-inverting input.
The circuit
The input voltage Vin connects directly to the non-inverting (+) input. A resistor Rf runs from the output to the inverting (−) input. A second resistor Rg runs from the inverting input to ground. Together, Rf and Rg form a voltage divider that feeds a fraction of the output back to the (−) input.
Deriving the gain
Negative feedback forces the virtual short, so the two inputs sit at the same voltage:
V− = V+ = Vin
The ideal op amp draws no input current. All of the current through Rf therefore flows through Rg, and the divider gives:
V− = Vout × Rg / (Rf + Rg)
Set V− equal to Vin and solve for Vout:
Vout = Vin × (1 + Rf / Rg)
The gain is 1 + Rf/Rg. It is positive, so the output has the same polarity as the input. It is also never below 1.
| Rf | Rg | Gain |
|---|---|---|
| 20 kΩ | 10 kΩ | 3 |
| 90 kΩ | 10 kΩ | 10 |
| 0 Ω (short) | any | 1 |
If you remove Rg (open circuit) and short Rf, the gain is exactly 1. This circuit is the voltage follower, or buffer.
Why use it
The input signal goes straight into an op amp input, which ideally draws no current. The input resistance is therefore very high. The inverting amplifier, by contrast, presents an input resistance equal to its input resistor. Use the non-inverting form when the source cannot supply current without its voltage sagging.
Checking the result numerically
This netlist models the ideal op amp as a high-gain voltage-controlled voltage source. With a 1 V input, Rf = 20 kΩ, and Rg = 10 kΩ, the output should be close to 3 V.
* Non-inverting amplifier, op amp modeled as a high-gain VCVS
Vin in 0 DC 1
Rf out inv 20k
Rg inv 0 10k
E1 out 0 in inv 100k
.op
.endThe finite gain of 100 000 pulls the result slightly below 3 V. The exact value is A/(1 + A/3) with A = 100 000, which is about 2.9999 V.
Common errors
- Dropping the "1". The gain is 1 + Rf/Rg, not Rf/Rg. With Rf = Rg the gain is 2, not 1.
- Adding a minus sign. The inverting amplifier has gain −Rf/Rin. The non-inverting amplifier does not invert.
- Expecting a gain below 1. Choosing resistors cannot make this circuit attenuate. Use a divider ahead of a buffer instead.
- Ignoring saturation. With a gain of 10 and a 5 V supply rail, a 0.8 V input asks for 8 V at the output. The output clips near the rail.
Exercise
A non-inverting amplifier uses Rf = 47 kΩ and Rg = 4.7 kΩ. What is the gain, and what is Vout for Vin = 0.5 V?
Show answer
Gain = 1 + 47k/4.7k = 1 + 10 = 11. Vout = 11 × 0.5 V = 5.5 V, assuming the supply rails allow that output.
Exercise
You need a gain of 6 and have a 10 kΩ resistor for Rg. What should Rf be?
Show answer
1 + Rf/10k = 6, so Rf/10k = 5 and Rf = 50 kΩ.