# Ring modulation

(Redirected from Ring modulator)

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.

Schematic diagram of a ring modulator, showing ring of diodes
An example of ring modulation on sine waves of frequency ${\displaystyle x}$ (top) and ${\displaystyle 12x}$ (middle), producing a variation in amplitude of the sine wave-like frequency on ${\displaystyle 12x}$ (bottom)[1]

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; a diode ring.[2] The circuit is similar to a bridge rectifier, except that instead of the diodes facing left or right, they face clockwise or counterclockwise.

A ring modulator has two inputs—one program, and one carrier with one output. The modulated product of the two input signals are sidebands made up of the sum and difference frequencies, just as in amplitude modulation. The difference with ring modulation is that neither of the input signals, carrier or program, appear at the output. Therefore, ring modulation of two sine waves having frequencies of 1,500 Hz and 400 Hz, would produce two signals: one at 1,900 Hz, and one at 1,100 Hz. If one of the original signals, for example the 400 Hz, was a square wave, however the output would be quite different. Since a square wave consists of an infinite number of odd harmonics, each harmonic will have the potential of generating its own set of sidebands.[3]

## Operation

Double balanced high level frequency mixer Mini-Circuits SBL-1 with four Schottky diodes. LO level +7 dBm (1.41 Vp-p) and RF 1–500 MHz (ADE-1: 0.5–500 MHz)

An example of ring modulation on a sine wave of frequency ${\displaystyle x}$  and a square wave of frequency ${\displaystyle 12x}$ , resulting in a complex sound using analog FM known as "diode-clipping" or "chopper" RM, producing a variation in amplitude of the square wave-like frequency on ${\displaystyle 12x}$ [1]

In the ring modulation (RM) the audio signal ${\displaystyle x(n)}$  is multiplied by a sinusoid ${\displaystyle m(n)}$  with carrier frequency ${\displaystyle f_{c}}$ . In the analog domain it was pretty difficult to do it properly but within a computer it is straightforward since it is a mere multiplication. The input signal is called the modulator ${\displaystyle x(n)}$  and the second operand is called the carrier ${\displaystyle m(n)}$ :

${\displaystyle y(n){=}x(n)\cdot m(n)}$ .

Although the audible result of a ring modulation is fairly easy to comprehend for elementary signals, it gets very complicated with signals having numerous partials. The carrier itself is not audible in this kind of modulation. When carrier and modulator are sine waves of frequencies ${\displaystyle f_{c}}$  and ${\displaystyle f_{z}}$ , one hears the sum and difference frequencies ${\displaystyle f_{c}+f_{z}}$  and ${\displaystyle f_{c}-f_{z}}$ .[4]

If, "${\displaystyle f_{c}}$  and ${\displaystyle A_{c}}$  are the carrier frequency and amplitude components, and ${\displaystyle f_{m}}$  and ${\displaystyle A_{m}}$  the modulator frequency and amplitude components, respectively," then

${\displaystyle y{=}A_{m}\cdot cos(f_{m})\cdot cos(f_{c})}$ (4.11)

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

${\displaystyle 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}}}$  (4.12)[5]

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

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:

${\displaystyle C(t)=\sin f_{c}t+{\frac {1}{3}}\sin 3f_{c}t+{\frac {1}{5}}\sin 5f_{c}t+{\frac {1}{7}}\sin 7f_{c}t+\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. [6] 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,[7] 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[8] as an improvement on the invention of Clyde R. Keith at Bell Labs.[9] 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.[10]

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.[11]

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

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.[12][13] A ring modulator can be used to generate a double-sideband suppressed-carrier (DSB-SC) wave used in radio transmission.[14]

### Music and sound effects

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.[15] The early Melochord was extensively used by Werner Meyer-Eppler in the early days of the electronic music studio at Bonn University.[16] Meyer-Eppler mentioned the musical application of ring modulator in his book "Elektrische Klangerzeugung", published in 1949.[17]

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[18]) 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),[18] where the sounds from two pianos are routed through ring modulators; and Licht-Bilder (2002) from Sonntag aus Licht (2003),[1] which ring-modulates flute and trumpet.[19][20][21] Other pieces employing ring modulation include Kontakte (1960),[1] Mikrophonie I (1964),[1] Hymnen (1969),[1] Prozession (1967),[1] and Kurzwellen (1968).[1]

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.[22]

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.[23] These devices were designed to be controlled by voltage, compatible with modular synthesizer architecture also advocated by him,[24] and these modules were licensed to R.A. Moog for their Moog modular synthesizers started in 1963–1964.[25] In 1963, Don Buchla included an optional ring modulator in his first modular synthesizer, the Model 100.[26] Also Tom Oberheim built a ring modulator unit for his musician friend in the late 1960s,[27][28] and it became an origin of Oberheim Electronics Music Modulator[29] and Maestro Ring Modulator,[30] 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 Home to Earth". On Miles Davis' 1975 live album Agharta, guitarist Pete Cosey ran the sounds he played through a ring modulator.[31] 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.[32][33] 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).[34]

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 ${\displaystyle f_{0}(n)}$  of the voice. Then the child voice passes through a ring modulator, where the frequency of the carrier ${\displaystyle f_{c}}$  is set to ${\displaystyle f_{0}(n)/2}$ . In this case odd harmonics prevail which is similar to the sound of a clarinet in the low register."[4][failed verification]

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

## References

1. Curtis Roads (1996). The Computer Music Tutorial, pp. 220-221. MIT Press. ISBN 9780262680820.
2. ^ Richard Orton, "Ring Modulator", The New Grove Dictionary of Music and Musicians, second edition, edited by Stanley Sadie and John Tyrrell (London: Macmillan Publishers, 2001): "the ring modulator takes its name from the characteristic ring formation of four diodes in its analog circuit."
3. ^ Strange, Allen (1972). Electronic Music, p. 11. Wm. C. Brown Co. Publishers. ISBN 0-697-03612-X.
4. ^ a b Zölzer, Udo; ed. (2002). DAFX - Digital Audio Effects, p.76-7. John Wiley & Sons. ISBN 9780471490784.
5. ^ Park, Tae Hong (2009). Introduction to Digital Signal Processing, p. 108 and 106<!-${\displaystyle f_{c}}$  and ${\displaystyle A_{c}}$  are...--->. World Scientific. ISBN 9789812790286.
6. ^
7. ^
8. ^ U.S. Patent 2,025,158
9. ^ U.S. Patent 1,855,576
10. ^ Commodore Programmer's Reference Guide, page 463
11. ^
12. ^ Hamish Meikle (2008). Modern Radar Systems. Artech House. p. 336. ISBN 978-1-59693-243-2.
13. ^ Abhishek Yadav (2008). Analog Communication System. Firewall Media. p. 83. ISBN 978-81-318-0319-6.
14. ^ T G Thomas S Chandra Sekhar (2005). Communication Theory. Tata McGraw-Hill Education. p. 37. ISBN 978-0-07-059091-5.
15. ^ Rebekkah Palov (July 2011), "Harald Bode—A Short Biography", EContact!, Canadian Electroacoustic Community, 13 (4)
16. ^ "The "Melochord" (1947–9)", The Keyboardmuseum Online, archived from the original on 14 November 2007 (description and history)
17. ^ Werner Meyer-Eppler, Elektronische Klangerzeugung: Elektronische Musik und synthetische Sprache, (Bonn: Ferdinand Dümmlers, 1949)
18. ^ a b Collins, Nick (2010). Introduction to Computer Music, pp. 124-125. John Wiley & Sons. ISBN 9780470714553.
19. ^ Ludger Brümmer, "Stockhausen on Electronics, 2004", Computer Music Journal 32, no. 4 (2008):10–16.
20. ^ Karlheinz Stockhausen, "Electroacoustic Performance Practice", translated by Jerome Kohl, Perspectives of New Music 34, no. 1 (Winter, 1996): 74–105. Citation on 89.
21. ^ Karlheinz Stockhausen, "Einführung"/"Introduction", English translation by Suzanne Stephens, in booklet accompanying Karlheinz Stockhausen, Licht-Bilder (3. Szene vom SONNTAG aus LICHT), 2-CD set, Stockhausen Gesamtausgabe/Complete Edition 68A–B (Kürten: Stockhausen-Verlag, 2005): 10 & 51
22. ^ Jeremy Bentham (1986), Doctor Who: The Early Years, (London: W. H. Allen & Co., 1986), p. 127, ISBN 0-491-03612-4
23. ^ Harald Bode—A Lifetime for Sound (PDF), Harald Bode News, retrieved 27 January 2011
24. ^ Harald Bode, "European Electronic Music Instrument Design", Journal of the Audio Engineering Society 9 (1961): 267.
25. ^ Tom Rhea, Harald Bode Biography, (New York: Experimental Television Center Ltd, 2004), archived from the original on 19 July 2011 (also broken format page remains)
26. ^ Buchla Electronic Musical Instruments—Historical Overview, Buchla & Associates, retrieved 27 January 2011
27. ^ Thomas E. Oberheim, "A Ring Modulator Device for the Performing Musician", AES Convention 38 (May 1970), No. 708 (G-4).
28. ^ "Session Transcript: Tom Oberheim", Red Bull Music Academy Barcelona 2008
29. ^ Oberheim Music Modulator (photo). Edison Music Corporation.
30. ^ Maestro RM-1A Ring Modulator, DiscoFreq's Effects Database
31. ^ Trzaskowski, Andrzej (1976). Jazz Forum: The Magazine of the International Jazz Federation: 74. Most of the selections are kept in the rock-jazz climate with the rhythm course being interrupted now and again by an overflowing patch of accumulated layers of electronic and percussive effects (Theme from Jack Johnson, Prelude). In fact, electronic effects appear repeatedly in the form of 'bruitistic' whizzes and grinds of the synthi resembling a buzz saw and of the guitar steered through a ring modulator. Missing or empty |title= (help)
32. ^ "Lord Almighty". Keyboard. 24. 1998. Retrieved 21 January 2016.
33. ^ "Interview with Jon Lord". Modern Keyboard. January 1989. Retrieved 21 January 2015.
34. ^ Ian Abrahams (2004). Hawkwind: Sonic Assassins. SAF Publishing. p. 20. ISBN 9780946719693.