In electronics, a differentiator is a circuit that outputs a signal approximately proportional to the rate of change (i.e. the derivative with respect to time) 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 (as its gain would have to increase indefinitely as frequency increase). 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.
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, are called differentiators because they 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 has a zero in the origin and a pole at
s{=}\tfrac{-1}{RC}
Y= | ZR |
ZR+ZC |
X=
R | |||
|
X=
sRC | |
1+sRC |
X\impliesY ≈ sRCX for |s|\ll
1 | |
RC |
\tfrac{1}{2\piRC}
\tfrac{1}{RC}
Similarly, the transfer function of the inductive differentiator has a zero in the origin and a pole in
s{=}\tfrac{-R}{L}
\tfrac{R}{2\piL}
\tfrac{R}{L}
A differentiator circuit (also known as a differentiating amplifier or inverting differentiator) consists of an ideal operational amplifier with a resistor R providing negative feedback and a capacitor C at the input, such that:
Vin
Vout
I
According to the capacitor's current–voltage relation, this current
I
I=C
dVin | |
dt |
.
This same current
I
0-Vout=IR.
Inserting the capacitor's equation for
I
Vout=-RC
dVin | |
dt |
.
Consequently,
RC.
The op amp's low-impedance output isolates the load of the succeeding stages, so this circuit has the same response independent of its load.
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.
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 (or for slow changing input), and higher at higher frequencies (or for fast changing input).
The transfer function of an ideal differentiator is
\tfrac{Vout
f0dB{=}\tfrac{1}{2\piRC}.
A small time constant is sufficient to cause differentiation of the input signal.
At high frequencies:
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
0-Vo | |
R |
+
0-Vo | |||
|
+
0-Vi | |||||||||
|
=0,
-Vo\left(
1 | |
R |
+sC1\right)=
Vi | |||||||||
|
.
Therefore,
Vo | |
Vi |
=
-sRC | |
(1+sR1C)(1+sRC1) |
.
Hence, there occurs one zero at
s{=}0
s{=}\tfrac{-1}{R1C}
f1{=}\tfrac{1}{2\piR1C}
s{=}\tfrac{-1}{RC1}
f2{=}\tfrac{1}{2\piRC1}
This practical differentiator's frequency response is a band-pass filter with a +20 dB per decade slope over frequency band for differentiation. Its Bode plot when normalized with
R1C{=}101
RC1{=}10-1
From the above plot, it can be seen that:
\omega1
\omega1
\omega2
\omega2
Setting
RC1{=}R1C{=}RC
s{=}0
s{=}\tfrac{-1}{RC}
\omega1{=}\tfrac{1}{RC}
RC{=}1
From the above plot, we observe that:
\omega1
\omega1
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.