Loading simulator...

Virtual lab · Analog Electronics

Op-Amp Trainer Kit Virtual Lab – Virtual Lab Simulation

This op-amp trainer kit virtual lab reproduces a complete laboratory bench: a ±12 V dual power supply, a function generator, a two-channel digital storage oscilloscope (DSO) and a trainer kit with two IC 741 op-amps, a resistor and capacitor bank, diodes, Zener diodes and a potentiometer. Students patch the circuit with banana leads exactly as in the laboratory and observe the true waveforms on the DSO. Twenty-two standard op-amp applications are included, each with a target circuit diagram that shows correct, missing and wrong connections.

▲ Back to the simulator

Aim

To study the linear and non-linear applications of the operational amplifier IC 741 – amplifiers, integrator, differentiator, comparators, waveform generators, active filters and precision rectifiers – and to verify their behaviour with a function generator and an oscilloscope.

Apparatus (virtual bench)

EquipmentSpecification
Dual DC power supply±0 – 15 V tracking (use ±12 V), with + / COM / − terminals
Function generatorSine, square, triangle; 10 Hz – 100 kHz; 0 – 10 Vpp; ±5 V DC offset; Output and GND terminals
Digital storage oscilloscopeTwo channels, V/div, time/div, trigger level, Auto set, X-Y mode, measurements and screen capture
Op-amp trainer kit2 × IC 741 (OA1, OA2) with linked socket rows for − input, + input, output and ground
Components on kitResistors 1k, 2.2k, 4.7k, 10k (×6), 22k (×2), 100k (×2), 1M; capacitors 10 nF (×2), 100 nF (×2), 1 µF; 1N4148 (×2); 4.7 V Zener (×2); 10 k pot
Patch cordsBanana leads (stackable) and BNC probe leads

Theory: the IC 741 op-amp

The IC 741 is a general-purpose operational amplifier: a high-gain differential amplifier with an inverting (−) and a non-inverting (+) input. Its key parameters are an open-loop gain of about 2 × 105, input resistance about 2 MΩ, output resistance about 75 Ω, gain-bandwidth product about 1 MHz and slew rate about 0.5 V/µs. With a ±12 V supply the output can swing to about ±10.5 V.

With negative feedback the op-amp drives its output so that the two inputs stay at almost the same voltage (virtual short) and draws practically no input current. These two rules give the gain of every linear circuit below. With no feedback or with positive feedback the op-amp acts as a comparator and its output switches between the two saturation levels ±Vsat.

Inverting: AV = −Rf / R1 Non-inverting: AV = 1 + Rf / R1
Integrator: Vo = −(1 / R1C) ∫ Vin dt Differentiator: Vo = −Rf C dVin/dt

Linear applications

ApplicationComponentsRelationExpected result (1 kHz)
Inverting amplifierR1 = 10k, Rf = 100kAV = −Rf/R1 = −101 Vpp in → 10 Vpp out, 180° phase shift
Non-inverting amplifierR1 = 10k, Rf = 100kAV = 1 + Rf/R1 = 111 Vpp in → 11 Vpp out, in phase
Voltage followerOutput tied to − inputAV = 1Output equals input; very high input impedance
Summing amplifierR1 = R2 = Rf = 10k, pot for DCVo = −(V1 + V2)Inverted sine shifted by the DC level
Difference amplifierAll resistors 10kVo = V2 − V1Common signals cancel

Integrator and differentiator

ApplicationComponentsInputExpected output
IntegratorR1 = 10k, C = 10 nF, Rp = 1M2 Vpp square, 1 kHzTriangle ≈ 5 Vpp (slope 10 V/ms)
DifferentiatorRs = 1k, C = 10 nF, Rf = 100k2 Vpp triangle, 1 kHzSquare ≈ 8 Vpp

The 1 MΩ resistor across the integrator capacitor limits the DC gain so that the output does not drift into saturation; the 1 kΩ resistor in series with the differentiator capacitor limits its high-frequency gain and keeps the circuit stable.

Comparators and waveform generators

ApplicationComponentsDesign relationExpected result
Zero-crossing detectorInput to +, − groundedSwitches at 0 V±10.5 V square wave in phase with input
Comparator with referencePot sets VrefHigh when Vin > VrefDuty cycle changes with pot setting
Schmitt triggerR1 = 10k, R2 = 22kVUT/LT = ±Vsat R1/(R1 + R2)Thresholds ≈ ±3.3 V; hysteresis loop in X-Y mode
Astable multivibratorR = 10k, C = 100 nF, R1 = R2 = 10kT = 2RC ln 3f ≈ 455 Hz square wave
Triangle / square generatorR1 = 10k, R2 = 22k, R = 10k, C = 100 nFf = R2 / (4 R1 R C)f ≈ 550 Hz; triangle ≈ ±4.8 V
Wien-bridge oscillatorR = 10k, C = 10 nF, Rf = 22k, Rg = 10kf = 1 / (2πRC), gain ≥ 3f ≈ 1.59 kHz sine

Active filters and non-linear circuits

ApplicationComponentsDesign relationExpected result
First-order low-pass filterR = 10k, C = 10 nF, gain 2fc = 1 / (2πRC) ≈ 1.59 kHzGain 2 below fc, falls 20 dB/decade above
First-order high-pass filterC = 10 nF, R = 10k, gain 2fc ≈ 1.59 kHzGain 2 above fc
Band-pass filter (two stages)HPF 100 nF/10k + LPF 10k/10 nFfL ≈ 159 Hz, fH ≈ 1.59 kHzGain ≈ 0.9 at 500 Hz
Sallen-Key low-pass (2nd order)R = 10k, C = 10 nF (×2)fc ≈ 1.59 kHz, −40 dB/decadeGain ≈ 0.72 at 1 kHz
Precision half-wave rectifierR1 = Rf = 10k, 2 × 1N4148Diode drop hidden by loop gainRectifies even 0.5 V peak signals
Precision full-wave rectifierHWR + summer (10k, 4.7k)Vo ≈ −|Vin|Output ripple at twice the input frequency
Zener limiter (clipper)R1 = 10k, Rf = 100k, 2 × 4.7 V ZenerClips at ±(VZ + 0.7)Output limited to ≈ ±5.4 V
Peak detector1N4148, C = 1 µF, Rd = 1MC charges to the input peak≈ +2 V DC for a 4 Vpp sine
Logarithmic amplifierR1 = 10k, diode feedbackVo = −nVT ln(Vin / R1 IS)Output ≈ −0.5 V, changing ~0.1 V per decade of input

Procedure

  1. Select the application in the side panel (Guided experiment). The circuit diagram shows every connection: dotted lines are still to be made, solid lines are correct and red lines are wrong.
  2. Connect the power supply: + to the kit +12 V input, COM to GND and − to the −12 V input.
  3. Patch the components between the op-amp sockets as shown in the diagram. Sockets on one printed line are the same node, so the input resistor, the feedback element and a probe can share a node.
  4. Connect the function generator Output to the circuit input and its GND to the kit ground.
  5. Connect DSO probe CH1 to the input and CH2 to the output; clip both probe grounds to a GND socket.
  6. Switch ON the power supply and the function generator, set the recommended waveform, amplitude and frequency, and press Auto on the DSO.
  7. Measure the input and output amplitudes and frequency, compare them with the design relation and capture the DSO screen.
  8. Change one parameter (amplitude, frequency or a component) and observe its effect.

Result

The linear and non-linear applications of IC 741 were wired and tested. The measured gains, frequencies, thresholds and waveforms agreed with the design relations, and the practical limits of the op-amp – output saturation near ±10.5 V, finite gain-bandwidth and slew rate – were observed.

Precautions

Viva questions and FAQ

What are the applications of an op-amp?

Amplifiers (inverting, non-inverting, summing, difference, follower), integrators and differentiators, comparators and Schmitt triggers, oscillators and waveform generators, active filters, precision rectifiers, clippers, peak detectors and logarithmic amplifiers.

What is the difference between a comparator and a Schmitt trigger?

A comparator switches at a single reference level, so noise near that level can make the output chatter. A Schmitt trigger uses positive feedback to create two thresholds (hysteresis), giving clean switching.

Why is a resistor connected across the integrator capacitor?

Without it the DC gain is the open-loop gain, so any offset voltage is integrated until the output saturates. The parallel resistor limits the DC gain while keeping integration at the signal frequency.

What is the frequency of a Wien-bridge oscillator?

f = 1 / (2πRC). With R = 10 kΩ and C = 10 nF it is about 1.59 kHz. The amplifier gain must be at least 3 for oscillations to build up.

What is the period of an op-amp astable multivibrator?

T = 2RC ln((1 + β)/(1 − β)) with β = R2/(R1 + R2). For R1 = R2, T = 2RC ln 3 ≈ 2.2RC.

Why is a precision rectifier used instead of a diode?

A plain silicon diode needs about 0.6 V to conduct. In a precision rectifier the diode is inside the op-amp feedback loop, so the loop gain removes the drop and even millivolt signals are rectified.

What is slew rate?

The maximum rate of change of the op-amp output voltage, about 0.5 V/µs for the 741. Large, fast signals are distorted into triangles when the required rate exceeds it.

Can I perform op-amp experiments online?

Yes. This virtual lab provides a power supply, function generator, oscilloscope and IC 741 trainer kit in 3D. You wire each circuit with patch leads, observe real waveforms and capture the oscilloscope screen.