RfRinRg−10+10.00 V−+741−130+130.00 VSENSORAUDIOFILTER−++15 V−15 V
Lit trace with moving dashes: current is flowingTinted trace without dashes: a voltage, almost no currentInput dial: -1 V to +1 V; output meter: a bar from -15 V to +15 V, ticks at ±13 VRin / Rg 10 kΩ, Rf 100 kΩ; the wiring fades between circuitsAn op-amp multiplies the difference between its + and - inputs by a huge gain (about 200,000 for the 741). With no feedback the output slams into a rail (about ±13 V on a ±15 V supply): a comparator. With negative feedback through Rf, the op-amp settles where its inputs are equal and the resistors set the gain: -Rf/Rin = -10 (0.5 V in, -5 V out) or 1 + Rf/Rg = 11 (0.5 V in, 5.5 V out). With the output wired straight back, the gain is 1: a buffer. Moving dashes on a trace mean current is flowing; a tinted trace without dashes carries a voltage only. The board circuit is a teaching model: the 10 kΩ and 100 kΩ resistors and the 0.5 V input make the arithmetic easy; they are not one application note's circuit.

The chip

  1. An operational amplifier, or op-amp, is a chip drawn as a triangle. It has two inputs, marked + and -, and one output at the tip. Two more pins connect it to its power supply.

No feedback

Negative feedback

In the real world

In detail

;; step 1/10 · meet
Op-amp pins
  +  non-inverting input
  -  inverting input
  out  the output (the tip of the triangle)
  +V, -V  the power supply (here +15 V and -15 V)
A classic general-purpose part: the 741.

The board circuit is a teaching model: the 10 kΩ and 100 kΩ resistors and the 0.5 V input make the arithmetic easy; they are not one application note's circuit. Numbers for the 741 are typical values from the Texas Instruments LM741 datasheet at a ±15 V supply: open-loop gain 200 V/mV (200,000), output swing ±13 V into 2 kΩ or more, input resistance 2 MΩ. Real parts vary from these. The formulas -Rf/Rin and 1 + Rf/Rg assume an ideal op-amp (infinite gain, no input current). With the 741's real gain the inverting gain is -9.9995 instead of -10: the difference is far smaller than the 1 % or 5 % tolerance of ordinary resistors. Real comparators are usually dedicated chips that switch faster than a general-purpose op-amp; the 741 is used here to show the idea.