Sub topic 2
Inverting Summing Amplifier
Assume Ohm’s law, Kirchhoff’s laws, voltage dividers, and basic op-amp behavior. For an ideal op amp, input currents are zero and the open-loop gain is infinite. With negative feedback, the two input voltages are approximately equal. This is the virtual short rule.
Inverting summing amplifier
Several input voltages can drive the inverting input through separate resistors. Let the non-inverting input be grounded. Negative feedback then makes the inverting node approximately 0 V, called a virtual ground.
Kirchhoff’s current law at that node gives:
\[ \frac{V1}{R1}+\frac{V2}{R2}+\cdots+\frac{Vn}{Rn} = -\frac{V\text{out}}{Rf} \]
Therefore,
\[ V\text{out}=-Rf\left(\frac{V1}{R1}+\frac{V2}{R2}+\cdots+\frac{Vn}{Rn}\right) \]
The minus sign comes from the inverting configuration.
Weighted sums and a binary-weighted DAC
The resistor ratios set each input’s weight. With \(Rf=10\,\text{kΩ}\), \(R1=10\,\text{kΩ}\), and \(R_2=20\,\text{kΩ}\):
\[ V\text{out}=-(V1+0.5V_2) \]
A binary-weighted digital-to-analog converter (DAC) uses resistors such as \(R\), \(2R\), and \(4R\). Each digital bit contributes a different fraction of the reference voltage. Accurate resistor ratios are essential.
Superposition as an analysis tool
Superposition analyzes a linear circuit by considering one independent source at a time. Set other voltage sources to zero, which means replacing them with shorts. Calculate each output contribution, then add the contributions. The summing equation above is already the result of adding the separate input contributions.
* Inverting summing amplifier
V1 in1 0 DC 1
V2 in2 0 DC 2
R1 in1 inv 10k
R2 in2 inv 10k
Rf inv out 10k
E1 out 0 0 inv 100k
.op
.endDifference amplifier
A four-resistor difference amplifier subtracts \(V1\) from \(V2\). The non-inverting input receives a divided version of \(V_2\):
\[ V+=V2\frac{R3}{R2+R_3} \]
The inverting stage then gives:
\[ V\text{out}= \left(1+\frac{Rf}{R1}\right)V+ -\frac{Rf}{R1}V_1 \]
For a pure scaled difference,
\[ \frac{Rf}{R1}=\frac{R3}{R2}=k \]
and
\[ V\text{out}=k(V2-V_1) \]
Resistor mismatch allows common-mode voltage, which is present equally on both inputs, to appear at the output. Matching the resistor ratios improves common-mode rejection.
Exercise
For Rf = R1 = 10 kΩ, R2 = R3 = 10 kΩ, V1 = 1 V, and V2 = 3 V, what is the difference-amplifier output?
Show answer
The ratio k is 1, so Vout = 1 × (3 − 1) = 2 V.