⚑ ELT 102 · Digital Logic & Solid State Devices Hands-On Tinkercad Lab
Unit 2 Β· Solid State Devices Β· Lab

Op-Amp Configurations: Six Circuits, Two Golden Rules

Build the LM741 into six classic configurations in Autodesk Tinkercad Circuits β€” voltage follower, inverting and non-inverting amplifiers, comparator, integrator, and differentiator. Measure each one, predict every gain with two simple rules, and watch feedback networks reshape waveforms in real time.

⏱ 2 Γ— 75-Minute Sessions πŸ–₯ Tinkercad Circuits (Free) πŸ”§ LM741 Β· 6 Configurations πŸ“Š Waveform Playground Explorer βœ… 6-Question Knowledge Check

Learning Objectives

By the end of this lab, you will be able to:

  • Construct a dual Β±9 V supply in Tinkercad using two sources with a grounded midpoint, and wire an LM741 op-amp with correct pin assignments (2 = inverting, 3 = non-inverting, 6 = output, 7 = V+, 4 = Vβˆ’).
  • Apply the two golden rules of ideal op-amp analysis β€” no current enters the inputs, and with negative feedback the output drives the two inputs to the same voltage (the virtual short) β€” to predict circuit behavior before measuring it.
  • Verify the voltage follower's unity gain and explain its purpose as an impedance buffer despite amplifying nothing.
  • Measure the closed-loop gain of inverting (A = βˆ’Rf/Rin) and non-inverting (A = 1 + Rf/Rin) amplifiers for multiple resistor ratios, and compare against predictions within component tolerance.
  • Demonstrate comparator action with no feedback: the output slams to a saturation rail depending on which input is higher, and a fraction of a millivolt of difference is enough.
  • Generate waveform transformations with reactive feedback β€” a square wave integrated into a triangle, a triangle differentiated into a square β€” and relate output amplitude to the RC time constant and input slope.
  • Identify output saturation (clipping at β‰ˆ1.5 V inside the rails for a 741) and determine the maximum input amplitude a given gain permits before clipping.

Key Terms & Concepts

Click any card to reveal its definition. Review these before you build.

The Device & The Rules
Operational Amplifier
Device & Rules
πŸ”„ Click to reveal definition
Definition
A high-gain differential amplifier: it amplifies the difference between its two inputs by an enormous open-loop gain (~100,000 for the LM741). Alone it's nearly useless; wrapped in feedback it becomes whatever circuit the feedback network describes.
Inverting (βˆ’) & Non-Inverting (+) Inputs
Device & Rules
πŸ”„ Click to reveal definition
Definition
The two inputs of the differential pair. Raising the + input pushes the output up; raising the βˆ’ input pushes it down. On the LM741: pin 3 is +, pin 2 is βˆ’. Swapping them turns negative feedback into positive feedback β€” and a working amp into a latch.
Golden Rule #1: No Input Current
Device & Rules
πŸ”„ Click to reveal definition
Definition
The inputs have such high impedance that essentially no current flows into them. Consequence: any current arriving at an input node through one resistor must leave through another β€” the accounting trick behind every gain formula in this lab.
Golden Rule #2: The Virtual Short
Device & Rules
πŸ”„ Click to reveal definition
Definition
With negative feedback, the output does whatever it takes to hold the two inputs at the same voltage. The inputs act shorted together (for analysis) without any actual connection. When the + input is grounded, the βˆ’ input becomes a virtual ground. No feedback β†’ no rule #2 β†’ comparator behavior.
Feedback & Gain
Negative Feedback
Feedback & Gain
πŸ”„ Click to reveal definition
Definition
Routing a fraction of the output back to the inverting input. The op-amp's huge open-loop gain gets traded for precision: closed-loop gain is set by two resistors you choose, not by the chip's unruly internals. The single most important idea in analog electronics β€” and in control systems from thermostats to autopilots.
Closed-Loop Gain
Feedback & Gain
πŸ”„ Click to reveal definition
Definition
The gain of the complete circuit with feedback applied. Inverting amp: A = βˆ’Rf/Rin. Non-inverting amp: A = 1 + Rf/Rin. Set by resistor ratios β€” which is why 1% resistors give 1% gain accuracy from a chip whose open-loop gain varies wildly.
Saturation (Rails)
Feedback & Gain
πŸ”„ Click to reveal definition
Definition
The output cannot exceed the supply. A 741 tops out about 1.5 V inside each rail (Β±7.5 V on Β±9 V supplies). Ask for more gain than the rails allow and the waveform's tops and bottoms get sliced flat β€” clipping. For a comparator, saturation isn't failure; it's the whole point.
Virtual Ground
Feedback & Gain
πŸ”„ Click to reveal definition
Definition
The special case of the virtual short in the inverting amp: with the + input grounded, feedback holds the βˆ’ input at 0 V. It measures 0 V but connects to ground through no wire β€” all input current is rerouted through Rf. Confirming this node with a voltmeter is one of this lab's checkpoints.
The Six Configurations
Voltage Follower (Buffer)
Configurations
πŸ”„ Click to reveal definition
Definition
Output wired straight back to the βˆ’ input: gain exactly +1. Useless? No β€” it draws almost nothing from a weak source yet drives heavy loads: an impedance transformer. The circuit that proves gain isn't the only thing amplifiers are for.
Comparator
Configurations
πŸ”„ Click to reveal definition
Definition
An op-amp with no feedback: the full open-loop gain amplifies the input difference, so the output is always slammed against one rail or the other. Output = which input is higher. The bridge between analog and digital β€” thermostats, light sensors, ADC front ends.
Integrator
Configurations
πŸ”„ Click to reveal definition
Definition
An inverting amp with a capacitor as Rf: the output is the running total (integral) of the input, scaled by βˆ’1/RC. Feed it a constant, get a ramp; feed it a square wave, get a triangle. A parallel resistor tames DC drift in practice.
Differentiator
Configurations
πŸ”„ Click to reveal definition
Definition
The mirror twin: capacitor at the input, resistor in feedback. Output = βˆ’RC Γ— the input's slope. Feed it a triangle, get a square; feed it a square's edges, get spikes. A small series resistor keeps it from amplifying high-frequency noise into oscillation.

πŸ–₯ Tinkercad Setup Notes for Op-Amp Circuits

Fourth lab, same toolkit β€” with one new chip and one supply trick you already know:

Feedback Goes to Pin 2 β€” Always Check
Every feedback circuit in this lab returns the output to the inverting input (pin 2). Wire it to pin 3 by mistake and you get positive feedback: the output latches to a rail and stays there, superficially resembling a comparator. If an "amplifier" only ever reads Β±7.5 V, check which pin the feedback lands on before anything else.

πŸ”§ Virtual Parts List

QtyComponent (Tinkercad name)SettingUsed In
1Breadboard (small)β€”All parts
2Power Supply (or 9 V Battery)9.00 V each, series, grounded midpointΒ±9 V rails, all parts
1Op AmpLM741All six configurations
1Potentiometer10 kΞ©DC input / comparator Vref
1Function Generatorsine / square / triangle Β· 100 HzParts 2–6 AC tests
2Oscilloscope5 ms/divInput + output waveforms
4Resistor10 kΞ© Γ—2 Β· 47 kΞ© Β· 100 kΞ©Gain networks, all parts
1Resistor1 kΞ©Differentiator series R
1Capacitor0.1 Β΅FIntegrator / differentiator
2LED + 220 Ξ©red Β· greenComparator output indicators
2MultimeterV modeDC measurements, rail checks
~18Wiresred / black / greenAll parts

πŸ“ The Six Circuits You Will Build

One op-amp, six personalities β€” the only thing that changes is the feedback network. All schematics assume the Β±9 V rails and 0 V midpoint from Part 1 (supply pins omitted for clarity, but they are always connected: pin 7 β†’ +9 V, pin 4 β†’ βˆ’9 V).

+ βˆ’ LM741 V_in pin 3 (+) V_out 100% feedback: output β†’ pin 2 (βˆ’), no resistors at all Golden Rule #2: output holds pin 2 = pin 3, and pin 2 IS the output β†’ V_out = V_in exactly. Gain = +1.
Figure 1 β€” Voltage follower. The simplest feedback circuit that can exist: a bare wire from output to inverting input. Expected: Vout tracks Vin one-for-one across the pot's whole range (until the Β±7.5 V rails).
βˆ’ + V_in R_in = 10 kΞ© virtual ground (0 V) R_f = 100 kΞ© V_out Rule #2 pins the βˆ’ input at 0 V; Rule #1 forces I(R_in) = I(R_f). Gain A = βˆ’R_f / R_in = βˆ’10. 0.5 V in β†’ βˆ’5.0 V out.
Figure 2 β€” Inverting amplifier. Input current through Rin must exit through Rf (Rule #1), and the βˆ’ node sits at virtual ground (Rule #2) β€” the two rules give A = βˆ’Rf/Rin in two lines of algebra. Sign flip included: positive in, negative out.
βˆ’ + V_in V_out R_f = 100 kΞ© R_in = 10 kΞ© The divider feeds a fraction R_in/(R_in+R_f) of the output back to pin 2; Rule #2 makes that fraction equal V_in. Gain A = 1 + R_f/R_in = +11.
Figure 3 β€” Non-inverting amplifier. The signal enters the + input; the feedback divider decides how much output it takes to match it. No sign flip, higher input impedance than the inverting amp β€” and gain can never be less than 1 (remove Rf entirely and you're back at the follower).
βˆ’ + V_in +9 V V_ref (wiper) 10 kΞ© pot V_out green: out = +7.5 V red: out = βˆ’7.5 V (each LED + 220 Ξ© to 0 V, opposite polarities) NO feedback path β€” Rule #2 is off. Open-loop gain ~100,000 turns any V_in βˆ’ V_ref difference into a rail: V_in > V_ref β†’ +sat, V_in < V_ref β†’ βˆ’sat.
Figure 4 β€” Comparator. The only circuit here with no feedback. The pot's wiper defines the threshold; the output reports which input wins, at full saturation, instantly. Two back-to-back LED branches make the decision visible: green above threshold, red below.
βˆ’ + V_in R = 10 kΞ© C = 0.1 Β΅F 100 kΞ© anti-drift (parallel with C) V_out in: square out: triangle V_out = βˆ’(1/RC) ∫ V_in dt. RC = 1 ms. Β±1 V square @ 100 Hz β†’ constant-slope ramps β†’ ~5 V_pp triangle, inverted.
Figure 5 β€” Integrator. The capacitor accumulates input current as charge β€” the electronic running total. During each flat half of the square wave the input current is constant, so the output ramps at a constant slope: triangles. The parallel 100 kΞ© bleeds off DC so tiny offsets can't slowly ramp the output into a rail.
βˆ’ + V_in 1 kΞ© (stability) C = 0.1 Β΅F R = 10 kΞ© V_out in: triangle out: square V_out = βˆ’RC Β· dV_in/dt. RC = 1 ms. Constant triangle slope β†’ constant output level; slope flips sign β†’ output snaps: squares.
Figure 6 β€” Differentiator. The integrator's mirror: now the capacitor senses the input's rate of change and the feedback resistor converts that current to voltage. A triangle's slope is constant except for sign β€” so the output is a square. The 1 kΞ© series resistor limits high-frequency gain so the circuit doesn't scream at noise.

Expected Results at a Glance

ConfigurationFeedback elementTransfer functionTest inputExpected output
β‘  FollowerwireV_out = V_inDC sweep via pottracks 1:1 to Β±7.5 V
β‘‘ InvertingR_f = 100 kA = βˆ’R_f/R_in = βˆ’10+0.50 V DCβˆ’5.0 V
β‘’ Non-invertingR_f = 100 k dividerA = 1 + R_f/R_in = +11+0.50 V DC+5.5 V
β‘£ Comparatornonerail = sign(V_in βˆ’ V_ref)pot sweep past V_refsnap Β±7.5 V Β· LEDs swap
β‘€ IntegratorC = 0.1 Β΅F (βˆ₯100 k)V_out = βˆ’(1/RC)∫V_in dtΒ±1 V square Β· 100 Hz~5 V_pp triangle
β‘₯ DifferentiatorR = 10 k (C input)V_out = βˆ’RCΒ·dV_in/dtΒ±1 V triangle Β· 100 Hz~Β±0.4 V square
Inverting: A = βˆ’R_f/R_in Non-inverting: A = 1 + R_f/R_in Integrator: V_out = βˆ’(1/RC)∫V_in dt Differentiator: V_out = βˆ’RCΒ·dV_in/dt 741 rails β‰ˆ Β±(V_supply βˆ’ 1.5 V)

πŸ›  Step-by-Step Procedure

Suggested split: Session 1 = Parts 1–4 (DC configurations). Session 2 = Parts 5–6 (waveform configurations) + analysis.

Part 1 β€” Dual Supply & Voltage Follower (β‰ˆ25 min)

  1. Create the workspace. New circuit named "LastName – Op-Amp Lab." Place a small breadboard.
  2. Build the Β±9 V rails. Two 9 V supplies in series: Supply A's βˆ’ terminal to Supply B's + terminal β€” that junction is your 0 V midpoint. Wire A's + to the top red rail (+9 V), B's βˆ’ to the top black rail (βˆ’9 V), and the midpoint to a dedicated column group. Verify with a multimeter: +9.0 and βˆ’9.0 relative to midpoint. (Same trick as the Rectifier lab's center tap.)
  3. Seat and power the 741. Place the op-amp across the trench. Hover-verify all pins, then wire pin 7 β†’ +9 V and pin 4 β†’ βˆ’9 V. Re-verify both supply pins with the meter before continuing β€” make this your ritual for every rebuild.
  4. Adjustable DC input. 10 kΞ© potentiometer across +9 V and βˆ’9 V; its wiper is Vin, swinging anywhere between the rails. Multimeter M1 from wiper to 0 V.
  5. Wire the follower. Wiper β†’ pin 3 (+). One wire from pin 6 (output) back to pin 2 (βˆ’). Multimeter M2 from pin 6 to 0 V.
  6. Test unity gain. Simulate. Sweep the pot and record five (Vin, Vout) pairs across the range in Data Table 1 β€” including near +9 V and βˆ’9 V, where the output stalls at the Β±7.5 V saturation limits while the input keeps going. That stall is your first rail sighting.
  7. Answer before moving on. Gain = 1 β€” so what did the circuit accomplish? (Hint: how much current did the pot's wiper have to supply?) One sentence in your report.

Part 2 β€” Inverting Amplifier (β‰ˆ20 min)

  1. Rewire per Figure 2. Remove the follower wire. Wiper β†’ Rin (10 kΞ©) β†’ pin 2. Rf (100 kΞ©) from pin 6 back to pin 2. Pin 3 β†’ 0 V midpoint.
  2. Predict. A = βˆ’100k/10k = βˆ’10. Fill in the predicted column of Data Table 2 for inputs +0.25 V, +0.50 V, βˆ’0.50 V.
  3. Measure the gain. For each input, set the pot (watch M1), record Vout, compute measured gain. Signs matter β€” record them.
  4. Probe the virtual ground. Move a voltmeter to pin 2 while the amp is working: β‰ˆ0 V, with no wire to ground. Golden Rule #2, measured. Record it.
  5. Find the clip point. Slowly raise Vin until Vout stops at βˆ’7.5 V. Record the input voltage where clipping began and check it against 7.5 V Γ· 10.
  6. Change the gain. Swap Rf to 47 kΞ© (A = βˆ’4.7), re-measure one point, and confirm the ratio rules. Restore 100 kΞ©.

Part 3 β€” Non-Inverting Amplifier (β‰ˆ15 min)

  1. Rewire per Figure 3. Wiper β†’ pin 3. Rf (100 kΞ©) pin 6 β†’ pin 2; Rin (10 kΞ©) pin 2 β†’ 0 V.
  2. Predict, then measure. A = 1 + 100k/10k = +11. Test +0.25 V and +0.50 V; record predicted vs measured in Data Table 2. No sign flip this time.
  3. The follower connection. Thought check for the report: set Rf = 0 (a wire) and Rin = ∞ (removed) in the gain formula. What circuit does the non-inverting amp become?

Part 4 β€” Comparator (β‰ˆ15 min)

  1. Remove ALL feedback. Take Rf out entirely β€” nothing connects pin 6 to pin 2. Pot wiper β†’ pin 2 as Vref; set it near +2 V. A second voltage (reuse the other pot terminal wiring or a supply tap through a divider) β†’ pin 3 as Vin. Simplest: move the function generator in as Vin, sine, 100 Hz, Β±4 V.
  2. Output indicators. Two LED + 220 Ξ© branches from pin 6 to 0 V, opposite polarities (Figure 4): green lights on +7.5 V, red on βˆ’7.5 V.
  3. Observe the snap. Simulate with the scope on pin 6: the sine input emerges as a square wave β€” the output only ever visits the two rails, switching the instant the sine crosses Vref. Record the duty cycle at Vref = 0 V and Vref = +2 V in Data Table 3. Notice: same chip as Part 2, opposite personality β€” the only difference is feedback.

Part 5 β€” Integrator (β‰ˆ20 min)

  1. Wire Figure 5. Function generator (square, 100 Hz, Β±1 V) β†’ R = 10 kΞ© β†’ pin 2. Feedback: C = 0.1 Β΅F from pin 6 to pin 2, with 100 kΞ© in parallel. Pin 3 β†’ 0 V. Scopes on input and output, 5 ms/div.
  2. Predict the shape and size. RC = 1 ms. Each half-cycle (5 ms) integrates a constant Β±1 V: slope = 1 V/1 ms = 1000 V/s for 5 ms β†’ ~5 V swing. Sketch your predicted output before running.
  3. Run and record. Square in, triangle out β€” measure the output Vpp and note the inversion (output ramps DOWN while input is HIGH). Record in Data Table 3.
  4. Frequency experiment. Double the generator to 200 Hz and re-measure Vpp: half the integration time β†’ half the amplitude. Record and explain.

Part 6 β€” Differentiator (β‰ˆ20 min)

  1. Wire Figure 6. Generator (triangle, 100 Hz, Β±1 V) β†’ 1 kΞ© β†’ C = 0.1 Β΅F β†’ pin 2. Feedback: R = 10 kΞ©, pin 6 β†’ pin 2. Pin 3 β†’ 0 V.
  2. Predict. The Β±1 V triangle swings 2 V over each 5 ms half-period: slope = Β±400 V/s. Vout = βˆ’RCΒ·slope = βˆ’(1 ms)(Β±400 V/s) = βˆ“0.4 V. Predicted: a Β±0.4 V square wave, inverted relative to the slope.
  3. Run and record. Triangle in, square out. Measure the output levels against your prediction; note any rounding at the transitions (the 1 kΞ© stability resistor at work). Record in Data Table 3.
  4. The spike test. Switch the generator to a square input for a moment: the differentiator answers each edge with a sharp spike and rests at zero between them β€” the slope of a flat line is zero. Sketch what you see, then restore the triangle.
  5. Wrap up. Complete the Analysis Questions and Knowledge Check, then Print/Save your report with the data tables filled in.
Troubleshooting
Output stuck at a rail in an amplifier circuit? Feedback is missing or landed on pin 3 β€” check pin 2 first. Then verify both supply pins (7 and 4). Gain right but sign wrong? You built the other amplifier β€” check which pin the signal enters. Integrator output slowly crawls to a rail? The 100 kΞ© anti-drift resistor is missing or open. Differentiator output hashy or oscillating? The 1 kΞ© series resistor is missing. Everything reads 0? The 0 V midpoint isn't shared between supplies, generator, and instruments β€” all references must meet at one node.

πŸ“‹ Data Tables

Type readings directly into the tables β€” they persist when you print this page.

Data Table 1 β€” Voltage Follower (Part 1)

V_in (pot)V_outGainTracking or saturated?
β‰ˆ βˆ’8 V
β‰ˆ βˆ’4 V
0 V
β‰ˆ +4 V
β‰ˆ +8 V

Data Table 2 β€” Amplifier Gains (Parts 2–3)

ConfigurationV_inPredicted V_outMeasured V_outMeasured gainPin 2 voltage
Inverting βˆ’10+0.25 V
Inverting βˆ’10+0.50 V
Inverting βˆ’10βˆ’0.50 V
Inverting βˆ’4.7 (R_f 47 k)+0.50 V
Non-inv +11+0.25 V
Non-inv +11+0.50 V
Inverting βˆ’10 Β· clip testV_in at first clip:check: β‰ˆ 7.5 V Γ· 10

Data Table 3 β€” Comparator & Waveform Circuits (Parts 4–6)

Circuit / conditionInputOutput shapeOutput levels / V_ppNotes (inversion? duty? spikes?)
Comparator Β· V_ref = 0 VΒ±4 V sine 100 Hz
Comparator Β· V_ref = +2 VΒ±4 V sine 100 Hz
Integrator Β· 100 HzΒ±1 V square
Integrator Β· 200 HzΒ±1 V square
Differentiator Β· 100 HzΒ±1 V triangle
Differentiator Β· spike testΒ±1 V square

πŸ“ˆ Interactive Op-Amp Waveform Playground

One virtual 741 on Β±9 V rails (saturation β‰ˆ Β±7.5 V), six selectable personalities. The gray trace is the input; the green trace is the output. Push the gain or amplitude until the output flattens against the rails β€” clipping is easier to recognize once you've caused it on purpose.

What To Notice
Try the integrator with a sine input: out comes a cosine β€” shifted a quarter cycle, because the integral of sine is βˆ’cosine. Then give the differentiator a square wave and watch it answer only the edges. And in the "Clip Hunt" preset, raise the amplitude past 0.75 V: gain βˆ’10 wants Β±7.5+ V of output, the rails refuse, and the sine's crown gets sliced flat. Every distorted guitar amp you've ever heard is that flattening, done on purpose.

✍ Analysis Questions

Answer in complete sentences in your lab report.

  1. Derive the inverting amplifier's gain formula from the two golden rules, in three steps or fewer, using your Part 2 component values.
  2. The follower has a gain of exactly 1. Describe a concrete scenario (sensor, audio, measurement) where inserting a follower fixes a real problem, and name the property it exploits.
  3. In Part 2 you measured β‰ˆ0 V at pin 2 with no ground wire attached to it. Explain the mechanism: what is the op-amp's output physically doing to hold that node at zero?
  4. Predict each result and justify: (a) the inverting amp's Rf fails open; (b) the comparator accidentally gets a feedback resistor from output to pin 2.
  5. Using your Part 5 data: show the calculation predicting the integrator's output Vpp at 100 Hz, and explain why doubling the frequency halved it.
  6. The differentiator answered a square wave with spikes and a flat zero between them. Explain both features using Vout = βˆ’RCΒ·dVin/dt.
  7. Design exercise: choose Rin and Rf from standard values (1 k, 4.7 k, 10 k, 22 k, 47 k, 100 k) for an inverting amp with a gain as close as possible to βˆ’22, and state the largest input peak it can handle on Β±9 V rails without clipping.

Key Facts Reference Box

Golden Rule #1
No current into the inputs
Golden Rule #2 (needs feedback)
Output forces V(+) = V(βˆ’)
LM741 pinout
2 (βˆ’) Β· 3 (+) Β· 6 out Β· 7 V+ Β· 4 Vβˆ’
Inverting gain
A = βˆ’R_f / R_in
Non-inverting gain
A = 1 + R_f / R_in (never < 1)
Follower
Gain +1 Β· impedance buffer
Comparator
No feedback Β· output = a rail
Integrator
square β†’ triangle Β· βˆ’(1/RC)∫
Differentiator
triangle β†’ square Β· βˆ’RCΒ·d/dt
741 saturation
β‰ˆ 1.5 V inside each rail

Interactive Knowledge Check

Six questions drawn directly from the lab. Select an answer for each, then press Grade My Quiz.

← Lab: BJT Transistors 🏠 Course Home Back to Top ↑