Analog to Digital Conversion
While physical processes are time-contiunous and have continuous values, DSP systems usually work with signals that are both discrete in time and values. Converting a signal from the physical domain - for example sound or voltage - to the digital domain - for example buffer in a computer's memory- involves two basic operations:
-
Sampling is the process of measuring the value of a (physical) signal at equidistant time instances. The sampling process has a direct impact on the temporal resolution of the digital signal.
-
Quantization is the process of converting continuous values of a signal to a finite set of discrete values.
The process of converting a physical signal $x(t)$ to a time-discrete and quantized array of values $x^*[n]$ is represented by the following flow chart:
The anti-aliasing filter $h_a(t)$ is a low-pass filter. It discards frequencies that are too high for the sampling rate $f_s$ of the system. This will be treated in more detail with the Nyquist–Shannon Sampling Theorem. The actual sampling is modelled as a multiplication of $x(t)$ with a series of equidistant Dirac impulses with a distance of $T_s = \frac{1}{f_s}$. The sampled signal is then quantized.
Digital-Analog Conversion¶
Digital-Analog Conversion (DAC) is the process of turning a digital signal (or values stored in a buffer) into a phzsical signal, for example voltage. A DAC requires a sample and hold cirquit, that converts the digital sequence $x^*[n]$ in a buffer into a stepwise function $x^*[n]$. This stepwise function is then smoothed with an interpolation filter - again a low-pass filter - $h_i(t)$.
The figure below shows how the stepwise function is smoothed with the interpolation filter:
Why This Matters¶
Many aspects of both sampling and quantization, or ADC and DAC, belong to the discipline of audio technology and electrical engineering, rather than digital signal processing. It involves a lot of circuits and electrical engineering. The implementation and details of these systems are thus not in the scope of this DSP section. However, both proceees are essential for the qualities of digital signals and systems. They define the limits and boundaries of DSP applications and are thus crucial for understanding and designing algorithms.