Introduction to Digital Signal Processing Slides

Total Page:16

File Type:pdf, Size:1020Kb

Introduction to Digital Signal Processing Slides Introduction to Digital Signal Processing slides Dr. Gal Ben--DavidDavid Winter 2009//20102010 11 Agenda Signal and Systems brushbrush--up,up, Poisson formulas Sampling: Point sampling, Impulse Sampling, BandBand-- pass Sampling, Nyquist Rate, Shannon reconstruction DFT --DiscreteDiscrete Fourier Transform, Spectrum analysis, Windows, Zero Padding, Cyclic convolution, Periodic Signals, FFT Continuous Phase representation, Linear Phase, Minimum Phase, All Pass FIR filters, IRT Method, Windows, Equiripple IIR Filter, Analog filters, Impulse invariance, Bilinear Transform MultirateMultirate,, Decimation, Interpolation 22 Course requirements Theoretic Homework (up to 2 students per submisssubmission)ion) --88%% Matlab exercises (up to 2 students per submission) ––88%% No grade transfer Final Exam ––MoedMoed A, B, Miluim --8484%% Note that for a 170170++ students class we cannot find personal “solutions” for grades (i.e., no oral exams, no extra homework, no special exam dates, ….) Intensive use of Moodle for announcements, forums, sound files, submission, HW partners, homework, solutions, ask your lecturer 33 Literature Malah--RazRaz (Hebrew) + Equiripple + Multirate -- DFT frequency zero padding --IIRIIR ChebCheb.,., Elliptic filters will be given in tutorial only B. PoratPorat,, A Course in Digital Signal Processing, J. Wiley, 1997 44 Analog Signal Processing ω y( ) = 1 x(t) y(t) x()ω 1+ jωRC In fact R can be purchased (within reasonable price) at 1% precision, while C is 10% accurate. The corner frequency is accurate to ~10% (3-4 bit) 55 Analog Signal Processing Legacy ––Resistors,Resistors, Capacitors, Operational AmplifiAmplifiersers Mostly used for filtering Simple Limited in scope Limited in accuracy Cannot be adapted Repeatability problems Aging Sensitivity to the environment Uncertain performance in production units Variation in performance of units Sensitive analog traces on PCBs 66 Digital Signal Processing Platform General purpose computers Dedicated Signal Processors Dedicated hardware Accuracy only depends on computer registers Flexible Repeatable Adaptive May be more sophisticated 77 What is DSP? Digital Signal Processing – the processing or manipulation of signals using digital techniques Digital Output Input ADC Signal DAC Signal Processor Signal Analogue Digital to to Digital Analogue Converter Converter Speech Processing Speech coding/compression Speech synthesis Speech recognition Some Properties of Speech Vowels “oo” in “blue” “o” in “spot” “ee” in “key” “e” in “again” •Quasi-periodic •Relatively high signal power Consonants “s” in “spot” “k” in “key” •Non-periodic (random) •Relatively low signal power Speech Coding 64 kbits/s 22.8 kbits/s 13 kbits/s BTS Speech Coding – Vocoder Encoder Original Speech Analysis: • Voiced/Unvoiced decision • Pitch Period (voiced only) • Signal power (Gain) Pitch Decoder Period Signal Power Pulse Train V/U G Vocal Tract Model Synthesized Speech Random Noise Digital Audio Standard music CD: kz1H Sampling .1 44. Rate: apSmling kHzaRte: 44 16 16--bit samples 22--channelchannel stereo Data transfer rate = 1622×× ,100 16×× 44,100 = 44 11..44 Mbits/s 1 hour of music = 11..44××33,,600600 = 635 MB Audio Coding (Cont’d) Key standards: MPEG: Layers I, II, and III (MP33);); AAC. •• used in DAB, DVD Dolby AC33,, Dolby Digital, Dolby Surround. Typical bit rates for 2--channel stereo: 6464kbits/skbits/s to 384 kbits/s. Subband--oror transform--based,based, making use of perceptual masking properties. Image/Video Still Image Coding: JPEG (Joint Photographic Experts Group): •• Discrete Cosine Transform (DCT) based JPEGJPEG20002000:: Wavelet Transform based Video Coding: MPEG (Moving Pictures Experts Group): •• DCTDCT--based,based, •• Interframe and intraframe prediction, •• Motion estimation. •• MPEGMPEG--11,, MPEGMPEG--22,, MPEGMPEG--44 H.H.261261,, H.H.263263,H.,H.264264 Applications: Digital TV, DVD, Video conference,etcconference,etc.. Some Other Application Areas Image analysis, e.ge.g:: Human recognition, Optical Character Recognition (OCR); Restoration of old image, video, and audio signals; Analysis of RADAR data; Analysis of SONAR data; Data transmission (modems, radio, echo cancellation, channel equalization, etc.); Storage and archiving; Control of electric motors (!). DSP Devices & Architectures Selecting a DSP ––severalseveral choices: FixedFixed--point;point; Floating point; ApplicationApplication--specificspecific devices (e.g. FFT processors, speech recognizers,etcrecognizers,etc.)..). DSP Manufacturers: Texas Instruments ( http://www.ti.com)) Motorola/Motorola/FreescaleFreescale ((http://www.motorola.com)) Analog Devices ( http://www.analog.com)) Israel: DSP Group, ZoranZoran,, ECI, Rafael, ElbitElbit,, IAI, Comverse, Intel, Microsoft, EltaElta,, MAFMAF--AT,AT, .... Typical DSP Operations – MADD/MACC • Filtering Convolution • Energy of Signal • Frequency transforms Pseudo C code for (n=0; n<N; n++) { s=0; for (i=0; i<L; i++) { s += a[i] * x[n-i]; } y[n] = s; } Traditional DSP Architecture X RAM Y RAM x(n-i) ai Multiply/Accumulate Accumulator y(n) Sampling and quantization Amplitude Discrete 50 Continuous 49 48 47 46 45 T 2T Time 2020 Continuous Time Fourier Transform Continuous time signal CTFT Angular frequency ω = 2πf Sufficient condition 2121 Inverse CTFT Reconstruction of non continuous point 2222 Dirchlet conditions In each finite section, x(t) has finite number of non --continuous points. The “jump” is finite Bounded variation ––FiniteFinite number of extreme points in each finite section 2323 Sinc in time Gate in frequency Note: X(t) is not absolute integrable 2424 Gate in time Sinc in frequency The inverse transform 2525 Order 1 Low pass filter 2626 Order 1 Low pass filter 2727 CTFT 82 82 CTFT 92 92 CTFT 03 03 Delta or Unit Impulse Function, δ(t) The delta or unit impulse function, δδ((tt)) Mathematical definition (non(non--purepure version) 0 t ≠ t δ (t − t ) = 0 0 ⋅∞ = 1 t t0 Graphical illustration δ(t) 1 t 0 t0 3131 Dirac delta function Impulse Function For f() continuous at τ Impulse function in time contains all frequencies - same amplitude 3232 DC in time Impulse in frequency 33 33 Harmonic exponentials 43 43 COS /SIN 3535 SISO – Single Input – Single Output Systems A linear Linear system has a zero response for zero stimulus Time invariant 3636 Linear Time--InvariantInvariant Systems δ x(t)= (t) System h(t) T t t If a LTI system is excited by an input x(t) = δ(t), the output is called the impulse response h(t) = T{δ (t)} 3737 Unit Impulse Any continuous function can be written as weighted ‘sum’ of impulses as ∞ x(t) = ∫ x(τ )δ (t −τ )dτ −∞ 3838 Response to Arbitrary Input ∞ y(t) = T{}x(t) = T ∫ x(τ )δ (t −τ )dτ −∞ ∞ = ∫ x(τ )T{δ (t −τ )}dτ −∞ But since the system is time invariant T{δ (t −τ )}= h(t −τ ) ∞ y(t) = ∫ x(τ )h(t −τ )dτ −∞ y(t) = x(t)∗h(t) 3939 Convolution ∞ y(t) = ∫ x(τ )h(t −τ )dτ −∞ y(t) = x(t)∗h(t) x(t)LTI System y(t) h(t) 4040 Properties of the Convolution Integral Commutative y(t) = x(t)∗ h(t) = h(t)∗ x(t) Associative ∗ ∗ = ∗ ∗ {}{}x(t) h1(t) h2 (t) x(t) h1(t) h2 (t) Distributive ∗ + = ∗ + ∗ x(t) {}h1(t) h2 (t) x(t) h1(t) x(t) h2 (t) 4141 Eigenfunctions of ContinuousContinuous--TimeTime LTI Systems ∞ y(t) = ∫ x(t −τ )h(τ )dτ x(t)=e st LTI System − ∞ h(t) ∞ ∞ y(t) = ∫ h(τ )es( t−τ )dτ = est ∫ h(τ )e−sτ dτ − ∞ − ∞ = H (s)est = λest λ is the eigenvalue of the system associated with the eigenfunction e st , a complex constant 24 24 Eigenfunctions of ContinuousContinuous--TimeTime LTI Systems Harmonic input Harmonic output 0 0 4343 Transfer function Define Harmonic in Harmonic out LTI system changes the amplitude and phase of harmonic signals 4444 LTI Real impulse response systems 4545 Periodic function f (t) f (t) = f (t + kT) ∀ ,t ∀k t T T f(t) ⇒ a series of frequencies multiple of 1/T 4646 Orthogonal basis 74 74 Single Periodic extension period f (t) t T CTFT of the single period The Fourier series coefficients are samples of the CTFT of the single period function Samples in frequency – Periodicity in time 4848 Poisson Sum formula We get spectral lines 94 94 )t(f F(ω) t ω T )t(f F(ω) t ω T T ω 0 05 05 Poisson Sum formula The formula may be used for arbitrary x I(). For the impulse function 5151 Poisson Sum formula Impulse train in time – Impulse train in frequency 25 25 Sampling “quick and dirty” x(t) X(f) t BW p(t) P(f) f t T F=1/T x(t)p(t) X(f)*P(f) f t f Harry Nyquist (1889-1976) – Replicas will not overlap if F>2BW 5353 Parseval equation Sum of Energy of Single period energy Fourier coefficients 5454 Symmetry for real x(t) The Fourier series is composed of cosines 55 55 Finite Fourier series Instead of infinite series, we approximate by using 2N-1 elements Best approximation for the L 2 metric - Gibbs 5656 Periodic functions and LTI Systems H( ω) ∞ + ω ⋅ jk ω0 ψ ()kω0 ∑ ak H ()k 0 e k =−∞ The reponse to a periodic function is also periodic 5757 The Discrete time Fourier transform X f (θ ) = X f (θ + 2π ) Existence sufficient condition Inverse transform 5858 Example 95 95 Harmonic functions 06 06 DTFT 16 16 DTFT 26 26 DTFT 36 36 Unit sample response δ x(n)= (n) System h(n) h(n) t Convulution 6464 Response to harmonic signal Eigenfunction Frequency response 6565 Discrete time periodic signals Note that cos signal is periodic only if rational 6666 Sampling 76 76 Sampling --AliasingAliasing 1.2 1 __ 0.8 s(t) = sin(2πf0t) 0.6 0.4 s(t) @ f S 0.2 0 f0 = 1 Hz, f S = 3 Hz -0.2 tt -0.4 -0.6 -0.8 __ -0.8 s1(t) = sin( 8πf0t) -1 -1.2 __ s2(t) = sin(14 πf0t) s(t) @ f S represents exactly all sine-waves s k(t) defined by: ∈ sk (t) = sin( 2π (f 0 + k f S) t ) , k 6868 Sampling of continuous time x(t) Sampling frequency Sampling period What is the relationship between the CTFT of x(t) and the DTFT of x(n)? 6969 Inverse CTFT We calculate the infinite integral in sections of 2π/T XF(ω) …… ω −3π/T -π/T π/T 3π/T 7070 Compare to 17 17 Sampling 27 27 Band limited signal.
Recommended publications
  • Dsp Notes Prepared
    DSP NOTES PREPARED BY Ch.Ganapathy Reddy Professor & HOD, ECE Shaikpet, Hyderabad-08 Ch Ganapathy Reddy, Prof and HOD, ECE, GNITS id:[email protected],9052344333 1 DIGITAL SIGNAL PROCESSING A signal is defined as any physical quantity that varies with time, space or another independent variable. A system is defined as a physical device that performs an operation on a signal. System is characterized by the type of operation that performs on the signal. Such operations are referred to as signal processing. Advantages of DSP 1. A digital programmable system allows flexibility in reconfiguring the digital signal processing operations by changing the program. In analog redesign of hardware is required. 2. In digital accuracy depends on word length, floating Vs fixed point arithmetic etc. In analog depends on components. 3. Can be stored on disk. 4. It is very difficult to perform precise mathematical operations on signals in analog form but these operations can be routinely implemented on a digital computer using software. 5. Cheaper to implement. 6. Small size. 7. Several filters need several boards in analog, whereas in digital same DSP processor is used for many filters. Disadvantages of DSP 1. When analog signal is changing very fast, it is difficult to convert digital form .(beyond 100KHz range) 2. w=1/2 Sampling rate. 3. Finite word length problems. 4. When the signal is weak, within a few tenths of millivolts, we cannot amplify the signal after it is digitized. 5. DSP hardware is more expensive than general purpose microprocessors & micro controllers. Ch Ganapathy Reddy, Prof and HOD, ECE, GNITS id:[email protected],9052344333 2 6.
    [Show full text]
  • Virtual Analog (VA) Filter Implementation and Comparisons Copyright © 2013 Will Pirkle
    App Note 4"Virtual Analog (VA) Filter Implementation and Comparisons "Copyright © 2013 Will Pirkle Virtual Analog (VA) Filter Implementation and Comparisons Will Pirkle I have had several requests from readers to do a Virtual Analog (VA) Filter Implementation plug-in. The source of these designs is a book electronically published in June 2012 named The Art of VA Filter Design by Vadim Zavalishin. This awesome piece of work is free and available from many sources including my own site www.willpirkle.com. This short book is an excellent introduction to basic analog filtering theory as well as digital transformations. It is so concise in this respect that I am considering using it as part of the text materials for an Advanced Analog Circuits class I teach. I highly recommend this excellent book - you will need to understand its content to use this App Note; for the most part I use the same variable names as the book so you will want to use it as a reference. Zavalishinʼs derivations and descriptions are so well thought out and so well written that it makes no sense for me to repeat them here and I donʼt think it can be simplified any more that it already is in his book. Another reason that I enjoyed this book is that the author followed a similar derivation to reach the bilinear transform as my DSP professor (Claude Lindquist) did when I was in graduate school; in fact I use part of that same derivation in my classes and book. Also similar was the use of an integrator as a prototype filter to generate the discrete time transforms.
    [Show full text]
  • Noise Will Be Noise: Or Phase Optimized Recursive Filters for Interference Suppression, Signal Differentiation and State Estimation (Extended Version) Hugh L
    Available online at https://arxiv.org/ 1 Noise will be noise: Or phase optimized recursive filters for interference suppression, signal differentiation and state estimation (extended version) Hugh L. Kennedy Abstract— The increased temporal and spectral resolution of oversampled systems allows many sensor-signal analysis tasks to be performed (e.g. detection, classification and tracking) using a filterbank of low-pass digital differentiators. Such filters are readily designed via flatness constraints on the derivatives of the complex frequency response at dc, pi and at the centre frequencies of narrowband interferers, i.e. using maximally-flat (MaxFlat) designs. Infinite-impulse-response (IIR) filters are ideal in embedded online systems with high data-rates because computational complexity is independent of their (fading) ‘memory’. A novel procedure for the design of MaxFlat IIR filterbanks with improved passband phase linearity is presented in this paper, as a possible alternative to Kalman and Wiener filters in a class of derivative-state estimation problems with uncertain signal models. Butterworth poles are used for configurable bandwidth and guaranteed stability. Flatness constraints of arbitrary order are derived for temporal derivatives of arbitrary order and a prescribed group delay. As longer lags (in samples) are readily accommodated in oversampled systems, an expression for the optimal group delay that minimizes the white-noise gain (i.e. the error variance of the derivative estimate at steady state) is derived. Filter zeros are optimally placed for the required passband phase response and the cancellation of narrowband interferers in the stopband, by solving a linear system of equations. Low complexity filterbank realizations are discussed then their behaviour is analysed in a Teager-Kaiser operator to detect pulsed signals and in a state observer to track manoeuvring targets in simulated scenarios.
    [Show full text]
  • Overview Textbook Prerequisite Course Outline
    ESE 337 Digital Signal Processing: Theory Fall 2018 Instructor: Yue Zhao Time and Location: Tuesday, Thursday 7:00pm - 8:20pm, Javits Lecture Center 101 Contact: Email: [email protected], Office: 261 Light Engineering Office Hours: Tuesday, Thursday 1:30pm - 3:00pm, or by appointment Teaching Assistants, and Office Hours: • Jiaming Li ([email protected]): THU 12:30pm - 2:00pm, or by appointment, Location: 208 Light Engineering (Changes of hours, if any, will be updated on Blackboard.) Overview Digital Signal Processing (DSP) lies at the heart of modern information technology in many fields including digital communications, audio/image/video compression, speech recognition, medical imaging, sensing for health, touch screens, space exploration, etc. This class covers the basic principles of digital signal processing and digital filtering. Skills for analyzing and synthesizing algorithms and systems that process discrete time signals will be developed. 3 credits. Textbook • A.V. Oppenheim and R.W. Schafer, Discrete Time Signal Processing, Prentice Hall, Third Edition, 2009 Prerequisite • ESE 305, Deterministic Signals and Systems Course Outline Week 1 DT signals, DT systems and properties, LTI systems Week 2 Convolution, properties of LTI systems Week 3 Examples of LTI systems, eigen functions, frequency response of DT systems, DTFT 1 ESE 337 Syllabus Week 4 Convergence and properties of DTFT Week 5 Theorems of DTFT, useful DTFT pairs, examples, Z-transform Week 6 Examples of Z-transform, properties of ROC Week 7 Inverse Z-transform,
    [Show full text]
  • ECGR4124 Digital Signal Processing Exam 2 Spring 2017 Name
    ECGR4124 Digital Signal Processing Exam 2 Spring 2017 Name: _____________________________________ LAST 4 NUMBERS of Student Number: _____ Do NOT begin until told to do so Make sure that you have all pages before starting NO TEXTBOOK, NO CALCULATOR, NO CELL PHONES/WIRELESS DEVICES Open handouts, 2 sheet front/back notes, NO problem handouts, NO exams, NO quizzes DO ALL WORK IN THE SPACE GIVEN Do NOT use the back of the pages, do NOT turn in extra sheets of work/paper Multiple-choice answers should be within 5% of correct value Show ALL work, even for multiple choice ACADEMIC INTEGRITY: Students have the responsibility to know and observe the requirements of The UNCC Code of Student Academic Integrity. This code forbids cheating, fabrication or falsification of information, multiple submission of academic work, plagiarism, abuse of academic materials, and complicity in academic dishonesty. Unless otherwise noted: F{} denotes Discrete time Fourier transform {DTFT, DFT, or Continuous, as implied in problem} F-1{} denotes inverse Fourier transform ω denotes frequency in rad/sample, Ω denotes frequency in rad/second ∗ denotes linear convolution, N denotes circular convolution x*(t) denotes the conjugate of x(t) Useful constants, etc: e ≈ 2.72 π ≈ 3.14 e2 ≈ 7.39 e4 ≈ 54.6 e-0.5 ≈ 0.607 e-0.25 ≈ 0.779 1/e ≈ 0.37 √2 ≈ 1.41 e-2 ≈ 0.135 √3 ≈ 1.73 e-4 ≈ 0.0183 √5 ≈ 2.22 √7 ≈ 2.64 √10 ≈ 3.16 ln( 2 ) ≈ 0.69 ln( 4 ) ≈ 1.38 log10( 2 ) ≈ 0.30 log10( 3 ) ≈ 0.48 log10( 10 ) ≈ 1.0 log10( 0.1 ) ≈ -1 1/π ≈ 0.318 sin(0.1) ≈ 0.1 tan(1/9) ≈ 1/9 cos(π / 4) ≈ 0.71 cos( A ) cos ( B ) = 0.5 cos(A - B) + 0.5 cos(A + B) ejθ = cos(θ) + j sin(θ) 1/10 5 Points Each, Circle the Best Answer 1.
    [Show full text]
  • Digital Signal Processing I Exam 2 Fall 1999 Session 17 Live: 21 Oct
    Digital Signal Processing I Exam 2 Fall 1999 Session 17 Live: 21 Oct. 1999 Cover Sheet Test Duration: 75 minutes. Open Book but Closed Notes. Calculators NOT allowed. This test contains four problems. All work should be done in the blue books provided. Do not return this test sheet, just return the blue books. Prob. No. Topic of Problem Points 1. Digital Upsampling 35 2. Digital Subbanding 25 3. Multi-Stage Upsampling/Interpolation 20 4. IIR Filter Design Via Bilinear Transform 20 1 Digital Signal Processing I Exam 2 Fall 1999 Session 17 Live: 21 Oct. 1999 Problem 1. [35 points] X (F) H (ω) a LP 1/4W 2 F ω W W π 3π π π 3π π 4 4 4 4 x (t) h [n] a Ideal A/D x [n] w [n] Lowpass Filter y [n] 2 π LP 3π F = 4W ω = ω = s p 4 s 4 gain =2 Figure 1. The analog signal xa(t) with CTFT Xa(F ) shown above is input to the system above, where x[n]=xa(n/Fs)withFs =4W ,and sin( π n) cos( π n) h [n]= 2 4 , −∞ <n<∞, LP π n − n2 2 1 4 | |≤ π 3π ≤| |≤ such that HLP (ω)=2for ω 4 , HLP (ω)=0for 4 ω π,andHLP (ω) has a cosine π 3π roll-off from 1 at ωp = 4 to 0 at ωs = 4 . Finally, the zero inserts may be mathematically described as ( x( n ),neven w[n]= 2 0,nodd (a) Plot the magnitude of the DTFT of the output y[n], Y (ω), over −π<ω<π.
    [Show full text]
  • Understanding Digital Signal Processing
    Understanding Digital Signal Processing Richard G. Lyons PRENTICE HALL PTR PRENTICE HALL Professional Technical Reference Upper Saddle River, New Jersey 07458 www.photr,com Contents Preface xi 1 DISCRETE SEQUENCES AND SYSTEMS 1 1.1 Discrete Sequences and Their Notation 2 1.2 Signal Amplitude, Magnitude, Power 8 1.3 Signal Processing Operational Symbols 9 1.4 Introduction to Discrete Linear Time-Invariant Systems 12 1.5 Discrete Linear Systems 12 1.6 Time-Invariant Systems 17 1.7 The Commutative Property of Linear Time-Invariant Systems 18 1.8 Analyzing Linear Time-Invariant Systems 19 2 PERIODIC SAMPLING 21 2.1 Aliasing: Signal Ambiquity in the Frequency Domain 21 2.2 Sampling Low-Pass Signals 26 2.3 Sampling Bandpass Signals 30 2.4 Spectral Inversion in Bandpass Sampling 39 3 THE DISCRETE FOURIER TRANSFORM 45 3.1 Understanding the DFT Equation 46 3.2 DFT Symmetry 58 v vi Contents 3.3 DFT Linearity 60 3.4 DFT Magnitudes 61 3.5 DFT Frequency Axis 62 3.6 DFT Shifting Theorem 63 3.7 Inverse DFT 65 3.8 DFT Leakage 66 3.9 Windows 74 3.10 DFT Scalloping Loss 82 3.11 DFT Resolution, Zero Padding, and Frequency-Domain Sampling 83 3.12 DFT Processing Gain 88 3.13 The DFT of Rectangular Functions 91 3.14 The DFT Frequency Response to a Complex Input 112 3.15 The DFT Frequency Response to a Real Cosine Input 116 3.16 The DFT Single-Bin Frequency Response to a Real Cosine Input 117 3.17 Interpreting the DFT 120 4 THE FAST FOURIER TRANSFORM 125 4.1 Relationship of the FFT to the DFT 126 4.2 Hints an Using FFTs in Practice 127 4.3 FFT Software Programs
    [Show full text]
  • ESE 531: Digital Signal Processing Today IIR Filter Design Impulse
    Today ESE 531: Digital Signal Processing ! IIR Filter Design " Impulse Invariance " Bilinear Transformation Lec 18: March 30, 2017 ! Transformation of DT Filters IIR Filters and Adaptive Filters ! Adaptive Filters ! LMS Algorithm Penn ESE 531 Spring 2017 – Khanna Penn ESE 531 Spring 2017 - Khanna 2 IIR Filter Design Impulse Invariance ! Transform continuous-time filter into a discrete- ! Want to implement continuous-time system in time filter meeting specs discrete-time " Pick suitable transformation from s (Laplace variable) to z (or t to n) " Pick suitable analog Hc(s) allowing specs to be met, transform to H(z) ! We’ve seen this before… impulse invariance Penn ESE 531 Spring 2017 - Khanna 3 Penn ESE 531 Spring 2017 - Khanna 4 Impulse Invariance Impulse Invariance ! With Hc(jΩ) bandlimited, choose ! With Hc(jΩ) bandlimited, choose j ω j ω H(e ω ) = H ( j ), ω < π H(e ω ) = H ( j ), ω < π c T c T ! With the further requirement that T be chosen such ! With the further requirement that T be chosen such that that Hc ( jΩ) = 0, Ω ≥ π / T Hc ( jΩ) = 0, Ω ≥ π / T h[n] = Thc (nT ) Penn ESE 531 Spring 2017 - Khanna 5 Penn ESE 531 Spring 2017 - Khanna 6 1 IIR by Impulse Invariance Example jω ! If Hc(jω)≈0 for |ωd| > π/T, no aliasing and H(e ) = H(jω/T), ω<π jω ! To get a particular H(e ), find corresponding Hc and Td for which above is true (within specs) ! Note: Td is not for aliasing control, used for frequency scaling. Penn ESE 531 Spring 2017 - Khanna 7 Penn ESE 531 Spring 2017 - Khanna 8 Example Example 1 eat ←⎯L→ s − a Penn ESE 531 Spring
    [Show full text]
  • Chap 4 Sampling of Continuous-Time Signals Introduction
    Chap 4 Sampling of Continuous-Time Signals Introduction 4.1 Periodic Sampling 4.2 Frequency-Domain Representation of Sampling 4.3 Reconstruction of a Bandlimited Signal from its Samples 4.4 Discrete-Time Processing of Continuous-Time Signals 4.5 Continuous-Time Processing of Discrete-Time Signals 4.6 Changing the Sampling Rate Using Discrete-Time Processing 4.7 Multirate Signal Processing 4.8 Digital Processing of Analog Signals 4.9 Oversampling and Noise Shaping in A/D and D/A Conversion 2018/9/18 DSP 2 Periodic Sampling Sequence of samples x[n] is obtained from a continuous-time signal xc(t) : x[n] = xc(nT), - infinity < n < infinity T : sampling period fs = 1/T : sampling frequency, samples/second C/D Continuous-to-discrete-time Xc(t) converter X[n] = Xc(nT) T In a practical setting, the operation of sampling is often implemented by an analog-to-digital (A/D) converter which can be approximated to the ideal C/D converter. The sampling operation is generally not invertible. The inherent ambiguity in sampling is of primary concern in signal processing. 2018/9/18 DSP 3 Sampling with a Periodic Impulse Train s(t) C/D Converter Conversion from impulse train x[n] = x (nT) x (t) X C C xS(t)to discrete-time sequence xC(t) xC(t) xS(t) 2 Sampling Rates xS(t) -4T 0 2T -4T 0 2T x[n] 2 Output Sequences x[n] -4 0 2 -4 0 2 2018/9/18 DSP 4 Frequency-domain representation of sampling The conversion of xc(t) to xs(t) through modulating signal s(t) which is a periodic impulse train s(t) (t nT ) n xs (t) xc (t)s(t) xc (t) (t nT ) n by shifting property of the impulse xs (t) xc (nT)(t nT) n The Fourier transform of a periodic impulse train is a periodic impulse train.
    [Show full text]
  • Digital Signal Processing Lecture 8
    Lecture 8 Recap Introduction CT->DT Digital Signal Processing Impulse Invariance Lecture 8 - Filter Design - IIR Bilinear Trans. Example Electrical Engineering and Computer Science University of Tennessee, Knoxville Overview Lecture 8 1 Recap Recap Introduction CT->DT 2 Introduction Impulse Invariance 3 Bilinear Trans. CT->DT Example 4 Impulse Invariance 5 Bilinear Trans. 6 Example Roadmap Lecture 8 Introduction Discrete-time signals and systems - LTI systems Unit sample response h[n]: uniquely characterizes an Recap LTI system Introduction Linear constant-coefficient difference equation CT->DT Frequency response: H(ej!) Impulse Invariance Complex exponential being eigenfunction of an LTI j! j! Bilinear Trans. system: y[n] = H(e )x[n] and H(e ) as eigenvalue. Example z transform P1 −n The z-transform, X(z) = n=−∞ x[n]z Region of convergence - the z-plane System function, H(z) Properties of the z-transform The significance of zeros 1 H n−1 The inverse z-transform, x[n] = 2πj C X(z)z dz: inspection, power series, partial fraction expansion Sampling and Reconstruction Transform domain analysis - nwz Review - Design structures Lecture 8 Different representations of causal LTI systems LCDE with initial rest condition H(z) with jzj > R+ and starts at n = 0 Recap Block diagram vs. Signal flow graph and how to determine Introduction system function (or unit sample response) from the graphs CT->DT Design structures Impulse Invariance Direct form I (zeros first) Bilinear Trans. Direct form II (poles first) - Canonic structure Example Transposed form (zeros first) IIR: cascade form, parallel form, feedback in IIR (computable vs. noncomputable) FIR: direct form, cascade form, parallel form, linear phase Metric: computational resource and precision Sources of errors: coefficient quantization error, input quantization error, product quantization error, limit cycles Pole sensitivity of 2nd-order structures: coupled form Coefficient quantization examples: direct form vs.
    [Show full text]
  • IIR Filters (II)
    Lecture 8 - IIR Filters (II) James Barnes ([email protected]) Spring 2009 Colorado State University Dept of Electrical and Computer Engineering ECE423 – 1 / 27 Lecture 8 Outline ● Introduction ● Digital Filter Design by Analog → Digital Conversion ● (Probably next lecture) ”All Digital” Design Algorithms ● (Next lecture) Conversion of Filter Types by Frequency Transformation Colorado State University Dept of Electrical and Computer Engineering ECE423 – 2 / 27 ❖ Lecture 8 Outline Introduction ❖ IIR Filter Design Overview Method: Impulse Invariance for IIR FIlters Approximation of Derivatives Bilinear Transform Matched Z-Transform Introduction Colorado State University Dept of Electrical and Computer Engineering ECE423 – 3 / 27 IIR Filter Design Overview ● Methods which start from analog design ✦ Impulse Invariance ✦ Approximation of Derivatives ✦ Bilinear Transform ✦ Matched Z-transform All are different methods of mapping the s-plane onto the z-plane ● Methods which are ”all digital” ✦ Least-squares ✦ McClellan-Parks Colorado State University Dept of Electrical and Computer Engineering ECE423 – 4 / 27 ❖ Lecture 8 Outline Introduction Method: Impulse Invariance for IIR FIlters ❖ Impulse Invariance ❖ Impulse Invariance (2) ❖ Impulse Invariance (3) ❖ Impulse Invariance (5) ❖ Impulse Invariance Procedure ❖ Impulse Invariance Example Method: Impulse Invariance for IIR FIlters ❖ Impulse Invariance Example (2) Approximation of Derivatives Bilinear Transform Matched Z-Transform Colorado State University Dept of Electrical and Computer Engineering ECE423 – 5 / 27 Impulse Invariance We start by sampling the impulse response of the analog filter: ha(t) h[n]= ha(nt0) t0 Sampling Theorem gives relation between Fourier Transform of sampled and continuous ”signals”: ∞ 1 ω 2πk H(z)|z=ejω = Ha(j − j ), (1) t0 t0 t0 k=X−∞ where ω =Ωt0 = 2πf/fs and f is the analog frequency in Hz.
    [Show full text]
  • Signal Approximation Using the Bilinear Transform
    SIGNAL APPROXIMATION USING THE BILINEAR TRANSFORM Archana Venkataraman, Alan V. Oppenheim MIT Digital Signal Processing Group 77 Massachusetts Avenue, Cambridge, MA 02139 [email protected], [email protected] ABSTRACT The analysis presented in this paper has application in contexts This paper explores the approximation properties of a unique basis where only a fixed number of DT values can be used to represent a expansion, which realizes a bilinear frequency warping between a CT signal. For example, in a binary detection problem, one might continuous-time signal and its discrete-time representation. We in- want to limit the number of digital multiplies used to compute the vestigate the role that certain parameters and signal characteristics inner product of two CT signals. Numerical simulations of this sce- have on these approximations, and we extend the analysis to a win- nario suggest that the bilinear expansion achieves a better detection dowed representation, which increases the overall time resolution. performance than Nyquist sampling for certain signal classes. Approximations derived from the bilinear representation and from Nyquist sampling are compared in the context of a binary detection 2. THE BILINEAR REPRESENTATION problem. Simulation results indicate that, for many types of signals, the bilinear approximations achieve a better detection performance. As derived in [1], the network shown in Fig. 1 realizes a one-to-one Index Terms— Signal Representations, Approximation Meth- frequency warping between the Laplace and Z-transform domains ods, Bilinear Transformations, Signal Detection according to the bilinear transform. Specifically, the Laplace trans- form F (s) of the signal f(t) and the Z-transform F (z) of the se- f[n] 1.
    [Show full text]