wikiamp

Ring modulation

In electronics, ring modulation is a signal processing function, an implementation of frequency mixing, performed by creating multiple frequencies from those of the two signals, where one is typically a sine wave or another simple waveform and the other is the signal to be modulated. A ring modulator is an electronic device for ring modulation. A ring modulator may be used in music synthesizers and as an effects unit.

The function derives its name from the fact that the analog circuit of diodes originally used to implement this technique takes the shape of a ring. The circuit is similar to a bridge rectifier, except that instead of the diodes facing left or right, they face clockwise or counterclockwise.

Operation



If, "f_c and A_c are the carrier frequency and amplitude components, and f_m and A_m the modulator frequency and amplitude components, respectively," then {{Quote| :yA_m cdot cos(f_m ) cdot cos(f_c) The difference between AM synthesis and ring modulation is that in the latter we exclude the carrier component when multiplying the two oscillators. Hence, the output consists of only the sum and difference parts as we can see in Eq. (4.12). :y A_m cdot cos(f_c) cdot cos(f_m) A_m cdot frac{cos(f_c + f_m ) + cos(f_c - f_m)}{2} }}

Ring modulators frequency mix or heterodyne two waveforms, and output the sum and difference of the frequencies present in each waveform.} This process of ring modulation produces a signal rich in partials. As well, neither the carrier nor the incoming signal are prominent in the outputs, and ideally, not at all.

Two oscillators, whose frequencies were harmonically related and ring modulated against each other, produce sounds that still adhere to the harmonic partials of the notes, but contain a very different spectral make up. When the oscillators' frequencies are not harmonically related, ring modulation creates inharmonics, often producing bell-like or otherwise metallic sounds.

Multiplication in the time domain is the same as convolution in the frequency domain, so the output waveform contains the sum and difference of the input frequencies. Thus, in the basic case where two sine waves of frequencies f1 and f2 (f1 < f2) are multiplied, two new sine waves are created, with one at f1 + f2 and the other at f2f1. The two new waves are unlikely to be harmonically related and (in a well designed ring modulator) the original signals are not present. It is this that gives the ring modulator its unique tones.

If the same signal is sent to both inputs of a ring modulator, the resultant harmonic spectrum is the original frequency domain doubled (if f1 = f2 = f, then f2f1 = 0 and f2 + f1 = 2f). Regarded as multiplication, this operation amounts to squaring. However, some distortion occurs due to the forward voltage drop of the diodes.

The carrier, which alternates between positive and negative current, at any given time, makes one pair of diodes conduct, and reverse-biases the other pair. The conducting pair carry the signal from the left transformer secondary to the primary of the transformer at the right. If the left carrier terminal is positive, the top and bottom diodes conduct. If that terminal is negative, then the "side" diodes conduct, creating a polarity inversion between the transformers.

Some modern ring modulators are implemented using digital signal processing techniques by simply multiplying the time domain signals, producing a nearly-perfect signal output. Intermodulation products can be generated by carefully selecting and changing the frequency of the two input waveforms. If the signals are processed digitally, the frequency-domain convolution becomes circular convolution. If the signals are wideband, this will cause aliasing distortion, so it is common to oversample the operation or low-pass filter the signals prior to ring modulation.

Ring modulators frequency mix or heterodyne two waveforms, and output the sum and difference of the frequencies present in each waveform. Multiplication in the time domain is the dual of convolution in the frequency domain, so the output waveform contains the sum and difference of the input spectral components. For the basic case where two sine waves of frequencies fcarrier and fvoice are multiplied, two new sine waves are created, one at fcarrier + fvoice and the other at fcarrierfvoice.

In a ring modulator—being a switching modulator—the carrier signal is ideally a square wave, whose Fourier expansion contains the fundamental and a series of reducing-amplitude odd harmonics:

C(t) = sin f_ct + frac 1 3 sin 3f_ct + frac 1 5 sin 5f_ct + frac 1 7 sin 7f_ct + ldots

When the carrier frequency is at least twice the maximum frequency of the modulating signal V(t) then the result is a series of duplicates of V(t) at increasing regions of the frequency spectrum. When the carrier is less than twice the upper frequency of the signal then the resulting output signal contains spectral components from both the signal and the carrier that combine in the time domain. For example, let V(t) represent a sine wave at 100 Hz, and the carrier C(t) be an ideal square wave at 300 Hz. The output will then include sine waves at 100±300 Hz, 100±900 Hz, 100±1500 Hz, 100±2100 Hz, etc., at decreasing amplitudes according to the Fourier expansion of the carrier square wave.

Because the output contains neither the individual voice or carrier components the ring modulator is said to be a double-balanced mixer, where both input signals are suppressed (not present in the output)—the output is composed entirely of the sum of the products of the frequency components of the two inputs.

History

The ring modulator was invented by Frank A. Cowan in 1934 and patented in 1935 as an improvement on the invention of Clyde R. Keith at Bell Labs. The original application was in the field of analogue telephony for frequency-division multiplexing for carrying multiple voice signals over telephone cables. It has since been applied to a wider range of uses, such as voice inversion, radio transceivers, and electronic music.

Circuit description

The ring modulator includes an input stage, a ring of four diodes excited by a carrier signal, and an output stage. The input and output stages typically include transformers with centre-taps towards the diode ring. It is important to note that while the diode ring has some similarities to a bridge rectifier the diodes in a ring modulator all point in the same clockwise or counterclockwise direction.

The carrier, which is AC, at a given time, makes one pair of diodes conduct, and reverse-biases the other pair. The conducting pair carry the signal from the left transformer secondary to the primary of the transformer at the right. If the left carrier terminal is positive, the top and bottom diodes conduct. If that terminal is negative, then the side diodes conduct, but create a polarity inversion between the transformers. This action is much like that of a DPDT (double pole, double throw) switch wired for reversing connections. (See also Integrated circuit methods of ring modulation)

A particular elegance of the ring modulator is that it is bidirectional: the signal flow can be reversed allowing the same circuit with the same carrier to be used either as a modulator or demodulator, for example in low-cost radio transceivers.

Integrated circuit methods of ring modulation



The SID chip found in the Commodore 64 allows for triangle waves to be ring modulated. Oscillator 1 gets modulated by oscillator 3's frequency, oscillator 2 by oscillator 1's frequency, and oscillator 3 by oscillator 2's frequency. Ring modulation is disabled unless the carrier oscillator is set to produce a triangle wave, but the modulating oscillator can be set to generate any of its available waveforms. However, no matter what waveform you set the modulating oscillator to, the ring modulation will always have the effect of modulating a triangle wave with a square wave.

On an ARP Odyssey synthesizer (and a few others from that era as well) the ring modulator is an XOR function (formed from four NAND gates) fed from the square wave outputs of the two oscillators. For the limited case of square or pulse wave signals, this is identical to true ring modulation.

Analog multiplier ICs (such as those made by Analog Devices) would work as ring modulators, of course with regard to such matters as their operating limits and scale factors. Use of multiplier ICs means that the modulation products are largely confined to sum and difference frequency of inputs (unless the circuit is overdriven), rather than the much more complicated products of the rectifier circuit.

Limitations



Any DC component of the carrier will degrade the suppression of the carrier and thus in radio applications the carrier is typically transformer- or capacitor-coupled; in low frequency (e.g., audio) applications the carrier may or may not be desired in the output.Imperfections in the diodes and transformers introduce artifacts of the two input signals. In practical ring modulators, this leakage can be reduced by introducing opposing imbalances (e.g., variable resistors or capacitors).

Refinements



The original Cowan patent describes a circuit with a ring of four diodes. Later implementations use FETs as the switching elements.

Applications

Radio communications

Ring modulation has also been extensively used in radio receivers, for example, to demodulate an FM stereo signal, and to heterodyne microwave signals in mobile telephone and wireless networking systems. In this case, the circuit is sometimes called a ring demodulator, one of many possible chopper circuits. A ring modulator can be used to generate a double-sideband suppressed-carrier (DSB-SC) wave used in radio transmission.

Music

One of the earliest musical instruments utilizing a ring modulator was the Melochord (1947) built by Harald Bode. It was a two-tone melody keyboard instrument with foot controllers and later added a second keyboard for timbre control, featuring a white-noise generator, envelope controller, formant filters and ring modulators for harmonics. The early Melochord was extensively used by Werner Meyer-Eppler in the early days of the electronic music studio at Bonn University. Meyer-Eppler mentioned the musical application of ring modulator in his book "Elektrische Klangerzeugung", published in 1949.

Meyer-Eppler's student, Stockhausen also used ring modulation in 1956 for some sounds in Gesang der Jünglinge and his realization score for Telemusik (1966) also calls for it. Indeed, whole compositions are based around it, such as Mixtur (1964), one of the first compositions for orchestra and live electronics, Mikrophonie II (1965, where the sounds of choral voices are modulated with a Hammond organ), Mantra (1970, where the sounds from two pianos are routed through ring modulators), and Licht-Bilder (2002) from Sonntag aus Licht (2003), which ring-modulates flute and trumpet. Other pieces employing ring modulation include Kontakte (1960), Mikrophonie I (1964), Hymnen (1969), Prozession (1967), and Kurzwellen (1968).

A ring-modulator was the major component used in Louis and Bebe Barron's music for the film Forbidden Planet (1956). One of the best-known applications of the ring modulator may be its use by Brian Hodgson of the BBC Radiophonic Workshop to produce the distinctive voice of the Daleks in the television series Doctor Who, starting in 1963.

One of the first products dedicated for music was the Bode Ring Modulator developed in 1961 by Harald Bode. Also in 1964 he developed the Bode Frequency Shifter, which produced a clearer sound by eliminating a side band. These devices were designed to be controlled by voltage, compatible with modular synthesizer architecture also advocated by him, and these modules were licensed to R.A. Moog for their Moog modular synthesizers started in 1963–1964. In 1963, Don Buchla included an optional ring modulator in his first modular synthesizer, the Model 100. Also Tom Oberheim built a ring modulator unit for his musician friend in the late 1960s, and it became an origin of Oberheim Electronics Music Modulator and Maestro Ring Modulator, one of the earliest ring modulator effect products for guitarists. The EMS VCS3, Synthi A, ARP 2600, Odyssey, Rhodes Chroma and Yamaha CS-80 synthesizers also featured built-in ring modulators.

John McLaughlin employs the ring modulator heavily in the 1974 Mahavishnu Orchestra album Visions of the Emerald Beyond Especially on the track "On the Way Back Home to Earth". On Miles Davis' 1975 live album Agharta, guitarist Pete Cosey ran the sounds he played through a ring modulator. Deep Purple's Jon Lord fed the signal from his Hammond through a Gibson Ring Modulator unit live on stage, which he described in 1989. Founding member of Hawkwind, Dik Mik, a self-confessed non-musician, used a ring modulator as his main instrument during his time with the band (1969-1973).

Ring modulation is used in the piece Ofanim (1988/1997) by Luciano Berio, and in the first section is applied to a child's voice and a clarinet: "The transformation of the child voice into a clarinet was desired. For this purpose, a pitch detector computes the instantaneous frequency f_0 (n) of the voice. Then the child voice passes through a ring modulator, where the frequency of the carrier f_c is set to f_0 (n)/2. In this case odd harmonics prevail which is similar to the sound of a clarinet in the low register."

Analogue telephone systems

An early application of the ring modulator was for combining multiple analog telephone voice channels into a single wideband signal to be carried on a single cable using frequency-division multiplexing. A ring modulator in combination with carrier wave and filter was used to assign channels to different frequencies.

Early attempts at securing analog telephone channels used ring modulators to modify the spectrum of the audio speech signals. One application is spectral inversion, typically of speech; a carrier frequency is chosen to be above the highest speech frequencies (which are low-pass filtered at, say, 3 kHz, for a carrier of perhaps 3.3 kHz), and the sum frequencies from the modulator are removed by more low-pass filtering. The remaining difference frequencies have an inverted spectrum—High frequencies become low, and vice versa.