V1R1 10kRf 20kC 10µFR2 20kV2R3 10kR4—V1 = 0.50 V20 kΩV2 = 1.00 Vi1 = 50 µAi2 = 50 µAi3 = 100 µAif = 100 µAv− = 0.00 Vv+ = 0.00 Vvo = −2.00 V
01234-6-4-202V2 (V)vo (V)OUTPUT vo vs V2summing, V1 = 0.5 Vdifference, V1 = 2.5 V00.511.522.53-12-8-404t (s)VINTEGRATOR v(t)v1(t)vo(t), ideal−12 V supply
Lit wire: current is flowing along itBlocks: sources V1 and V2, resistors, the capacitor C, the op-amp, the voltmeter and ground, each with its IEEE symbol on topMoving dots: charge; they move faster where the current is larger, at the same spacingPlots: vo against V2, and the integrator's v1(t) and vo(t), computed from the modelOne op-amp in three settings: summing (V1 and V2 into the − input), difference (V2 into the + input through a divider) and integrator (C in the feedback path). The figure is an ideal op-amp (no input current, infinite gain) with R1 = 10 kΩ, R2 = 20 kΩ, Rf = 20 kΩ, R3 = 10 kΩ, R4 = 20 kΩ and C = 10 µF. Every current, voltage and time shown is computed from these values by the lesson's model.

The op-amp rules

  1. An op-amp multiplies the voltage between its + and − inputs by a huge gain. Two ideal rules follow. No current flows into either input. With negative feedback, a path from the output back to −, the output adjusts until v− = v+.

Summing

Difference

Integrator

What is happening

# step 1/12 · rules · sum
# about: Op-amp, − input, + input

ideal op-amp

  rule 1   i+ = i− = 0      (inputs draw no current)
  rule 2   v− = v+          (only with negative feedback)

Why rule 2: vo = A(v+ − v−) with A about 10^5
or more. vo stays a few volts, so v+ − v− must
be tiny: tens of microvolts. We call it zero.

Rf (or C) from vo back to − is the negative
feedback in every circuit of this lesson.

The figure is an ideal op-amp (no input current, infinite gain) with R1 = 10 kΩ, R2 = 20 kΩ, Rf = 20 kΩ, R3 = 10 kΩ, R4 = 20 kΩ and C = 10 µF. Every current, voltage and time shown is computed from these values by the lesson's model. The op-amp's supply pins are not drawn. Current that flows into the output pin (the feedback current here) returns through the supplies to ground, so KCL still holds for the whole circuit.