بسم الله الرحمن الرحيم Digital Signal Processing Lecture 2 Analog to Digital Conversion University of Khartoum Department of Electrical and Electronic.

Slides:



Advertisements
Similar presentations
EET260: A/D and D/A conversion
Advertisements

Chapter 3: Pulse Code Modulation
Sampling and Pulse Code Modulation
Shuvra Das University of Detroit Mercy
CEN352 Digital Signal Processing Lecture No. 6 Department of Computer Engineering, College of Computer and Information Sciences, King Saud University,
4.2 Digital Transmission Pulse Modulation (Part 2.1)
ADC AND DAC Sub-topics: Analog-to-Digital Converter -. Sampling
Quantization Prof. Siripong Potisuk.
CEN352, Dr. Ghulam Muhammad King Saud University
بسم الله الرحمن الرحيم Lecture (3) Frequency Domain Concepts Dr. Iman Abuel Maaly Lecture (3) Frequency Domain Concepts Dr. Iman Abuel Maaly University.
Chapter 4 Digital Transmission
Data Sampling & Nyquist Theorem Richa Sharma Dept. of Physics And Astrophysics University of Delhi.
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.
©2003/04 Alessandro Bogliolo Background Information theory Probability theory Algorithms.
Random Processes and LSI Systems What happedns when a random signal is processed by an LSI system? This is illustrated below, where x(n) and y(n) are random.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
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.
Sampling Terminology f 0 is the fundamental frequency (Hz) of the signal –Speech: f 0 = vocal cord vibration frequency (>=80Hz) –Speech signals contain.
Random signals. Histogram of the random signal Continuous Time Sinusoidal signals.
Digital signal Processing
Lecture 1 Signals in the Time and Frequency Domains
Lecture 5: Signal Processing II EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/20/13.
Modulation Continuous wave (CW) modulation AM Angle modulation FM PM Pulse Modulation Analog Pulse Modulation PAMPPMPDM Digital Pulse Modulation DMPCM.
Pulse Code Modulation (PCM)
COMMUNICATION SYSTEM EEEB453 Chapter 5 (Part IV) DIGITAL TRANSMISSION.
Digital Signal Processing
Chapter #5 Pulse Modulation
EE421, Fall 1998 Michigan Technological University Timothy J. Schulz 15-Sept, 1998EE421, Lecture 031 Lecture 3: Quantization l The last major stage of.
EE210 Digital Electronics Class Lecture 2 March 20, 2008.
Analog-To-Digital convertor Sampler Quantization Coding.
1 Quantization Error Analysis Author: Anil Pothireddy 12/10/ /10/2002.
1 Digital Signal Processing Lecture 3 – 4 By Dileep kumar
IT-101 Section 001 Lecture #9 Introduction to Information Technology.
Professor A G Constantinides 1 Finite Wordlength Effects Finite register lengths and A/D converters cause errors in:- (i) Input quantisation. (ii)Coefficient.
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
Sampling of Continuous-Time Signals Quote of the Day Optimist: "The glass is half full." Pessimist: "The glass is half empty." Engineer: "That glass is.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
DEPARTMENTT OF ECE TECHNICAL QUIZ-1 AY Sub Code/Name: EC6502/Principles of digital Signal Processing Topic: Unit 1 & Unit 3 Sem/year: V/III.
COMMUNICATION SYSTEM EEEB453 Chapter 5 (Part III) DIGITAL TRANSMISSION Intan Shafinaz Mustafa Dept of Electrical Engineering Universiti Tenaga Nasional.
Meghe Group of Institutions
Lecture 2 Analog to digital conversion & Basic discrete signals.
Lecture 2 BME452 Biomedical Signal Processing 2013 (copyright Ali Işın, 2013)1 BME452 Biomedical Signal Processing Lecture 2  Discrete Time Signals and.
Fundamentals of Multimedia Chapter 6 Basics of Digital Audio Ze-Nian Li and Mark S. Drew 건국대학교 인터넷미디어공학부 임 창 훈.
1 st semester 1436 / Modulation Continuous wave (CW) modulation AM Angle modulation FM PM Pulse Modulation Analog Pulse Modulation PAMPPMPDM Digital.
Digital Signal Processing Lecture 6 Frequency Selective Filters
Analysis of Linear Time Invariant (LTI) Systems
Digital Signal Processing
بسم الله الرحمن الرحيم Lecture (12) Dr. Iman Abuel Maaly The Discrete Fourier Transform Dr. Iman Abuel Maaly University of Khartoum Department of Electrical.
Sampling and DSP Instructor: Dr. Mike Turi Department of Computer Science & Computer Engineering Pacific Lutheran University.
Computer Communication & Networks
Analog to digital conversion
Topics discussed in this section:
Outline Introduction Signal, random variable, random process and spectra Analog modulation Analog to digital conversion Digital transmission through baseband.
DIGITIAL COMMUNICATION
Chapter 3 Sampling.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Quantization and Encoding
Sampling rate conversion by a rational factor
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Soutenance de thèse vendredi 24 novembre 2006, Lorient
Chapter 3: Pulse Code Modulation
Lecture 4 Sampling & Aliasing
Digital Control Systems Waseem Gulsher
Finite Wordlength Effects
Sampling and Quantization
DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 4
Lecture 10: Quantizing & PCM 1nd semester By: Adal ALashban.
DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 4
Presentation transcript:

بسم الله الرحمن الرحيم Digital Signal Processing Lecture 2 Analog to Digital Conversion University of Khartoum Department of Electrical and Electronic Engineering Fourth Year

Content 1.Introduction 2.Analog to Digital conversion 3.Sampling of Analog Signal 4.Quantization Dr Iman AbuelMaaly2

Introduction 1. Continuous time Signals (notations) A simple harmonic oscillation: Signal parameters: A : Amplitude Ω : Frequency in radians/sec θ : phase in radians Ω = 2π F F : frequency in cycles/sec or Hz. T=1/F is the period of the signal Dr Iman AbuelMaaly

Introduction Dr Iman AbuelMaaly 1. Continuous time Signals (notations)

Introduction Signal parameters: n : integer variable A : Amplitude ω : Frequency in radians/sample (ω = 2π f) θ : phase in radians f : frequency in cycles/sample.(f=1/N) N : is the period Dr Iman AbuelMaaly 2. Discrete –time Signals (notations)

Example of a discrete-time sinusoidal signal: (ω =π/6 radians per sample (f =1/12 cycles per sample) and θ = π/3 ) n x(n) Dr Iman AbuelMaaly 1. Introduction

Dr Iman AbuelMaaly 7 Sampler Quantizer coder xa(t)xa(t) xq(n)xq(n) x(n)x(n) Analog signal Discrete signal Quantizedsignal Digital signal Discrete signal Quantizedsignal x(n)x(n) xq(n)xq(n) 2. Analog to Digital conversion

We view the A/D conversion as three steps process. Basic parts of an A/D conversion Dr Iman AbuelMaaly 8 SamplerQuantizercoder xa(t)xa(t)xq(n)xq(n)x(n)x(n) Analog signal Discrete signal Quantized signal Digital signal

2. Analog to Digital conversion Sampling: Conversion of a continuous time signal into a discrete time signal. Quantization: Conversion of a discrete time continuous valued signal into a discrete time discrete valued signal. Coding: Each discrete valued signal is represented by b-bits (binary sequence) Dr Iman AbuelMaaly 9

Distortion and Noise Sampling does not result in a loss of information, nor does it introduce distortion in the signal if the signal is band limited (according to the sampling theory) Quantization is a non invertible process that results in signal distortion. This quantization distortion decreases when the the accuracy (number of bits) increases Dr Iman AbuelMaaly 10

Analog to digital conversion cost is proportional to the sampling rate and accuracy Dr Iman AbuelMaaly 11

3. Sampling of analog signals Uniform sampling Sampling of a continuous-time signal x a (t) can be done by obtaining its values at periodic times to get x a (nT) where T is the sampling period. This is described by the relation: Dr Iman AbuelMaaly 12

Uniform Sampling Dr Iman AbuelMaaly 13

Uniform Sampling Sampling Dr Iman AbuelMaaly 14

Uniform Sampling T= Sampling period (secs). = sampling rate ( samples/sec) or sampling frequency in Hz Dr Iman AbuelMaaly 15

Uniform Sampling Notice For continuous time signals we use F and Ω For discrete time signals we use f and ω Dr Iman AbuelMaaly 16

Uniform Sampling Example For the analog sinusoid When sampled periodically at rate We get Dr Iman AbuelMaaly 17

Frequency variables : F and f From the above example we get the following: (1) Relative or normalized frequency (2) x(n) Dr Iman AbuelMaaly 18

For continuous-time sinusoids: (3) For discrete-time sinusoids: (4) Dr Iman AbuelMaaly 19 Frequency variables : F and f

By substituting (1) and (2) into (4), the frequency of a continuous time sinusoid when sampled at a rate must fall in the range: Or equivalently: 20 (1) (2) (4) Dr Iman AbuelMaaly

Periodic sampling of a continuous signal implies a mapping of the infinite frequency range for the variable F or Ω into a finite frequency range for the variable f or ω. The highest frequency in a discrete time signal is ω = π or f= 1/2. It follows that with a sampling rate F s, the corresponding highest values F and Ω are: and Dr Iman AbuelMaaly 21

Quantization and Continuous-amplitude Signals: Quantization is the process of converting a discrete–time continuous amplitude signal into a digital signal by expressing each sample value as a finite ( instead of infinite) number of digits. Q[x(n)] is the quantization of x(n)

The Quantization Error e q (n) e q (n) is the difference between the quantized value and the actual value of samples. Quantization process is done by either truncation or rounding

Example: x (1) = 3.8 and x (2) =3.2 Truncationx q (1) = 3x q (2) = 3 Roundingx q (1) = 4x q (2) = The Quantization Error e q (n)

Example 2: Consider a discrete time signal Obtained by sampling the analog signal with a sampling frequency 1 Hz

Example 2: Sampling

Ilustration of Quantization

Rounding =0.7

Quantization Error

∆ is the distance allowed between two successive quantization levels and is called quantization step size or resolutions. The rounding quantizer assigns each sample of x(n) to the nearest quantization level. The quantization error can not exceed half of the quantization step, i.e.,

L is the number of quantization levels. If x max and x min are the maximum and minimum values of x(n) then, x max – x min is the dynamic range of the signal

In the previous example: x max = 1.0 x min = 0 L= 11 Then ∆ =0.1 Increasing the number of quantization level results in a decrease of the quantization step size and thus e q (n) decreases

Why is quantization a non-invertible proces? Because it is a many to one mapping. i.e., all samples in a distance ∆/2 about a certain quantization level are assigned the same value. 8.02, 8.1, 8.1, 8.2, 8.2, 8.3, 8.3, are all quantized to be

Quantization of Sinusoidal Signals The following figure shows the sampling and quantization of an analog sinusoidal signal

By quantizing the analog signal instead of the discrete signal, we get the following quantization error: x a (t) denotes the time that x a (t) stays within the quantization levels Quantization of Sinusoidal Signals

xa(t) Signal xa(t) is almost linear between quantization levels. eq(t) The corresponding quantization error eq(t) is eq(t)= xa(t)- xq(t)

The Mean Square Error Power p q The mean square error power p q is: Since, We have

The Mean Square Error Power b If the quantizer has b bits of accuracy and the quantizer covers the entire range 2A, the quantization step is Hence The average power of the signal x a (t) is

Signal To Quantization Noise Ratio SQNR The quality of the output of the A/D converter is usually measured by the signal to quantization noise ratio SQNR, Expressed in dB, SQNR is, SQNR increases 6dB for every bit added to the word length

Next Lecture Dr Iman AbuelMaaly41