Home/Analog Electronics/Op-amp applications/Integrator
Integrator using Op-Amp (IC 741) – Virtual Lab
With a capacitor in place of the feedback resistor, the op-amp output becomes the time integral of the input. A square wave input therefore produces a triangular wave, and a sine produces a cosine.
Aim
To build a practical integrator using IC 741 and observe the conversion of a square wave into a triangular wave.
Circuit components
| Component | Value | Purpose |
|---|---|---|
| IC 741 | OA1 | — |
| R1 | 10 kΩ | Input resistor |
| C1 | 10 nF | Feedback capacitor |
| Rp | 1 MΩ | Parallel with C1, limits DC gain |
Supply: ±12 V dual power supply. Instruments: function generator and two-channel digital storage oscilloscope, all on the virtual bench.
Theory
The − input is a virtual ground, so a constant input voltage drives a constant current Vin/R1 into the capacitor. A constant current charges the capacitor linearly, making the output a ramp whose slope is −Vin/(R1C).
An ideal integrator has infinite gain at DC, so the tiny input offset of a real op-amp would slowly drive it into saturation. The 1 MΩ resistor Rp in parallel with C limits the DC gain to −Rp/R1 = −100 and keeps the output centred.
With a ±1 V, 1 kHz square wave each half-cycle lasts 0.5 ms, so the output changes by 10 V/ms × 0.5 ms = 5 V: a triangle of about 5 Vpp.
Procedure
- Open the Op-Amp Trainer Kit simulator; it starts with the Integrator application selected.
- In Guided mode follow the highlighted connections to place the components from the parts bank and wire the circuit on the kit, or wire it yourself in Free mode.
- Set the dual power supply to ±12 V and switch it on.
- Switch on the function generator and set: Square, 2 Vpp (±1 V), 1 kHz.
- Connect CH1 and CH2 of the oscilloscope as shown and set: CH1 1 V/div, CH2 2 V/div, 200 µs/div.
- Wait a few seconds for the output to settle around 0 V.
- Measure the peak-to-peak value and slope of the triangle.
- Change the input to a sine and observe the 90° phase shift; increase the frequency and note how the output amplitude falls.
- Capture the oscilloscope screen and compare it with the expected result below.
Expected result
A ±1 V square wave produces a triangular output of about 5 Vpp with a slope of 10 V/ms, as predicted by 1/(R1C).
Viva questions
- Why is a resistor connected across the integrator capacitor?
- To limit the DC gain so that input offset voltage and bias current do not drive the output into saturation.
- What is the output of an integrator for a sine input?
- A cosine (shifted by 90°) whose amplitude falls as frequency rises (−20 dB/decade).
- Give applications of an integrator.
- Triangle and ramp generators, analog computers, PI controllers and dual-slope analog-to-digital converters.
Other op-amp applications
Linear amplifiers
Integrator and differentiator
- Integrator
- Differentiator
Comparators and waveform generators
Active filters
Non-linear circuits
All applications run on the Op-Amp Trainer Kit 3D virtual lab.