C619 of 57
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 Rf. What does the circuit compute?

Predict

A summing amplifier has Rf = 10 kΩ and inputs of 1 V through 10 kΩ and 0.5 V through 5 kΩ. What's the output?

Name it

The four workhorses

Inverting: vo=−RfRinvin. Input impedance Rin.

Non-inverting: vo=(1+RfRg)vin. Input impedance very high.

Summing (inverting): each input through its own resistor into the virtual ground:

vo=−Rf(v1R1+v2R2+⋯)

The inputs are isolated from each other by the virtual ground.

Difference amplifier: v2 through R1 to the + input, with R2 from there to ground; v1 through R1 to the − input, with R2 as feedback. With matched ratios:

vo=R2R1(v2−v1)

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 Rf = 10 kΩ receives 1 V, 0.5 V and −0.2 V. What is its output?

Show the solution
  1. Sum the inputs. With every resistor equal, each input has a gain of −1: vo=−(1+0.5−0.2)=−1.3V
  2. 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 R1 = 10 kΩ and R2 = 100 kΩ receives 2.5 V and 2.6 V. What is its output?

Show the solution
  1. Output. vo=10010(2.6−2.5)=1.0V
  2. 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 Rf = 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
  1. Each bit's weight. Each input contributes −5VRfRk: the most significant bit gives −5 V, then −2.5, −1.25 and −0.625 V.
  2. Code 1011. The first, third and fourth bits are on: vo=−(5+1.25+0.625)=−6.875V
  3. One step and full scale. One step is the least significant bit's −0.625 V, and full scale (1111) is −9.375 V.
  4. 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 Rin = 1 kΩ has 0.1 V in. Choose Rf 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 Rg = 1 kΩ has 0.2 V in. Choose Rf 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 Rf = 10 kΩ so that the output is −(v1+2v2), with v1 = 0.5 V and v2 = 1 V. Choose R1 and R2.

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 R2/R1 = 47 kΩ/10 kΩ. Its inputs are v1 = 2.5 V and v2 = 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 Rf = 5 kΩ and inputs of Rf, 2Rf, 4Rf and 8Rf, driven by 3.3 V logic.

(a)

What does it output for the code 13 (in binary, most significant bit on the Rf 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 R1 = a and R2 = c on both sides; a summing amplifier has Rf = 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°.

Explain why

Why don't the inputs of an inverting summing amplifier interfere with each other?

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.