Digital Signal Processing

Slides:



Advertisements
Similar presentations
Signals and Systems – Chapter 2
Advertisements

Linear differential equations with complex exponential Inputs Motivation: Many physical systems are described by linear differential equations Many physical.
CHAPTER 5 Higher-Order Linear Differntial Equations Second-order DE: Second-order linear DE: Note: A,B,C,F function of x only Second-order homogeneous.
AMI 4622 Digital Signal Processing
Differential Equations MTH 242 Lecture # 11 Dr. Manshoor Ahmed.
A second order ordinary differential equation has the general form
Ch 3.5: Nonhomogeneous Equations; Method of Undetermined Coefficients
DT systems and Difference Equations Monday March 22, 2010
MM3FC Mathematical Modeling 3 LECTURE 2 Times Weeks 7,8 & 9. Lectures : Mon,Tues,Wed 10-11am, Rm.1439 Tutorials : Thurs, 10am, Rm. ULT. Clinics : Fri,
Differential Equations EE 313 Linear Systems and Signals Fall 2010 Initial conversion of content to PowerPoint by Dr. Wade C. Schwartzkopf Prof. Brian.
Discrete-time Systems Prof. Siripong Potisuk. Input-output Description A DT system transforms DT inputs into DT outputs.
Analysis of Discrete Linear Time Invariant Systems
1 Signals & Systems Spring 2009 Week 3 Instructor: Mariam Shafqat UET Taxila.
CE Digital Signal Processing Fall 1992 Z Transform
Time Domain Representation of Linear Time Invariant (LTI).
Time-Domain Representations of LTI Systems
Chapter 8 With Question/Answer Animations 1. Chapter Summary Applications of Recurrence Relations Solving Linear Recurrence Relations Homogeneous Recurrence.
EE313 Linear Systems and Signals Fall 2010 Initial conversion of content to PowerPoint by Dr. Wade C. Schwartzkopf Prof. Brian L. Evans Dept. of Electrical.
Discrete-time Systems Prof. Siripong Potisuk. Input-output Description A DT system transforms DT inputs into DT outputs.
Boyce/DiPrima 9th ed, Ch 4.2: Homogeneous Equations with Constant Coefficients Elementary Differential Equations and Boundary Value Problems, 9th edition,
Signals and Systems 1 Lecture 8 Dr. Ali. A. Jalali September 6, 2002.
Fourier Analysis of Discrete-Time Systems
BYST CPE200 - W2003: LTI System 79 CPE200 Signals and Systems Chapter 2: Linear Time-Invariant Systems.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
COSC 3451: Signals and Systems Instructor: Dr. Amir Asif
Department of Electrical and Computer Engineering Brian M. McCarthy Department of Electrical & Computer Engineering Villanova University ECE8231 Digital.
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
12/19/ Non- homogeneous Differential Equation Chapter 4.
Digital Filter Realization
EE313 Linear Systems and Signals Fall 2010 Initial conversion of content to PowerPoint by Dr. Wade C. Schwartzkopf Prof. Brian L. Evans Dept. of Electrical.
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.
EE313 Linear Systems and Signals Fall 2010 Initial conversion of content to PowerPoint by Dr. Wade C. Schwartzkopf Prof. Brian L. Evans Dept. of Electrical.
2/17/2007DSP Course-IUST-Spring Semester 1 Digital Signal Processing Electrical Engineering Department Iran University of Science & Tech.
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 د. عامر الخيري.
Linear Constant-Coefficient Difference Equations
Section 3.4 – Zeros of a Polynomial. Find the zeros of 2, -3 (d.r), 1, -4.
Ch 4.2: Homogeneous Equations with Constant Coefficients Consider the nth order linear homogeneous differential equation with constant, real coefficients:
Digital Signal Processing Topic 2: Time domain
EE313 Linear Systems and Signals Fall 2010 Initial conversion of content to PowerPoint by Dr. Wade C. Schwartzkopf Prof. Brian L. Evans Dept. of Electrical.
Lecture 14: Generalized Linear Phase Instructor: Dr. Ghazi Al Sukkar Dept. of Electrical Engineering The University of Jordan
Analysis of Linear Time Invariant (LTI) Systems
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin Lecture 3
Digital Signal Processing Lecture 3 LTI System
Solving Linear Homogeneous Recurrence Relations ICS 6D Sandy Irani.
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|
1 College of Communication Engineering Undergraduate Course: Signals and Linear Systems Lecturer: Kunbao CAI.
EENG 420 Digital Signal Processing Lecture 2.
CSG523/ Desain dan Analisis Algoritma
CSG523/ Desain dan Analisis Algoritma
Linear Constant-Coefficient Difference Equations
Properties of LTI Systems
Discrete-time Systems
3.1 Introduction Why do we need also a frequency domain analysis (also we need time domain convolution):- 1) Sinusoidal and exponential signals occur.
Class Notes 7: High Order Linear Differential Equation Homogeneous
Description and Analysis of Systems
Digital Signal Processing
Ch 4.2: Homogeneous Equations with Constant Coefficients
CS3291: "Interrogation Surprise" on Section /10/04
Chapter 2 Systems Defined by Differential or Difference Equations
Signals and Systems EE235 Leo Lam ©
Signal Processing First
Lecture 22 IIR Filters: Feedback and H(z)
Concept of frequency in Discrete Signals & Introduction to LTI Systems
Presentation transcript:

Digital Signal Processing By: Assoc. Prof. Dr. Erhan A. İnce Electrical and Electronic Engineering Dept. SPRING 2016 e-mail: erhan.ince@emu.edu.tr http://faraday.ee.emu.edu.tr/eeng420

Difference Equations An important subclass of LTI systems are defined by an Nth-order linear constant-coefficient difference equation: Often the leading coefficient a0 = 1. Then the output y[n] can be computed recursively from A causal LTI system of this form can be simulated in MATLAB using the function filter y = filter(a,b,x);

Total Solution Calculation The output sequence y[n] consists of a homogeneous solution yh[n] and a particular solution yp[n]. where the homogenous solution yh[n] is obtained from the homogeneous equation: Some textbooks use the term complementary solution instead of homogeneous solution

Homogeneous Solution Given the homogeneous equation: Assume that the homogeneous solution is of the form then defines an Nth order characteristic polynomial with roots l1, l2 … lN The general solution is then a sequence yh[n] The coefficients Am may be found from the initial conditions. (if the roots are all distinct)

Particular Solution The particular solution is required to satisfy the difference equation for a specific input signal x[n], n ≥ 0. To find the particular solution we assume for the solution yp[n] a form that depends on the form of the specific input signal x[n].

General Form of Particular Solution Input Signal x[n] Particular Solution yp[n] A (constant) K AMn KMn AnM K0nM+K1nM-1+…+KM AnnM An(K0nM+K1nM-1+…+KM)

Example #1(a) Determine the homogeneous solution for Substitute λ 1 =−3, λ 2 =2 Homogeneous solution is then

Example #1(b) Determine the particular solution for with and y[-1] = 1 and y[-2] = -1 The particular solution has the form which is satisfied by b = -2

Example #1 Determine the total solution for with and y[-1] = 1 and y[-2] = -1 The total solution has the form then

Initial-Rest Conditions The output for a given input is not uniquely specified. Auxiliary information or conditions are required. Linearity, time invariance, and causality of the system will depend on the auxiliary conditions. Initial rest is the simplest and the most widely used auxiliary condition in LTI systems. The condition for initial rest can be stated as: If 𝑥 𝑛 =0 for 𝑛< 𝑛 0 , then y 𝑛 =0 for 𝑛< 𝑛 0 (a causal input leads to a causal output) If the system is initially at rest then the system will be linear, time invariant, and causal.

Example: Suppose we have a DT system characterized by the difference equation below 𝑦 𝑛 − 1 2 𝑦 𝑛−1 =𝑥[𝑛] consider that system is initially at rest and that the input is 𝑥 𝑛 =𝐾𝛿[𝑛] Since 𝑥 𝑛 =0 for 𝑛≤−1 then due to being initially at rest then 𝑦 𝑛 =0 for 𝑛≤−1 Hence y[-1] = 0 . Since 𝑦 𝑛 = 1 2 𝑦 𝑛−1 +𝑥 𝑛 (recursive) 𝑦 0 = 1 2 𝑦 −1 +𝑥 0 =𝐾 𝑦 1 = 1 2 𝑦 0 +𝑥 1 = 1 2 𝐾 𝑦 2 = 1 2 𝑦 1 +𝑥 2 = 1 2 1 2 𝐾 = 1 2 2 𝐾 𝑦 3 = 1 2 𝑦 2 +𝑥 3 = 1 2 1 2 2 𝐾 = 1 2 3 𝐾

𝑦 𝑛 = 1 2 𝑦 𝑛−1 +𝑥 𝑛 = 1 2 𝑛 𝐾 Since for LTI system the input/output behavior is characterized by the impulse response if we set K =1 then ℎ 𝑛 = 1 2 𝑛 𝑢[𝑛] Note that the causal system in the above example has an impulse response of Infinite duration The difference equation is recursive.

Impulse Response The impulse response h[n] of a causal system is the output observed with input x[n] = d[n]. For such a system, x[n] = 0 for n >0, so the particular solution is zero, yp[n]=0. Thus the impulse response can be generated from the homogeneous solution by determining the coefficients Am to satisfy the zero initial conditions (for a causal system).

Example #1 Determine the impulse response for the DT system characterized by difference eq. The impulse response is obtained from the homogenous solution: For n=0 For n=1

Example #2 Determine the response y[n] , n >= 0 of the system described by the second order difference equation below: 𝑦 𝑛 =0.7𝑦 𝑛−1 −0.1𝑦 𝑛−2 +2𝑥 𝑛 −𝑥 𝑛−2 with 𝑥 𝑛 = 4 𝑛 𝑢[𝑛] The homogenous solution is: 𝑦 𝑛 −0.7𝑦 𝑛−1 +0.1𝑦 𝑛−2 =0 𝜆 𝑛 −0.7 𝜆 𝑛−1 +0.1 𝜆 𝑛−2 =0 𝜆 𝑛−2 𝜆 2 −0.7𝜆+0.1 =0 → 𝜆 1 =0.5, 𝜆 2 =0.2 𝑦 ℎ 𝑛 = 𝑐 1 0.5 𝑛 + 𝑐 2 0.2 𝑛

𝑦 𝑝 𝑛 =𝐾 4 𝑛 𝑢 𝑛 𝑦 𝑛 −0.7𝑦 𝑛−1 +0.1𝑦 𝑛−2 =2𝑥 𝑛 −𝑥 𝑛−2 𝐾 4 𝑛 𝑢 𝑛 −0.7K 4 𝑛−1 𝑢 𝑛−1 +0.1K 4 𝑛−2 𝑢 𝑛−2 = 2 4 𝑛 𝑢 𝑛 − 4 𝑛−2 𝑢 𝑛−2 For n =2, 𝐾 4 2 −0.7K 4 1 +0.1K =32−1 𝐾= 31 13.3 =2.33 𝑦 𝑝 𝑛 =2.33 4 𝑛 𝑢 𝑛

The total solution will be : 𝑦 𝑛 = 𝑐 1 0.5 𝑛 + 𝑐 2 0.2 𝑛 +(2.33) 4 𝑛 𝑢[𝑛] Assume initially at rest from n=0 y 0 =0.7y 0−1 −0.1y 0−2 +2x 0 −x 0−2 𝑦 0 =2 𝑦 0 =2= 𝑐 1 + 𝑐 2 +2.33 from n=1 y 1 =0.7y 1−1 −0.1y 1−2 +2x 1 −x 1−2 𝑦 1 =1.4+8=9.4 𝑦 1 =9.4 = 0.5𝑐 1 + 0.2𝑐 2 +9.32  𝑐 2 =−0.807 , 𝑐 1 =0.466 The total solution becomes: 𝑦 𝑛 = 0.466 0.5 𝑛 − 0.807 0.2 𝑛 +(2.33) 4 𝑛 𝑢[𝑛]