Integrator and Differentiator
Integrator and Differentiator
Equation for the instantaneous output voltage of the opamp integrator can be
derived as follows.
i1= iF + iB
Since the input resistance of an opamp is very high (in the range of Mega ohms)
iB will be very small at it can be neglected.
Therefore i1 = iF
The relation between the current through a capacitor and voltage across it is iC =
C dv/dt.
Therefore iF = Cf X d (V2 Vo ) / dt
Integrating the both sides of the above equation with respect to time, we get
In the DC condition Cf offers infinite resistance and so the integrator circuit will be
like an inverting opamp amplifier with infinite feedback resistance (Rf = ). The
equation for the voltage gain (A) of an opamp amplifier in inverting mode is A = -
(Rf/R1). Substituting Rf= in the present scenario we get A=. Therefore the
small input offset voltage will get amplified by this factor and there will be an error
voltage at the output. This problem can be solved by adding a feedback resistor
Rf parallel to Cf as shown in fig 4 shown below.
Practical opamp integrator circuit
The addition of Rf will fix the low frequency gain (A) of the circuit to a fixed small
value and so the input offset voltage will have practically no effect on the output
offset voltage and variations in the output voltage is prevented.
Integrating a square wave will result in a triangle waveform and integrating a sine
wave will result in a Cosine waveform. It is shown in the figures shown below.
The input signal to the differentiator is applied to the capacitor. The capacitor
blocks any DC content so there is no current flow to the amplifier summing
point, X resulting in zero output voltage. The capacitor only allows AC type input
voltage changes to pass through and whose frequency is dependant on the rate
of change of the input signal.
At low frequencies the reactance of the capacitor is High resulting in a low gain
( R/Xc ) and low output voltage from the op-amp. At higher frequencies the
reactance of the capacitor is much lower resulting in a higher gain and higher
output voltage from the differentiator amplifier.
Ok, some maths to explain whats going on!. Since the node voltage of the
operational amplifier at its inverting input terminal is zero, the current, i flowing
through the capacitor will be given as:
The charge on the capacitor equals Capacitance x Voltage across the capacitor
from which we have an ideal voltage output for the op-amp differentiator is given
as:
Therefore, the output voltage Vout is a constant -R.C times the derivative of the
input voltage Vin with respect to time. The minus sign indicates a 180o phase
shift because the input signal is connected to the inverting input terminal of the
operational amplifier.
One final point to mention, the Op-amp Differentiator circuit in its basic form has
two main disadvantages compared to the previous operational amplifier
integrator circuit. One is that it suffers from instability at high frequencies as
mentioned above, and the other is that the capacitive input makes it very
susceptible to random noise signals and any noise or harmonics present in the
source circuit will be amplified more than the input signal itself. This is because
the output is proportional to the slope of the input voltage so some means of
limiting the bandwidth in order to achieve closed-loop stability is required.
The basic single resistor and single capacitor op-amp differentiator circuit is not
widely used to reform the mathematical function of Differentiation because of
the two inherent faults mentioned above, Instability and Noise. So in order to
reduce the overall closed-loop gain of the circuit at high frequencies, an extra
resistor, Rin is added to the input as shown below.