Sampling (signal processing)
In signal processing, sampling is the reduction of a continuous-time signal to a discrete-time signal. A common example is the conversion of a sound wave to a sequence of "samples". A sample is a value of the signal at a point in time and/or space; this definition differs from the term's usage in statistics, which refers to a set of such values. A sampler is a subsystem or operation that extracts samples from a continuous signal. A theoretical ideal sampler produces samples equivalent to the instantaneous value of the continuous signal at the desired points. The original signal can be reconstructed from a sequence of samples, up to the Nyquist limit, by passing the sequence of samples through a reconstruction filter.
In signal processing, sampling is the reduction of a continuous-time signal to a discrete-time signal. A common example is the conversion of a sound wave to a sequence of "samples". A sample is a value of the signal at a point in time and/or space; this definition differs from the term's usage in statistics, which refers to a set of such values. A sampler is a subsystem or operation that extracts samples from a continuous signal. A theoretical ideal sampler produces samples equivalent to the instantaneous value of the continuous signal at the desired points. The original signal can be reconstructed from a sequence of samples, up to the Nyquist limit, by passing the sequence of samples through a reconstruction filter. The sampling frequency or sampling rate, f_s , is the average number of samples obtained in one second, thus f_s=1/T , with the unit samples per second, sometimes referred to as hertz; for example, 48 kHz is 48,000 samples per second. Reconstructing a continuous function from samples is done by interpolation algorithms. The Whittaker–Shannon interpolation formula is mathematically equivalent to an ideal low-pass filter whose input is a sequence of Dirac delta functions that are modulated (multiplied) by the sample values. When the time interval between adjacent samples is a constant (T) , the sequence of delta functions is called a Dirac comb. Mathematically, the modulated Dirac comb is equivalent to the product of the comb function with s(t) . That mathematical abstraction is sometimes referred to as impulse sampling. Most sampled signals are not simply stored and reconstructed. The fidelity of a theoretical reconstruction is a common measure of the effectiveness of sampling. That fidelity is reduced when s(t) contains frequency components whose cycle length (period) is less than 2 sample intervals (see Aliasing). The corresponding frequency limit, in cycles per second (hertz), is 0.5 cycle/sample × f_s samples/second = f_s/2 , known as the Nyquist frequency of the sampler. Therefore, s(t) is usually the output of a low-pass filter, functionally known as an anti-aliasing filter. Without an anti-aliasing filter, frequencies higher than the Nyquist frequency will influence the samples in a way that is misinterpreted by the interpolation process. == Practical considerations== In practice, the continuous signal is sampled using an analog-to-digital converter (ADC), a device with various physical limitations. This results in deviations from the theoretically perfect reconstruction, collectively referred to as distortion. Various types of distortion can occur, including: Aliasing. Some amount of aliasing is inevitable because only theoretical, infinitely long functions can have no frequency content above the Nyquist frequency. Aliasing can be made arbitrarily small by using a sufficiently large order of the anti-aliasing filter. Aperture error results from the fact that the sample is obtained as a time average within a sampling region, rather than just being equal to the signal value at the sampling instant. In a capacitor-based sample and hold circuit, aperture errors are introduced by multiple mechanisms. For example, the capacitor cannot instantly track the input signal, and the capacitor can not instantly be isolated from the input signal. Jitter or deviation from the precise sample timing intervals. Noise, including thermal sensor noise, analog circuit noise, etc.. Slew rate limit error, caused by the inability of the ADC input value to change sufficiently rapidly. Quantization as a consequence of the finite precision of words that represent the converted values. Error due to other non-linear effects of the mapping of input voltage to converted output value (in addition to the effects of quantization). Although the use of oversampling can completely eliminate aperture error and aliasing by shifting them out of the passband, this technique cannot be practically used above a few GHz, and may be prohibitively expensive at much lower frequencies. Furthermore, while oversampling can reduce quantization error and non-linearity, it cannot eliminate these entirely. Consequently, practical ADCs at audio frequencies typically do not exhibit aliasing or aperture error, and are not limited by quantization error. Instead, analog noise dominates. At RF and microwave frequencies, where oversampling is impractical and filters are expensive, aperture error, quantization error and aliasing can be significant limitations. Jitter, noise, and quantization are often analyzed by modeling them as random errors added to the sample values. Integration and zero-order hold effects can be analyzed as a form of low-pass filtering. The non-linearities of either ADC or DAC are analyzed by replacing the ideal linear function mapping with a proposed nonlinear function. 60 / 1.001 Hz ~= 59.94 Hz – NTSC video Video digital-to-analog converters operate in the megahertz range (from ~3 MHz for low-quality composite video scalers in early game consoles, to 250 MHz or more for the highest-resolution VGA output). When analog video is converted to digital video, a different sampling process occurs, this time at the pixel frequency, corresponding to a spatial sampling rate along scan lines. A common pixel sampling rate is: 13.5 MHz – CCIR 601, D1 video Spatial sampling in the other direction is determined by the spacing of scan lines in the raster. The sampling rates and resolutions in both spatial directions can be measured in units of lines per picture height. Spatial aliasing of high-frequency luma or chroma video components shows up as a moiré pattern. == Further reading== Matt Pharr, Wenzel Jakob and Greg Humphreys, Physically Based Rendering: From Theory to Implementation, 3rd ed., Morgan Kaufmann, November 2016. . The chapter on sampling (available online) is nicely written with diagrams, core theory and code samples.
References
- Martin H. Weik. Communications Standard Dictionary . Springer . 1996. · 1790895600.0
- Why don't Audient Interfaces support 192 kHZ? . · 1790895600.0
- 192 kHz Is Worse Than 44.1 kHz for Most Music, According to Experts . · 1790895600.0
- AES5-2008: AES recommended practice for professional digital audio – Preferred sampling frequencies for application . · 1790895600.0
- The Optimal Sample Rate for Quality Audio . · 1790895600.0
- To mix at 96k or not? . · 1790895600.0
- SWF File Format Specification - Version 19 . 2013. · 1790895600.0
- Cisco VoIP Phones, Networking and Accessories - VoIP Supply . · 1790895600.0
- The restoration procedure – part 1 . Restoring78s.co.uk . retrieved 2011-01-18 · 1295305200.0
- Zaxcom digital wireless transmitters . Zaxcom.com . retrieved 2011-01-18 · 1295305200.0
- YouTube audio quality . · 1790895600.0
- Tom J. Moir. Rudiments of Signal Processing and Systems . Springer International Publishing AG . 2022. · 1790895600.0
- HiRes FLAC audio . TIDAL Support . 2026-01-09. retrieved 2026-04-20 · 1776639600.0
- RME: Hammerfall DSP 9632 . · 1790895600.0
- SX-S30DAB ! . · 1790895600.0
- Customize Sample Rate Menu . · 1790895600.0
- M Track 2x2M Cubase Pro 9 can ́t change Sample Rate . · 1790895600.0
- MT-001: Taking the Mystery out of the Infamous Formula, "SNR=6.02N + 1.76dB," and Why You Should Care . · 1790895600.0
- Walt Kester. Mixed-signal and DSP design techniques . Newnes . 2003. · 1790895600.0
- William Morris Hartmann. Signals, Sound, and Sensation . Springer . 1997. · 1790895600.0
- Rao, R. Signals and Systems . Prentice-Hall Of India Pvt. Limited . 2008. · 1790895600.0
- C. E. Shannon, "Communication in the presence of noise", Proc. Institute of Radio Engineers, vol. 37, no.1, pp. 10–21, Jan. 1949. [http://www.stanford.edu/class/ee104/shannonpaper.pdf Reprint . · 1790895600.0
- D'Ambrose, Christoper. Frequency range of human hearing . 2003. · 1790895600.0
- Self, Douglas. Audio Engineering Explained . Taylor & Francis US . 2012. · 1790895600.0
- Digital Pro Sound . retrieved 8 January 2014 · 1790895600.0
- Colletti, Justin. The Science of Sample Rates (When Higher Is Better—And When It Isn't) . February 4, 2013. · 1790895600.0
- 96 kHz vs. 192 kHz . · 1790895600.0
Cite this
"Sampling (signal processing)". 1790941235. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1378019889 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy