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.
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)
| Equipment | Specification |
|---|---|
| Dual DC power supply | ±0 – 15 V tracking (use ±12 V), with + / COM / − terminals |
| Function generator | Sine, square, triangle; 10 Hz – 100 kHz; 0 – 10 Vpp; ±5 V DC offset; Output and GND terminals |
| Digital storage oscilloscope | Two channels, V/div, time/div, trigger level, Auto set, X-Y mode, measurements and screen capture |
| Op-amp trainer kit | 2 × IC 741 (OA1, OA2) with linked socket rows for − input, + input, output and ground |
| Components on kit | Resistors 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 cords | Banana 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 / R1Integrator: Vo = −(1 / R1C) ∫ Vin dt Differentiator: Vo = −Rf C dVin/dtLinear applications
| Application | Components | Relation | Expected result (1 kHz) |
|---|---|---|---|
| Inverting amplifier | R1 = 10k, Rf = 100k | AV = −Rf/R1 = −10 | 1 Vpp in → 10 Vpp out, 180° phase shift |
| Non-inverting amplifier | R1 = 10k, Rf = 100k | AV = 1 + Rf/R1 = 11 | 1 Vpp in → 11 Vpp out, in phase |
| Voltage follower | Output tied to − input | AV = 1 | Output equals input; very high input impedance |
| Summing amplifier | R1 = R2 = Rf = 10k, pot for DC | Vo = −(V1 + V2) | Inverted sine shifted by the DC level |
| Difference amplifier | All resistors 10k | Vo = V2 − V1 | Common signals cancel |
Integrator and differentiator
| Application | Components | Input | Expected output |
|---|---|---|---|
| Integrator | R1 = 10k, C = 10 nF, Rp = 1M | 2 Vpp square, 1 kHz | Triangle ≈ 5 Vpp (slope 10 V/ms) |
| Differentiator | Rs = 1k, C = 10 nF, Rf = 100k | 2 Vpp triangle, 1 kHz | Square ≈ 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
| Application | Components | Design relation | Expected result |
|---|---|---|---|
| Zero-crossing detector | Input to +, − grounded | Switches at 0 V | ±10.5 V square wave in phase with input |
| Comparator with reference | Pot sets Vref | High when Vin > Vref | Duty cycle changes with pot setting |
| Schmitt trigger | R1 = 10k, R2 = 22k | VUT/LT = ±Vsat R1/(R1 + R2) | Thresholds ≈ ±3.3 V; hysteresis loop in X-Y mode |
| Astable multivibrator | R = 10k, C = 100 nF, R1 = R2 = 10k | T = 2RC ln 3 | f ≈ 455 Hz square wave |
| Triangle / square generator | R1 = 10k, R2 = 22k, R = 10k, C = 100 nF | f = R2 / (4 R1 R C) | f ≈ 550 Hz; triangle ≈ ±4.8 V |
| Wien-bridge oscillator | R = 10k, C = 10 nF, Rf = 22k, Rg = 10k | f = 1 / (2πRC), gain ≥ 3 | f ≈ 1.59 kHz sine |
Active filters and non-linear circuits
| Application | Components | Design relation | Expected result |
|---|---|---|---|
| First-order low-pass filter | R = 10k, C = 10 nF, gain 2 | fc = 1 / (2πRC) ≈ 1.59 kHz | Gain 2 below fc, falls 20 dB/decade above |
| First-order high-pass filter | C = 10 nF, R = 10k, gain 2 | fc ≈ 1.59 kHz | Gain 2 above fc |
| Band-pass filter (two stages) | HPF 100 nF/10k + LPF 10k/10 nF | fL ≈ 159 Hz, fH ≈ 1.59 kHz | Gain ≈ 0.9 at 500 Hz |
| Sallen-Key low-pass (2nd order) | R = 10k, C = 10 nF (×2) | fc ≈ 1.59 kHz, −40 dB/decade | Gain ≈ 0.72 at 1 kHz |
| Precision half-wave rectifier | R1 = Rf = 10k, 2 × 1N4148 | Diode drop hidden by loop gain | Rectifies even 0.5 V peak signals |
| Precision full-wave rectifier | HWR + summer (10k, 4.7k) | Vo ≈ −|Vin| | Output ripple at twice the input frequency |
| Zener limiter (clipper) | R1 = 10k, Rf = 100k, 2 × 4.7 V Zener | Clips at ±(VZ + 0.7) | Output limited to ≈ ±5.4 V |
| Peak detector | 1N4148, C = 1 µF, Rd = 1M | C charges to the input peak | ≈ +2 V DC for a 4 Vpp sine |
| Logarithmic amplifier | R1 = 10k, diode feedback | Vo = −nVT ln(Vin / R1 IS) | Output ≈ −0.5 V, changing ~0.1 V per decade of input |
Procedure
- 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.
- Connect the power supply: + to the kit +12 V input, COM to GND and − to the −12 V input.
- 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.
- Connect the function generator Output to the circuit input and its GND to the kit ground.
- Connect DSO probe CH1 to the input and CH2 to the output; clip both probe grounds to a GND socket.
- Switch ON the power supply and the function generator, set the recommended waveform, amplitude and frequency, and press Auto on the DSO.
- Measure the input and output amplitudes and frequency, compare them with the design relation and capture the DSO screen.
- 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
- Connect the ±12 V supply with the correct polarity and connect the supply COM to the kit ground.
- Connect the grounds of the function generator and both DSO probes to the kit ground.
- Never leave an unused op-amp input floating in a circuit; tie it to ground or to the feedback network.
- Keep the input amplitude low enough to avoid saturation when measuring gain.
- Switch off the supply before rewiring the circuit.
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.