Differentiator
In electronics, a differentiator is a circuit that outputs a signal approximately proportional to the rate of change of its input signal. Because the derivative of a sinusoid is another sinusoid whose amplitude is multiplied by its frequency, a true differentiator that works across all frequencies can't be realized. Real circuits such as a 1-order high-pass filter are able to approximate differentiation at lower frequencies by limiting the gain above its cutoff frequency. An active differentiator includes an amplifier, while a passive differentiator is made only of resistors, capacitors and inductors.
Passive differentiator
The four-terminal 1-order passive high-pass filter circuits depicted in figure, consisting of a resistor and a capacitor, or alternatively a resistor and an inductor, approximate differentiation at frequencies well-below each filter's cutoff frequency.According to Ohm's law, the voltages at the two ends of the capacitive differentiator are related by the following transfer function :
which is a good approximation of an ideal differentiator at frequencies well below the filter's cutoff frequency of in hertz or in radians.
Similarly, the transfer function of the inductive differentiator has a zero in the origin and a pole in, corresponding to a cutoff frequency of in hertz or in radians.
Image:Passive_differentiator_circuit_transfer_function.png|center|thumb|350px|Frequency response function of the passive differentiator circuits, with frequency axis normalized to the cutoff frequency of for the capacitive circuit or for the inductive circuit
Active differentiator
Ideal differentiator
A differentiator circuit consists of an ideal operational amplifier with a resistor R providing negative feedback and a capacitor C at the input, such that:- is the voltage across C.
- is the voltage across R.
- is the current flowing from the input through both R and C to the circuit's output.
- * No current flows into the ideal op amp's inputs because they have very high input impedance.
This same current is converted into a voltage when it travels from the virtual ground through the resistor to the output, according to ohm's law:
Inserting the capacitor's equation for provides the output voltage as a function of the input voltage:
Consequently,
- The output voltage is proportional to the time derivative of the input voltage with a gain of Hence, the circuit acts as a differentiator and amplifier.
- The negative sign indicates the output has a 180° phase shift with respect to the input.
- The equation is true for any frequency signal, assuming an ideal op amp.
If a constant DC voltage is applied as input, the output voltage is zero. If the input voltage changes from zero to negative, the output voltage is positive. If the applied input voltage changes from zero to positive, the output voltage is negative. If a square-wave input is applied to a differentiator, then a spike waveform is obtained at the output.
Operation as high pass filter
Treating the capacitor as an impedance with capacitive reactance of Xc = allows analyzing the differentiator as a high pass filter. The inverse-proportionality to frequency means that at low frequency, the reactance of a capacitor is high, and at high frequency reactance is low. Since the feedback configuration provides a gain of, that means the gain is low at low frequencies, and higher at higher frequencies.Frequency response
The transfer function of an ideal differentiator is, resulting in the Bode plot of its magnitude having a positive +20 dB per decade slope over all frequencies and having unity gain atAdvantages
A small time constant is sufficient to cause differentiation of the input signal.Limitations
At high frequencies:- this simple differentiator circuit becomes unstable and starts to oscillate;
- the circuit becomes sensitive to high frequency noise that, when amplified, dominates the input signal.
- the limited gain–bandwidth product of real op amps will put an upper frequency limit for differentiation
Practical differentiator
In order to overcome the limitations of the ideal differentiator, an additional small-value capacitor C1 is connected in parallel with the feedback resistor R, which prevents the differentiator circuit from oscillating, and a resistor R1 is connected in series with the capacitor C, which limits the increase in gain to a ratio of.Since negative feedback is present through the resistor R, we can apply the virtual ground concept, that is, the voltage at the inverting terminal is the same 0 volts at the non-inverting terminal.
Applying nodal analysis, we get
Therefore,
Hence, there occurs one zero at and one pole at and another pole at .
Frequency response
This practical differentiator's frequency response is a band-pass filter with a +20 dB per decade slope over frequency band for differentiation. A straight-line approximation of its Bode plot when normalized with and is:For the above plot:
- Below, the circuit attenuates, and well below acts like a differentiator.
- Between and, the circuit acts as a voltage follower or buffer.
- Above, the circuit attenuates, and well above acts like an integrator.
For the above plot:
- Well below, the circuit acts like a differentiator;
- Well above, the circuit acts like an integrator.
Applications
The differentiator circuit is essentially a high-pass filter. It can generate a square wave from a triangle wave input and produce alternating-direction voltage spikes when a square wave is applied. In ideal cases, a differentiator reverses the effects of an integrator on a waveform, and conversely. Hence, they are most commonly used in wave-shaping circuits to detect high-frequency components in an input signal. Differentiators are an important part of electronic analogue computers and analogue PID controllers. They are also used in frequency modulators as rate-of-change detectors.A passive differentiator circuit is one of the basic electronic circuits, being widely used in circuit analysis based on the equivalent circuit method.