Name: Dr. Peter Tsang Room: G6505 Ext: 7763

Slides:



Advertisements
Similar presentations
Digital Signal Processing IIR Filter IIR Filter Design by Approximation of Derivatives Analogue filters having rational transfer function H(s) can be.
Advertisements

Nonrecursive Digital Filters
Han Q Le© ECE 3336 Introduction to Circuits & Electronics Lecture Set #10 Signal Analysis & Processing – Frequency Response & Filters Dr. Han Le ECE Dept.
Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
Unit 9 IIR Filter Design 1. Introduction The ideal filter Constant gain of at least unity in the pass band Constant gain of zero in the stop band The.
Introduction to Signals and Systems David W. Graham EE 327.
MM3FC Mathematical Modeling 3 LECTURE 6 Times Weeks 7,8 & 9. Lectures : Mon,Tues,Wed 10-11am, Rm.1439 Tutorials : Thurs, 10am, Rm. ULT. Clinics : Fri,
1 Copyright © 2001, S. K. Mitra Polyphase Decomposition The Decomposition Consider an arbitrary sequence {x[n]} with a z-transform X(z) given by We can.
Input image Output image Transform equation All pixels Transform equation.
T Digital Signal Processing and Filtering
Chapter 4: Sampling of Continuous-Time Signals
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Discrete-Time and System (A Review)
EE421, Fall 1998 Michigan Technological University Timothy J. Schulz 08-Sept, 98EE421, Lecture 11 Digital Signal Processing (DSP) Systems l Digital processing.
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: Definition of a System Examples Causality Linearity Time Invariance.
Chapter 2: Discrete time signals and systems
Motivation Music as a combination of sounds at different frequencies
Z Transform When the transform is identical to DFT (11)
Signal and Systems Prof. H. Sameti
Copyright © 2001, S. K. Mitra Digital Filter Structures The convolution sum description of an LTI discrete-time system be used, can in principle, to implement.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE 313 Linear Systems and Signals Spring 2013 Continuous-Time.
ECE 8443 – Pattern Recognition ECE 3163 – Signals and Systems Objectives: Definition of a System Examples Causality Linearity Time Invariance Resources:
Course Outline (Tentative) Fundamental Concepts of Signals and Systems Signals Systems Linear Time-Invariant (LTI) Systems Convolution integral and sum.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Ch.10 Design of Digital Filters and Controllers Discretization The sampled signal x s (t) = x(t) p(t) where p(t) is the sampling pulse signal, with.
Department of Electrical and Computer Engineering Brian M. McCarthy Department of Electrical & Computer Engineering Villanova University ECE8231 Digital.
Leo Lam © Signals and Systems EE235 Leo Lam.
1 Introduction to Digital Filters Filter: A filter is essentially a system or network that selectively changes the wave shape, amplitude/frequency and/or.
Fourier Analysis of Signals and Systems
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: Causality Linearity Time Invariance Temporal Models Response to Periodic.
EEE 503 Digital Signal Processing Lecture #2 : EEE 503 Digital Signal Processing Lecture #2 : Discrete-Time Signals & Systems Dr. Panuthat Boonpramuk Department.
1 Digital Signal Processing Lecture 3 – 4 By Dileep kumar
Technological Educational Institute Of Crete Department Of Applied Informatics and Multimedia Neural Networks Laboratory Slide 1 FOURIER TRANSFORMATION.
Discrete-Time Signals and Systems
Time frequency localization M-bank filters are used to partition a signal into different frequency channels, with which energy compact regions in the frequency.
Lecture 01 Signal and System Muhammad Umair Muhammad Umair, Lecturer (CS), KICSIT.
Digital Signal Processing
Digital Control CSE 421.
Digital Filter Structures
. Fix-rate Signal Processing Fix rate filters - same number of input and output samples Filter x(n) 8 samples y(n) 8 samples y(n) = h(n) * x(n) Figure.
Computer Sound Synthesis 2
4. Introduction to Signal and Systems
Discrete-time Random Signals
Technological Educational Institute Of Crete Department Of Applied Informatics and Multimedia Neural Networks Laboratory Slide 1 DISCRETE SIGNALS AND SYSTEMS.
Lecture 5 – 6 Z - Transform By Dileep Kumar.
(Part one: Continuous)
By Dr. Rajeev Srivastava CSE, IIT(BHU)
What is filter ? A filter is a circuit that passes certain frequencies and rejects all others. The passband is the range of frequencies allowed through.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin Lecture 3
1 Digital Signal Processing (DSP) By: Prof. M.R.Asharif Department of Information Engineering University of the Ryukyus, Okinawa, Japan.
Real-time Digital Signal Processing Digital Filters.
In summary If x[n] is a finite-length sequence (n  0 only when |n|
1 Chapter 8 The Discrete Fourier Transform (cont.)
Discrete Time Signal Processing Chu-Song Chen (陳祝嵩) Institute of Information Science Academia Sinica 中央研究院 資訊科學研究所.
Digital Signal Processing
Digital Control CSE 421.
Software Defined Radio PhD Program on Electrical Engineering
Discrete-time Systems
Digital Control Systems (DCS)
Recap: Chapters 1-7: Signals and Systems
Zhongguo Liu Biomedical Engineering
EE Audio Signals and Systems
Dr. Nikos Desypris, Oct Lecture 3
Lect5 A framework for digital filter design
CS3291: "Interrogation Surprise" on Section /10/04
Chapter 6 Discrete-Time System
數位控制理論簡介.
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
State Space approach State Variables of a Dynamical System
Presentation transcript:

Name: Dr. Peter Tsang Room: G6505 Ext:

Introduction to Digital Signal Processing Digital Filter Design Multi-rate Signal Processing Wavelet Applications

A.N. Akansu et. al., “Multiresolution Signal Decomposition”, Academic Press. P.P. Vaidyanathan, “Multirate Systems and Filter Banks”, Prentice Hall. Students are strongly recommended to look for reference books in the library

Course Assessment: 100% Laboratory Sessions : 1 st weeks 8 2 nd weeks 10 to 13 Subject to change if necessary Special Arrangement Class cancellation: Week 5 (6 th Oct 2007)

Expected outcome from students: 1.Familiarize with FIR and IIR Digital Filter Design. 2.Establish the concept of Multi-resolution Signal Decomposition. 3.Understanding the basic mathematical framework of Wavclet Decomposition. 4.Capable of designing and building Digital Filters, Multi-resolution and Wavelet filter banks. 5.Applying Wavelet Decomposition in image processing.

x(t)x(t) System y(t) = G{x(t)} Input signal Transfer function (filter) Allow certain frequency band to pass, and reject others Output signal Figure 1 Signal Processing

x(t)x(t) Input signal Non-recursive system Output signal h FF (t) Feed forward response y(t) = G{x(t)} Figure 2 Signal Processing

x(t)x(t) Input signal Non-recursive system Output signal h FF (t) y(t) = x(t) * h FF (t) (1) y(t) = G{x(t)} Figure 3 Signal Processing

ConvolutionConvolution y(t) = x(t) * h (t) h(  ) x( )x( ) y(0)= AREA[h(  ) x(-  )]   y(1)= AREA[h(  ) x(1-  )] 

ConvolutionConvolution y(t) = x(t) * h (t) h(  ) x( )x( ) y(2)= AREA[h(  ) x(2-  )]   y(3)= AREA[h(  ) x(3-  )] 

x(t)x(t) Input signal Recursive system Output signal h FF (t) h FB (t) + Feed backward response y(t) = G{x(t)} Figure 4 Signal Processing

y(t) = x(t) * h FF (t) + x(t)x(t) Input signal Recursive system Output signal h FF (t) h FB (t) + y(t) * h FB (t) (2) Figure 5 y(t) = G{x(t)} Signal Processing

Analog systems are implemented with analog circuits built up with resistors, capacitors, inductors and transistors. Both input and output signals are continuous waveforms. Signal Processing

Digital Signal Processing - a five steps process Step 1 - Sampling x(t)x(t) x(nT S ) TSTS Figure 6

Step 2 - Analog to Digital Conversion (ADC) x(nT S ) x(n) = [x(0), x(1), x(2), , x(N-2), x(N-1)] Figure 7 Digital Signal Processing - a five steps process

Step 3 - Computation on input data sequence y(n) = 0.25x(n-1) + 0.5x(n) x(n+1) (3) e.g. A simple Low Pass Filter Digital Signal Processing - a five steps process

Step 4 - Digital to Analog Conversion (DAC) y(nT S ) y(n) = [y(0), y(1), y(2), , y(N-2), y(N-2)] Figure 8 Digital Signal Processing - a five steps process

Step 5 Interpolation y(t)y(t) y(nT S ) Figure 9 Digital Signal Processing - a five steps process

x(t)x(t) x(n)x(n) ADC Digital Filter DAC + Int. y(n)y(n) y(t)y(t) y(n) = G{x(n)} Figure 10 Digital Signal Processing

Digital Signal Processing - key issues 1. Build a mathematical model of the system. 2. Design algorithms and formulations for the model 3. Apply the algorithms to the input data and calculate the output data 4. convert the data to the time domain

Models and Algorithms 1. A model is a mathematical description on the response of the system 2. An algorithm is the realization of the model Model: H(s) = 1/(s+b) R C Analog realization

1. A model is a mathematical description on the response of the system 2. An algorithm is the realization of the model Model: H(s) = 1/(s+b) Digital realization y(n) = w 1 x(n-1) + w 2 x(n) + w 3 x(n+1) Models and Algorithms

Analog System: Determine transfer function H(s) Built circuit equivalent to H(s) Digital system: Given H(s), how to determine the equation and parameters? Solution: A standardized equation for the class of linear time-invariant (LTI) systems. Models and Algorithms

What is an LTI system? x1(n)x1(n) Digital Filter Linear y1(n)y1(n) x2(n)x2(n) Digital Filter y2(n)y2(n) Figure 11

x1(n)x1(n) Digital Filter Linear y1(n)y1(n) x2(n)x2(n) Digital Filter y2(n)y2(n) x 1 (n) + x 2 (n) Digital Filter y 1 (n) + y 2 (n) Figure 12 What is an LTI system?

Time Invariant Same response to every part of the input sequence Digital Filter y (n) = G{x(n)} x (n-n o ) Digital Filter y (n-n o ) = G{x(n-n o )} x (n)x (n) Figure 13 What is an LTI system?

Generalised LTI system (4) y (n) =   a k y(n-k) + k=1 M   b k x(n-k) k= -N F NFNF

y (n) =   a k y(n-k) + k=1 M   b k x(n-k) k= -N F NFNF Modifying parameters { M, N F, a k and b k } gives different responses (filtering functions). (4) Generalised LTI system

Summary Designing analog systems Identify the desire filter response (e.g. HP, LP, etc.)

Determine the mathematical representation of the response H(s) Summary Designing analog systems

Identify the desire filter response (e.g. HP, LP, etc.) Determine the mathematical representation of the response H(s) Implement the filter circuit with RLC transistors and FETs Summary Designing analog systems

Digitize the input analog signal into a sequence of data x(n) = [x(0), x(1), x(2), x(N-1)] Summary Designing digital systems

Digitize the input analog signal into a sequence of data x(n) = [x(0), x(1), x(2), x(N-1)] Identify the desire digital filter response (e.g. HP, LP, etc.) Summary Designing digital systems

Digitize the input analog signal into a sequence of data x(n) = [x(0), x(1), x(2), x(N-1)] Identify the desire digital filter response (e.g. HP, LP, etc.) Determine the mathematical representation of the digital response G(n) Summary Designing digital systems

Digitize the input analog signal into a sequence of data x(n) = [x(0), x(1), x(2), x(N-1)] Identify the desire digital filter response (e.g. HP, LP, etc.) Determine the mathematical representation of the digital response G(n) Implement the digital filter with the Generalised LTI architecture Summary Designing digital systems

What is it? It sounds simple, but something does not fit in

What is it? It sounds simple, but something does not fit in The sequence of data x(n) = [x(0), x(1), x(2), x(N-1)] seems to be unrelated to time and frequency.

In fact, the data may have nothing to do with time. e.g., the intensity of a row of pixels in an image x(0) = 255 x(1) = 255 x(2) = 128 x(3) = 128 x(4) = 255 x(5) = 255 x(n)= [ 255,255,128,128,255,255] Figure 14

So what is meant by frequency in the digital domain?

Number of cycles or repetitions within a sequence of data

Number of cycles or repetitions within a sequence of data. Consider a 12 points sampling lattice x(n) n 1 cycle Figure 15

Number of cycles or repetitions within a sequence of data. Consider a 12 points sampling lattice x(n) n 2 cycle Figure 16

Maximum number of cycles that can be represented in a sampling lattice x(n) n Consider a 12 points sampling lattice Figure 17

Number of cycles or repetitions within a sequence of data. Maximum number of cycles = N/ x(n) n Figure 18

Assuming that the sampling frequency is 1 Hertz or 2  radians/second The maximum frequency that can be represented is 1/2 Hertz or  radians/second

Assuming that the sampling frequency is 1 Hertz or 2  radians/second The maximum frequency that can be represented is 1/2 Hertz or  radians/second The resolution in the frequency domain is 1 cycle, i.e. 1/N Hertz or 2 

x(n) f 0 22 N   22 N 22 N  22 N A typical spectrum Mirror Image Mirror Image Mirror Image Figure 19

The bandwidth of any set of sequence is restricted to [0,  ]

The resolution in the frequency domain is 2  /N

The bandwidth of any set of sequence is restricted to [0,  ] The resolution in the frequency domain is 2  /N All real sequences have symmetrical USB and LSB

The bandwidth of any set of sequence is restricted to [0,  ] The resolution in the frequency domain is 2  /N All real sequences have symmetrical USB and LSB The ‘frequency’ of the sequence is relative to the sampling frequency which is taken as 1 Hz or 2  radians/second

The bandwidth of any set of sequence is restricted to [0,  ] The resolution in the frequency domain is 2  /N All real sequences have symmetrical USB and LSB The ‘frequency’ of the sequence is relative to the sampling frequency which is taken as 1 Hz or 2  radians/second

How to obtain the Spectrum from a Sequence of Data? For analog waveform, we use Fourier Transform (5) (6) Forward Transform Inverse Transform

How to obtain the Spectrum from a Sequence of Data? For digital sequence, we use Discrete Fourier Transform (7) (8) Forward Transform Inverse Transform with (9)

What are ‘n’ and ‘k’? Forward Transform n is an index to each sample of the waveform n n=1 n=2n=3

What are ‘n’ and ‘k’? Forward Transform k is an index to each frequency component in the spectrum Each frequency component is calculated with a value of ‘k’, e.g. The first (D.C.) component corresponds to k=0 The second component corresponds to k=1, and so on

How to obtain the Spectrum from a Sequence of Data? For digital filter design, the z Transform is often used as well. (See suplementary notes) (10) Forward z Transform Unlike Fourier Transform, there is no simple inverse transform relation for z Transform.

How to obtain the Spectrum from a Sequence of Data? For digital filter design, the z Transform is often used as well (10) Forward z Transform Unlike Fourier Transform, there is no simple inverse transform relation for z Transform. z is a complex variable which can be represented as: z = re j 

The basic meaning of ‘z’  r z = re j  Real Img Figure 20 A 2-D variable