← ME-4 · OP-AMPS

Summers and integrators

YOU WILL BE ABLE TO
  • Analyse a summing amplifier with several inputs.
  • Explain why the virtual ground makes summing possible.
  • Derive the integrator's output relationship.
  • Recognise the differentiator and the practical limits of both.

The virtual ground does more than set a gain — it isolates. Because the inverting node is held at zero volts no matter what happens elsewhere, several input currents can arrive at it without interacting at all. Each source sees a zero-volt node through its own resistor and neither knows nor cares about the others. That independence is what makes the summing amplifier work, and it has no passive equivalent.

v1R1v2R2v3R3Rf−+U1vout
The summing amplifier: three currents meet at a virtual ground and leave through one feedback resistor.

Apply KCL at the virtual ground — CA-3's law, at a node the op-amp is holding at zero. Each input contributes vn/Rnv_n/R_n, and their sum must leave through RfR_f:

vout=−Rf(v1R1+v2R2+v3R3)v_{out} = -R_f\left(\frac{v_1}{R_1} + \frac{v_2}{R_2} + \frac{v_3}{R_3}\right)summing amplifier

Choose all the input resistors equal and you get a scaled sum — an averager, if you also set RfR_f to R/nR/n. Choose them differently and you get a weighted sum, with each channel's weight set by its own resistor. That is a mixing desk's fader, a digital-to-analogue converter's binary ladder, and the summing junction of every analogue control loop, all from one node held at zero volts.

Now replace the feedback resistor with a capacitor. The virtual ground still forces the input current to be vin/Rv_{in}/R, and rule 2 still sends all of it into the capacitor — but a capacitor's voltage is the integral of its current (CA-5 L1), so the output becomes the running integral of the input.

vinRC−+U1vout
The integrator: constant input current into the feedback capacitor makes a linear ramp out.
vout=−1RC∫vin dtv_{out} = -\frac{1}{RC}\int v_{in}\, dtthe integrator
WORKED EXAMPLE

A weighted summer

  1. Design vout=−(2v1+v2)v_{out} = -(2v_1 + v_2) using Rf=20R_f = 20 kΩ.
  2. Channel 1 needs weight 22: Rf/R1=2⇒R1=10R_f/R_1 = 2 \Rightarrow R_1 = 10 kΩ.
  3. Channel 2 needs weight 11: R2=20R_2 = 20 kΩ.
  4. Check with v1=0.5v_1 = 0.5 V and v2=1.0v_2 = 1.0 V: vout=−(2×0.5+1.0)=−2.0v_{out} = -(2 \times 0.5 + 1.0) = -2.0 V.
R1=10R_1 = 10 kΩ, R2=20R_2 = 20 kΩ
WORKED EXAMPLE

The integrator as a ramp generator

  1. An integrator with R=100R = 100 kΩ and C=1C = 1 µF has RC=0.1RC = 0.1 s.
  2. Apply a constant vin=−1v_{in} = -1 V. Then vout=−(1/0.1)∫(−1)dt=+10tv_{out} = -(1/0.1)\int(-1)dt = +10t volts.
  3. The output ramps upward at 1010 V/s — reaching 1010 V in one second, at which point it hits the rail and stops being an integrator.
  4. That linear ramp from a constant input is the mathematical signature of integration, and it is how sawtooth and triangle generators work.
A +10+10 V/s ramp, until the output saturates

PRACTICE

Q1

A summing amplifier has Rf=30R_f = 30 kΩ with inputs through R1=10R_1 = 10 kΩ and R2=30R_2 = 30 kΩ. Find voutv_{out} when v1=0.2v_1 = 0.2 V and v2=0.9v_2 = 0.9 V.

Q2

Design a three-input averager: vout=−(v1+v2+v3)/3v_{out} = -(v_1 + v_2 + v_3)/3, using 1010 kΩ input resistors.

Q3

An integrator has R=10R = 10 kΩ and C=100C = 100 nF. A constant +2+2 V is applied. How fast does the output move, and in which direction?

Q4

Explain why a summing amplifier's channels don't interact, and why you could not build the same circuit from resistors alone.

Summers and integrators · ME-4 · iLearnSTEM Electronics