The Opamp Differentiator Amplifier 

The basic Opamp Differentiator circuit is the exact opposite to that of the Integrator operational amplifier circuit that we saw in the previous tutorial. Here, the position of the capacitor and resistor have been reversed and now the reactance, Xc is connected to the input terminal of the inverting amplifier while the resistor, Rƒ forms the negative feedback element across the operational amplifier as normal.  
This circuit performs the mathematical operation of Differentiation, that is it "produces a voltage output which is directly proportional to the input voltage's rateofchange with respect to time". In other words the faster or larger the change to the input voltage signal, the greater the input current, the greater will be the output voltage change in response, becoming more of a "spike" in shape.  
As with the integrator circuit, we have a resistor and capacitor forming an RC Network across the operational amplifier and the reactance ( Xc ) of the capacitor plays a major role in the performance of a Opamp Differentiator.  
Opamp Differentiator Circuit 

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 opamp. At higher frequencies the reactance of the capacitor is much lower resulting in a higher gain and higher output voltage from the differentiator amplifier.  
However, at high frequencies an opamp differentiator circuit becomes unstable and will start to oscillate. This is due mainly to the firstorder effect, which determines the frequency response of the opamp circuit causing a secondorder response which, at high frequencies gives an output voltage far higher than what would be expected. To avoid this the high frequency gain of the circuit needs to be reduced by adding an additional small value capacitor across the feedback resistor Rƒ.  
Ok, some math's to explain what's 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


The rate of change of this charge is 

but dQ/dt is the capacitor current i  
from which we have an ideal voltage output for the opamp 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 Opamp Differentiator circuit in its basic form has two main disadvantages compared to the previous 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 closedloop stability is required  
Opamp Differentiator Waveforms 

If we apply a constantly changing signal such as a Squarewave, Triangular or Sinewave type signal to the input of a differentiator amplifier circuit the resultant output signal will be changed and whose final shape is dependant upon the RC time constant of the Resistor/Capacitor combination. 

Improved Opamp Differentiator Amplifier 

The basic single resistor and single capacitor opamp 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 closedloop gain of the circuit at high frequencies, an extra resistor, Rin is added to the input as shown below.  
Improved Opamp Differentiator Amplifier Circuit 

Adding the input resistor Rin limits the differentiators increase in gain at a ratio of Rƒ/Rin. The circuit now acts like a differentiator amplifier at low frequencies and an amplifier with resistive feedback at high frequencies giving much better noise rejection. Additional attenuation of higher frequencies is accomplished by connecting a capacitor C1 in parallel with the differentiator feedback resistor, Rƒ. This then forms the basis of a Active High Pass Filter as we have seen before in the filters section.  

