Hossein Sameti Department of Computer Engineering Sharif University of Technology.

Slides:



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

Chapter 4 sampling of continous-time signals 4.5 changing the sampling rate using discrete-time processing 4.1 periodic sampling 4.2 discrete-time processing.
Digital Coding of Analog Signal Prepared By: Amit Degada Teaching Assistant Electronics Engineering Department, Sardar Vallabhbhai National Institute of.
Husheng Li, UTK-EECS, Fall  An ideal low pass filter can be used to obtain the exact original signal.
Filtering Filtering is one of the most widely used complex signal processing operations The system implementing this operation is called a filter A filter.
EE381K-14 Multidimensional DSP Multidimensional Resampling Lecture by Prof. Brian L. Evans Scribe: Serene Banerjee Dept. of Electrical and Comp. Eng. The.
Analog to Digital Converters (ADC) 2 ©Paul Godin Created April 2008.
ADC AND DAC Sub-topics: Analog-to-Digital Converter -. Sampling
Quantization Prof. Siripong Potisuk.
Introduction to D/A and A/D conversion Professor: Dr. Miguel Alonso Jr.
Discussion #25 – ADCECEN 3011 Conversion Mosiah 5:2 2 And they all cried with one voice, saying: Yea, we believe all the words which though has spoken.
EET260: A/D and D/A converters
Why prefer CMOS over CCD? CMOS detector is radiation resistant Fast switching cycle Low power dissipation Light weight with high device density Issues:
Introduction to Analog-to-Digital Converters
Science is organized knowledge. Wisdom is organized life.
Digital Signal Processing – Chapter 7
Data Acquisition. Data Acquisition System Analog Signal Signal Conditioner ADC Digital Processing Communication.
Lecture 4: Sampling [2] XILIANG LUO 2014/10. Periodic Sampling  A continuous time signal is sampled periodically to obtain a discrete- time signal as:
Data Sampling & Nyquist Theorem Richa Sharma Dept. of Physics And Astrophysics University of Delhi.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Over-Sampling and Multi-Rate DSP Systems
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.
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.
Chapter 4: Sampling of Continuous-Time Signals
FT Representation of DT Signals:
… Representation of a CT Signal Using Impulse Functions
Formatting and Baseband Modulation
Signal ProcessingES & BM MUET1 Lecture 2. Signal ProcessingES & BM MUET2 This lecture Concept of Signal Processing Introduction to Signals Classification.
Fundamentals of Digital Communication
DTFT And Fourier Transform
Signals and Systems Prof. H. Sameti Chapter 7: The Concept and Representation of Periodic Sampling of a CT Signal Analysis of Sampling in the Frequency.
Sampling Theorems. Periodic Sampling Most signals are continuous in time. Example: voice, music, images ADC and DAC is needed to convert from continuous-time.
COMMUNICATION SYSTEM EEEB453 Chapter 5 (Part IV) DIGITAL TRANSMISSION.
Digital Signal Processing
Signal Encoding Techniques. Lecture Learning Outcomes Be able to understand, appreciate and differentiate the different signal encoding criteria available.
CE Digital Signal Processing Fall 1992 Waveform Coding Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Analog-To-Digital convertor Sampler Quantization Coding.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Fundamentals of Digital Signal Processing. Fourier Transform of continuous time signals with t in sec and F in Hz (1/sec). Examples:
revision Transfer function. Frequency Response
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Filters filters. Filters A filter removes a signal’s unwanted frequency components. Figure 6.18.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
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.
Continuous-time Signal Sampling
0/31 Data Converter Basics Dr. Hossein Shamsi. 1/31 Chapter 1 Sampling, Quantization, Reconstruction.
2. Multirate Signals.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin Lecture 3
CMOS Analog Design Using All-Region MOSFET Modeling
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ Καθηγητής Πέτρος Π. Γρουμπός  Ώρες Γραφείου: Τετάρτη Πέμπτη Παρασκευή 11:00- 12:00 Γραφείο: 1.
Digital Signal Processing
بسم الله الرحمن الرحيم Digital Signal Processing Lecture 2 Analog to Digital Conversion University of Khartoum Department of Electrical and Electronic.
Sampling and DSP Instructor: Dr. Mike Turi Department of Computer Science & Computer Engineering Pacific Lutheran University.
Sistem Telekomunikasi, Sukiswo, ST, MT Sukiswo
Introduction to Discrete-Time Control Systems fall
Analog to digital conversion
Chapter 3 Sampling.
Quantization and Encoding
Sampling rate conversion by a rational factor
Zhongguo Liu Biomedical Engineering
Chapter 3: Pulse Code Modulation
لجنة الهندسة الكهربائية
Sampling and the Discrete Fourier Transform
Signals and Systems Chapter 7: Sampling
DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 4
DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 4
Chapter 9 Advanced Topics in DSP
Sampling Theorem 主講者:虞台文.
ELEN E4810: Digital Signal Processing Topic 11: Continuous Signals
CE Digital Signal Processing Fall Discrete Fourier Transform (DFT)
Presentation transcript:

Hossein Sameti Department of Computer Engineering Sharif University of Technology

Our focus 2 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

3

4

 In practice, the sampling is performed by a S/H circuit. Sample-and-hold (S/H)  S/H is an analog circuit that tracks the analog signal during the sample mode and holds it during the hold mode.  The time needed for conversion should be less than the hold mode duration.  The sampling period T should be greater than the duration of sample & hold mode Copyright: NEC 5

 The goal of the S/H is to continuously sample the input and then hold the value constant as long as it takes the A/D converter to digitally represent (code) the samples.  Thus, it allows the A/D converter to operate more slowly than the time needed to acquire a sample.  S/H is of critical importance in digital conversion of signals that change rapidly (i.e. the signals with large bandwidth). 6 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

 Quantization: conversion of continuous-valued signal into discrete-valued.  Quantization effects: reducing quantized levels results in signal quality degradation.  Quantization is irreversible: results in loss of information. 7 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

8

9

 Uses a reference and a comparator for each of the discrete levels represented in the digital output  Number of comparators = number of quantization levels  generally fast but expensive 10

 Theoretically, the extreme decision levels are x 1 = -  and x L+1 =  (i.e. cover the entire dynamic range of the signal). However,in practice, A/D converters can only handle a finite range R. 11 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

 During coding, A/D converters assign a unique binary representation to each quantization level.  If we have L quantization levels, then we need to have where B is the number of bits needed for the binary representation.  Quantization error: 12 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

 Each sample of the signal is quantized to one of the amplitude levels, where B is the number of bits used to represent each sample.  The quantized waveform is modeled as :  e(n) represent the quantization error, Which we treat as an additive noise. 13 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

◦ For small, it is reasonable to assume that is a random variable uniformly distributed from to.  Where the step size of the quantizer is 14 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

◦ If is the maximum amplitude of signal, ◦ The mean square value of the quantization error is : ◦ Measured in dB, The mean square value of the noise is : 15 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

16 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

Ideal C.T. to D.T. Converter: 17 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

18 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

Shifting property 19 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

CTFT (1) (2) (1), (2) (eq.3) 20 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

Frequency Domain: (Eq.4) 21 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

(eq.3) (eq.4) (eq.3) and (eq.4) 22 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

t t -3T -2T –T 0 T 2T 3T t 0 23

t -3T -2T –T 0 T 2T 3T To avoid aliasing: n –

25

26 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

 Anti-aliasing (i.e. pre-) filters are analog filters serving two purposes: ◦ That the bandwidth of the signal to be sampled is limited to the desired frequency range (thus no aliasing). ◦ Limiting the additive noise spectrum and other interference corrupting the desired signal. Thus, it rejects the out-of-band noise. General configuration of digital processing systems 27 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

Changing the Sampling Rate 28

n – a b cd e f n b df Downsample by a factor of 2 Downsample by a factor of N: Keep one sample, throw away (N-1) samples Advantage? 29 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

-3T -2T –T 0 T 2T 3T A continuous-time signal Suppose we now sample at two rates: C/D T (1) C/D MT (2) Q: Relationship between the DTFT’s of these two signals? 30 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

C/D T (1) C/D MT (2) Change of variable: 31 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

Change of variable: 32 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

Change of variable: 33

If M=2, 34

35

What could go wrong here? 36

37 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

38 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

39 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

Application? It is the process of increasing the sampling rate by an integer factor. C/D T (1) C/D T/L (2) 40 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

n – a b cd e f b df 41 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

42

Question: How can we obtain from ? Proposed Solution: L Low-pass filter with gain L and cut-off frequency 43 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

n – a b cd e f b df n df 44 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

Q: Relationship between the DTFT’s of these three signals? Shifting property: 45

On the other hand: (Eq.2) (Eq.1) (Eq.1) and (Eq.2) 46 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

In order to get from we thus need an ideal low-pass filter. L 47

L 48

 The input and output plots of a factor-of-5/3 interpolator are given below 49 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

fractional changesampling rate  To implement a fractional change in the sampling rate we need to employ a cascade of an up-sampler and a down-sampler. 50 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

51

52

 Reviewed sampling of continuous time signals and the relationship between CTFT and DTFT.  Derived the effect of downsampling and upsampling of signals in the frequency domain.  Adjusting the sampling rate is especially important before applying pattern recognition algorithms, as it can decrease the complexity of the subsequent signal processing algorithms (by decreasing the length of the signal of interest). 53 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology