1 / 37

EE442 --Digital Signals and Filtering, Winter 2004 (MWF, 9:30-10:20 am, EE1 045)

EE442 --Digital Signals and Filtering, Winter 2004 (MWF, 9:30-10:20 am, EE1 045). Prof. Jenq-Neng Hwang, (hwang@ee.washington.edu) Office Hours (EE M426): Mon,Wed,Th 1:30 -- 2:30 pm

diane
Download Presentation

EE442 --Digital Signals and Filtering, Winter 2004 (MWF, 9:30-10:20 am, EE1 045)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EE442 --Digital Signals and Filtering, Winter 2004(MWF, 9:30-10:20 am, EE1 045) • Prof. Jenq-Neng Hwang, (hwang@ee.washington.edu) • Office Hours (EE M426): Mon,Wed,Th 1:30 -- 2:30 pm • Two courses sequence: EE442 (signal transforms and filterings) and EE443 (applications and real-time DSP microprocessor design) • The prerequisite for this course is EE341 • discrete time signals and LTI systems • Fourier transforms (continuous-time and discrete-time) • Laplace transform and Z-transform • TA: Somsak Sukittanon (ssukitta@u.washington.edu) • TA Office Hours (EE 423) Tue,Fri 1:30 – 3:00 pm • Credits: 1 Science and 2 Design

  2. Goals and Grading • Goals: to provide students with the fundamental knowledge of digital filter characteristics, design principles and design specifications. Applications to adaptive filtering and speech processing are also introduced. • Grading:Matlab Labs: 24%, 1st Midterm Exam.: 32%, 2nd Midterm Exam: 44% • Textbook: Vinay K. Ingle and John G. Proakis, Digital Signal Processing using Matlab, 2nd Edition, Brooks/Cole Publishing, 2000. • Reference: additional materials related to DSP applications.

  3. Topics and Schedules • Review of Discrete-Time Fourier Transform (DTFT) and Z Transform --- 1 week (chapters 1,2,3,4) • Review of Discrete Fourier Transform (DFT) and Fast Fourier Transform (FFT) --- 1 week (chapter 5) • Digital Filter Structures ---1 week (chapter 6) • Digital Finite Impulse Response (FIR) Filter Design --- 2 weeks (chapter 7) • Midterm Exam. , Review and Discussions --- 1 week • Digital Infinite Impulse Response (IIR) Filter Design --- 2 weeks (chapter 8) • Adaptive Filtering and Signal Processing --- 1 week (chapter 9) • Linear Predictive Analysis of Speech --- 1 week (chapter 10)

  4. From Analog to Digital Technology • Noise immunity in storage and transmission • Advanced signal processing to compress the data amount by reducing temporal/spatial redundancies • Audio CD: 44,100 sample/sec, 2 Byte/sample, 2 channels (stereo), 60 minutes recording ---> 635 Mega Bytes. analog digital

  5. y(t) Post smoothing Anti-aliasing Filter ADC sampling DAC X(t) DSP x(n) y(n) Introduction to DSP • Given a continuous-time (CT) signal x(t), we can sample it to generate the discrete-time (DT) signal x(n) • 1-D signals: speech, audio, biosensor, ECG, etc. • 2-D signals: image (optical, X-ray, MRI), remote sensing data, etc. • 2.5-D signals: video, ultrasound images (2-D + time) • 3-D signals: graphics and animation • Multi-D signals: multi-spectral data, sonar array etc.

  6. 1-D Signals 1. Speech Signals: Digit "zero", and Letter "D" 2. ECG (ElectroCardioGram) Signals: heart diseases 3. EEG (ElectroEncephaloGram) Signals: diagnosis of physiological and psychiatric diseases

  7. Typical DSC 2-D Photo Images(640x480 resolution, 0.2-0.3 Byte/Pixel) 69.5 KB 81.8 KB

  8. ICA ECA Imaging location Plaque CCA ICA CCA Bifurcation Sample 2-D images (Time of Flight MRI)

  9. A Typical 2.5-D Video Sequence 45 48 51 54 57 60 63 66 69 72 Video sequence Suzie coded at 64 kbit/s and 10 fps.

  10. Real and Animated 3-D Signals

  11. Information Technologies Are Driving Fast • Image Sensors: Digital Still Camera (DSC), PC Camera (CCD and CMOS), Digital Camcorder, portable scanners, etc. • Powerful Computers: 2+ GHz P4, low power embedded CPU, USB2 ports, CD/DVD RW, flash memory & mini disk, etc. • Data Compression: audio/image/video coding (data compression) standards. HDTV and digital radio. • 2D/3D graphics/video cards: faster display and better quality. • Communication: Internet, ATM, ADSL, wireless LAN, WDM in optics, transceiver/modem, etc.

  12. Why DSP (Why Not ASP) • Using portable softwares (e.g., C and C++) on general purpose computers. • Based on * + solely (can approximate any complicated fx., e.g., logarithm, exponential, square-root, etc), stable and reliable. • Flexible, modifiable in real-time. Slight change of parameters (filter coefficients) is straightforward. • Normally with higher precision due to digital arithmetic (24-32 bits are required) • Can be cost-effective (with ASIC and VLSI).

  13. Two Main Categories of DSP Digital Signals - removal of unwanted noise - interference removal - separation of frequency bands - shaping of signal spectrum - spectral analysis - feature extraction - signal detection - signal recognition - signal modeling Analysis Filtering Digital Signals Measurement

  14. Signal Analysis and Filtering • Analysis • DTFT (frequency representation) • Z-Transform (more flexible) • DFT/FFT • Vocal Tract Modeling • Filtering: FIR & IIR H(z) LTI only x(n) y(n)

  15. Three States of LTI Interpretation Finite or infinite duration h(n) z-transform DTFT Inverse DTFT Inverse Z ?? H(e^jw) H(z) EE341: given h(n) to obtain and H(z) EE442: given or simply | | to determine H(z), i.e., { }. Moreover, given x(n) and y(n) to determine H(z) -- system identification

  16. All speech sounds are formed by blowing air from the lungs through the vocal tract (non-uniform sections of a tube). Speech Production and LPC Hybrid Modeling Pitch LPC Coefficients Voiced/Unvoiced switch Periodic Excitation Reconstructed Speech Gain Random Noise Synthesis Filter

  17. h(n) LTI Discrete Time Fourier Transform (DTFT) • Recall the linear time invariant (LTI) system: • How about: • indicates “frequency characteristics” of the LTI system, which is uniquely specified by h(n). h(n) LTI

  18. Frequency Characteristics of • |H|: amount of amplification of the system offers • ArgH: amount of phase change (or delay) introduced by the system.

  19. DTFT of Signals x(n) • Since h(n) is a signal, why not applying DTFT to signal x(n): • Matlab implementation of x(n), n=n1,…,n2 (N data), evaluate

  20. Example:

  21. Important Properties of DTFT • Period of X(e^jw) is 2 pi -- no discrete signals have frequency higher than 2 pi (see illustration next page). • Real-valued signal --> conjugate symmetric • Time shift • Frequency shift • Convolution

  22. Frequency of DT Signals

  23. h(n) LTI DTFT of Systems • An LTI system in terms of a finite difference equation:

  24. Inverse DTFT

  25. One Example of Inverse DTFT

  26. Sampling Theorem and Continuous-Time Signal Reconstruction • Given a band-limited continuous-time (CT) signal, with maximum signal bandwidth • The sampling rate to convert the CT signals into discrete-time (DT) signals has to be: • From DT signal x(n), one can “perfectly” reconstruct its band-limited CT signal x(t) by passing x(n) through an ideal lowpass filter with cutoff frequency , this is the so-called “sinc interpolation”. x(n)

  27. h(n) LTI Im Re 1 h(n) LTI Im Re 1 Z Transform • Recall the DTFT, • How about let

  28. Motivation of The Generalization • Applied to a broader class of signals whose DTFT won’t converge, now • Still share useful properties of DTFT, which is quite powerful in analyzing LTI systems, e.g., convolution property and time-shift property:

  29. a Region of Convergence (ROC) • Since for each x(n), with the help of specific selection of “r” range, we can always find a converged X(z). We thus need to define “region of convergence (ROC)” for each X(z)! • Instead of specifying ROC based on range of |r|, it is much easier to specify based on |z|, because • For example:

  30. Why ROC? • Note that • On the other hand, -4 -3 ….. -1 0 -2

  31. a2 a1 Some Properties of ROC • ROC of X(z) is a ring, a1 < |z| < a2, centered about origin. a1 can be as small as 0, and a2 can be as large as infinity. • ROC cannot contain any pole of X(z), otherwise X(z)=infinity (not converged!) • If x(n) is finite, ROC is the entire z-plane. • If x(n) is right sided, x(n)=0, n<n0, then |z|>r0. • If x(n) is left sided, x(n)=0, n>n0, then 0<|z|<r0. • If x(n) is two sided, then ROC is a ring.

  32. Inverse Z Transform • Commonly use partial fraction expansion method

  33. h(n) LTI Z Transform of Systems • An LTI system in terms of a finite difference equation:

  34. Poles and Zeros of A System H(z) • Poles and Zeros: • For real coefficients {a_l} and {b_m}, poles and zeros appear in conjugate pairs, unless they are on real axis. • To get the real sense of frequency response of the system, we can simply replace z by e^jw in H(z) to get the DTFT H(e^jw), which becomes obvious. • In fact poles and zeros also carry lots information about H(e^jw), as well as the stability of H(z). For example, for a causal and stable system, all poles must be inside the unit circle.

  35. Characteristic Shape vs. Pole Locations stable stable stable stable

  36. Frequency Responses of Rational Transfer Functions • A real pole near z=1 results in a high DC gain, whereas a real pole at z=-1 results in a high gain at • Complex poles near the unit circle result in high gain near the frequencies. • A real zero near z=1 results in a low DC gain, whereas a real pole at z=-1 results in a low gain at • Complex zeros near the unit circle result in high gain near the frequencies.

  37. Frequency Responses of Rational Transfer Functions

More Related