















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
















Lecture 4: Information Sources and Analog-to-Digital (A/D) Conversion
Prof. Sudharman K. Jayaweera Department of Electrical and Computer Engineering University of New Mexico.
Midterm Exam: Tuesday, Oct. 14th (in-class)
Final Exam: Tuesday, Dec. 16th. 7.30am - 9.30am (check the UNM schedule for changes)
time
amplitude
Information source generates messages to be transmitted over the channel to a destination A message could be speech, music, data, images, video etc. Information sources can be classified into two basic types depending on the messages they produce (^1) Analog sources (^2) Digital sources
Generated information messages are continuous functions of time (or space)
Most information sources in nature are inherently analog (e.g. voice, music etc) But transmission of information in digital form is desirable for various reasons: Encoding (to protect against channel noise and fading)
A/D conversion involves three main steps: (^1) Sampling (time digitization) (^2) Quantization (amplitude digitization) (^3) Compression (removes redundancy)
f max f
Theorem (Shannon Sampling Theorem) Suppose, the maximum frequency in the source message spectrum is fmax. Then a sampling rate of 2 fmax is sufficient to capture all the information in the source (i.e. to perfectly reconstruct the original signal from the sampled values).
Nyquist Rate = 2fmax
A sampled signal is called a discrete-time signal. A discrete-time signal can take a continuum of values But digital signals are only allowed to take some (finite) set of values: Sampled signals are quantized (converted into discrete values) Quantized output is truncated at a maximum level e.g. round off the sampled output value to the nearest integer etc. and clip-off at a maximum level Number of allowed quantizer levels determines how many bits (binary digits) are needed to represent each sample: For example, if the quantizer can have maximum of L levels then log 2 L bits per sample is required
A sampled and quantized signal is called a Pulse Code Modulated (PCM) signal A message is represented by a sequence of coded pulses by discreteizing it in both time and amplitude PCM is the most basic digital pulse modulation method If the sampling rate of the analog signal is fs samples per second, and if the quantizer has L levels, then the bit rate of the digital PCM signal is fs log 2 L bits per second
Most communication channels are band-limited (e.g. radio channel). Above PCM rates are too high for transmission via such band-limited channels Compression of the PCM signals are required to reduce the required transmission rate. There are two types: Lossless Compression: removing redundancy in data without loosing any information at all, so that the process is completely reversible (e.g. pzip) Lossy Compression: compress data within some tolerable level of distortion. Not fully reversible Practical compression techniques for speech, images, audio and video involve lossy compression to an imperceptible level followed by lossless compression to remove redundancy
Instead of the actual sample values, the differences between successive samples are quantized Allows same quality with only a fewer quantization levels Sometimes used in coding voice signals e.g. DPCM provides a 2-to-1 compression in cordless phones (resulting in a rate of only 32 kbps)
Different frequency bands are quantized with different numbers of quantization levels Allows same quality with only a fewer quantization levels Used in compressing audio e.g. Can provide about 10-to-1 compression to bring CD quality stereo audio rate down to about 128 kbps!
8 ร 8 pixel blocks are lossy compressed using transform coding, and then lossless compressed to remove redundancies Uses Discrete cosine transform (DCT)