An analog-to-digital converter produces a discrete numerical code from an input voltage. Its specifications include input range, resolution, conversion rate, input impedance, offset, gain error and nonlinearity. A uniform -bit converter covering voltage span has nominal spacing . The uniform-quantization error bound applies to rounding inside the range, while clipping is a different error. Sampling and quantization are separate operations: neither sufficient sampling rate nor a large bit count alone guarantees accurate reconstruction.
Digital acquisition converts a continuous voltage signal into timed numerical samples. A practical chain is a suitably buffered and amplified sensor signal, an analogue anti-aliasing filter, a sampling or sample-and-hold stage, an analog-to-digital converter, and a clocked data-storage system. Choose the gain so that the interesting variation uses the available input range without clipping. Finite input impedance can load a sensor, so an appropriate buffer or operational amplifier may be needed.
Sampling makes time discrete. If the conditioned signal is confined below frequency , choose a sampling rate , allowing a transition band for the physical filter. The Nyquist–Shannon sampling theorem permits ideal reconstruction of a suitably bandlimited function from exact samples. Without filtering, components separated by integer multiples of have identical samples; in particular real sinusoids at and can be indistinguishable. This aliasing cannot generally be undone by later digital filtering. Oversampling can ease filter design, but does not replace the requirement to suppress unwanted high-frequency content before sampling.
Amplitude quantization is separate from sampling. A uniform -bit converter covering voltage span has step . Rounding an in-range input gives the uniform-quantization error bound . If the rounding errors can additionally be modeled as uniform and uncorrelated, their standard deviation is . This statistical estimate is not a guarantee for a constant input or a coherent periodic signal. More bits increase resolution, but accuracy also depends on voltage-reference calibration, offset, gain error, nonlinearity and electronic noise. Out-of-range signals clip and invalidate the rounding bound.
Clock quality matters too. Timing jitter gives a voltage error approximately ; for a sinusoid its scale grows with . A clock calibration error biases measured frequencies and time intervals. Simultaneous multichannel signals need known relative timing, and the sampling and analogue settling times must be appropriate to the signal bandwidth.
For channels the raw recording rate is approximately bits per second, before overhead, so storage and sustained transfer speed must prevent missing data. Store units, channel identities, timestamps, sampling rate, input ranges and calibration information along with the readings. Preserve the original samples when applying digital filters or other processing. Averaging can improve precision for independent fluctuating errors, but cannot restore aliased frequencies, clipped peaks or a fixed rounding bias. Digital recording makes reproducible analysis and transmission possible when its sampling, amplitude and timing limitations are all controlled.
For a real signal with highest frequency , the Nyquist–Shannon sampling theorem gives the nominal Nyquist sampling rate
To cover an arbitrary component exactly at the band edge, choose : a sine sampled at exactly can have every sample equal to zero for an unfortunate phase. Practical aliasing suppression also calls for a margin above the nominal limiting rate.
With rounding to the nearest digitizer level, quantization with step has the uniform-quantization error bound
Thus the stated digitizer meets the requested nominal amplitude precision per sample, assuming no clipping or other errors. The bandwidth sets the nominal minimum sampling rate; the level spacing sets the rounding precision. Strictly, the sampling theorem reconstructs exactly from exact samples. A uniform error bound on the entire reconstructed continuous waveform is not guaranteed by the level spacing and sampling rate alone; that stronger requirement needs a specified reconstruction and noise model.