Circuit Theory 1 · Operational Amplifiers

#34 Operational Amplifiers #34 — Summing amplifier and unity follower

Explains the unity follower as a buffer, derives the weighted inverting-sum equation, and solves two numerical cases.

Question

Three-input inverting summing amplifier.
Each source reaches the summing node through its own resistor, while R_f closes the feedback path.

Explain the gain and buffering role of an ideal op-amp unity follower. Derive the three-input inverting summing-amplifier equation by KCL. Solve Example 14.5(a) and (b), then interpret the equal-resistor special case and the condition for linear operation.

Written solution and narration transcript(shows the full solution)

Below are all the lines written in the notebook together with the full narration transcript.

  1. 1. Unity follower

    Unity voltage follower with direct negative feedback.
    The output is wired directly to the minus input, giving an ideal closed-loop gain of one.

    Unity voltage follower

    vo wired directly to v

    Ideal negative feedback: v≈v+

    v+=vivoviv_{+}=v_{\mathrm{i}} \Rightarrow v_{\mathrm{o}}\approx v_{\mathrm{i}}

    Av=vo/vi=1A_{\mathrm{v}}=v_{\mathrm{o}}/v_{\mathrm{i}}=1

    High Zin, low Zout

    Purpose: isolate stages without loading

    Narration transcript

    Before we dive into the summing amplifier, let's quickly look at a special case of the non-inverting amplifier. The unity follower. In this configuration, the output is connected directly back to the inverting input, with no resistors in the feedback path. This means the voltage gain is exactly one. V out equals V in. It acts as a buffer, providing high input impedance and low output impedance, which is perfect for isolating stages in a circuit.

  2. 2. Summing circuit

    Three-input inverting summing amplifier.
    Each source reaches the summing node through its own resistor, while R_f closes the feedback path.

    Inverting summing amplifier

    V1→R1, V2→R2, V3→R3

    All inputs meet at the minus node

    v+=0v0v_{+}=0 \Rightarrow v_{-}\approx 0

    Ideal input current: i=0

    Rf returns output to the summing node

    Each input receives its own weight

    Narration transcript

    Now let's look at the summing amplifier, one of the most useful op-amp circuits. Here we have three input voltages, V1, V2, and V3, each connected through its own input resistor, R1, R2, and R3, to the inverting input of the op-amp. The feedback resistor Rf connects from the output back to this same node.

  3. 3. KCL derivation

    KCL derivation of the summing-amplifier equation.
    Under the virtual-node condition, the input-current sum equals the feedback current.

    General equation from KCL

    i1=V1/R1,i2=V2/R2,i3=V3/R3i_{1}=V_{1}/R_{1}, i_{2}=V_{2}/R_{2}, i_{3}=V_{3}/R_{3}

    i1+i2+i3=ifi_{1}+i_{2}+i_{3}=i_{\mathrm{f}}

    V1/R1+V2/R2+V3/R3=Vo/RfV_{1}/R_{1}+V_{2}/R_{2}+V_{3}/R_{3}=-V_{\mathrm{o}}/R_{\mathrm{f}}

    Vo=Rf(V1/R1+V2/R2+V3/R3)V_{\mathrm{o}}=-R_{\mathrm{f}}(V_{1}/R_{1}+V_{2}/R_{2}+V_{3}/R_{3})

    Weight of input k: Rf/Rk

    Condition: negative feedback and no saturation

    Narration transcript

    Let's derive the output voltage formula using Kirchhoff's Current Law at the inverting input node. Since this is a virtual ground, the voltage here is approximately zero. The current through each input resistor is simply the input voltage divided by its resistance. By KCL, the sum of input currents equals the feedback current. Rearranging, we get: V out equals negative the sum of Rf over R1 times V1, plus Rf over R2 times V2, plus Rf over R3 times V3. Notice the negative sign, this is an inverting summing amplifier.

  4. 4. Example 14.5(a)

    Example 14.5(a): a weighted sum producing minus 7 V.
    The first input is weighted by two and the other two inputs by one.

    Example 14.5(a)

    V1=1V,V2=2V,V3=3VV_{1}=1 V, V_{2}=2 V, V_{3}=3 V

    R1=500kΩ;R2=R3=Rf=1MΩR_{1}=500 k\Omega; R_{2}=R_{3}=R_{\mathrm{f}}=1 M\Omega

    Rf/R1=2,Rf/R2=Rf/R3=1R_{\mathrm{f}}/R_{1}=2, R_{\mathrm{f}}/R_{2}=R_{\mathrm{f}}/R_{3}=1

    Σw=2(1)+1(2)+1(3)=7Σ_{\mathrm{w}}=2(1)+1(2)+1(3)=7

    Vo=ΣwV_{\mathrm{o}}=-Σ_{\mathrm{w}}

    Vo=7VV_{\mathrm{o}}=-7 V

    Narration transcript

    Let's solve Example 14.5 part a. We have V1 equals plus 1 volt, V2 equals plus 2 volts, V3 equals plus 3 volts. The resistors are R1 equals 500 kilohms, R2 and R3 each equal 1 megohm, and Rf equals 1 megohm. Substituting into our formula: V out equals negative of 1000k over 500k times 1, plus 1000k over 1000k times 2, plus 1000k over 1000k times 3. That gives us negative of 2 plus 2 plus 3, which equals negative 7 volts.

  5. 5. Example 14.5(b)

    Example 14.5(b): a negative weighted sum producing plus 3 V.
    The bracketed sum is minus three, so inversion makes the output plus 3 V.

    Example 14.5(b)

    V1=2V,V2=3V,V3=1VV_{1}=-2 V, V_{2}=3 V, V_{3}=1 V

    R1=200kΩ,R2=500kΩ,R3=Rf=1MΩR_{1}=200 k\Omega, R_{2}=500 k\Omega, R_{3}=R_{\mathrm{f}}=1 M\Omega

    Weights: 5, 2, 1

    Σw=5(2)+2(3)+1=3Σ_{\mathrm{w}}=5(-2)+2(3)+1=-3

    Vo=(3V)V_{\mathrm{o}}=-(-3 V)

    Vo=+3VV_{\mathrm{o}}=+3 V

    Narration transcript

    Now part b, with different values. V1 equals negative 2 volts, V2 equals plus 3 volts, V3 equals plus 1 volt. R1 is 200 kilohms, R2 is 500 kilohms, R3 is 1 megohm, and Rf remains 1 megohm. V out equals negative of 5 times negative 2, plus 2 times 3, plus 1 times 1. That's negative of negative 10 plus 6 plus 1, which equals negative of negative 3, giving us positive 3 volts. Notice how the output can be positive when the weighted sum of inputs is negative.

  6. 6. Weighted waveforms

    Waveform comparison between weighted inputs and the inverted output.
    The circuit performs analog weighting and addition in one stage.

    Analog weighting and addition

    V1 weight: Rf/R1

    V2 weight: Rf/R2

    V3 weight: Rf/R3

    Weight first, then add

    Invert the sign at the output

    Op amp = simple analog calculator

    Narration transcript

    Here's a visual comparison of the input and output waveforms. The three input signals are each weighted by their respective gain factors and then summed with an inverted sign at the output. This is essentially what an analog computer does, it performs mathematical addition using op-amp circuits.

  7. 7. Equal resistors

    Three-input inverting summing amplifier.
    Each source reaches the summing node through its own resistor, while R_f closes the feedback path.

    Equal-resistor special case

    R1=R2=R3=RfR_{1}=R_{2}=R_{3}=R_{\mathrm{f}}

    Rf/R1=Rf/R2=Rf/R3=1R_{\mathrm{f}}/R_{1}=R_{\mathrm{f}}/R_{2}=R_{\mathrm{f}}/R_{3}=1

    Vo=(V1+V2+V3)V_{\mathrm{o}}=-(V_{1}+V_{2}+V_{3})

    Unity-magnitude gain for each input

    Audio mixing and signal processing

    Pure inverting adder

    Narration transcript

    An important special case: when all input resistors equal the feedback resistor, R1 equals R2 equals R3 equals Rf, the output simplifies to V out equals negative the sum of V1 plus V2 plus V3. This is a pure inverting adder with unity gain on each input. This configuration is widely used in audio mixing and signal processing.

  8. 8. Method summary

    KCL derivation of the summing-amplifier equation.
    Under the virtual-node condition, the input-current sum equals the feedback current.

    Method summary

    Follower: Av=1 and buffering

    Summer: weight each input by Rf/Rk

    Vo=Σk(Rf/Rk)VkV_{\mathrm{o}}=-Σ_{\mathrm{k}}(R_{\mathrm{f}}/R_{\mathrm{k}})V_{\mathrm{k}}

    Equal resistors: Vo=−Σk Vk

    The virtual-node rule is conditional

    Final check: supply rails and saturation

    Narration transcript

    To summarize: The summing amplifier adds multiple weighted inputs with sign inversion. The key formula is V out equals negative of Rf over R1 times V1 plus Rf over R2 times V2 plus Rf over R3 times V3. Each input has its own gain factor determined by the ratio of Rf to its input resistor. And when all resistors are equal, you get a simple inverting adder.