Jump to content

Delta modulation

From Wikipedia, the free encyclopedia
Fig. 1: Principle of an asynchronous delta pulse-width modulation (PWM). The output signal (blue) is compared with the limits (green). The limits (green) correspond to the reference signal (red), offset by a given value. Every time the output signal reaches one of the limits, the PWM signal (purple) changes state.

Delta modulation (DM, ΔM, or Δ-modulation) is an analog-to-digital and digital-to-analog signal conversion technique used for transmission of voice information where quality is not of primary importance. DM is the simplest form of differential pulse-code modulation (DPCM) where the difference between successive samples is encoded into n-bit data streams. In delta modulation, the transmitted data are reduced to a 1-bit data stream representing either up (↗) or down (↘). Its main features are:

  • The analog signal is approximated with a series of segments.
  • Each segment of the approximated signal is compared to the preceding bits and the successive bits are determined by this comparison.
  • Only the change of information is sent, that is, only an increase or decrease of the signal amplitude from the previous sample is sent whereas a no-change condition causes the modulated signal to remain at the same ↗ or ↘ state of the previous sample.

To achieve high signal-to-noise ratio, delta modulation must use oversampling techniques, that is, the analog signal is sampled at a rate several times higher than the Nyquist rate.

Derived forms of delta modulation are continuously variable slope delta modulation, delta-sigma modulation, and differential modulation. Differential pulse-code modulation is the superset of DM.

Principle

[edit]

Rather than quantizing the value of the input analog waveform, delta modulation quantizes the difference between the input signal and the integral of all previous quantization steps. This quantized signal effectively represents the derivative of the input signal,[1][2] so the original signal is recovered by integration, as shown in the block diagram in Fig. 2:

Fig. 2: Block diagram of a Δ-modulator/demodulator[a]

In its simplest form, the quantizer can be realized with a comparator referenced to 0 (a two-level quantizer), whose output is 1 or -1 depending on whether the quantizer's input is positive or negative. The demodulator contains an integrator (just like the one in the feedback loop) whose output rises or falls with each 1 or -1 received. An optional low-pass filter will remove high frequency zigzags (see the blue output signal of Fig. 1), so only frequencies in the band of interest remain, to recover a smooth cleaned version of the original signal.

Because each sample is only 1 bit, the transmission bit rate equals the sampling rate.

Transfer characteristics

[edit]

The two sources of noise in delta modulation are slope overload, when step size is too small to track the original waveform, and granularity, when step size is too large. But a 1971 study shows that slope overload is less objectionable compared to granularity than one might expect based solely on SNR measures.[3]

Slope overload

[edit]

In delta modulation, there is no limit to the number of pulses of the same sign that may occur, so it is capable of tracking signals of any amplitude without clipping provided that the signal doesn't change too rapidly.[4] However, if an input signal has a derivative larger than

,

where is the sampling frequency and is the quantization step size, then the signal changes too fast, causing slope overload. For example, if the input signal is a cosine wave with frequency and amplitude ,

,

then its derivative,

,

can be as large as

.

Thus, slope overload won't occur for a sinusoidal input if

.

Consequently, a sinusoidal signal can be transmitted without slope overload if its amplitude is not bigger than

.

A real input signal may be more complex than a single sinusoid, but this example illustrates how a transmitted signal may be attenuated depending on the sampling frequency, step size, and the input signal's frequency.

While slope overload (also referred to as slope clipping) can be avoided by increasing the quantum step size or sampling rate, very high sampling rates, typically 20 times the highest frequency of interest, are required to achieve the same quality as pulse-code modulation (PCM).[4][clarification needed]

Inability to transmit DC

[edit]

Because the modulated signal contains only the derivative of the input, any DC and low-frequency content of the signal is lost (which may be ok for voice and other applications which do not have low frequencies), transmission errors are accumulated, and high-frequency noise is amplified. An improvement to DM called delta-sigma modulation avoids these downsides by rearranging the integrator's position so that the modulated signal represents the amplitude of the input signal instead of just its derivative.[1][2]

History

[edit]

The seminal[5] paper combining feedback with oversampling to achieve delta modulation was by F. de Jager of Philips Research Laboratories in 1952.[6] Initial patents include:

  • "Communication system utilizing constant amplitude pulses of opposite polarities" by Maurice Deloraine et. al. (French patent issued 1946, US patent filed 1947).[7]
  • "Differential quantization of communication signals" by C. Chapin Cutler (filed 1950),[8] which describes differential PCM and delta modulation (1-bit DPCM).

Asynchronous delta modulation

[edit]

The 1947 Deloraine, 1950 Cutler, and 1952 Jager designs were synchronous (or time-quantized). Delta modulation is also possible without a fixed sampling rate. A February 1966 paper by H. Inose "Asynchronous delta-modulation system"[9] uses Schmitt triggers to detect when the input signal exceeds the local demodulator by a predetermined difference, with the benefit of reducing the number of output pulses. A November 1973 paper "Signal Coding Using Asynchronous Delta Modulation" (presented in 1974)[10] investigates an algorithm that varies the sampling rate to transmit fewer samples during periods of small signal variation.

Adaptive delta modulation

[edit]

Adaptive delta modulation (ADM) was first published by Dr. John E. Abate (Bell Labs Fellow) in his doctoral thesis at NJ Institute Of Technology in 1968.[11] ADM was later selected as the standard for all NASA communications between mission control and space-craft.

In the mid-1980s, Massachusetts audio company DBX marketed a commercially unsuccessful digital recording system based on adaptive delta modulation. See DBX 700.

Adaptive delta modulation or Continuously variable slope delta modulation (CVSD) is a modification of DM in which the step size is not fixed. Rather, when several consecutive bits have the same direction value, the encoder and decoder assume that slope overload is occurring, and the step size becomes progressively larger.

Otherwise, the step size becomes gradually smaller over time. ADM reduces slope error, at the expense of increasing quantization error. This error can be reduced by using a low-pass filter. ADM provides robust performance in the presence of bit errors meaning error detection and correction are not typically used in an ADM radio design, it is this very useful technique that allows for adaptive-delta-modulation.

Applications

[edit]

Video game sound effects

[edit]

The Nintendo Entertainment System's audio processing unit (the Ricoh 2A03 chip) includes a Delta Modulation Channel (DMC) to demodulate percussion and sound effects. The DMC reads delta-encoded audio data via direct memory access into a shift register, which gets shifted out serially into an up/down counter acting as the demodulator's integrator. Because the shift register is clocked by a configurable timer, the audio's frequency can be shifted by adjusting the playback speed. The counter's value is outputted though a 7-bit digital-to-analog converter (DAC). Note: writing PCM samples directly to the counter bypasses the DM demodulation to instead provide low-bit PCM output.[12][13][14]

Satellite Business Systems 24 kbps delta modulation

[edit]

Delta modulation was used by Satellite Business Systems (SBS) for its voice ports to provide long distance phone service to large domestic corporations with a significant inter-corporation communications need (such as IBM). Each traffic channel had a 32 kbit/s bitrate.[15] This system was in service throughout the 1980s. The voice ports used digitally implemented 24 kbit/s delta modulation with Voice Activity Compression (VAC) and echo suppressors to control the half second echo path through the satellite. They performed formal listening tests to verify the 24 kbit/s delta modulator achieved full voice quality with no discernible degradation as compared to a high quality phone line or the standard 64 kbit/s μ-law companded PCM. This provided an eight to three improvement in satellite channel capacity. IBM developed the Satellite Communications Controller and the voice port functions.

The original proposal in 1974, used a state-of-the-art 24 kbit/s delta modulator with a single integrator and a Shindler Compander[definition needed] modified for gain error recovery. This proved to have less than full phone line speech quality. In 1977, one engineer with two assistants in the IBM Research Triangle Park, NC laboratory was assigned to improve the quality.

The final implementation replaced the integrator with a predictor implemented with a two pole complex pair low-pass filter designed to approximate the long term average speech spectrum. The theory was that ideally the integrator should be a predictor designed to match the signal spectrum. A nearly perfect Shindler Compander replaced the modified version. It was found the modified compander resulted in a less than perfect step size at most signal levels and the fast gain error recovery increased the noise as determined by actual listening tests as compared to simple signal to noise measurements. The final compander achieved a very mild gain error recovery due to the natural truncation rounding error caused by twelve bit arithmetic.

The complete function of delta modulation, VAC and Echo Control for six ports was implemented in a single digital integrated circuit chip with twelve bit arithmetic. A single digital-to-analog converter (DAC) was shared by all six ports providing voltage compare functions for the modulators and feeding sample and hold circuits for the demodulator outputs. A single card held the chip, DAC and all the analog circuits for the phone line interface including transformers.

Notes

[edit]
  1. ^ The quantizer is synchronized to some sort of clock in synchronous versions. The original 1947 Deloraine and 1950 Cutler patents and the 1952 Jager paper used some pulse generator to control the quantizer so that the samples were time-quantized. The above asynchronous modulator circuit won't work with ideal elements which have no delay, because the loop would happen instantaneously. But real circuits will unavoidably have some amount of delay or hysteresis, which the above asynchronous modulator circuit would require.

See also

[edit]

Sources

[edit]
  • Steele, R. (1975). Delta Modulation Systems. London: Pentech Press. ISBN 0-470-82104-3.
  • Public Domain This article incorporates public domain material from Federal Standard 1037C. General Services Administration. Archived from the original on 2022-01-22. (in support of MIL-STD-188).
  1. ^ a b Razavi, Behzad (2016-06-21). "A Circuit for all Seasons: The Delta-Sigma Modulator" (PDF). IEEE Solid-State Circuits Magazine. 8 (2): 10–15. doi:10.1109/MSSC.2016.2543061. Archived (PDF) from the original on 2024-02-09. Retrieved 2024-03-16.
  2. ^ a b Inose, H.; Yasuda, Y. (1963-11-01). "A unity bit coding method by negative feedback". Proceedings of the IEEE. 51 (11): 1524–1535. doi:10.1109/PROC.1963.2622. ISSN 1558-2256 – via IEEE Xplore.
  3. ^ Jayant, N. S.; Rosenberg, A. E. (1971). "The Preference of Slope Overload to Granularity in the Delta Modulation of Speech". Bell System Technical Journal. 50 (10): 3117–3125. doi:10.1002/j.1538-7305.1971.tb01849.x. ISSN 0005-8580. Archived from the original on 2013-01-19 – via IEEExplore.
  4. ^ a b Kester, Walt (2008). "ADC Architectures II: Sigma-Delta ADC Basics" (PDF). Analog Devices. Archived (PDF) from the original on 2023-08-18. Retrieved 2023-08-20.
  5. ^ Wooley, Bruce A. (2012-03-22). "The Evolution of Oversampling Analog-to-Digital Converters" (PDF). IEEE. Archived (PDF) from the original on 2023-06-28. Retrieved 2023-06-28.
  6. ^ de Jager, F. (February 1952). "Delta modulation, a method of PCM transmission using the 1-unit code" (PDF). Philips Research Reports. 7: 442–466. Archived (PDF) from the original on 2024-05-18.
  7. ^ US2629857A, Maurice, Deloraine Edmond & Boris, Derjavitch, "Communication system utilizing constant amplitude pulses of opposite polarities", issued 1953-02-24 
  8. ^ US2605361A, Cutler, Cassius C., "Differential quantization of communication signals", issued 1952-07-29 
  9. ^ Inose, H.; Aoki, T.; Watanabe, K. (March 1966). "Asynchronous delta-modulation system". Electronics Letters. 2 (3): 95–96. doi:10.1049/el:19660077. ISSN 0013-5194.
  10. ^ Hawkes, T.; Simonpieri, P. (March 1974). "Signal Coding Using Asynchronous Delta Modulation". IEEE Transactions on Communications. 22 (3): 346–348. doi:10.1109/TCOM.1974.1092185. ISSN 0090-6778.
  11. ^ Abate, John Edward. "Linear and adaptive delta modulation (1967)". Digital commons @ New Jersey Institute of Technology.
  12. ^ Collins, Karen (2007). "In the Loop: Creativity and Constraint in 8-bit Video Game Audio". Twentieth-Century Music. 4 (2): 214. doi:10.1017/S1478572208000510. ISSN 1478-5730.
  13. ^ "NES APU Sound Hardware Reference".
  14. ^ Taylor, Brad (2004-04-23). "2A03 technical reference".
  15. ^ "SBS SYSTEM DESCRIPTION", W. H. Curry, Jr., Manager System Definition and Control Satellite Business Systems McLean, Virginia.https://commons.erau.edu/cgi/viewcontent.cgi?article=2543&context=space-congress-proceedings
[edit]