The Transfer Function of the Non-Inverting Summing Amplifier with “N” Input Signals

by Adrian S. Nastase


In a previous article, How to Derive the Summing Amplifier Transfer Function, I deduced the formula for the non-inverting summing amplifier with two signals in its input.  But what if we have 3, 4 or an n number of signals?  Can we add them all with one amplifier?

Theoretically, yes.  Practically, it is a different story.  There is a practical limit on how many signals can be summed up with one amplifier.  When the number of input signals grows, each signal component in the sum decreases in value. By the end of this article you will understand why.

summing_amplifier_1

Figure 1

We already saw that, for a summing amplifier with two input signals (Figure 1), the transfer function is

image002 (1)

If we need to add 3 signals, the circuit schematic looks like the one in Figure 2.  What is the transfer function of this summing amplifier with 3 inputs?

summing_amplifier_2

Figure 2

Using the Superposition Theorem, we will first leave just V1 in this circuit.  V2 and V3 are made zero, by connecting R2 and R3 to ground (Figure 3).

summing_amplifier_3

Figure 3

For an ideal Op Amp, we can consider that the input current in the non-inverting input is zero.  With this assumption in mind, resistors R1, R2 and R3 make a voltage attenuator, with R2 and R3 in parallel.  Therefore Vp is

image005 (2)

where with R2 || R3 I noted the parallel value of R2 and R3.

With just the input source V1, the Op Amp output is noted with Vout1 and can be written as

image006 (3)

or, after replacing Vp with expression (2),


image007
(4)

Similarly, we can write Vout2 and Vout3 when the only input signals are V2 and V3 respectively.

image008 (5)
image009 (6)

Adding equations (4), (5), and (6) as the Superposition Theorem says, the transfer function of a non-inverting summing amplifier with 3 input signals becomes:


image010
(7)

Now, I have to replace the parallel symbol || with the actual mathematical expression.  For simplicity (at least this is how it looks to me), I will use the power of negative one rather than fractions.  Therefore Vout is


image011
(8)

What about a summing amplifier with 4 inputs or with 5?  Better, let’s derive the summing amplifier transfer function for n inputs (Figure 4).  That way, one can use this formula in a simulation program or a math program like Mathcad to determine the output level for a certain pattern of signals in the amplifier input.

I will use equation (8) to derive the transfer function for n inputs.  Equation (8) can be written in a more convenient way, more compact, so that the n inputs will become evident.

summing_amplifier_4

Figure 4

We can see that, in the first term, V1 multiplies a fraction that can be written as in (9).

image0131 (9)

where k counts the number of input resistors.

With this notation, the transfer function of the summing amplifier with 3 inputs becomes

image014 (10)

or, simplified,

image015 (11)

and where j counts the number of signals.

Equation (11) can be easily expended to n input signals. All we have to do now is to replace the number 3 with n.

Therefore, the transfer function of the summing amplifier with n input signals becomes:

image016 (12)

Q. E. D.

>>>  <<<

It is easy to see that, as the number of input signals increases, the parentheses’ value decreases (they are at the power of negative one), so the fraction decreases.  As a consequence, as the number of input signals increases, each sum component decreases.  The input signals’ weight in the sum can become very small and approach the noise floor in the system.  As we will see in a future article, the inverting summing amplifier is better fit for a large number of input signals.

Still, deriving the summing amplifier transfer function with n inputs is fun, isn’t it?




Tags: , , , , , , , ,
Categories: Analog Design, Operational Amplifier Formulas, Summing Amplifier, Superposition Theorem

12 Comments to “The Transfer Function of the Non-Inverting Summing Amplifier with “N” Input Signals”

  1. najit says:

    oh man. and fun it is. took me awhile but i finally got it. thanks for this great article.

  2. mattjpm says:

    Very interesting the proof of this transfer function. A summing amplifier with multiple input signals can be useful in many applications. You can create an Excel spreadsheet and plug in voltage levels and play with the resistors values until you get it right.

    Thanks for a job well done.

    Matt

  3. Anon says:

    If you have n input signals in the summing amplifier, what happens with the resistive imbalance between the 2 inputs of the op amp? How do you match the input resistance for each input? And is it necessary?

  4. Yes, you need to match the total value of the resistors in the non-inverting input with those in the inverting input. The input bias currents will generate a voltage drop on these resistors. If the total resistor values are not equal, the voltage drop will generate an offset error, which will be multiplied by the total gain of the amplifier.

    For the summing amplifier with n input signals you need to make sure that

    R1 || R2 || … || Rn = Rf1 || Rf2.

    Easier said than done, but doable. At minimum, try to bring them as close as possible, or use an Op Amp with low input currents.

  5. Matt O'D says:

    Adrian,

    Glad I stopped by today. Thanks for letting me know about your blog. I very much appreciate rigor and mathematical derivations. This to me forms an “intuitive” approach to analog design/analysis, but is probably the reason why it took me so long to finish my thesis (!).

    Instead of building a summing amplifier we just bought a multiplexed DMM/DAQ unit from Keithley, and I might end up connecting each probe to a separate channel and averaging the individual readings. My experience with analog or digital electronics is it helps to have a tech around to build the stuff.

    Cheers. Excellent website!
    Matt O’D

  6. andrew says:

    Thank you very much for this article! greatly improved my understanding. Very detailed explanation and diagrams. Thanks again :)

  7. Juma says:

    What a nice website!
    Thank you very much for this all.
    It’s very very the best…

  8. visitor says:

    The detailed expression of the N-input case is close to intractable. It is almost impossible to see the essential dependencies.

    However, the special case where all input resistors Ri are equal is A LOT simpler to calculate, and appears to give the result, for V1 only, Vp=V1/N. Hence, Vp=sum(Vi/N)=1/N * Sum(Vi). Effectively, the input to non-inverting summing amplifier reduces to *the average* of input signals.

    • Intractable? Maybe. As with anything involving math, for some people will be easy for some other will be difficult. Take a look at Matt’s comment above. He proposes a spreadsheet to play with values. I can also tell you that a Mathcad file will also make it easy. I wrote the N input article to have fun with it and to show people that it is possible to find a general formula. I did not find this anywhere else.

      For 2, 3, or 4 inputs this is really easy. I used this circuit many times in my career to mix signals, each one at a different amplitude level. You are right that if all resistors are equal you get the signals’ average. I described it in this article, MasteringElectronicsDesign.com: Using the Summing Amplifier as an Average Amplifier. However, this is not the only application. A more important application is creating a weight function where some inputs have more weight than others and this is what this article is about.

Leave a Comment