An op-amp integrator is an analog circuit that produces an output voltage proportional to the accumulated area (integral) of the input voltage over time. If you feed it a constant DC voltage, the output ramps linearly; feed it a square wave, and you get a triangle wave. In a real circuit, it changes instantaneous voltage levels into time-dependent voltage slopes, effectively acting as an active low-pass filter with a strict -20dB/decade roll-off and a 90-degree phase shift.
Beginners frequently confuse a true op-amp integrator with a passive RC low-pass filter. While a simple resistor-capacitor network can approximate integration over a tiny fraction of its time constant, it lacks the virtual ground and constant-current drive of an operational amplifier. Without the op-amp, the passive RC 'ramp' quickly curves and saturates as the capacitor charges, whereas the op-amp integrator maintains a perfectly linear slope.
The Math in Action: A Worked Numeric Example
To understand how this works on the bench, let us put real numbers to the standard inverting integrator topology. The core formula governing the output is:
Output Formula: Vout(t) = - (1 / RinCf) ∫ Vin dt + Vinitial
Rate of Change: dVout/dt = -Vin / (Rin × Cf)
Assume we apply a steady input voltage (Vin = 2.0V DC) through an input resistor (Rin = 10 kΩ), with a feedback capacitor (Cf = 1 µF).
- Calculate the current: Because the inverting input is a virtual ground (0V), the current through the resistor is simply I = Vin / Rin = 2.0V / 10,000Ω = 0.2 mA.
- Determine the ramp rate: This 0.2 mA is forced entirely into the 1 µF capacitor. Using dV/dt = I / C, we get 0.0002 A / 0.000001 F = 200 V/s.
- Apply the inverting gain: The output ramps downward at exactly -200 volts per second (or -0.2V per millisecond).
If your op-amp is powered by standard ±12V rails and starts at 0V, it will hit the negative saturation rail in approximately 60 milliseconds. This predictable, linear ramp is the exact mechanism that makes the integrator so powerful.
Where You Meet This in Practice
You will rarely see a pure mathematical integrator outside of a textbook, but modified versions of this circuit are the backbone of several critical technologies:
- PID Controllers: In analog or mixed-signal control loops, the integrator handles the 'I' (Integral) term. It accumulates steady-state error over time, ensuring that a motor or heater eventually reaches the exact setpoint rather than stalling just below it.
- Analog Synthesizers: Vintage synths use integrators to convert the harsh square waves generated by a 555 timer or digital clock into smooth triangle and sawtooth waves for audio oscillators.
- Charge Amplifiers: Piezoelectric vibration sensors output tiny, high-impedance current spikes. An op-amp integrator acts as a charge amplifier, accumulating these spikes into a measurable, low-impedance voltage.
- Dual-Slope ADCs: The core mechanism inside classic digital multimeters (like those using the ICL7106 chip) uses an integrator to measure voltage by timing how long it takes a capacitor to ramp up and then ramp back down to zero.
Bench Gotchas: DC Drift and Dielectric Absorption
Building an integrator on a breadboard often results in a frustrating failure mode: the output instantly slams into the positive or negative rail, even with the input grounded. This happens for two main reasons.
1. The DC Drift Problem
In a pure integrator, any tiny DC offset voltage at the input gets integrated over time. A mere 2mV of input offset voltage (Vos) with our 10k/1µF components will ramp the output to the 12V rail in just 60 seconds. Furthermore, the op-amp's own input bias current flows directly into the capacitor, adding to the drift.
The Fix: Add a large feedback resistor (Rf) in parallel with the capacitor. This creates a 'lossy integrator' that bounds the DC gain to -Rf/Rin. As a rule of thumb, make Rf at least 10x to 100x larger than Rin (e.g., 100 kΩ to 1 MΩ). It stops the DC drift while preserving integration for your AC signal frequencies.
2. The Capacitor Trap (Dielectric Absorption)
Do not use standard X7R or Y5V ceramic capacitors for Cf. These materials exhibit high dielectric absorption (DA) and voltage coefficients. The capacitor essentially 'remembers' past voltages and releases them slowly, causing your perfectly linear ramp to curve, bounce, or wander when the input is zeroed.
The Fix: Always use Polypropylene film capacitors (like the WIMA FKP2 series) or C0G/NP0 ceramics for the feedback path. They offer the linear charge/discharge characteristics required for precision integration. For a deep dive into passive component non-idealities, refer to the All About Circuits semiconductor guide.
Component Selection Decision Tree
Choosing the right op-amp for an integrator comes down to managing input bias current (Ib) and input offset voltage (Vos). Use this decision matrix to select your IC.
| If your application is... | Key Requirement | Recommended Op-Amp Family | Specific Part Number (Dual) |
|---|---|---|---|
| Audio / Analog Synths | Low noise, low cost, moderate DC precision | JFET Input | TL072 (~$1.50) |
| Precision PID / DC Instrumentation | Ultra-low bias current to prevent capacitor drift | CMOS Input | LMC6482 (~$3.50) |
| High-Speed ADC / Charge Amps | High slew rate, low settling time, low noise | JFET / Bipolar Hybrid | OPA656 (~$8.00) |
| General Hobby / Education | Robust, cheap, survives breadboard abuse | Bipolar (with lossy Rf) | LM358 (~$0.50) |
Default Recommendation: If you are building a precision DC integrator, a charge amplifier, or a PID loop and want to avoid fighting DC drift, default to the LMC6482. Its CMOS inputs boast an ultra-low typical bias current of 20 fA, meaning almost zero current leaks into your feedback capacitor, preserving your ramp linearity for minutes rather than milliseconds.
Frequently Asked Questions
Why is there a minus sign in the output formula?
The standard integrator topology feeds the input signal into the inverting (-) terminal of the op-amp. Therefore, a positive input voltage causes the output to ramp in the negative direction. If you need a non-inverting integrator, you must either use a non-inverting topology (which is much more complex and requires matched components) or simply pass the output through a second unity-gain inverting op-amp stage.
How do I reset the integrator back to zero?
In applications like sample-and-hold circuits or dual-slope ADCs, you need to discharge the capacitor to start a new integration cycle. Place a small N-channel MOSFET (like a 2N7000) or a momentary pushbutton switch directly in parallel with the feedback capacitor. Triggering the switch shorts the capacitor, instantly resetting Vout to 0V. For further reading on reset mechanisms, check out the Electronics Tutorials op-amp integrator guide.
Can I use an integrator as a low-pass filter?
Yes. A 'lossy integrator' (one with the parallel Rf resistor mentioned earlier) is functionally identical to an active first-order low-pass filter. The cutoff frequency (-3dB point) is determined by the feedback components: fc = 1 / (2π × Rf × Cf). Below this frequency, it acts as a standard amplifier with a gain of -Rf/Rin; above it, it integrates and rolls off at -20dB/decade.






