C6 · Lesson 19 · Amplifier configurations
Four circuits that do most of analog's arithmetic
With the golden rules, an op amp and a few resistors can add, subtract and scale signals. A mixing desk sums microphones with an inverting summer; a sensor bridge's tiny difference is pulled out of a large common voltage by a difference amplifier; a thermocouple's millivolts are raised to volts by a non-inverting stage. This lesson is a sandbox: you'll design each one and the simulation will grade it.
Play
- A summing amplifier: three inputs, each through its own resistor, into the virtual ground. The output is minus the weighted sum.
- Change one input resistor. Which input's weight changes?
- Make all three resistors equal to . What does the circuit compute?
Predict
A summing amplifier has = 10 kΩ and inputs of 1 V through 10 kΩ and 0.5 V through 5 kΩ. What's the output?
−2 V. Each input pushes its own current into the virtual ground: 0.1 mA and 0.1 mA. All 0.2 mA flows through , putting the output at V. Because the summing node sits at 0 V, the inputs don't interact: each one's weight is just .
Name it
The four workhorses
Inverting: . Input impedance .
Non-inverting: . Input impedance very high.
Summing (inverting): each input through its own resistor into the virtual ground:
The inputs are isolated from each other by the virtual ground.
Difference amplifier: through to the input, with from there to ground; through to the input, with as feedback. With matched ratios:
It ignores whatever voltage the two inputs share (the common-mode voltage), as long as the resistor ratios match. A 1% mismatch lets about 1% of the common-mode voltage through, which is why precision versions use laser-trimmed resistor networks, or a three-op-amp instrumentation amplifier with buffered inputs.
Choosing resistor values. Gain is set by ratios, so any scale works in principle. In practice: above about 1 kΩ so the op amp isn't loaded, below about 1 MΩ so input bias currents and noise don't matter.
Worked example
A summing amplifier with three 10 kΩ inputs and = 10 kΩ receives 1 V, 0.5 V and −0.2 V. What is its output?
Show the solution
- Sum the inputs. With every resistor equal, each input has a gain of −1:
- Why they don't interact. Each input's current flows into the virtual ground independently.
Answer the output is −1.3 V.
Worked example
A difference amplifier with = 10 kΩ and = 100 kΩ receives 2.5 V and 2.6 V. What is its output?
Show the solution
- Output.
- Common mode. The 2.5 V common to both is rejected.
Answer the output is 1.0 V.
Worked example
A 4-bit DAC is a summing amplifier with = 10 kΩ and inputs of 10, 20, 40 and 80 kΩ, driven by 5 V logic. What does it output for the code 1011, and what's one step?
Show the solution
- Each bit's weight. Each input contributes : the most significant bit gives −5 V, then −2.5, −1.25 and −0.625 V.
- Code 1011. The first, third and fourth bits are on:
- One step and full scale. One step is the least significant bit's −0.625 V, and full scale (1111) is −9.375 V.
- Wider converters. Binary-weighted resistors need a 2ⁿ spread, which is why wider converters use the R–2R ladder instead.
Answer the code 1011 gives −6.875 V, and one step is −0.625 V.
Check
An inverting amplifier with = 1 kΩ has 0.1 V in. Choose for a gain of −10.
Type values the way you would write them on a schematic: 4.7k, 100n, 10m. Then try them: the circuit runs with your values and is measured.
Check
A non-inverting amplifier with = 1 kΩ has 0.2 V in. Choose for a gain of 5.
Type values the way you would write them on a schematic: 4.7k, 100n, 10m. Then try them: the circuit runs with your values and is measured.
Check
Mix two inputs into a summer with = 10 kΩ so that the output is , with = 0.5 V and = 1 V. Choose and .
Type values the way you would write them on a schematic: 4.7k, 100n, 10m. Then try them: the circuit runs with your values and is measured.
Check
A difference amplifier has matched ratios = 47 kΩ/10 kΩ. Its inputs are = 2.5 V and = 2.6 V. What's the output?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
A 4-bit binary-weighted DAC has = 5 kΩ and inputs of , , and , driven by 3.3 V logic.
(a)
What does it output for the code 13 (in binary, most significant bit on the input)?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
(b)
What's one step?
Check
A difference amplifier has = a and = c on both sides; a summing amplifier has = e with inputs x and y through a and c.
Step 1
What's the difference amplifier's output for inputs x (inverting) and y?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What's the summing amplifier's output?
Explain why
Why don't the inputs of an inverting summing amplifier interfere with each other?
Every input resistor connects to the op amp's inverting input, which negative feedback holds at 0 V, a virtual ground. So each input's current is just its voltage divided by its own resistor, whatever the other inputs are doing: none of them sees the others' voltages. The op amp sends the total of those currents through the feedback resistor, producing an output proportional to their weighted sum.
Practice
Keep practicing
7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.