Up-Sampling (5B) Young Won Lim 11/15/12

Similar documents
Down-Sampling (4B) Young Won Lim 11/15/12

Down-Sampling (4B) Young Won Lim 10/25/12

Fourier Analysis Overview (0B)

CT Rectangular Function Pairs (5B)

Fourier Analysis Overview (0A)

DFT Frequency (9A) Each Row of the DFT Matrix. Young Won Lim 7/31/10

Fourier Analysis Overview (0A)

Group Delay and Phase Delay (1A) Young Won Lim 7/19/12

Propagating Wave (1B)

Discrete Time Rect Function(4B)

General CORDIC Description (1A)

Discrete Time Rect Function(4B)

Digital Signal Octave Codes (0A)

Spectra (2A) Young Won Lim 11/8/12

Digital Signal Octave Codes (0A)

Digital Signal Octave Codes (0A)

Digital Signal Octave Codes (0A)

Signal Functions (0B)

Hilbert Inner Product Space (2B) Young Won Lim 2/7/12

Bandpass Sampling (2B) Young Won Lim 3/27/12

Digital Signal Octave Codes (0A)

Group & Phase Velocities (2A)

Phasor Young Won Lim 05/19/2015

Undersampling (2B) Young Won Lim 4/4/12

Digital Signal Octave Codes (0A)

Capacitor Young Won Lim 06/22/2017

Capacitor in an AC circuit

Expected Value (10D) Young Won Lim 6/12/17

Capacitor and Inductor

Capacitor and Inductor

Group Velocity and Phase Velocity (1A) Young Won Lim 5/26/12

Signals and Spectra (1A) Young Won Lim 11/26/12

Higher Order ODE's (3A) Young Won Lim 7/7/14

Matrix Transformation (2A) Young Won Lim 11/10/12

Signal Processing. Young Won Lim 2/20/18

Higher Order ODE's (3A) Young Won Lim 12/27/15

Detect Sensor (6B) Eddy Current Sensor. Young Won Lim 11/19/09

CLTI System Response (4A) Young Won Lim 4/11/15

CLTI Differential Equations (3A) Young Won Lim 6/4/15

Relations (3A) Young Won Lim 3/27/18

Background Trigonmetry (2A) Young Won Lim 5/5/15

DFT Octave Codes (0B) Young Won Lim 4/15/17

Background LTI Systems (4A) Young Won Lim 4/20/15

CT Correlation (2A) Young Won Lim 9/9/14

The Growth of Functions (2A) Young Won Lim 4/6/18

FFT Octave Codes (1B) Young Won Lim 7/6/17

Definitions of the Laplace Transform (1A) Young Won Lim 1/31/15

Root Locus (2A) Young Won Lim 10/15/14

Dispersion (3A) 1-D Dispersion. Young W. Lim 10/15/13

Capacitor in an AC circuit

Higher Order ODE's (3A) Young Won Lim 7/8/14

Capacitor in an AC circuit

Introduction to ODE's (0A) Young Won Lim 3/9/15

Signal Processing. Young Won Lim 2/22/18

General Vector Space (2A) Young Won Lim 11/4/12

Capacitor in an AC circuit

Separable Equations (1A) Young Won Lim 3/24/15

Capacitor in an AC circuit

Capacitor in an AC circuit

Audio Signal Generation. Young Won Lim 1/29/18

Line Integrals (4A) Line Integral Path Independence. Young Won Lim 10/22/12

Capacitor in an AC circuit

Matrix Transformation (2A) Young Won Lim 11/9/12

Capacitors in an AC circuit

Bayes Theorem (10B) Young Won Lim 6/3/17

Complex Trigonometric and Hyperbolic Functions (7A)

Magnetic Sensor (3B) Magnetism Hall Effect AMR Effect GMR Effect. Young Won Lim 9/23/09

Audio Signal Generation. Young Won Lim 2/2/18

Utility Functions Octave Codes (0A) Young Won Lim 1/24/18

Complex Series (3A) Young Won Lim 8/17/13

ODE Background: Differential (1A) Young Won Lim 12/29/15

Audio Signal Generation. Young Won Lim 2/2/18

Differentiation Rules (2A) Young Won Lim 1/30/16

Higher Order ODE's, (3A)

Line Integrals (4A) Line Integral Path Independence. Young Won Lim 11/2/12

Bayes Theorem (4A) Young Won Lim 3/5/18

Sequential Circuit Timing. Young Won Lim 11/6/15

Linear Equations with Constant Coefficients (2A) Young Won Lim 4/13/15

FSM Examples. Young Won Lim 11/6/15

General Vector Space (3A) Young Won Lim 11/19/12

DESIGN OF CMOS ANALOG INTEGRATED CIRCUITS

Differentiation Rules (2A) Young Won Lim 2/22/16

Problem Value

CMOS Inverter. Young Won Lim 3/31/16

Complex Functions (1A) Young Won Lim 2/22/14

Signal Processing. Young Won Lim 3/3/18

Signal Processing. Young Won Lim 2/24/18

Hamiltonian Cycle (3A) Young Won Lim 5/5/18

Surface Integrals (6A)

Problem Value

Background ODEs (2A) Young Won Lim 3/7/15

Grades will be determined by the correctness of your answers (explanations are not required).

Grades will be determined by the correctness of your answers (explanations are not required).

Tutorial Sheet #2 discrete vs. continuous functions, periodicity, sampling

Problem Value

Implication (6A) Young Won Lim 3/17/18

ECE 301 Fall 2010 Division 2 Homework 10 Solutions. { 1, if 2n t < 2n + 1, for any integer n, x(t) = 0, if 2n 1 t < 2n, for any integer n.

Definitions of the Laplace Transform (1A) Young Won Lim 2/9/15

NAME: ht () 1 2π. Hj0 ( ) dω Find the value of BW for the system having the following impulse response.

ELEN 4810 Midterm Exam

Transcription:

Up-Sampling (5B)

Copyright (c) 9,, Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version. or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover exts, and no Back-Cover exts. A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com. his document was produced by using OpenOffice and Octave.

= Spectrum Replication () Ideal Sampling x(t) x(t) = + n = x(n ) δ(t n ) X t s(t) = + δ(t n ) n = s(t) = + e + j π m t m = t x(t) = + n = x(t) e + j π m t x(t) Shift Property t X ( f ) = + n = X ( f m ) 5B Up-Sampling 3

= Spectrum Replication () S ( f ) = + δ( f m ) m = Frequency Domain X ( f ) A Convolution in Frequency X ( f ) = X ( f ) S ( f ) ω + = X ( f f ' )S ( f ' ) d f ' S ( f ) * = + m = + X ( f f ' )δ( f ' m ) d f ' π π + π + π ω X ( f ) = + n = X ( f m ) X ( f ) A π π + π + π ω 5B Up-Sampling 4

Increasing Sampling Frequency F s ' = UP / / 4 F s = 4 4 4 3 F s ω/ π f f 4 s f f f 4 s 4 s 4 s s 3 F s ' ω/ π Sampling Frequency F s ' = Sampling Frequency F s = 4 Sampling ime ' = Sampling ime = 4 4 4 5B Up-Sampling 5

Fine Sequence & Spectrum x[n] ime Sequence UP F s = = / / 4 4 F s = 4 = 4 4 4 Linear Frequency 3 F s ω/ π f f 4 s f f f 4 s 4 s 4 s s / F s / 4 = compressed Linear Frequency F s ' = 8 3 F s ' ω/ π ω π 3 π π π π π 3 π π Normalized Radian Frequency Normalized Radian Frequency ω 5B Up-Sampling 6

Normalized Radian Frequency x[n] ime Sequence ω = ω s = ω / s ω = ω = π f 4 f = /4 = 4 he Same ime Sequence Normalized Radian Frequency f = 4 / = 4 he Highest Frequency: y ' [n] ime Sequence 4 Normalized to Normalized Radian Frequency 5B Up-Sampling 7

Fine Sequence Spectrum Linear Frequency x[n] BW / Fs = 8 = UP ime Sequence BW = 8 /4 4 BW 4 3 4 Fs 4 = 4 4 4 4 3 4 = he Same ime Sequence BW ime Sequence BW /4 Fs 4 = = 4 4 3 4 BW 5B Up-Sampling 8

Fine Sequence Spectrum Normalized Frequency x[n] BW / Fs = 8 = UP ime Sequence BW = 8 /4 π 3 π π π Normalized Radian Frequency Fs 4 = 4 ω = 4 he Same ime Sequence π 3 π 4 π π Normalized Radian Frequency ω ime Sequence BW /4 Fs 4 = = π 3 π π 4 π Normalized Radian Frequency ω 5B Up-Sampling 9

Fine Sequence Spectrum Linear Frequency Linear Frequency Normalized Radian Frequency x[n] / = / Normalized Radian Frequency UP ime Sequence /4 4 4 High Freq 3 4 4 = 4 /4 π π 3 π π ω Normalized Radian Frequency = 4 he Same ime Sequence 4 4 High Freq 3 4 π π 3 π 4 π ω y [n] ime Sequence /4 = /4 Normalized Radian Frequency 4 4 3 4 High Freq π 3 π π 4 π ω Fine Sequence Spectrum Compressed Normalized Radian Frequency 5B Up-Sampling

Fine Sequence Generation y u [n] 4 4 4 Sampling Period Insert Zero Samples y u [n] Interpolate with Filter x[n] Sampling Period x[n] ime Sequence 5B Up-Sampling

Up Sampling in wo Steps ime Sequence v[n] 4 Highest Frequency Sampling Period 4 Interpolation Unpack & Insert D Zeros v[n] Restore D Samples x[n] Highest Frequency Sampling Period x[n] ime Sequence 5B Up-Sampling

Up-Sampling Operator v[n] D x[n] 4 D L v[n] v[n] D L-fold Expander 4 D v[n] = S L = y[n/ L] Increase sampling frequency by a factor of L if mod(n / L) = otherwise Decrease sampling period by a factor of /L n= = n= = n= =4 n=3 =6 D = v[] = y [] v[] = v[] = y[] v[3] = v[4] = y[] v[5] = v[6] = y[3] v[6] = 5B Up-Sampling 3

Up-Sampling Operator v[n] D x[n] 4 D L v[n] v[n] D L-fold Expander 4 D v[n] = S L = y[n/ L] if mod(n / L) = L-fold Expander = e j ω n π ω +π v[n] = e j ωn/ L δ L [n] π/ L ω/ L +π/ L compressed L π ω +L π π ω / L +π ω > +L π ω / L > +π 5B Up-Sampling 4

Example When D= () x[n] δ [n] D = v[n] t 4 x[n] = e j ωn δ [n] = ( + ( )n ) = ( + e j π n ) (e j π = ) v [n] = x[ n] + e jπ n x[n] = e j ω n + e j π n e j ωn = e j ω n + e+ j(ω π) n n V ( z) = + ( x[n] z n + x[n]( z) n ) = n= X ( z) + X ( z) V (e j ω ) = X (e j ω ) + X (e j π e j ω ) V ( ω) = X ( ω) + X ( ω π) 5B Up-Sampling 5

Z-ransform Analysis δ D [n] = if n/d is an integer otherwise v[n] = δ D [n] x[n] V [ z] = + v[] z + v[ D] z D + v[d] z D + V [ z] = + n= + v[n] z n = m= v[md] z md = F (z D ) Sampling Period 5B Up-Sampling 6

Z-ransform Analysis δ [n] = ( + ( )n ) = ( + e j π n ) = if n/ is an integer (even) otherwise e jπ = v [n] = x[n] + e jπ n x[n] x[n] = e j ωn v [n] = e jω n + e j π n e j ωn = e j ωn + e+ j(ω π) n V ( z) = + ( x[n] z n + x[n]( z) n ) = n= X ( z) + X ( z) V (ω) = V (e jω ) = X (e j ω ) + X (e jπ e j ω ) = X (ω) + X (ω π) 5B Up-Sampling 7

Measuring Rotation Rate 5B Up-Sampling 8

Signals with Harmonic Frequencies () Hz cycle / sec Hz cycles / sec 3 Hz 3 cycles / sec 4 Hz 4 cycles / sec 5 Hz 5 cycles / sec 6 Hz 6 cycles / sec 7 Hz 7 cycles / sec cos ( πt) cos ( π t) cos (3 πt) cos (4 πt) cos (5 πt) cos (6 πt ) cos (7 πt) = e+ j( π)t j( π)t + e = e+ j( π)t j( π)t + e = e+ j(3 π)t + e j(3 π)t = e+ j(4 π)t j( 4 π) t + e = e+ j(5 π)t + e j(5 π)t = e+ j(6 π)t + e j(6 π)t = e+ j(7 π)t + e j(7 π)t 5B Up-Sampling 9

Signals with Harmonic Frequencies () Hz cycle / sec Hz cycles / sec 3 Hz 3 cycles / sec 4 Hz 4 cycles / sec 5 Hz 5 cycles / sec 6 Hz 6 cycles / sec 7 Hz 7 cycles / sec 4 6 8 4 4 6 8 4 5B Up-Sampling

Sampling Frequency Hz sample / sec Hz samples / sec 3 Hz 3 samples / sec 4 Hz 4 samples / sec 5 Hz 5 samples / sec 6 Hz 6 samples / sec 7 Hz 7 samples / sec 4 6 8 4 4 6 8 4 5B Up-Sampling

Nyquist Frequency Hz cycle / sec Hz cycles / sec 3 Hz 3 cycles / sec 4 Hz 4 cycles / sec 5 Hz 5 cycles / sec 6 Hz 6 cycles / sec 7 Hz 7 cycles / sec x sample / sec x samples / sec x3 samples / sec x4 samples / sec x5 samples / sec x6 samples / sec x7 samples / sec 5B Up-Sampling

Aliasing Hz 7 Hz 6π x4 samples / sec 4 4 π Hz 6 Hz 4 4 6π x4 samples / sec 6π 3 Hz 5 Hz 6 6 6π x4 samples / sec 6π 4 Hz 8 8 6π x4 samples / sec 5B Up-Sampling 3

Sampling s = rad /sec = f = f = s rad / sec = s rad / sec f = rad / sec f = rad / sec rad / s sec rad / s sec rad / s sec 5B Up-Sampling 4

Sampling = f rad /sec s = rad /sec s = rad / s sec rad / s sec For the period of s Angular displacement = s rad rad = f s rad = 4 s rad = rad 5B Up-Sampling 5

Angular Frequencies in Sampling continuous-time signals Signal Frequency f = Signal Angular Frequency ω = π f (rad / sec) For second For revolution ω = π f (rad / sec) π (rad ) / (sec) sampling sequence Sampling Frequency = s For second For revolution ω s = π (rad /sec) π (rad ) / s (sec) Sampling Angular Frequency s = rad /sec 5B Up-Sampling 6

5B Up-Sampling 7

5B Up-Sampling 8

5B Up-Sampling 9

References [] http://en.wikipedia.org/ [] J.H. McClellan, et al., Signal Processing First, Pearson Prentice Hall, 3 [3] A graphical interpretation of the DF and FF, by Steve Mann [4] R. Cristi, Modern Digital Signal Processing