Summing Amplifier Circuit is a Weighted Sum Voltage Adder

The Summing Amplifier Op-amp Circuit

We saw previously that both the inverting and non-inverting amplifier configurations that these amplifier circuits have a single input producing a single output. But what if we added more input resistors to the op-amps input, then we end up with another operational amplifier circuit called a Summing Amplifier.

A summing amplifier, summing inverter, or voltage adder, is another type of operational amplifier (op-amp) circuit based on the Inverting Operational Amplifier configuration that combines multiple input voltages into one single output which is proportional to the weighted sum of all the inputs.

Thus the circuit feeds two or more input signals (V1, V2, etc.) through individual input resistors (R1, R2) to the op-amps inverting input. As before, the non-inverting input is grounded (0V), while a feedback resistor (Rf) controls the amplifiers closed-loop gain as shown below.

Summing Amplifier Circuit

summing amplifier circuit

In this simple circuit, the output voltage, ( Vout ) now becomes proportional to the sum of the input voltages, V1, V2, V3, etc. So by using KCL and a bit of Ohm’s law, we can modify the original equation for the basic inverting amplifier to take account of these new extra inputs producing an expression which is the negative of the weighted sum as follows:

Summing Amplifier Derivation

summing amplifier formula

Note that if the resistive values of the input resistances are all equal in value, (R1 = R2 = R3, etc.) we can simplify the above equation to give a new output voltage equation equal too:

Summing Amplifier Equation

summing amplifier equation

We now have a basic operational amplifier circuit which can amplify each individual input voltage producing one single output voltage that is proportional to the algebraic “SUM” of the three individual input voltages V1, V2 and V3.

Note that we could also add more input resistors and therefore additional input voltages if required as each individual input only “sees” their respective resistance, Rin as their input impedance.

This is because the input signals are effectively isolated from each other by the “virtual earth” node at the inverting input of the op-amp. A direct voltage addition can also be obtained when all the resistances are of equal value and Rƒ is equal to Rin.

Note that when the summing point is connected to the inverting input of the op-amp the circuit will produce the negative sum of any number of input voltages. Likewise, when the summing point is connected to the non-inverting input of the op-amp, it will produce the positive sum of the input voltages.

The Scaling Summing Amplifier

A Scaling Summing Amplifier can be made using the same summing amplifier configuration by having the individual input resistors “NOT” equal to each other. Then the equation would have to be modified to:

scaling summing amplifier equation

To make the math’s a little easier, we can rearrange the above formula to make the feedback resistor Rƒ the subject of the equation giving the output voltage as:

Scaling Amplifier Feedback Equation

scaling amplifier feedback equation

This allows the output voltage to be easily calculated if more input resistors are connected to the amplifiers inverting input terminal. The input impedance of each individual channel is the value of their respective input resistors, R1, R2, R3 … etc.

Sometimes we may want a summing circuit to just add together two or more voltage signals without any amplification. By putting all of the resistances of the circuit above to the same value R, the op-amp will have a voltage gain of unity and an output voltage equal to the direct sum of all the input voltages as shown:

Unity Gain Summing Amplifier

unity gain summing amplifier

Then we can see that the Summing Amplifier is a very flexible circuit indeed, enabling us to effectively “Add” or “Sum” (hence its name) together several individual input signals.

If the inputs resistors, R1, R2, R3, etc. are all made equal in value it would produce a “unity gain inverting adder”. However, if the input resistors are of different values a “scaling summing amplifier” is produced which will output a weighted sum of the input signals.

Summing Amplifier Worked Example No1

Find the output voltage of the following Summing Amplifier circuit.

The Basic Summing Amplifier Circuit

summing op-amp circuit

Using the previously found formula for the gain of the circuit:

inverting op-amp gain

We can now substitute the values of the resistors in the circuit as follows:

summing amplifier input gain

We know that the output voltage is the sum of the two amplified input signals and is calculated as:

summing amplifier output voltage

Then the output voltage of the Summing Amplifier circuit above is given as -45 mV and is negative as its an inverting amplifier.

Non-inverting Summing Amplifier

But as well as constructing inverting summing amplifiers, we can also use the non-inverting input of the operational amplifier to produce a non-inverting summing amplifier.

We have seen above that an inverting summing amplifier produces the negative sum of its input voltages then it follows that the non-inverting summing amplifier configuration will produce the positive sum of its input voltages.

As its name implies, the non-inverting summing amplifier is based around the configuration of a non-inverting operational amplifier circuit in that the input (either AC or DC) is applied to the non-inverting (+) terminal, while the required negative feedback and gain is achieved by feeding back some portion of the output signal (VOUT) to the inverting (-) terminal as shown.

Non-inverting Summing Amplifier

non-inverting summing amplifier

So what’s the advantage of the non-inverting configuration compared to the inverting summing amplifier configuration. Besides the most obvious fact that the op-amps output voltage VOUT is “in-phase” with its input, and the output voltage is the weighted sum of all its inputs which themselves are determined by their resistance ratios.

The biggest advantage of the non-inverting summing amplifier is that because there is no virtual earth condition across the input terminals, its input impedance is much higher than that of the standard inverting amplifier configuration.

Also, the input summing part of the circuit is unaffected if the op-amps closed-loop voltage gain is changed. However, there is more maths involved in selecting the weighted gains for each individual input at the summing junction especially if there are more than two inputs each with a different weighting factor. Nevertheless, if all the inputs have the same resistive values, then the maths involved will be a lot less.

If the closed-loop gain of the non-inverting operational amplifier is made equal the number of summing inputs, then the op-amps output voltage will be exactly equal to the sum of all the input voltages. That is for a two input non-inverting summing amplifier, the op-amps gain is equal to 2, for a three input summing amplifier the op-amps gain is 3, and so on.

This is because the currents which flow in each input resistor is a function of the voltage at all its inputs. If the input resistances made all equal, (R1 = R2) then the circulating currents cancel out as they can not flow into the high impedance non-inverting input of the op-amp and the output voltage becomes the sum of its inputs.

So for a 2-input non-inverting summing amplifier the currents flowing into the input terminals can be defined as:

non-inverting currents

If we make the two input resistances equal in value, then R1 = R2 = R.

equal resistances

The standard equation for the voltage gain of a non-inverting summing amplifier circuit is given as:

non-inverting summing amplifier voltage gain

The non-inverting amplifiers closed-loop voltage gain AV is given as: 1 + RA/RB. If we make this closed-loop voltage gain equal to 2 by making RA = RB, then the output voltage VO becomes equal to the sum of all the input voltages as shown.

Non-inverting Output Voltage

non-inverting output voltage

Thus for a 3-input non-inverting summing amplifier configuration, setting the closed-loop voltage gain to 3 will make VOUT equal to the sum of the three input voltages, V1, V2 and V3.

Likewise, for a four input summer, the closed-loop voltage gain would be 4, and 5 for a 5-input summer, and so on. Note also that if the amplifier of the summing circuit is connected as a unity follower with RA equal to zero and RB equal to infinity, then with no voltage gain the output voltage VOUT will be exactly equal the average value of all the input voltages. That is VOUT = (V1 + V2)/2.

Summing Amplifier Applications

So what can we use summing amplifiers for, either inverting or non-inverting. If the input resistances of a summing amplifier are connected to potentiometers the individual input signals can be mixed together by varying amounts blending them into one output.

For example, measuring temperature, you could add a negative offset voltage to make the output voltage or display read “0” at the freezing point or produce an audio mixer for adding or mixing together individual waveforms (sounds) from different source channels (vocals, instruments, etc) before sending them combined to an audio amplifier.

Simple Audio Mixer Circuit

audio mixer circuit

Another useful and simple application of a Summing Amplifier is as a weighted sum digital-to-analogue converter, (DAC). If the input resistors, RIN of the summing amplifier double in value for each input, for example, 1kΩ, 2kΩ, 4kΩ, 8kΩ, 16kΩ, etc.

Then a digital logical voltage, either a logic level “0” or a logic level “1” on these inputs will produce an output which is the weighted sum of the digital inputs. Consider the circuit below.

Digital to Analogue Converter (DAC)

digital to analogue converter

Of course this is a simple example. In this DAC summing amplifier circuit, the number of individual bits that make up the input data word, and in this example 4-bits, will ultimately determine the output step voltage as a percentage of the full-scale analogue output voltage.

Also, the accuracy of this full-scale analogue output depends on voltage levels of the input bits being consistently 0V for “0” and consistently 5V for “1” as well as the accuracy of the resistance values used for the input resistors, RIN.

Fortunately to overcome these errors, at least on our part, commercially available Digital-to Analogue and Analogue-to Digital devices are readily available with highly accurate R-2R resistive network already built-in.

Tutorial Summary

We have seen here that the summing amplifier is an operational amplifier (op-amp) circuit that combines two or more input signals (AC or DC) into one single output, producing an inverted weighted sum of the input signals.

The value of each input resistor determines how much each input contributes to the weighted sum. As with the standard inverting amplifier configuration, the non-inverting input is grounded (0V) with feedback resistor Rf forcing the inverting input to also be at virtual ground.

In the next tutorial about operational amplifiers, we will examine the effect of the output voltage, Vout when a signal voltage is connected to the inverting input and the non-inverting input at the same time. This produces another common type of operational amplifier circuit called a Differential Amplifier which can be used to “subtract” the voltages present on its inputs.