Summing and difference amplifiers
AQA 7408 3.13.4.3 Summing amplifier: V out = −R f (V 1 /R 1 + V 2 /R 2 + …); difference amplifier: V out = (V + − V − ) R f / R l
Key idea
A summing amplifier is an inverting amplifier with several inputs, each connected through its own resistor to the inverting input (the summing junction, a virtual earth). Each input adds its own current V/R to the junction and the total current flows through Rf, so Vout = −Rf (V1/R1 + V2/R2 + …). Because the junction stays at 0 V, the inputs do not affect each other. With equal input resistors the output is the (inverted) sum of the inputs times Rf/R, which makes it a mixer for audio signals.
A difference amplifier subtracts one input from the other and amplifies the difference: Vout = (V+ − V−) Rf / Rl. It uses one op-amp with four resistors (two equal input resistors Rl, a feedback resistor Rf and a resistor Rf from the non-inverting input to 0 V). Signals that are common to both inputs (such as interference or a shared offset) cancel, so it is used to amplify the small difference from a sensor or bridge.

Figure 69. A two-input summing amplifier.
Read it: V1 and V2 feed the inverting input through R1 and R2. Rf feeds the output back. The inverting input is a virtual earth, so Vout = −Rf (V1/R1 + V2/R2).

Figure 70. Currents add at the virtual earth.
Read it: I1 = V1/R1 and I2 = V2/R2 meet at X. None enters the op-amp, so If = I1 + I2 and Vout = −If Rf.

Figure 71. A mixer.
Read it: Two audio signals are added by a summing amplifier. The resistors R1 and R2 set how much each channel contributes to the mixed (and inverted) output.

Figure 72. A difference amplifier.
Read it: V− is applied through Rl to the inverting input and V+ through Rl to the non-inverting input. Feedback Rf and a matching Rf to 0 V give Vout = (V+ − V−) Rf / Rl.
Calculations
Derivation: the summing amplifier
Two input voltages V1 and V2 are applied through resistors R1 and R2 to the inverting input of an op-amp that has a feedback resistor Rf and the non-inverting input at 0 V.
1. The inverting input is a virtual earth (0 V), as for the inverting amplifier.
2. The current from each source into the junction is the voltage across its resistor divided by the resistance.

3. No current enters the op-amp, so the current in Rf is the sum.

4. The voltage across Rf is If Rf and the left-hand end is at 0 V, so Vout = 0 − If Rf.

Equations: summing and difference amplifiers

| Symbol | Meaning | Unit |
|---|---|---|
| Vout | output voltage | V |
| V1, V2 | input voltages of the summing amplifier | V |
| R1, R2 | input resistors of the summing amplifier | Ω |
| Rf | feedback resistor | Ω |
| V+, V− | voltages at the two inputs of the difference amplifier | V |
| Rl | input resistors of the difference amplifier | Ω |

Figure 73. A summing calculation.
Read it: Calculate each input current, add them, and multiply by −Rf.

Figure 74. Difference amplifier outputs.
Read it: The output follows the difference V+ − V−: a positive difference gives a positive output, a negative one gives a negative output, and equal inputs give zero.
Worked example: three inputs
A summing amplifier has R1 = 5.0 kΩ, R2 = 10 kΩ, R3 = 20 kΩ and Rf = 20 kΩ. The inputs are V1 = 0.50 V, V2 = 0.20 V and V3 = 0.40 V. Calculate Vout.
Currents: I1 = 0.50 / 5.0 = 0.10 mA; I2 = 0.20 / 10 = 0.020 mA; I3 = 0.40 / 20 = 0.020 mA
Total: If = 0.10 + 0.020 + 0.020 = 0.14 mA
Output: Vout = − 0.14 mA × 20 kΩ = − 2.8 V
Worked example: difference amplifier
A difference amplifier has Rl = 5.6 kΩ and Rf = 56 kΩ. V+ = 1.65 V and V− = 1.60 V. Calculate the gain and the output voltage.
Gain: Rf / Rl = 56 / 5.6 = 10
Difference: V+ − V− = 1.65 − 1.60 = 0.05 V
Output: Vout = 10 × 0.05 = 0.50 V

Figure 75. Summary: summing and difference amplifiers.
Read it: Summing adds the input currents at a virtual earth; the difference amplifier amplifies only V+ − V−.
Practice question Spec 3.13.4.3 · A mixer 7 marks
The circuit shows a summing amplifier. R1 = 10 kΩ, R2 = 22 kΩ and Rf = 47 kΩ. The input voltages are V1 = 0.50 V and V2 = 0.30 V.

(a) State the potential at the summing junction X. [1 mark]
(b) Calculate the current from the source V1. [1 mark]
(c) Calculate the current from the source V2. [1 mark]
(d) Calculate the current in Rf. [1 mark]
(e) Calculate the output voltage. [2 marks]
(f) Explain why a change in V2 does not alter the current from V1. [1 mark]
Show Mark SchemeHide Mark Scheme
| Part | Answer | Extra information (allow / ignore) | Marks |
|---|---|---|---|
| (a) | 0 V (virtual earth) | 1 | |
| (b) | I1 = V1 / R1 = 0.50 / 10 × 103 = 5.0 × 10−5 A (0.050 mA) | 1 | |
| (c) | I2 = 0.30 / 22 × 103 = 1.4 × 10−5 A (0.0136 mA) | 1 | |
| (d) | If = 0.050 + 0.0136 = 0.064 mA (6.4 × 10−5 A) | allow ecf from (b) and (c) | 1 |
| (e) | Vout = − If Rf = − 0.0636 mA × 47 kΩ | allow ecf from (d) | 1 |
| = − 3.0 V | allow −2.99 V | 1 | |
| (f) | the summing junction is held at 0 V (virtual earth), so each current depends only on its own voltage and resistor | 1 |
Examiner’s note
Why the marks: Work in mA and kΩ so that no powers of ten are needed. In (e) the output has the opposite sign to the sum. In (f) the key idea is the virtual earth.
Key words: virtual earth, I = V / R, currents add, Vout = −If Rf, independent.
Where marks go: (a) 1. (b) 1. (c) 1. (d) 1. (e) method 1, answer 1. (f) 1.
Practice question Spec 3.13.4.3 · A difference amplifier 7 marks
The circuit shows a difference amplifier in which both input resistors Rl are 10 kΩ and both Rf resistors are 47 kΩ. The inputs are V+ = 2.50 V and V− = 2.40 V.

(a) Calculate the gain of the amplifier. [1 mark]
(b) Calculate the output voltage. [2 marks]
(c) The two input voltages are exchanged. State the new output voltage. [1 mark]
(d) Both inputs are now increased by 1.0 V. State the output voltage and explain your answer. [2 marks]
(e) State one use of a difference amplifier. [1 mark]
Show Mark SchemeHide Mark Scheme
| Part | Answer | Extra information (allow / ignore) | Marks |
|---|---|---|---|
| (a) | gain = Rf / Rl = 47 / 10 = 4.7 | 1 | |
| (b) | Vout = (V+ − V−) Rf / Rl = (2.50 − 2.40) × 4.7 | 1 | |
| = 0.47 V | 1 | ||
| (c) | − 0.47 V | allow ecf from (b) | 1 |
| (d) | 0.47 V (unchanged) | 1 | |
| the difference V+ − V− is still 0.10 V (the common change cancels) | allow ‘common-mode signals are rejected’ | 1 | |
| (e) | amplifying the small difference voltage from a sensor or a bridge, with interference or an offset removed | allow any sensible use | 1 |
Examiner’s note
Why the marks: In (b) subtract the inputs first. In (d) both inputs rise by the same amount, so the difference does not change.
Key words: Rf / Rl, V+ − V−, difference, common signals cancel, sensor, bridge.
Where marks go: (a) 1. (b) difference 1, output 1. (c) 1. (d) value 1, reason 1. (e) 1.
Quick-fire
| Topic | Question | Model answer |
|---|---|---|
| Summing | State the summing amplifier output. | Vout = −Rf (V1/R1 + V2/R2 + …). |
| Junction | What is the summing junction? | A virtual earth at 0 V. |
| Currents | How do the input currents combine? | They add and all flow through Rf. |
| Equal R | What if R1 = R2 = R? | Vout = −(Rf / R)(V1 + V2): the sum of the inputs, inverted. |
| Mixer | What is an audio mixer? | A summing amplifier with a resistor for each channel. |
| Difference | State the difference amplifier output. | Vout = (V+ − V−) Rf / Rl. |
| Common | What happens to a signal common to both inputs? | It cancels. |
| Use | Give a use for the difference amplifier. | Amplifying the small difference from a sensor bridge. |