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.

Slides:



Advertisements
Similar presentations
Signals and Systems Fall 2003 Lecture #13 21 October The Concept and Representation of Periodic Sampling of a CT Signal 2. Analysis of Sampling.
Advertisements

Husheng Li, UTK-EECS, Fall  An ideal low pass filter can be used to obtain the exact original signal.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Spring.
EE381K-14 Multidimensional DSP Multidimensional Resampling Lecture by Prof. Brian L. Evans Scribe: Serene Banerjee Dept. of Electrical and Comp. Eng. The.
1.The Concept and Representation of Periodic Sampling of a CT Signal 2.Analysis of Sampling in the Frequency Domain 3.The Sampling Theorem — the Nyquist.
Multirate Digital Signal Processing
EECS 20 Chapter 10 Part 11 Sampling and Reconstruction Last time we Viewed aperiodic functions in terms of frequency components via Fourier transform Gained.
University of British Columbia CPSC 414 Computer Graphics © Tamara Munzner 1 Sampling Week 7, Fri 17 Oct 2003 p1 demos sampling.
EE-2027 SaS, L10: 1/13 Lecture 10: Sampling Discrete-Time Systems 4 Sampling & Discrete-time systems (2 lectures): Sampling theorem, discrete Fourier transform.
Science is organized knowledge. Wisdom is organized life.
Continuous-time Signal Sampling Prof. Siripong Potisuk.
Leo Lam © Signals and Systems EE235. Transformers Leo Lam ©
Digital Signal Processing – Chapter 7
Lecture 4: Sampling [2] XILIANG LUO 2014/10. Periodic Sampling  A continuous time signal is sampled periodically to obtain a discrete- time signal as:
Sampling of Continuous-Time Signals
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Chapter 4: Sampling of Continuous-Time Signals
FT Representation of DT Signals:
Echivalarea sistemelor analogice cu sisteme digitale Prof.dr.ing. Ioan NAFORNITA.
… Representation of a CT Signal Using Impulse Functions
EE421, Fall 1998 Michigan Technological University Timothy J. Schulz 08-Sept, 98EE421, Lecture 11 Digital Signal Processing (DSP) Systems l Digital processing.
Chapter 5 Frequency Domain Analysis of Systems. Consider the following CT LTI system: absolutely integrable,Assumption: the impulse response h(t) is absolutely.
Fourier Analysis of Systems Ch.5 Kamen and Heck. 5.1 Fourier Analysis of Continuous- Time Systems Consider a linear time-invariant continuous-time system.
DTFT And Fourier Transform
Signal and Systems Prof. H. Sameti Chapter 8: Complex Exponential Amplitude Modulation Sinusoidal AM Demodulation of Sinusoidal AM Single-Sideband (SSB)
Sampling Theorems. Periodic Sampling Most signals are continuous in time. Example: voice, music, images ADC and DAC is needed to convert from continuous-time.
Fourier Series Summary (From Salivahanan et al, 2002)
Digital Signal Processing
Chapter 5 Frequency Domain Analysis of Systems. Consider the following CT LTI system: absolutely integrable,Assumption: the impulse response h(t) is absolutely.
1 Chapter 5 Ideal Filters, Sampling, and Reconstruction Sections Wed. June 26, 2013.
Signal and Systems Prof. H. Sameti Chapter 5: The Discrete Time Fourier Transform Examples of the DT Fourier Transform Properties of the DT Fourier Transform.
Signal and Systems Prof. H. Sameti Chapter 3: Fourier Series Representation of Periodic Signals Complex Exponentials as Eigenfunctions of LTI Systems Fourier.
Notice  HW problems for Z-transform at available on the course website  due this Friday (9/26/2014) 
Signal and Systems Prof. H. Sameti Chapter #2: 1) Representation of DT signals in terms of shifted unit samples System properties and examples 2) Convolution.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin Lecture 4 EE 345S Real-Time.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Leo Lam © Signals and Systems EE235 Leo Lam.
Signals and Systems Prof. H. Sameti Chapter 4: The Continuous Time Fourier Transform Derivation of the CT Fourier Transform pair Examples of Fourier Transforms.
1 Signals and Systems Lecture 23 DT Processing of CT Signals Digital Differentiator and Half-Sample Delay DT Decimation and Interpolation.
revision Transfer function. Frequency Response
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Digital Signal Processing
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.
Prof. Nizamettin AYDIN Advanced Digital Signal Processing 1.
Lecture 3: The Sampling Process and Aliasing 1. Introduction A digital or sampled-data control system operates on discrete- time rather than continuous-time.
Continuous-time Signal Sampling
Discrete-Time Processing of Continuous-Time Signals Quote of the Day Do not worry about your difficulties in Mathematics. I can assure you mine are still.
Oh-Jin Kwon, EE dept., Sejong Univ., Seoul, Korea: 2.3 Fourier Transform: From Fourier Series to Fourier Transforms.
Chapter 2 Ideal Sampling and Nyquist Theorem
Lecture 1.4. Sampling. Kotelnikov-Nyquist Theorem.
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
Chapter4. Sampling of Continuous-Time Signals
Chapter 3 Sampling.
7.0 Sampling 7.1 The Sampling Theorem
Sampling rate conversion by a rational factor
Zhongguo Liu Biomedical Engineering
لجنة الهندسة الكهربائية
Lecture 10 Digital to Analog (D-to-A) Conversion
Signal and Systems Chapter 8: Modulation
Reconstruction of Bandlimited Signal From Samples
Signals and Systems Chapter 7: Sampling
Chapter 2 Ideal Sampling and Nyquist Theorem
Chapter 9 Advanced Topics in DSP
Chapter 3 Sampling.
Digital Signal Processing
ELEN E4810: Digital Signal Processing Topic 11: Continuous Signals
CE Digital Signal Processing Fall Discrete Fourier Transform (DFT)
DIGITAL CONTROL SYSTEM WEEK 3 NUMERICAL APPROXIMATION
Presentation transcript:

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 Domain The Sampling Theorem - the Nyquist Rate In the Time Domain: Interpolation Undersampling and Aliasing Review/Examples of Sampling/Aliasing DT Processing of CT Signals

SAMPLING  We live in a continuous-time world: most of the signals we encounter are CT signals, e.g. x(t).  How do we convert them into DT signals x[n]?  Sampling, taking snap shots of x(t) every T seconds  T sampling period  x [n] ≡x (nT), n =..., -1, 0, 1, 2,... regularly spaced samples  Applications and Examples  Digital Processing of Signals  Strobe  Images in Newspapers  Sampling Oscilloscope  …  How do we perform sampling? Book Chapter#: Section# Computer Engineering Department, Signal and Systems 2

Why/When Would a Set of Samples Be Adequate?  Observation: Lots of signals have the same samples  By sampling we throw out lots of information (all values of x(t) between sampling points are lost).  Key Question for Sampling:  Under what conditions can we reconstruct the original CT signal x(t) from its samples? Book Chapter#: Section# Computer Engineering Department, Signal and Systems 3

Impulse Sampling: Multiplying x(t) by the sampling function     Book Chapter#: Section# Computer Engineering Department, Signal and Systems 4

Analysis of Sampling in the Frequency Domain  Multiplication Property: Book Chapter#: Section# Computer Engineering Department, Signal and Systems 5 Sampling Frequency Important to note:

Illustration of sampling in the frequency-domain for a band-limited signal (X(jω)=0 for |ω| > ω M )  drawn assuming:  Book Chapter#: Section# Computer Engineering Department, Signal and Systems 6 No overlap between shifted spectra

Reconstruction of x(t) from sampled signals  If there is no overlap between shifted spectra, a LPF can reproduce x(t) from x p (t) Book Chapter#: Section# Computer Engineering Department, Signal and Systems 7

Reconstruction of x(t) from sampled signals  Suppose x(t) is band-limited, so that :  Then x(t) is uniquely determined by its samples {x(nT)} if :  where ω s = 2π/T Book Chapter#: Section# Computer Engineering Department, Signal and Systems 8 X(jω)=0 for |ω| > ω M ω s > 2ω M = The Nyquist rate

Observations on Sampling  In practice, we obviously don’t sample with impulses or implement ideal low-pass filters.  One practical example: The Zero-Order Hold Book Chapter#: Section# Computer Engineering Department, Signal and Systems 9

Observations (Continued)  Sampling is fundamentally a time varying operation, since we multiply x(t) with a time-varying function p(t). However, is the identity system (which is TI) for band-limited x(t) satisfying the sampling theorem (ω s > 2ω M ).  What if ω s ≤ 2ω M ? Something different: more later. Book Chapter#: Section# Computer Engineering Department, Signal and Systems 10

Time-Domain Interpretation of Reconstruction of Sampled Signals: Band-Limited Interpolation  The low-pass filter interpolates the samples assuming x(t) contains no energy at frequencies ≥ ω c Book Chapter#: Section# Computer Engineering Department, Signal and Systems 11

Book Chapter#: Section# Computer Engineering Department, Signal and Systems 12 Original CT signal After Sampling After passing the LPF

Interpolation Methods  Band-limited Interpolation  Zero-Order Hold  First-Order Hold : Linear interpolation Book Chapter#: Section# Computer Engineering Department, Signal and Systems 13

Undersampling and Aliasing  When ω s ≤ 2ω M => Undersampling Book Chapter#: Section# Computer Engineering Department, Signal and Systems 14

Undersampling and Aliasing (continued)  Higher frequencies of x(t) are “folded back” and take on the “aliases” of lower frequencies  Note that at the sample times, x r (nT) = x (nT) Book Chapter#: Section# Computer Engineering Department, Signal and Systems 15 X r (jω) ≠ X(jω) Distortion because of aliasing

A Simple Example X(t) = cos(ω o t + Φ) Picture would be Modified… Demo: Sampling and reconstruction of cosω o t

Sampling Review Demo: Effect of aliasing on music.

Strobe Demo Δ > 0, strobed image moves forward, but at a slower pace Δ = 0, strobed image still Δ < 0, strobed image moves backward. Applications of the strobe effect (aliasing can be useful sometimes):— E.g., Sampling oscilloscope

DT Processing of Band-LimitedCT Signals Why do this? —Inexpensive, versatile, and higher noise margin. How do we analyze this system? —We will need to do it in the frequency domain in both CT and DT —In order to avoid confusion about notations, specify ω—CT frequency variable Ω—DT frequency variable (Ω = ωΤ) Step 1:Find the relation between x c (t) and x d [n], or X c (jω) and X d (e jΩ )

Time-Domain Interpretation of C/D Conversion Note: Not full analog/digital (A/D) conversion – not quantizing the x[n] values

Frequency-Domain Interpretation of C/D Conversion

Illustration of C/D Conversion in the Frequency-Domain

D/C Conversion y d [n] →y c (t) Reverse of the process of C/D conversion Again, Ω = ωΤ

Now the whole picture  Overall system is time-varying if sampling theorem is not satisfied  It is LTI if the sampling theorem is satisfied, i.e. for bandlimited inputs x c (t), with  When the input x c (t) is band-limited (X(jω) = 0 at |ω| > ω M )and the sampling theorem is satisfied (ω S > 2ω M ), then

Frequency-Domain Illustration of DT Processing of CT Signals

Assuming No Aliasing In practice, first specify the desired H c (jω), then design H d (e jΩ ).

Example:Digital Differentiator Applications: Edge Enhancement Courtesy of Jason Oppenheim. Used with permission. Courtesy of Jason Oppenheim. Used with permission.

Construction of Digital Differentiator Bandlimited Differentiator Desired: Set Assume (Nyquist rate met) Choice for H d (e jΩ ):

Band-Limited Digital Differentiator (continued)

Changing the Sampling Rate 30

Downsampling 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? 31 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

Downsampling -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? 32 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

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

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

Downsampling Change of variable: 35

Downsampling If M=2, 36

Downsampling (example) 37

Downsampling (example) What could go wrong here? 38

Downsampling with aliasing (illustration) 39 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

Downsampling (preventing aliasing) 40 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

Downsampling with aliasing (illustration) 41 Hossein Sameti, Dept. of Computer Eng., Sharif University of Technology

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

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

Upsampling 44

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

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

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

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

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

Upsampling L 50