Skip to content

Electronics · Ch 5 — Operational Amplifiers

Op-Amp as summing amplifier

5.5

Op-Amp as summing amplifier

Op-amp as a summing amplifier

An op-amp summing amplifier produces an output equal to the sum of several input voltages. Because the op-amp is operated in the inverting mode, the output appears as the negative sum of the inputs, with each input scaled by its own gain factor. It is one of the most frequently tested linear op-amp circuits in the Karnataka 2nd PUC Electronics board exam.

In the circuit of figure 5.5.1, three input voltages V1V_1, V2V_2 and V3V_3 are applied to the inverting terminal (node A) through resistors R1R_1, R2R_2 and R3R_3. A feedback resistor RfR_f connects the output back to node A, and the non-inverting terminal (node B) is grounded.

Treating the op-amp as ideal (open-loop gain A=∞A = \infty, input impedance Zi=∞Z_i = \infty), two facts follow: the bias current into the op-amp is zero (ib=0i_b = 0), and by the virtual-ground concept VB=VA=0V_B = V_A = 0. Applying Kirchhoff's current law at node A, the total input current equals the feedback current, ii=ifi_i = i_f, i.e.

V1−VAR1+V2−VAR2+V3−VAR3=VA−VORf\dfrac{V_1 - V_A}{R_1} + \dfrac{V_2 - V_A}{R_2} + \dfrac{V_3 - V_A}{R_3} = \dfrac{V_A - V_O}{R_f}

Putting VA=0V_A = 0 gives the summing-amplifier output

VO=−Rf(V1R1+V2R2+V3R3)V_O = -R_f\left(\dfrac{V_1}{R_1} + \dfrac{V_2}{R_2} + \dfrac{V_3}{R_3}\right)

If all resistors are equal, R1=R2=R3=Rf=RR_1 = R_2 = R_3 = R_f = R, this reduces to VO=−(V1+V2+V3)V_O = -(V_1 + V_2 + V_3) — the output is simply the negative sum of the inputs, so the circuit is also called an op-amp inverting adder. By choosing the input resistors relative to RfR_f, each input can be given a different weight, which lets the same circuit realise a weighted sum such as VO=3V1−2V2+V3V_O = 3V_1 - 2V_2 + V_3.

Op-amp as a subtractor (difference amplifier)

A difference amplifier, or subtractor, gives an output proportional to the difference of two input voltages. In figure 5.5.2, V1V_1 is applied through R1R_1 to the inverting terminal (node A) and V2V_2 through R2R_2 to the non-inverting terminal (node B); R3R_3 connects node B to ground and RfR_f is the feedback resistor.

The output is found using the superposition theorem:

  • With V1V_1 alone (V2V_2 grounded) the circuit behaves as an inverting amplifier, giving VO1=−RfRiV1V_{O1} = -\dfrac{R_f}{R_i}V_1. …
Figure 1Circuit of an op-amp inverting summing amplifier (adder) with three inputs V1, V2, V3 fed through R1, R2, R3 to the inverting terminal and a feedback resistor Rf.
Fig. 1 — Circuit of an op-amp inverting summing amplifier (adder) with three inputs V1, V2, V3 fed through R1, R2, R3 to the inverting terminal and a feedback resistor Rf.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Figure 5.5.1 shows the op-amp inverting adder. Inputs V1, V2 and V3 join at the inverting terminal (node A) through R1, R2 and R3 carrying currents i1, i2, i3 (summed as i_i); the feedback resistor Rf carries current i_f from the output back to node A, and the non-inverting terminal (node B) is grounded. Supply pins are +Vcc (top) and -Vee (bottom), output Vo at right. This …

Formula 2Output voltage of the op-amp summing amplifier (inverting adder)

VO=−Rf(V1R1+V2R2+V3R3)V_O = -R_f\left(\dfrac{V_1}{R_1} + \dfrac{V_2}{R_2} + \dfrac{V_3}{R_3}\right); for equal resistors R1=R2=R3=Rf=RR_1 = R_2 = R_3 = R_f = R this reduces to VO=−(V1+V2+V3)V_O = -(V_1 + V_2 + V_3), …

Figure 3Circuit of an op-amp subtractor (difference amplifier) with V1 to the inverting terminal through R1 and V2 to the non-inverting terminal through R2, with R3 to ground and feedback resistor Rf.
Fig. 3 — Circuit of an op-amp subtractor (difference amplifier) with V1 to the inverting terminal through R1 and V2 to the non-inverting terminal through R2, with R3 to ground and feedback resistor Rf.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Figure 5.5.2 shows the op-amp difference amplifier. V1 reaches the inverting terminal (node A) through R1 (current i1) with feedback resistor Rf; V2 reaches the non-inverting terminal (node B) through R2 (current i2), and R3 connects node B to ground. Supply pins +Vcc and -Vee, output Vo. It is anal …

Formula 4Output voltage of the op-amp subtractor / difference amplifier

VO=−RfRiV1+(1+RfRi)R3R2+R3V2V_O = -\dfrac{R_f}{R_i}V_1 + \left(1 + \dfrac{R_f}{R_i}\right)\dfrac{R_3}{R_2 + R_3}V_2; for equal resistors R1=R2=R3=Rf=RR_1 = R_2 = R_3 = R_f = R this becomes VO=V2−V1V_O = V_2 - V_1. V1V_1 enters the inverting terminal through RiR_i (= R1R_1) and V2V_2 the non-inverting terminal through R2R_2, with R3R_3 to ground and …