Lesson plan

Op-amp circuit cookbook lesson plan

Advanced, after Transistors and op-amps for real: the integrator, differentiator, summing amp, instrumentation amp, precision rectifier and oscillators, ending in a strain gauge front end you scale yourself.

7 chapters, 7 lessons, about 6 hours, no board. Every lesson runs in the browser, with nothing to install.

The unit

Objectives and materials

By the end, students can

  • A capacitor in the feedback: the running total of the input.
  • A capacitor on the input: how fast the input moves, and its noise.
  • Inputs that add at a virtual ground, and a 3-bit DAC.
  • Millivolts from a bridge, with the common part thrown away.
  • Diodes inside the loop, and an absolute value circuit.
  • A relaxation square wave and a Wien bridge sine.
  • A strain gauge front end for a 0 to 5 V ADC.

Materials for the whole unit

  • Capacitor x 3
  • Diode x 3
  • Frequency counter x 2
  • Function generator
  • Multimeter x 3
  • NE5532 dual audio op-amp
  • OP07 precision op-amp x 2
  • Oscilloscope
  • Resistor x 12
  • Signal generator
  • Slide switch x 3
  • TL072 dual JFET op-amp

Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.

Chapter 1. About 50 min

Integrator

A capacitor in the feedback: the running total of the input.

LessonTimeWhat students do
IntegratorA TL072 with a capacitor for feedback: a gain of exactly 1 at 159 Hz that halves every time the frequency doubles, a square wave turned into a triangle, and the 1 M resistor that keeps a tiny DC offset from slamming it into a rail.50 min
  1. Run it: a gain of 1 at 159 Hz
  2. Twice the frequency, half the output
  3. Square in, triangle out
  4. A tiny offset, a big problem
  5. Take the leak away
  6. Make it yours: a gentler ramp

Materials

  • Capacitor
  • Function generator
  • Multimeter x 3
  • Oscilloscope
  • Resistor x 2
  • TL072 dual JFET op-amp

Check for understanding

Each student finishes "Integrator" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Make it yours: a gentler ramp".

Chapter 2. About 50 min

Differentiator

A capacitor on the input: how fast the input moves, and its noise.

LessonTimeWhat students do
DifferentiatorSwap the capacitor and resistor: a gain that rises with frequency, 1 at 159 Hz and 2 at 318, a triangle turned into a square, and the series resistor that keeps it from amplifying every bit of noise.50 min
  1. Run it: a gain of 1 at 159 Hz
  2. Twice the frequency, twice the output
  3. Triangle in, square out
  4. The noise problem
  5. Tame it with Rs
  6. Where they turn up

Materials

  • Capacitor
  • Function generator
  • Multimeter x 2
  • Oscilloscope
  • Resistor x 2
  • TL072 dual JFET op-amp

Check for understanding

Each student finishes "Differentiator" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Where they turn up".

Chapter 3. About 50 min

Summing amp

Inputs that add at a virtual ground, and a 3-bit DAC.

LessonTimeWhat students do
Summing ampAn NE5532 adding three inputs at a virtual ground: binary-weighted resistors make a 3-bit DAC, every input adds without touching the others, and one resistor sets the full scale.50 min
  1. Run it: the top bit
  2. The middle bit alone
  3. Predict: code 110
  4. Why they do not fight
  5. Full scale with one resistor
  6. Real DACs, and the R-2R ladder

Materials

  • Multimeter x 2
  • NE5532 dual audio op-amp
  • Resistor x 4
  • Slide switch x 3

Check for understanding

Each student finishes "Summing amp" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Real DACs, and the R-2R ladder".

Chapter 4. About 50 min

Instrumentation amp

Millivolts from a bridge, with the common part thrown away.

LessonTimeWhat students do
Instrumentation ampA strain gauge bridge gives 12 mV on top of 2.5 V: two OP07 buffers and a difference stage amplify the 12 mV and ignore the 2.5 V, one resistor sets the gain, and an op-amp's offset shows why precision parts exist.50 min
  1. Run it: a balanced bridge
  2. Stretch the gauge
  3. One resistor sets the gain
  4. Why not one op-amp?
  5. Precision matters: an offset
  6. Choosing parts

Materials

  • Multimeter x 2
  • NE5532 dual audio op-amp
  • OP07 precision op-amp x 2
  • Resistor x 11

Check for understanding

Each student finishes "Instrumentation amp" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Choosing parts".

Chapter 5. About 50 min

Precision rectifier

Diodes inside the loop, and an absolute value circuit.

LessonTimeWhat students do
Precision rectifierA 0.3 V signal that a plain diode cannot rectify at all: diodes inside an op-amp's feedback lose their 0.6 V, a half-wave stage and a summing stage make a full-wave absolute value, and one wrong resistor breaks it.50 min
  1. Run it: a diode that does nothing
  2. Half-wave, without the drop
  3. Full-wave: the absolute value
  4. Predict: a 1 V signal
  5. Break it on purpose
  6. Where it turns up

Materials

  • Diode x 3
  • Function generator
  • Multimeter x 3
  • Oscilloscope
  • Resistor x 6
  • TL072 dual JFET op-amp

Check for understanding

Each student finishes "Precision rectifier" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Where it turns up".

Chapter 6. About 50 min

Oscillators

A relaxation square wave and a Wien bridge sine.

LessonTimeWhat students do
OscillatorsTwo oscillators on one TL072: a relaxation square wave at 451 Hz that halves with twice the capacitor, and a Wien bridge sine at 158 Hz that lives on a gain of exactly 3 and dies on 2.8.50 min
  1. Run it: a relaxation oscillator
  2. Twice the capacitor
  3. A Wien bridge sine
  4. How it holds its size
  5. Predict: not enough gain
  6. Make it yours: retune it

Materials

  • Capacitor x 3
  • Diode x 2
  • Frequency counter x 2
  • Multimeter
  • Oscilloscope
  • Resistor x 8
  • TL072 dual JFET op-amp

Check for understanding

Each student finishes "Oscillators" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Make it yours: retune it".

Chapter 7. About 1 h

Boss build

A strain gauge front end for a 0 to 5 V ADC.

LessonTimeWhat students do
Boss build: a strain gauge front endA bridge on a long, humming cable into an in-amp sitting on a 2.5 V reference and a 16 Hz low pass: reject the hum, scale the gauge to fill a 0 to 5 V ADC both ways, then re-design it for a gauge four times less sensitive.60 min
  1. Run it: mid-scale
  2. Break the rejection
  3. Load the gauge
  4. Scale it to the ADC
  5. Squeeze it
  6. Make it yours: a stiffer gauge
  7. Your front end sheet

Materials

  • Capacitor
  • Multimeter x 3
  • NE5532 dual audio op-amp
  • OP07 precision op-amp x 2
  • Resistor x 12
  • Signal generator

Check for understanding

Each student finishes "Boss build: a strain gauge front end" on their own, without opening the hints. The simulator checks 7 of its 7 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Your front end sheet".

Your class

Teach this unit as a class

Start a class from this course and its 7 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.

The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.