Integrator and Differentiator Circuits
Op-Amp Calculus Circuits: Voltage Area and Slope
Op-Amp Calculus Circuits use a resistor, a capacitor, and negative feedback to connect an output voltage to either the accumulated area or the instantaneous slope of an input voltage. These dynamic op-amp circuits appear in signal conditioning and waveform generation. To predict their outputs, track the capacitor current, the inversion of the circuit, and any initial stored charge.
Capacitor current sets the operation
For a capacitor, define its voltage from the terminal where current enters to the terminal where current leaves. With this passive sign convention,
Assume an ideal op amp operating with negative feedback, with its non-inverting input grounded. The inverting input is then at approximately zero volts, and neither input draws current. Consequently, the current arriving through the input component leaves through the feedback component.
The placement of the capacitor determines which voltage is differentiated in the current equation. Use these relationships only while the output remains within the circuit's linear operating range.
Resistor input: integration
An integrator produces an output change proportional to the signed time integral of its input. Put the resistor at the input and the capacitor in feedback. Current conservation gives
Therefore,
A positive input makes the output fall; a negative input makes it rise. A constant input produces a straight output ramp because the output slope is constant. When the input changes between constant levels, calculate each ramp separately and carry the ending output into the next interval.
The product RC has units of seconds. Input area has units of volt-seconds, so dividing by RC gives an output change in volts. For a constant input lasting Δt,
Capacitor input: differentiation
A differentiator produces an output proportional to the instantaneous rate of change of its input. Put the capacitor at the input and the resistor in feedback. The input current is now
That current passes through the feedback resistor, giving
A constant input produces zero output after any switching transient. A rising ramp produces a negative constant output; a falling ramp produces a positive constant output. The input slope has units of volts per second, so multiplication by RC again gives volts.
For the following comparison, take t0=0 and define Δvo=vo(t)−vo(0) for the integrator.
Input voltage | Integrator output change | Differentiator output |
|---|---|---|
Constant k | −kt/(RC) | 0 |
Ramp at | −at2/(2RC) | −RCa |
Sine Asin(ωt) | A[cos(ωt)−1]/(ωRC) | −ωRCAcos(ωt) |
For sinusoidal signals, ω is angular frequency in radians per second. If frequency is supplied in hertz, first use ω=2πf. Differentiation changes both amplitude and waveform phase; keeping the original sine after differentiating loses that phase change.
An ideal differentiator assigns an unbounded response to an instantaneous input step. Apply its ordinary slope formula on smooth intervals rather than inventing a finite output at the discontinuity.
What to remember
- Resistor input and capacitor feedback give dvo/dt=−vin/(RC).
- Capacitor input and resistor feedback give vo=−RCdvin/dt.
- Integration requires an initial output and signed input area.
- Convert all time quantities consistently before calculating.
Example: Tracking a Two-Stage Signal Conditioner
A signal-conditioning module uses an ideal inverting integrator followed by an ideal inverting differentiator. Both non-inverting inputs are grounded. The integrator has an input resistor of 20.0 kΩ and a feedback capacitor of 0.500 μF. Its output is initially v1(0)=+0.400 V. The differentiator has an input capacitor of 40.0 nF and a feedback resistor of 50.0 kΩ. Assume both stages remain in their linear ranges.
The module input is +0.300 V for the first 8.00 ms, then −0.200 V for the next 12.0 ms.
a) Find the integrator's output slope during the first interval and its output at 8.00 ms.
First calculate the integrator's resistor–capacitor product. A constant positive input gives a constant ________ output slope:
Convert the interval to seconds and multiply the slope by its duration:
Include the initial output:
The output falls at 30.0 V/s and reaches +0.160 V.
b) Find the integrator output at 20.0 ms and explain its relationship to the initial output.
The second interval lasts 12.0 ms, rather than 20.0 ms. Its negative input makes the output ________. Begin from the voltage found at the end of the first interval:
The signed input areas ________:
Consequently, the total output change is zero and the integrator returns to its initial +0.400 V, not necessarily to zero volts.
c) Find the differentiator output v2 during each interval, excluding the switching instants.
The differentiator receives v1, so use the slopes of the integrator output. Do not differentiate the original piecewise constant input instead.
During the first interval, v1 ________ at 30.0 V/s:
During the second interval, v1 ________ at 20.0 V/s:
As a check, the two inversions give an overall ________ factor τd/τi=0.200. Multiplying the original input levels by this factor gives the same results: +0.0600 V and −0.0400 V.
In an ideal inverting integrator, the sits in the op-amp's feedback path, so even a small constant input offset makes the output ramp until the op-amp saturates. A practical integrator therefore places a large resistor RF in with that feedback component, which limits the gain at zero frequency to −RF/R.
In an ideal differentiator, the gain magnitude ωRC keeps growing as frequency rises, so high-frequency is strongly amplified. A practical differentiator adds a small resistor in with the input capacitor to cap that gain.
An ideal inverting integrator has an input resistor of 25.0 kΩ, a feedback capacitor of 0.800 μF, and a grounded non-inverting input. At t=0, its output is +1.10 V. A constant input of +0.600 V is applied for 12.0 ms. Assume linear operation throughout. Find the output at the end of this interval, in volts to two decimal places.