DT systems and Difference Equations Monday March 22, 2010

Slides:



Advertisements
Similar presentations
Ch 7.6: Complex Eigenvalues
Advertisements

Lecture 7: Basis Functions & Fourier Series
AMI 4622 Digital Signal Processing
Review of Frequency Domain
Description of Systems M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 1.
EECS 20 Chapter 12 Part 11 Stability and Z Transforms Last time we Explored sampling and reconstruction of signals Saw examples of the phenomenon known.
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
Lecture 19: Discrete-Time Transfer Functions
Lecture 14: Laplace Transform Properties
EE-2027 SaS, L11 1/13 Lecture 11: Discrete Fourier Transform 4 Sampling Discrete-time systems (2 lectures): Sampling theorem, discrete Fourier transform.
Lecture 6: Linear Systems and Convolution
Difference Equations and Stability Linear Systems and Signals Lecture 10 Spring 2008.
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
Digital Signals and Systems
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Chapter 2: Discrete time signals and systems
CE Digital Signal Processing Fall 1992 Z Transform
Time Domain Representation of Linear Time Invariant (LTI).
Time-Domain Representations of LTI Systems
CISE315 SaS, L171/16 Lecture 8: Basis Functions & Fourier Series 3. Basis functions: Concept of basis function. Fourier series representation of time functions.
Chapter 8 With Question/Answer Animations 1. Chapter Summary Applications of Recurrence Relations Solving Linear Recurrence Relations Homogeneous Recurrence.
Discrete-time Systems Prof. Siripong Potisuk. Input-output Description A DT system transforms DT inputs into DT outputs.
1 1 Chapter 3 The z-Transform 2 2  Consider a sequence x[n] = u[n]. Its Fourier transform does not converge.  Consider that, instead of e j , we use.
System Function of discrete-time systems
1 Z-Transform. CHAPTER 5 School of Electrical System Engineering, UniMAP School of Electrical System Engineering, UniMAP NORSHAFINASH BT SAUDIN
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.
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.
Department of Electrical and Computer Engineering Brian M. McCarthy Department of Electrical & Computer Engineering Villanova University ECE8231 Digital.
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
Boyce/DiPrima 9 th ed, Ch 7.6: Complex Eigenvalues Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William E. Boyce and.
ES97H Biomedical Signal Processing
Homework 3.
Signal and Systems Prof. H. Sameti Chapter 10: Introduction to the z-Transform Properties of the ROC of the z-Transform Inverse z-Transform Examples Properties.
Transform Analysis of LTI Systems Quote of the Day Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke Content and Figures.
Chapter 7 The Laplace Transform
Chapter 4 LTI Discrete-Time Systems in the Transform Domain
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).
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.
Signals and Systems Analysis NET 351 Instructor: Dr. Amer El-Khairy د. عامر الخيري.
Ch 4.2: Homogeneous Equations with Constant Coefficients Consider the nth order linear homogeneous differential equation with constant, real coefficients:
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.
Description and Analysis of Systems Chapter 3. 03/06/06M. J. Roberts - All Rights Reserved2 Systems Systems have inputs and outputs Systems accept excitation.
Digital Signal Processing
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|
Time Domain Representations of Linear Time-Invariant Systems
EENG 420 Digital Signal Processing Lecture 2.
CHAPTER 5 Z-Transform. EKT 230.
CEN352 Dr. Nassim Ammour King Saud University
Discrete-time Systems
Linear Constant-coefficient Difference Equations
Recap: Chapters 1-7: Signals and Systems
Description and Analysis of Systems
Quick Review of LTI Systems
Ch 4.2: Homogeneous Equations with Constant Coefficients
CS3291: "Interrogation Surprise" on Section /10/04
Signals and Systems Lecture 3
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Frequency Response Transfer Function Introduction to Filters.
Boyce/DiPrima 10th ed, Ch 7.6: Complex Eigenvalues Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce and.
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Section Solving Linear Systems Algebraically
Discrete-Time Signal processing Chapter 3 the Z-transform
Presentation transcript:

DT systems and Difference Equations Monday March 22, 2010 Linear Constant-Coefficient Difference Equations Impulse Response Impulse and Step Responses Stability Responses of LTI systems to complex exponentials

Eigenfunctions of LTI Systems The eigenfunction of an LTI system is the complex exponential function that satisfies the LTI equations The eigenvalues are either real or, if complex, occur in complex conjugate pairs Any LTI system excited by a complex sinusoid responds with another complex sinusoid of the same frequency, but generally a different amplitude and phase All these statements are true of both CT and DT systems

Difference Equations Need for initial conditions y[-N], y[-N+1],  , y[-1] to evaluate y[n]

The "z" Operator y[n+1] = zy[n]; y[n-1] = z-1y[n]

Roots of Characteristic Eq. D(z) is the characteristic polynomial of the system. Its roots are used in obtaining the homogeneous solution (hence the impulse response) of the system. The roots can be real or complex. Roots might be distinct or repeated roots. A non-repeating root (z1) will contribute to the solution by a (z1)n function. Repeated roots also contribute by similar functions, but having “n” as multiplier for repetitions. For a system that was initially at rest, H(z) = N(z)/D(z) is defined as the transfer function of the system (z transform of the impulse response h[n])

Complex Roots Complex roots are expressed in polar form as ±j = re±j and the corresponding solution is defined as rncos(n). Repeated conjugate roots will produce same functions with a multiplier “n” added for every repetition

The Impulse Response The impulse response of the system can easily found using the homogenous solution and taking the input as x[n] = [n] The impulse response is conventionally designated by the symbol, h[n].

Derivation of Impulse and Step Responses from Each Other System type Input Output Step to impulse Impulse to step Continuous-time Discrete-time

Stability and Impulse Response It can be shown that a BIBO-stable DT system has an impulse response that is absolutely summable. That is, is finite.

Stability The bounded-input bounded-output (BIBO) stability of the system requires This condition is satisfied only of the roots of the characteristic polynomial remains within a unit circle as illustrated in Figure. Roots on the circle itself are stable provided that the system is not disturbed at one of its natural modes (i.e. the input doesn't have one of the functions forming the impulse response).

The Frequency Response Function If the input is defined as x[n] = Xmejn , then y[n] can be found as is called the frequency response function of the discrete-time system.

Example – 1 Find the complete solution of the system represented by 4y[n] – 4y[n-1] + y[n-2] = 2x[n] – x[n-1] for x[n] = u[n] assuming that the system is at initial rest (i.e. y[-1] = y[-2] = 0) D(z) = 4 – 4z-1 + z-2 = 0, multiplying both sides by z2: 4z2 – 4z + 1 = 0 yields z1,2 = 1/2. Hence the homogeneous solution is >> roots([4 -4 1]) ans = 0.5000

Particular and complete solutions for example-1 4y[n] – 4y[n-1] + y[n-2] = 2x[n] – x[n-1] D(z) = 4 – 4z-1 + z-2 and N(z) = 2 – z-1 The input is x[n] = u[n] = (1)nu[n]. The particular solution is Complete solution

Coefficients for Example-1 Coefficients c1 and c2 must be evaluated using initial conditions y[-1] = y[-2] = 0 The equation can be rewritten as 4y[n] = 2x[n] – x[n-1] + 4y[n-1] - y[n-2] 4y[0] = 2x[0] – x[-1] + 4y[-1] - y[-2] = 2  y[0] = 1/2 4y[1] = 2x[1] – x[0] + 4y[0] - y[-1] = 2 – 1 + 2 = 3  y[1] = 3/4 y[0] = c1 + 1 = 1/2  c1 = -1/2 y[1] = c1(1/2) + c2(1/2) + 1 = -1/4 + 1 +c2(1/2) = 3/4  c2 = 0 Therefore y[n] = {-(1/2)(1/2)n + 1}u[n]

Example –2 Find the impulse response of the system in example -1 4y[n] – 4y[n-1] + y[n-2] = 2x[n] – x[n-1]; original equation 4h[n] = 2[n] – [n-1] + 4h[n-1] - h[n-2]; reorganized for h[n] h[n] = {c1(1/2)n + c2n(1/2)n}u[n]; homogeneous solution in exp1 The first impulse is applied at n = 0. Therefore all values of x[n] and h[n] prior to n = 0 are considered as zero. 4h[0] = 2[0] – [0-1] + 4h[0-1] - h[0-2] = 2  h[0] = 1/2 = c1 4h[1] = 2[1] – [1-1] + 4h[1-1] - h[1-2] = -1 + 2 = 1 h[1] = 1/4= (1/2)(1/2) + c2(1/2)  c2 = 0  h[n] = (1/2)(1/2)nu[n] This is an infinite impulse response (IIR) system

Complex Exponential Response Let a discrete-time LTI system be excited by a complex exponential of the form, The response is the convolution of the excitation with the impulse response or which can be written as z transform of h[m]

Example – 3 Let a DT system be described by Impulse The eigenfunction is the DT complex exponential, Substituting into the homogeneous difference equation, >> roots([3 2 1]) ans = -0.3333 + 0.4714i -0.3333 - 0.4714i Dividing through by Solving,

Impulse Response for Example – 3 The homogeneous solution is then of the form, The constants can be found be applying initial conditions. For the case of unit impulse excitation at time, n = 0,

B K A >> A=[1 1;-0.333+0.4714j -0.333-0.4714j] A = 1.0000 1.0000 1.0000 1.0000 -0.3330 + 0.4714i -0.3330 - 0.4714i >> B=[1/3;-2/9] B = 0.3333 -0.2222 >> K=A\B K = 0.1667 + 0.1180i 0.1667 - 0.1180i A K B

Example – 4 Determine step response of the system in example-2 (h[n] = (1/2)(1/2)nu[n]) The result is the same as what we obtained in example-1 from direct solution to x[n] = u[n]

Duties for Wednesday, March 24 Homework is postponed to Monday March 29 Study the difference equations from the notes Solve the Active Learning Exercises 21, 22 and 25 Study section 3.5 from the book