Lecture Notes on Discrete-Time Signal Processing

Lecture Notes on Discrete-Time Signal Processing

A. Enis Cetin Lecture Notes on Discrete-Time Signal Processing EE424 Course @ Bilkent University May 7, 2015 BILKENT Foreword This is version 1 of my EE 424 Lecture Notes. I am not a native English speaker. Therefore the language of this set of lecture notes will be Globish. I will later (hope- fully) revise this version and make it English with the help of my native English speaker son Sinan. I have been studying, teaching contributing to the field of Discrete-time Signal Processing for more than 25 years. I tought this course at Bilkent University, Uni- versity of Toronto and Sabanci University in Istanbul. My treatment of filter design is different from most textbooks and I only include material that can be covered in a single semester course. The notes are organized according to lectures and I have X lectures. We assume that the student took a Signals and Systems course and he or she is familier with Continuous Fourier Transform and Discrete-time Fourier Transform. There may be typos in the notes. So be careful! I also thank Berk Ozer for his contributions to this set of lecture notes. Ankara, October 2011 A. Enis Cetin v Contents 1 Introduction, Sampling Theorem and Notation .................... 1 1.1 Shannon’s Sampling Theorem . .1 1.2 Aliasing . .6 1.3 Relation between the DTFT and CTFT. .8 1.4 Continuous-Time Fourier Transform of xp(t) ...................9 1.5 Inverse DTFT . 11 1.6 Inverse CTFT . 11 1.7 Filtering Analog Signals in Discrete-time Domain . 12 1.8 Exercises . 12 2 Multirate Signal Processing ..................................... 17 2.1 Interpolation . 17 2.2 Interpolation by an integer M . 23 2.3 Decimation by a factor of 2 . 23 2.4 Decimation by M . 29 2.5 Sampling Rate Change by a factor of L/M . 29 2.6 Interpolation Formula . 29 2.7 Downsampler and Upsampler are Linear Operators . 30 2.8 Computer Project. 30 2.9 Exercises . 31 3 Discrete Fourier Transform (DFT) ............................... 35 3.1 DFT Definition . 35 3.2 Approximate Computation of CTFT using DFT . 37 3.2.1 Computer Project: DTMF (Dual/Dial-Tone-Multi- Frequency) . 40 3.3 Convolution using DFT . 41 3.4 Circular Convolution . 42 3.4.1 Computation of DFT of Anticausal Sequences . 45 3.5 Inverse DFT of an Infinite Extent Signal . 47 3.6 DFT and Inverse DFT using Matrix Notation . 49 vii viii Contents 3.7 Parseval’s Relation . 52 3.8 Mini Projects . 52 3.9 Exercises . 54 4 Fast Fourier Transform (FFT) Algorithms ........................ 57 4.1 Introduction . 57 4.2 DFT Computation by Matrix Multiplication . 57 4.3 Decimation-in-Frequency FFT Computation Algorithm. 58 4.4 Decimation-in-Time FFT Computation Algorithm . 64 4.5 FFT for an arbitrary N . 68 4.6 Convolution using DFT (FFT) . 70 4.7 Exercises . 70 4.8 Computer Projects . 72 4.9 Exercises . 73 5 Applications of DFT (FFT) ...................................... 75 5.1 Introduction . 75 5.2 Convolution using DFT (FFT) . 75 5.3 Overlap and Add Method . 76 5.4 Discrete Cosine Transform (DCT) . 77 5.5 Relationship between DFT and DCT . 78 5.5.1 Relation between DFT and DCT-1 . 79 5.5.2 Relation between DFT and DCT-2 . 79 6 FIR Filter Design and Implementation ........................... 81 6.1 Linear-Time Invariant Systems . 81 6.1.1 Design of FIR Filters Using a Rectangular Window . 82 6.1.2 Window-Based FIR Filter Design. 84 6.1.3 High-pass, Band-pass, Notch and Band-stop Filter Design . 85 6.2 Causal Filter Design . 85 6.3 Equiripple FIR Filter Design . 88 6.3.1 Equiripple FIR Filter Design by using the FFT based method 89 6.4 Design of Differentiators and Hilbert Transformers . 94 6.4.1 Differentiator . 94 6.4.2 Hilbert Transformer . 95 6.5 Exercises . 95 7 Recursive IIR Filter Design ..................................... 99 7.1 Implementation of Analog Systems using Discrete-Time Processing 99 7.2 The Bilinear Transform . 102 7.3 IIR Filter Design using the Bilinear Transform . 104 7.4 Butterworth Filters . 107 7.5 Chebyshev Filters . 110 7.6 Elliptic Filters . 111 7.7 Phase Response of Recursive IIR Filters . 112 7.8 Implementation of Recursive IIR Filters . 113 Contents ix 7.8.1 Direct Form I Realization (Signal Flow Diagram): . 114 7.8.2 Direct Form II Realization (Signal Flow Diagram): . 115 7.8.3 Lattice Filter: . 117 7.9 IIR All-Pass Filters . 118 7.9.1 Input/Output relation . 118 7.9.2 Stability condition . 119 7.10 Frequency Transformation of Low-Pass IIR Filters to Other Filters . 119 7.10.1 Low-pass filter to low-pass filter . 120 7.10.2 Low-pass to high-pass transformation . 121 7.10.3 Low-pass to band-pass filter . 122 7.10.4 Low-pass to band-stop filter . 122 7.11 Exercises . 122 8 Goertzel’s Algorithm ...........................................125 8.1 Implementation of Goertzel’s Algorithm . 126 9 Random Signals, Wiener Filtering and Speech Coding . 129 9.1 Introduction . 129 9.2 Stationary Random Processes . 131 9.2.1 Estimation of Autocorrelation from Data . 137 9.3 Linear Minimum Mean-Squared-Error (LMMSE) Predictor . 138 9.4 White Noise and MA and AR Random Processes . 140 9.5 Quantization and A to D Conversion. 144 9.6 LPC-10 Algorithm (Earliest Voice Coder / Vocoder) . 147 9.7 Exercises . 150 9.8 DTMF Tone Detection by Low-pass and High-pass Filters . 155 9.8.1 FIR Filter Design . 155 9.8.2 Generation of DTMF Tone . 155 9.8.3 Lowpass and Highpass Filters . 156 9.9 DTMF Tone Detection using Goertzel Algorithm . 156 9.9.1 DTMF Tone Detection using Goertzel Algorithm in MATLAB .......................................... 156 9.10 Classification of Coins using Cepstrum . 157 9.10.1 Generation of Sound Vectors. 157 9.10.2 Training Phase: Generation of Feature Vectors in MATLAB157 9.10.3 Testing Phase: 1-Nearest Neighbour Classifier in MATLAB 158 References .........................................................159 References . 159 Chapter 1 Introduction, Sampling Theorem and Notation The first topic that we study is multirate signal processing..

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    167 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us