Blackmer RMS detector

Last updated

The Blackmer RMS detector is an electronic true RMS converter invented by David E. Blackmer in 1971. The Blackmer detector, coupled with the Blackmer gain cell, forms the core of the dbx noise reduction system and various professional audio signal processors developed by dbx, Inc.

Contents

Unlike earlier RMS detectors that time-averaged algebraic square of input signal, the Blackmer detector performs time-averaging on the logarithm of the input, being the first successful, commercialized instance of log-domain filter. [1] The circuit, created by trial and error, computes root mean squared of various waveforms with high precision, although exact nature of its operation was not known to the inventor. First mathematical analysis of log-domain filtering and mathematical proof of Blackmer's invention were proposed by Robert Adams in 1979; general log-domain filter synthesis theory was developed by Douglas Frey in 1993. [2]

Operation

Development path from traditional log-antilog RMS detector (top) to the Blackmer RMS detector (bottom) in its patented 1971 configuration. Diode symbols denote diode-connected transistors; diodes proper have inferior logarithming characteristics and are avoided in precision circuits. Blackmer RMS detector evolution ENG.png
Development path from traditional log-antilog RMS detector (top) to the Blackmer RMS detector (bottom) in its patented 1971 configuration. Diode symbols denote diode-connected transistors; diodes proper have inferior logarithming characteristics and are avoided in precision circuits.

Root mean square (RMS), defined as the square root of the mean square of input signal over time, is a useful metric of alternating currents. Unlike peak value or average value, RMS is directly related to energy, being equivalent to the direct current that would be required to get the same heating effect. In audio applications, RMS is the only metric directly related to perceived loudness, being insensitive to the phase of harmonics in complex waveforms. [6] Magnetic recording and playback inevitably shifts phases of harmonics; a true RMS converter will not react to such phase shift. Simpler peak detectors or average detectors, on the contrary, respond to changes in phase with changing output values, although energy level and loudness remain unchanged. For this reason David Blackmer, designer of dbx noise reduction system, needed a cost-efficient precision RMS detector compatible with the Blackmer gain cell. [6] The latter had an exponential control characteristic, so a suitable detector had to have logarithmic output. [1]

Contemporary electronic RMS detectors had "normal", linear outputs, and were built exactly following the definition of RMS. The detector would compute square of the input signal, time-average the square using a low-pass filter or an integrator, and then compute square root of that average to produce linear, not logarithmic, output. Analog computation of squares and square roots was performed using either expensive variable-transconductance analog multipliers (which remain expensive in the 21st century [7] ) or simpler and cheaper logarithmic converters employing exponential current-voltage characteristic of a bipolar transistor. [1] Thermal RMS conversion was too slow for audio purposes; electronic RMS detectors worked fine in measurement instruments, but their dynamic range was too narrow for professional audio - precisely because they operated on squares of input signal, taking up twice its dynamic range. [1] [7]

Blackmer reasoned that the log-antilog detector may be simplified by taking up processing to log domain, omitting physical squaring of input signals and thus retaining its full dynamic range. [3] Squaring and taking square roots in log domain is very cheap, being simple scaling by a factor of 2 or 1/2. [7] However, simple linear filters do not work in log domain, producing incorrect, irrelevant output. Correct time-averaging required nonlinear filters of yet unknown topology. Blackmer proposed simple replacement of a resistor in RC network with a silicon diode biased with a fixed idle current. Since small-signal impedance of such diode is controlled linearly by current, changing this current controls settling time of the detector. [3] Cutoff frequency of this first order filter equals

, [5]

where is thermal voltage (hence the frequency shifts with temperature). The equation is valid for a range of idle currents over 60  dB , allowing wide tuning opportunity. [4] [8] The circuit has fast attack and slow decay, which are locked to each other and cannot be adjusted separately. [9] Logarithmic output voltage is proportional to the mean of the square at a rate of around 3 mV/dB, and proportional to RMS at around 6 mV/dB. [9]

When the crude test circuit was built, Blackmer and his associates did not expect it to work as a true RMS detector, but it did. According to Robert Adams, it "seemed to behave ideally", [4] and rigorous tests with various waveforms confirmed ideal RMS performance. The circuit was absolutely insensitive to phase shifts in input signal. It was immediately patented and employed in dbx, Inc. professional audio processors. No one in the company, including Blackmer, could explain why it works at all until 1977, when Robert Adams began work on proper mathematical proof of RMS compliance. [4] Adams tried to extend log-domain concept to Sallen–Key topology and failed. [4] He published his thesis in 1979, and was later credited as the inventor of log-domain filter concept, [10] but the idea remained unknown to general public until the 1993 pioneering work by Douglas Frey. [11] [2]

Related Research Articles

Phase-locked loop

A phase-locked loop or phase lock loop (PLL) is a control system that generates an output signal whose phase is related to the phase of an input signal. There are several different types; the simplest is an electronic circuit consisting of a variable frequency oscillator and a phase detector in a feedback loop. The oscillator generates a periodic signal, and the phase detector compares the phase of that signal with the phase of the input periodic signal, adjusting the oscillator to keep the phases matched.

Signal-to-noise ratio is a measure used in science and engineering that compares the level of a desired signal to the level of background noise. SNR is defined as the ratio of signal power to the noise power, often expressed in decibels. A ratio higher than 1:1 indicates more signal than noise.

Rectifier Electrical device that converts AC to DC

A rectifier is an electrical device that converts alternating current (AC), which periodically reverses direction, to direct current (DC), which flows in only one direction. The reverse operation is performed by the inverter.

Demodulation is extracting the original information-bearing signal from a carrier wave. A demodulator is an electronic circuit that is used to recover the information content from the modulated carrier wave. There are many types of modulation so there are many types of demodulators. The signal output from a demodulator may represent sound, images or binary data.

A product detector is a type of demodulator used for AM and SSB signals. Rather than converting the envelope of the signal into the decoded waveform like an envelope detector, the product detector takes the product of the modulated signal and a local oscillator, hence the name. A product detector is a frequency mixer.

Phase detector Circuit that generates a voltage signal which represents the difference in phase between two signal inputs

A phase detector or phase comparator is a frequency mixer, analog multiplier or logic circuit that generates a voltage signal which represents the difference in phase between two signal inputs. It is an essential element of the phase-locked loop (PLL).

Analog signal processing is a type of signal processing conducted on continuous analog signals by some analog means. "Analog" indicates something that is mathematically represented as a set of continuous values. This differs from "digital" which uses a series of discrete quantities to represent signal. Analog values are typically represented as a voltage, electric current, or electric charge around components in the electronic devices. An error or noise affecting such physical quantities will result in a corresponding error in the signals represented by such physical quantities.

Voltage-controlled oscillator

A voltage-controlled oscillator (VCO) is an electronic oscillator whose oscillation frequency is controlled by a voltage input. The applied input voltage determines the instantaneous oscillation frequency. Consequently, a VCO can be used for frequency modulation (FM) or phase modulation (PM) by applying a modulating signal to the control input. A VCO is also an integral part of a phase-locked loop.

Function generator Electronic test equipment used to generate electrical waveforms--

A function generator is usually a piece of electronic test equipment or software used to generate different types of electrical waveforms over a wide range of frequencies. Some of the most common waveforms produced by the function generator are the sine wave, square wave, triangular wave and sawtooth shapes. These waveforms can be either repetitive or single-shot. Integrated circuits used to generate waveforms may also be described as function generator ICs.

Crest factor is a parameter of a waveform, such as alternating current or sound, showing the ratio of peak values to the effective value. In other words, crest factor indicates how extreme the peaks are in a waveform. Crest factor 1 indicates no peaks, such as direct current or a square wave. Higher crest factors indicate peaks, for example sound waves tend to have high crest factors.

Delta-sigma modulation is a method for encoding analog signals into digital signals as found in an analog-to-digital converter (ADC). It is also used to convert high bit-count, low-frequency digital signals into lower bit-count, higher-frequency digital signals as part of the process to convert digital signals into analog as part of a digital-to-analog converter (DAC).

True RMS converter

For the measurement of an alternating current the signal is often converted into a direct current of equivalent value, the root mean square (RMS). Simple instrumentation and signal converters carry out this conversion by filtering the signal into an average rectified value and applying a correction factor. The value of the correction factor applied is only correct if the input signal is sinusoidal.

Clipping (audio)

Clipping is a form of waveform distortion that occurs when an amplifier is overdriven and attempts to deliver an output voltage or current beyond its maximum capability. Driving an amplifier into clipping may cause it to output power in excess of its power rating.

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.

Detector (radio)

In radio, a detector is a device or circuit that extracts information from a modulated radio frequency current or voltage. The term dates from the first three decades of radio (1888-1918). Unlike modern radio stations which transmit sound on an uninterrupted carrier wave, early radio stations transmitted information by radiotelegraphy. The transmitter was switched on and off to produce long or short periods of radio waves, spelling out text messages in Morse code. Therefore, early radio receivers had only to distinguish between the presence or absence of a radio signal. The device that performed this function in the receiver circuit was called a detector. A variety of different detector devices, such as the coherer, electrolytic detector, magnetic detector and the crystal detector, were used during the wireless telegraphy era until superseded by vacuum tube technology.

Linear circuit electronic circuits obeying the superposition principle

A linear circuit is an electronic circuit which obeys the superposition principle. This means that the output of the circuit F(x) when a linear combination of signals ax1(t) + bx2(t) is applied to it is equal to the linear combination of the outputs due to the signals x1(t) and x2(t) applied separately:

In telecommunication, equalization is the reversal of distortion incurred by a signal transmitted through a channel. Equalizers are used to render the frequency response—for instance of a telephone line—flat from end-to-end. When a channel has been equalized the frequency domain attributes of the signal at the input are faithfully reproduced at the output. Telephones, DSL lines and television cables use equalizers to prepare data signals for transmission.

A phase detector characteristic is a function of phase difference describing the output of the phase detector.

In electronics, power amplifier classes are letter symbols applied to different power amplifier types. The class gives a broad indication of an amplifier's characteristics and performance. The classes are related to the time period that the active amplifier device is passing current, expressed as a fraction of the period of a signal waveform applied to the input. A class A amplifier is conducting through all the period of the signal; Class B only for one-half the input period, class C for much less than half the input period. A Class D amplifier operates its output device in a switching manner; the fraction of the time that the device is conducting is adjusted so a pulse width modulation output is obtained from the stage.

The Blackmer gain cell is an audio frequency voltage-controlled amplifier (VCA) circuit with an exponential control law. It was invented and patented by David E. Blackmer between 1970 and 1973. The four-transistor core of the original Blackmer cell contains two complementary bipolar current mirrors that perform log-antilog operations on input voltages in a push-pull, alternating fashion. Earlier log-antilog modulators using the fundamental exponential characteristic of a p–n junction were unipolar; Blackmer's application of push-pull signal processing allowed modulation of bipolar voltages and bidirectional currents.

References

Bibliography

  • Adams, Robert (2006). "Foreword". In Gordon W. Roberts, Vincent W. Leung (ed.). Design and Analysis of Integrator-Based Log-Domain Filter Circuits. Springer Science & Business Media. ISBN   9780306470547.
  • Roberts, Gordon; Leung, Vincent (2006). Gordon W. Roberts, Vincent W. Leung (ed.). Design and Analysis of Integrator-Based Log-Domain Filter Circuits. Springer Science & Business Media. ISBN   9780306470547.
  • Tyler, Les; Kirkwood, Wayne (2008). "12.3.4 Dedicated Analog Integrated Circuits for Audio Applications". In Glen Ballou (ed.). Handbook for Sound Engineers. Fourth Edition. Focal/Elsevier. ISBN   978-0-240-80969-4.