Department of Electrical and Computer Engineering Brian M. McCarthy Department of Electrical & Computer Engineering Villanova University ECE8231 Digital.

Slides:



Advertisements
Similar presentations
Copyright ©2010, ©1999, ©1989 by Pearson Education, Inc. All rights reserved. Discrete-Time Signal Processing, Third Edition Alan V. Oppenheim Ronald W.
Advertisements

Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
Discrete-Time Linear Time-Invariant Systems Sections
AMI 4622 Digital Signal Processing
Review of Frequency Domain
Chapter 8: The Discrete Fourier Transform
Discrete-Time Signals and Systems Quote of the Day Mathematics is the tool specially suited for dealing with abstract concepts of any kind and there is.
DSP for Engineering Aplications DSP for Engineering Aplications ECI Semester /2010 Department of Engineering and Design London South Bank University.
DT systems and Difference Equations Monday March 22, 2010
Lecture 6: Linear Systems and Convolution
About this Course Subject: Textbook Reference book Course website
Signals and Systems Lecture #5
Image (and Video) Coding and Processing Lecture 2: Basic Filtering Wade Trappe.
Discrete-Time Convolution Linear Systems and Signals Lecture 8 Spring 2008.
Discrete-time Systems Prof. Siripong Potisuk. Input-output Description A DT system transforms DT inputs into DT outputs.
Digital Signals and Systems
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)
1 Chapter 8 The Discrete Fourier Transform 2 Introduction  In Chapters 2 and 3 we discussed the representation of sequences and LTI systems in terms.
Chapter 2 Discrete-Time Signals and Systems
1 Signals & Systems Spring 2009 Week 3 Instructor: Mariam Shafqat UET Taxila.
Chapter 2: Discrete time signals and systems
Time Domain Representation of Linear Time Invariant (LTI).
Zhongguo Liu Biomedical Engineering
DISCRETE-TIME SIGNALS and SYSTEMS
Time-Domain Representations of LTI Systems
16 Oct'09Comp30291 Section 31 University of Manchester School of Computer Science Comp30291: Digital Media Processing Section 3 : Discrete-time.
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Biomedical Signal processing Chapter 2 Discrete-Time Signals and Systems Zhongguo Liu Biomedical.
EEE 503 Digital Signal Processing Lecture #1 : Introduction Dr. Panuthat Boonpramuk Department of Control System & Instrumentation Engineering KMUTT.
Discrete-time Systems Prof. Siripong Potisuk. Input-output Description A DT system transforms DT inputs into DT outputs.
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 8 The Discrete Fourier Transform Zhongguo Liu Biomedical Engineering School of Control.
BYST CPE200 - W2003: LTI System 79 CPE200 Signals and Systems Chapter 2: Linear Time-Invariant Systems.
Signals and Systems Dr. Mohamed Bingabr University of Central Oklahoma
COSC 3451: Signals and Systems Instructor: Dr. Amir Asif
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.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Fourier Analysis of Signals and Systems
Linear Time-Invariant Systems Quote of the Day The longer mathematics lives the more abstract – and therefore, possibly also the more practical – it becomes.
EEE 503 Digital Signal Processing Lecture #2 : EEE 503 Digital Signal Processing Lecture #2 : Discrete-Time Signals & Systems Dr. Panuthat Boonpramuk Department.
CHAPTER 2 Discrete-Time Signals and Systems in the Time-Domain
Discrete-Time Signals and Systems
Course Outline (Tentative) Fundamental Concepts of Signals and Systems Signals Systems Linear Time-Invariant (LTI) Systems Convolution integral and sum.
Time Domain Representation of Linear Time Invariant (LTI).
Technological Educational Institute Of Crete Department Of Applied Informatics and Multimedia Neural Networks Laboratory Slide 1 DISCRETE SIGNALS AND SYSTEMS.
Signal and System I The representation of discrete-time signals in terms of impulse Example.
Signals and Systems Analysis NET 351 Instructor: Dr. Amer El-Khairy د. عامر الخيري.
Signals and Systems Lecture #6 EE3010_Lecture6Al-Dhaifallah_Term3321.
Digital Signal Processing Topic 2: Time domain
Chapter 2. Signals and Linear Systems
1 Computing the output response of LTI Systems. By breaking or decomposing and representing the input signal to the LTI system into terms of a linear combination.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin Lecture 3
Prepared by:D K Rout DSP-Chapter 2 Prepared by  Deepak Kumar Rout.
Chapter 2 The z-transform and Fourier Transforms The Z Transform The Inverse of Z Transform The Prosperity of Z Transform System Function System Function.
In summary If x[n] is a finite-length sequence (n  0 only when |n|
Review of DSP.
Discrete Time Signal Processing Chu-Song Chen (陳祝嵩) Institute of Information Science Academia Sinica 中央研究院 資訊科學研究所.
Review of DSP.
In summary If x[n] is a finite-length sequence (n0 only when |n|
CEN352 Dr. Nassim Ammour King Saud University
Discrete-time Systems
Linear Constant-coefficient Difference Equations
Description and Analysis of Systems
Discrete-Time Signals: Sequences
UNIT-I SIGNALS & SYSTEMS.
Signal Processing First
山东省精品课程《生物医学信号处理(双语)》
Lecture 22 IIR Filters: Feedback and H(z)
Review of DSP.
Lecture 3 Discrete time systems
Presentation transcript:

Department of Electrical and Computer Engineering Brian M. McCarthy Department of Electrical & Computer Engineering Villanova University ECE8231 Digital Signal Processing

Digital Signal Processing… Application of DSP - cell phone (2G and after), modem - CD, DVD - computer, simulation… Advantages of using DSP - data compression - undistorted signal transmission - security of data communications - … - representation of signals in discrete-time format - fast & convenient implementation of signal processing systems

Digital Signal Processing … How to use a digital signal to represent an analog signal? How many samples are necessary? What happen if there are no enough samples?

Digital Signal Processing … If the signal is contaminated, how to remove or mitigate the undesired signal component?

Course Arrangement Text Book: A. V. Oppenheim, R. W. Schafer, and J. R. Buck, Discrete-Time Signal Processing, 2nd Ed., Prentice Hall, Ch. 2 Discrete-Time Signals & Systems Ch. 3 The z-Transform Ch. 4 Sampling of Continuous-Time Signals Ch. 5 Transform Analysis of Linear Time-Invariant Systems Ch. 7 Filter Design Techniques Ch. 8 The Discrete Fourier Transform Ch. 9 Computation of the Discrete Fourier Transform

Chapter 2 Discrete-Time Signals & Systems

Analog Signal & Digital Signal

Discrete-Time Signals : Sequences Discrete-time signals are represented mathematically as sequences of numbers. where n is an integer. In practice, such sequences can often arise from periodic sampling of an analog signal. where T is called the sampling period, and f s =1/T is the sampling rate.

Basic Sequences (1) Unit sample sequence (Kronecker Delta function) Unit step sequence Relationships

Basic Sequences (2) Sinusoidal sequence or Complex exponential sequence

Basic Sequences (3) Exponential sequence When  and A are real: A>0, 0<  <1 – decrease with n -1<  <0 – alternative in sign |  grows in magnitude

When  and A are complex: Let A=|A|e j  and  =|  e j    Specifically, when |  x[n] becomes a complex exponential sequence. Basic Sequences (4)

A periodic sequence is a sequence for which For the underlying sinusoidal sequence, it implies Periodicity of Sinusoidal Sequences and Complex Exponential Sequence  Therefore, we need only consider frequencies in an interval of length 2 , such as –  <  0 ≤ , or 0 ≤  0 <2 .  which requires  0 N=2  k, for integers N and k. Therefore, the period N is not necessarily equal to 2  /  0. Similar properties hold for complex exponential sequences. A sinusoidal sequence is always periodic (with period 2  ) with respect to the frequency. That is, for any integer r,

Sinusoidal Sequences with Different Frequencies

Discrete-Time Systems (1) T{} A discrete-time system is defined mathematically as a transformation or operator that maps an input sequence x[n] into a unique output sequence y[n].

Discrete-Time Systems (2)  The ideal delay system  Memoryless systems A system is referred as memoryless system if the output y[n] at every value of n only depends on the input x[n] at the same value of n. For example,

Discrete-Time Systems (3)  Linear systems The class of linear systems is defined by the principle of superposition. If and a is an arbitrary constant, then the system is linear if and only if (additivity property) (homogeneity or scaling property)

Discrete-Time Systems (4)  Time-invariant systems A time-invariant system is a system for which a time shift or delay of the input sequence causes a corresponding in the output sequence. T{}

Discrete-Time Systems (5)  Causality A system is causal if, for every choice of n 0, the output sequence value at the index n=n 0 depends only on the input sequence value for n ≤ n 0.  Examples: Forward difference system – not causal y[n] = x[n+1] – x[n] Backward difference system - causal y[n] = x[n] – x[n-1]

Discrete-Time Systems (6)  Stability A system is in the bounded input, bounded output (BIBO) sense if and only if every bounded input sequence produces a bounded output sequence. The input x[n] is bounded if there exists a fixed positive finite value B x such that |x[n]| ≤ B x <∞ for all n. Stability requires that, for every bounded input, there exists a fixed positive finite value B y such that |y[n]| ≤ B y <∞ for all n.

Discrete-Time Systems - Examples

Linear Time-Invariant Systems A particularly important class of systems consists of those that are linear and time-invariant (LTI). T If T Time-invariant T Linear Impulse response

Convolution Sum (1)  Convolution Sum Example

Convolution Sum (2) Method 1 1.For each k for which x[k] has a nonzero value, evaluate x[k] h[n–k] corresponding to the specific x[k]. It equals to the waveform of h[n] multiplied by x[k] and time- shifted by k (shift toward right if k>0, and shift toward left if k<0). 2.Add the resultant sequence values for all k’s to obtain the convolution sum corresponding to the full input sequence x[n].

 Method 1 Convolution Sum (3)

Convolution Sum (4) Method 2 1.For each value n (see *), producing h[n – k]. This is the mirror image of h[k] about the vertical axis shifted by n (shift toward right if n>0, and shift toward left if n<0). 2.Multiply this shifted sequence h[n–k] and the input sequence x[k], and add the resultant sequence values to obtain the value of the convolution at n. 3.Repeat steps 1-2 for different value of n. [* Note the range of n: if x[n] has its nonzero value between x 1 and x 2, and h[n] has nonzero values between h 1 and h 2, then x[n]*h[n] has nonzero value between x 1 +h 1 and x 2 +h 2.]

 Method 2 Convolution Sum (5)

Properties of LTI Systems (1) The impulse response is a complete characterization of the properties of a specific LTI system.  Convolution operation is commutative x[n]*h[n] = h[n]*x[n]  Parallel combination of LTI systems x[n]*(h 1 [n]+h 2 [n]) = x[n]*h 1 [n]+x[n]*h 2 [n]) h 1 [n]+ h 2 [n] h1[n]h1[n] h2[n]h2[n]

Properties of LTI Systems (2)  Cascade connection of LTI systems h[n]= h 1 [n]*h 2 [n] h 1 [n]*h 2 [n] h1[n]h1[n] h2[n]h2[n] h2[n]h2[n] h1[n]h1[n]

Properties of LTI Systems (3)  Stability LTI systems are stable if and only if the impulse response is absolutely summable, i.e, if  Causality LTI systems are causal if and only if h[n]=0 n<0.

Impulse Responses of Some LTI Systems  Ideal delay (stable, causal when n d ≥ 0) h[n]=  [n – n d ]  Accumulator (unstable, causal)  Forward difference system (stable, noncausal) h[n] =  [n+1] –  [n]  Backward difference system (stable, causal) h[n] =  [n] –  [n –1]

Inverse System If a LTI system has impulse response h[n], then its inverse system, if exists, has impulse response h i [n] defined by the relation h[n]*h i [n] = h i [n]*h[n] =  [n].  Example Accumulator system Backward difference system

Linear Constant-Coefficient Difference Equations (1) An important subclass of LTI systems consists of those systems for which the input x[n] and the output y[n] satisfy an Nth-order linear constant-coefficient difference equation of the form If a 0 =1, then

Linear Constant-Coefficient Difference Equations (2)  Recursive filter At least one a k ≠0 (k = 1, …, N). h[n] has infinite support. Also known as infinite impulse response (IIR) filter.  Non-recursive filter a 1, …, a N =0 (no feedback). h[n] has finite support. Also known as finite impulse response (FIR) filter.  Example - accumulator One sample delay

Recursive Computation of Difference Equations (1)  Consider a system y[n]=ay[n–1]+x[n] with input x[n]=K  [n] where K is an arbitrary number, and the auxiliary condition y[–1]=c. For n > –1, y[0] = ac + K, y[1] = a 2 c + aK, … y[n]=a n+1 c + a n K For n < –1 y[–2]=a –1 c, y[–3]=a –2 c, … y[n]=a n+1 c In general, y[n]=a n+1 c+Ka n u [n].

Recursive Computation of Difference Equations (2)  In general, it is Noncausal & Nonlinear When K=0, i.e., there is no input, the output y[n] has to be 0 for the system to be causal and linear. However, y[n]=a n+1 c ≠ 0, unless c=0.  In general, It is not time-invariant When x 1 [n]=K  [n–n 0 ], y 1 [n]=a n+1 c + a n Ku[n–n 0 ] ≠ y[n–n 0 ]  When additional initial-rest conditions are satisfied, the system can become LTI and causal. In this example, the initial-rest condition could be c=0.

Recursive Computation of Difference Equations (3)  For a system defined by an Nth-order linear constant- coefficient difference equation, the output for a given input is not uniquely specified. Auxiliary information or conditions are required.  If the auxiliary information is in the form of N sequential values of the output, then the output of the system is uniquely specified.  Linearity, time-invariance, and causality of the system depend on the auxiliary conditions. If an additional condition is that the system is initially at rest, then the system will be LTI and causal.

Summary  Discrete-time signal/system representation  Linear time-invariant (LTI) systems  Impulse response and convolution sum  Stability, causality  Linear constant-coefficient difference equations

Homework Assignments (1) 2.1, 2.4, 2.15, 2.20, 2.22

Analog Signals and Discrete-Time Signals In this example, T=0.025sec, and f s =40Hz.

Discrete-Time Systems (4)  Example of linear systems (accumulator system)  Examples of nonlinear systems

Discrete-Time Systems (6)  Example of time-invariant system - accumulator

Discrete-Time Systems (7)  Example of time-variant system - compressor

Discrete-Time Systems - Examples  Testing for stability or instability  y[n]=(x[n]) 2 is stable because for any |x[n]| ≤ B x, |y[n]| =|x[n]| 2 ≤ B x 2. So we can choose B y = B x 2.  y[n]=log 10 (|x(n)|) is unstable because when x[n] = 0, y[n]= – ∞.  (accumulator) is unstable because when x[n] = u[n], y[n]=(n+1)u[n] which is not bounded.

Summary  Discrete-time signal/system representation  Linear time-invariant (LTI) systems  Impulse response and convolution sum  Stability, causality  Linear constant-coefficient difference equations  Frequency-domain representation of signals/systems

Frequency-Domain Representation of Discrete-Time Signals and Systems (1)  Consider the cases that the input signals are sinusoidal or complex exponential sequences. Complex exponential sequences are eigenfunctions of LTI systems and the response to a sinusoidal input is sinusoidal with the same frequency as the input and with amplitude and phase determined by the system.  Let x[n]=e j  n for – ∞ < n < ∞, the corresponding output of an LTI system with impulse response h[n] is

Frequency-Domain Representation of Discrete-Time Signals and Systems (3)  Example – ideal delay y[n] = x (n – n d ), h[n] =  (n – n d )  If x[n]=e j  n,  Alternatively, 

Frequency-Domain Representation of Discrete-Time Signals and Systems (2)  The frequency response H(e j  ) of discrete-time LTI system is always a periodic function of the frequency variable  with period 2 .  As will be seen later, a broad class of signals can be represented as a linear combination of complex exponentials in the form The corresponding output of a LTI system is