Differentiator

Last updated

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 1st-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.

Contents

Passive differentiator

The four-terminal 1st-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.

Passive differentiator circuit 1.png
Capacitive differentiator
Passive differentiator circuit 2.png
Inductive differentiator

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 ):

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.

Frequency response function of the passive differentiator circuits, with frequency axis normalized to the cutoff frequency of
o
0
=
1
R
C
{\displaystyle \omega _{0}{=}{\tfrac {1}{RC}}}
for the capacitive circuit or
o
0
=
R
L
{\displaystyle \omega _{0}{=}{\tfrac {R}{L}}}
for the inductive circuit Passive differentiator circuit transfer function.png
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

Ideal differentiator. Op-Amp Differentiating Amplifier.svg
Ideal differentiator.

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:

According to the capacitor's current–voltage relation, this current as it flows from the input through the capacitor to the virtual ground will be proportional to the derivative of the input voltage:

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 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.

Operation as high pass filter

Treating the capacitor as an impedance with capacitive reactance of Xc = 1/2πfC 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 Rf/Xc, that means the gain is low at low frequencies (or for slow changing input), and higher at higher frequencies (or for fast changing input).

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 at

Advantages

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

Practical Differentiator Circuit Diagram.svg

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 R/R1.

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 (corresponding to a corner frequency of ) and another pole at (corresponding to a corner frequency of ).

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. Its Bode plot when normalized with and is:

Bode Plot of Practical Differentiator.svg

From the above plot, it can be seen that:

  • Below , the circuit attenuates and acts as a differentiator.
  • Between and , the circuit acts as a voltage follower or buffer.
  • Above , the circuit attenuates and acts as an integrator.

Setting will produce one zero at and two poles at (corresponding to one corner frequency of ), resulting in the following frequency response (normalized using ):

Bode Plot of Practical Differentiator when RC1=R1C.svg

From the above plot, we observe that:

  • Below , the circuit acts as a differentiator;
  • Above , the circuit acts as 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.

See also

Related Research Articles

<span class="mw-page-title-main">Multivibrator</span> Electronic circuit used to implement two-state devices

A multivibrator is an electronic circuit used to implement a variety of simple two-state devices such as relaxation oscillators, timers, latches and flip-flops. The first multivibrator circuit, the astable multivibrator oscillator, was invented by Henri Abraham and Eugene Bloch during World War I. It consisted of two vacuum tube amplifiers cross-coupled by a resistor-capacitor network. They called their circuit a "multivibrator" because its output waveform was rich in harmonics. A variety of active devices can be used to implement multivibrators that produce similar harmonic-rich wave forms; these include transistors, neon lamps, tunnel diodes and others. Although cross-coupled devices are a common form, single-element multivibrator oscillators are also common.

<span class="mw-page-title-main">Resonance</span> Tendency to oscillate at certain frequencies

Resonance occurs in an oscillatory dynamical systems when an external, time-varying force coincides with the a natural frequency of the system. Resonance can occur in various systems, such as mechanical, electrical, or acoustic systems, and it is desirable in certain applications, such as musical instruments or radio receivers. Resonance can also be undesirable, leading to excessive vibrations or even structural failure in some cases.

A low-pass filter is a filter that passes signals with a frequency lower than a selected cutoff frequency and attenuates signals with frequencies higher than the cutoff frequency. The exact frequency response of the filter depends on the filter design. The filter is sometimes called a high-cut filter, or treble-cut filter in audio applications. A low-pass filter is the complement of a high-pass filter.

<span class="mw-page-title-main">High-pass filter</span> Type of electronic circuit or optical filter

A high-pass filter (HPF) is an electronic filter that passes signals with a frequency higher than a certain cutoff frequency and attenuates signals with frequencies lower than the cutoff frequency. The amount of attenuation for each frequency depends on the filter design. A high-pass filter is usually modeled as a linear time-invariant system. It is sometimes called a low-cut filter or bass-cut filter in the context of audio engineering. High-pass filters have many uses, such as blocking DC from circuitry sensitive to non-zero average voltages or radio frequency devices. They can also be used in conjunction with a low-pass filter to produce a band-pass filter.

A resistor–capacitor circuit, or RC filter or RC network, is an electric circuit composed of resistors and capacitors. It may be driven by a voltage or current source and these will produce different responses. A first order RC circuit is composed of one resistor and one capacitor and is the simplest type of RC circuit.

<span class="mw-page-title-main">Envelope detector</span> Electronic circuit

An envelope detector is an electronic circuit that takes a (relatively) high-frequency signal as input and outputs the envelope of the original signal.

In electronics, a voltage divider (also known as a potential divider) is a passive linear circuit that produces an output voltage (Vout) that is a fraction of its input voltage (Vin). Voltage division is the result of distributing the input voltage among the components of the divider. A simple example of a voltage divider is two resistors connected in series, with the input voltage applied across the resistor pair and the output voltage emerging from the connection between them.

<span class="mw-page-title-main">Gyrator</span> Two-port non-reciprocal network element

A gyrator is a passive, linear, lossless, two-port electrical network element proposed in 1948 by Bernard D. H. Tellegen as a hypothetical fifth linear element after the resistor, capacitor, inductor and ideal transformer. Unlike the four conventional elements, the gyrator is non-reciprocal. Gyrators permit network realizations of two-(or-more)-port devices which cannot be realized with just the four conventional elements. In particular, gyrators make possible network realizations of isolators and circulators. Gyrators do not however change the range of one-port devices that can be realized. Although the gyrator was conceived as a fifth linear element, its adoption makes both the ideal transformer and either the capacitor or inductor redundant. Thus the number of necessary linear elements is in fact reduced to three. Circuits that function as gyrators can be built with transistors and op-amps using feedback.

The Sallen–Key topology is an electronic filter topology used to implement second-order active filters that is particularly valued for its simplicity. It is a degenerate form of a voltage-controlled voltage-source (VCVS) filter topology. It was introduced by R. P. Sallen and E. L. Key of MIT Lincoln Laboratory in 1955.

A resistor–inductor circuit, or RL filter or RL network, is an electric circuit composed of resistors and inductors driven by a voltage or current source. A first-order RL circuit is composed of one resistor and one inductor, either in series driven by a voltage source or in parallel driven by a current source. It is one of the simplest analogue infinite impulse response electronic filters.

This article illustrates some typical operational amplifier applications. A non-ideal operational amplifier's equivalent circuit has a finite input impedance, a non-zero output impedance, and a finite gain. A real op-amp has a number of non-ideal features as shown in the diagram, but here a simplified schematic notation is used, many details such as device selection and power supply connections are not shown. Operational amplifiers are optimised for use with negative feedback, and this article discusses only negative-feedback applications. When positive feedback is required, a comparator is usually more appropriate. See Comparator applications for further information.

<span class="mw-page-title-main">Current divider</span> Simple linear circuit

In electronics, a current divider is a simple linear circuit that produces an output current (IX) that is a fraction of its input current (IT). Current division refers to the splitting of current between the branches of the divider. The currents in the various branches of such a circuit will always divide in such a way as to minimize the total energy expended.

<span class="mw-page-title-main">Electrical resonance</span> Canceling impedances at a particular frequency

Electrical resonance occurs in an electric circuit at a particular resonant frequency when the impedances or admittances of circuit elements cancel each other. In some circuits, this happens when the impedance between the input and output of the circuit is almost zero and the transfer function is close to one.

Ripple in electronics is the residual periodic variation of the DC voltage within a power supply which has been derived from an alternating current (AC) source. This ripple is due to incomplete suppression of the alternating waveform after rectification. Ripple voltage originates as the output of a rectifier or from generation and commutation of DC power.

A switched capacitor (SC) is an electronic circuit that implements a function by moving charges into and out of capacitors when electronic switches are opened and closed. Usually, non-overlapping clock signals are used to control the switches, so that not all switches are closed simultaneously. Filters implemented with these elements are termed switched-capacitor filters, which depend only on the ratios between capacitances and the switching frequency, and not on precise resistors. This makes them much more suitable for use within integrated circuits, where accurately specified resistors and capacitors are not economical to construct, but accurate clocks and accurate relative ratios of capacitances are economical.

An all-pass filter is a signal processing filter that passes all frequencies equally in gain, but changes the phase relationship among various frequencies. Most types of filter reduce the amplitude of the signal applied to it for some values of frequency, whereas the all-pass filter allows all frequencies through without changes in level.

<span class="mw-page-title-main">Zobel network</span>

Zobel networks are a type of filter section based on the image-impedance design principle. They are named after Otto Zobel of Bell Labs, who published a much-referenced paper on image filters in 1923. The distinguishing feature of Zobel networks is that the input impedance is fixed in the design independently of the transfer function. This characteristic is achieved at the expense of a much higher component count compared to other types of filter sections. The impedance would normally be specified to be constant and purely resistive. For this reason, Zobel networks are also known as constant resistance networks. However, any impedance achievable with discrete components is possible.

<span class="mw-page-title-main">RLC circuit</span> Resistor Inductor Capacitor Circuit

An RLC circuit is an electrical circuit consisting of a resistor (R), an inductor (L), and a capacitor (C), connected in series or in parallel. The name of the circuit is derived from the letters that are used to denote the constituent components of this circuit, where the sequence of the components may vary from RLC.

<span class="mw-page-title-main">Transimpedance amplifier</span> Amplifier that converts current to voltage

In electronics, a transimpedance amplifier (TIA) is a current to voltage converter, almost exclusively implemented with one or more operational amplifiers. The TIA can be used to amplify the current output of Geiger–Müller tubes, photo multiplier tubes, accelerometers, photo detectors and other types of sensors to a usable voltage. Current to voltage converters are used with sensors that have a current response that is more linear than the voltage response. This is the case with photodiodes where it is not uncommon for the current response to have better than 1% nonlinearity over a wide range of light input. The transimpedance amplifier presents a low impedance to the photodiode and isolates it from the output voltage of the operational amplifier. In its simplest form a transimpedance amplifier has just a large valued feedback resistor, Rf. The gain of the amplifier is set by this resistor and because the amplifier is in an inverting configuration, has a value of -Rf. There are several different configurations of transimpedance amplifiers, each suited to a particular application. The one factor they all have in common is the requirement to convert the low-level current of a sensor to a voltage. The gain, bandwidth, as well as current and voltage offsets change with different types of sensors, requiring different configurations of transimpedance amplifiers.

The operational amplifier integrator is an electronic integration circuit. Based on the operational amplifier (op-amp), it performs the mathematical operation of integration with respect to time; that is, its output voltage is proportional to the input voltage integrated over time.