Sampling and Quantization

Slides:



Advertisements
Similar presentations
EET260 Introduction to digital communication
Advertisements

ECE 4371, Fall, 2014 Introduction to Telecommunication Engineering/Telecommunication Laboratory Zhu Han Department of Electrical and Computer Engineering.
Analogue to Digital Conversion (PCM and DM)
CE 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Analog to Digital (and back again) Interfacing a microprocessor-based system.
Analog/Digital Coding Bobby Geevarughese ECE-E4434/12/05.
CHAPTER 4 DIGITAL MODULATION Part 1.
4.2 Digital Transmission Pulse Modulation (Part 2.1)
ADC AND DAC Sub-topics: Analog-to-Digital Converter -. Sampling
Quantization Prof. Siripong Potisuk.
EKT343 –Principle of Communication Engineering
ECOM 4314 Data Communications Fall September, 2010
Chapter 4 Digital Transmission
SIMS-201 Audio Digitization. 2  Overview Chapter 12 Digital Audio Digitization of Audio Samples Quantization Reconstruction Quantization error.
First semester King Saud University College of Applied studies and Community Service 1301CT.
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Pulse Modulation 1. Introduction In Continuous Modulation C.M. a parameter in the sinusoidal signal is proportional to m(t) In Pulse Modulation P.M. a.
Formatting and Baseband Modulation
Digital audio. In digital audio, the purpose of binary numbers is to express the values of samples that represent analog sound. (contrasted to MIDI binary.
Engineering 1040: Mechanisms & Electric Circuits Winter 2015 Analog & Digital Signals Analog to Digital Conversion (ADC)
Computer Networks Digitization. Spring 2006Computer Networks2 Transfer of an Analog Signal  When analog data (voice, pictures, video) are transformed.
Modulation Continuous wave (CW) modulation AM Angle modulation FM PM Pulse Modulation Analog Pulse Modulation PAMPPMPDM Digital Pulse Modulation DMPCM.
Digital Signal Processing
Chapter #5 Pulse Modulation
Pulse Code Modulation Pulse Code Modulation (PCM) : method for conversion from analog to digital waveform Instantaneous samples of analog waveform represented.
British Computer Society (BCS)
IT-101 Section 001 Lecture #9 Introduction to Information Technology.
Chapter 4 Digital Transmission
◦ We sometimes need to digitize an analog signal ◦ To send human voice over a long distance, we need to digitize it, since digital signals are less prone.
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
Lecture 2 Analog to digital conversion & Basic discrete signals.
1 What is Multimedia? Multimedia can have a many definitions Multimedia means that computer information can be represented through media types: – Text.
1 st semester 1436 / Modulation Continuous wave (CW) modulation AM Angle modulation FM PM Pulse Modulation Analog Pulse Modulation PAMPPMPDM Digital.
PAM Modulation Lab#3. Introduction An analog signal is characterized by the fact that its amplitude can take any value over a continuous range. On the.
بسم الله الرحمن الرحيم Digital Signal Processing Lecture 2 Analog to Digital Conversion University of Khartoum Department of Electrical and Electronic.
Sistem Telekomunikasi, Sukiswo, ST, MT Sukiswo
Chapter 4. Digital Transmission
Dr. Clincy Professor of CS
Principios de Comunicaciones EL4005
Analog to digital conversion
Topics discussed in this section:
Prepared By Mr. Arshad Ahmad
DATA COMMUNICATION Lecture-16.
PCM & Delta Modulation Module 4.
UNIT – III I: Digital Transmission.
DIGITIAL COMMUNICATION
Discrete Signals Prof. Abid Yahya.
Chapter 3 Sampling.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Pulse Code Modulation (PCM)
Quantization and Encoding
Dr. Clincy Professor of CS
Subject Name: Digital Communication Subject Code:10EC61
I. Previously on IET.
Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Digital Control Systems Waseem Gulsher
Chapter 2 Signal Sampling and Quantization
Physical Layer
Lecture 9: Sampling & PAM 1st semester By: Elham Sunbu.
MODULATION AND DEMODULATION
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Soutenance de thèse vendredi 24 novembre 2006, Lorient
Chapter 3: Pulse Code Modulation
Digital Control Systems Waseem Gulsher
Dr. Clincy Professor of CS
Digital Signaling Digital Signaling Vector Representation
Pulse Code Modulation (PCM)
Lecture 10: Quantizing & PCM 1nd semester By: Adal ALashban.
Analog to Digital Encoding
CEN352, Dr. Ghulam Muhammad King Saud University
Presentation transcript:

Sampling and Quantization

Introduction A digital signal is superior to an analog signal because it is more robust to noise and can easily be recovered, corrected and amplified. For this reason, the tendency today is to change an analog signal to digital data

Can we convert an analog signal to a digital signal Introduction An analog signal: amplitude can take any value over a continuous range. Digital signals: amplitude can take only discrete and finite values. Can we convert an analog signal to a digital signal

Changing analog signal to digital signal: Sampling  Quantizing  Coding

Introduction One can convert an analog signal to a digital signal by sampling and quantizing (collectively called analog-to- digital conversion, or ADC). The processed signals are then converted back into analog signals using a reconstruction or interpolation operation (called digital-to-analog conversion, or DAC).

Sampling

Sampling Process The sampling process is a basic operation in the digital communication. In this process, the continuous-time analog signal is sampled by measuring its amplitude at a discrete instants. So, the continuous-time analog signal is converted into a corresponding sequence of samples that are usually spaced uniformly in time. It is necessary to choose the sampling rate properly, so the sequence of samples uniquely defines the original analog signal.

Sampling To sample a continuous-time signal x(t) is to represent x(t) at a discrete number of points, t = nTs , where Ts is the sampling period.

Sampling Theorem The sampling theorem states that a band-limited signal x(t) with a bandwidth W ( W is the highest frequency) can be reconstructed from its sample values if the sampling rate (frequency) fs =1/Ts is greater than or equal to twice the bandwidth W of x(t) The minimum sampling rate of fs for an analog band- limited signal is called the Nyquist rate.

Sampling There are 3 sampling methods: Ideal - an impulse at each sampling instant Natural - a pulse of short width with varying amplitude Flattop - sample and hold, like natural but with single amplitude value

Sampling As long as the sampling of the analog signal is taken with a sufficiently high frequency (higher than the minimum Nyquist rate of twice the signal largest frequency), it can be shown that there is no loss in information as a result of taking discrete samples.

Quantization

Quantization In order to process the sampled signal digitally, the sample values have to be quantized to a finite number of levels, and each value can then be represented by a string of bits. To quantize a sample value is to round it to the nearest point among a finite set of permissible values. Therefore, a distortion will inevitably occur. This is called quantization noise (or error).

Quantization The sampling results is a series of pulses of varying amplitude values ranging between two limits: a min and a max. The amplitude values are infinite between the two limits. We need to map the infinite amplitude values onto a finite set of known values. This is achieved by dividing the distance between min and max into L zones, each of height   = (max - min)/L

Quantization Levels The midpoint of each zone is assigned a value from 0 to L-1 (resulting in L values) Each sample falling in a zone is then approximated to the value of the midpoint.

Quantization Zones Assume we have a voltage signal with amplitutes Vmin=-20V and Vmax=+20V. We want to use L=8 quantization levels. Zone width = (20 - -20)/8 = 5 The 8 zones are: -20 to -15, -15 to -10, -10 to -5, -5 to 0, 0 to +5, +5 to +10, +10 to +15, +15 to +20 The midpoints are: -17.5, -12.5, -7.5, -2.5, 2.5, 7.5, 12.5, 17.5

Quantization Error When a signal is quantized, we introduce an error - the coded signal is an approximation of the actual amplitude value. The difference between actual and midpoint value is referred to as the quantization error. The more zones, the smaller  which results in smaller errors.

Coding

Encoding In combining the process of sampling and quantization, the specification of the continuous-time analog signal becomes limited to a discrete set of values. Representing each of this discrete set of values as a code called encoding process. Code consists of a number of code elements called symbols. In binary coding, the symbol take one of two distinct values. in ternary coding the symbol may be one of three distinct values and so on for the other codes.

Assigning Codes to Zones Each zone is assigned a binary code. The binary code consists of bits. The number of bits required to encode the zones, or the number of bits per sample, is obtained as follows: nb = log2 L Given our example, nb = 3 The 8 zone (or level) codes are therefore: 000, 001, 010, 011, 100, 101, 110, and 111 Assigning codes to zones: 000 will refer to zone -20 to -15 001 to zone -15 to -10, etc.

Line Coding Any of several line codes can be used for the electrical representation of a binary data stream. Examples of line coding : RZ, NRZ, and Manchester

2 10 t x(t) Consider the analog Signal x(t). 2 10 n X(nTs) The signal is first sampled Ts

2 4 6 8 n 10 dividing the range into 4 zones n assign quantized values of 0 to 3 to the midpoint of each zone. 1 2 3

n approximating the value of the sample amplitude to the quantized values. 1 2 3 n Each zone is assigned a binary code 1 2 3 00 01 10 11

n 1 2 3 00 01 10 11 The sequence bits if the samples 01111111010000 Use one of the line code scheme to get the digital signal