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,

Slides:



Advertisements
Similar presentations
The Inverse Laplace Transform
Advertisements

Lecture 7: Basis Functions & Fourier Series
AMI 4622 Digital Signal Processing
Z Transform (2) Hany Ferdinando Dept. of Electrical Eng. Petra Christian University.
MM3FC Mathematical Modeling 3 LECTURE 3
MM3FC Mathematical Modeling 3 LECTURE 10 Times Weeks 7,8 & 9. Lectures : Mon,Tues,Wed 10-11am, Rm.1439 Tutorials : Thurs, 10am, Rm. ULT. Clinics : Fri,
MM3FC Mathematical Modeling 3 LECTURE 4 Times Weeks 7,8 & 9. Lectures : Mon,Tues,Wed 10-11am, Rm.1439 Tutorials : Thurs, 10am, Rm. ULT. Clinics : Fri,
Lecture 19: Discrete-Time Transfer Functions
MM3FC Mathematical Modeling 3 LECTURE 5 Times Weeks 7,8 & 9. Lectures : Mon,Tues,Wed 10-11am, Rm.1439 Tutorials : Thurs, 10am, Rm. ULT. Clinics : Fri,
MM3FC Mathematical Modeling 3 LECTURE 7 Times Weeks 7,8 & 9. Lectures : Mon,Tues,Wed 10-11am, Rm.1439 Tutorials : Thurs, 10am, Rm. ULT. Clinics : Fri,
MM3FC Mathematical Modeling 3 LECTURE 1
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,
EE-2027 SaS, L11 1/13 Lecture 11: Discrete Fourier Transform 4 Sampling Discrete-time systems (2 lectures): Sampling theorem, discrete Fourier transform.
Lecture 9: Fourier Transform Properties and Examples
Lecture 6: Linear Systems and Convolution
Z-Transform Fourier Transform z-transform. Z-transform operator: The z-transform operator is seen to transform the sequence x[n] into the function X{z},
Computational Geophysics and Data Analysis
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
The sampling of continuous-time signals is an important topic It is required by many important technologies such as: Digital Communication Systems ( Wireless.
UNIT - 4 ANALYSIS OF DISCRETE TIME SIGNALS. Sampling Frequency Harry Nyquist, working at Bell Labs developed what has become known as the Nyquist Sampling.
1 Signals & Systems Spring 2009 Week 3 Instructor: Mariam Shafqat UET Taxila.
The z-Transform Prof. Siripong Potisuk. LTI System description Previous basis function: unit sample or DT impulse  The input sequence is represented.
10.0 Z-Transform 10.1 General Principles of Z-Transform linear, time-invariant Z-Transform Eigenfunction Property y[n] = H(z)z n h[n]h[n] x[n] = z n.
CE Digital Signal Processing Fall 1992 Z Transform
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.
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. Nizamettin AYDIN Digital Signal Processing 1.
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 Prof. Nizamettin AYDIN Digital Signal Processing.
1 Z-Transform. CHAPTER 5 School of Electrical System Engineering, UniMAP School of Electrical System Engineering, UniMAP NORSHAFINASH BT SAUDIN
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.
EEE 503 Digital Signal Processing Lecture #2 : EEE 503 Digital Signal Processing Lecture #2 : Discrete-Time Signals & Systems Dr. Panuthat Boonpramuk Department.
ES97H Biomedical Signal Processing
Homework 3.
1 Today's lecture −Cascade Systems −Frequency Response −Zeros of H(z) −Significance of zeros of H(z) −Poles of H(z) −Nulling Filters.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
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.
Chapter 7 The Laplace Transform
Course Outline (Tentative) Fundamental Concepts of Signals and Systems Signals Systems Linear Time-Invariant (LTI) Systems Convolution integral and sum.
Digital Filter Structures
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 5 – 6 Z - Transform By Dileep Kumar.
DTFT continue (c.f. Shenoi, 2006)  We have introduced DTFT and showed some of its properties. We will investigate them in more detail by showing the associated.
Sampling and Reconstruction The impulse response of an continuous-time ideal low pass filter is the inverse continuous Fourier transform of its frequency.
Lecture 4: The z-Transform 1. The z-transform The z-transform is used in sampled data systems just as the Laplace transform is used in continuous-time.
Signals and Systems Lecture #6 EE3010_Lecture6Al-Dhaifallah_Term3321.
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.
Description and Analysis of Systems Chapter 3. 03/06/06M. J. Roberts - All Rights Reserved2 Systems Systems have inputs and outputs Systems accept excitation.
Analysis of Linear Time Invariant (LTI) 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.
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
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.
Review of DSP.
Digital Signal Processing
3.1 Introduction Why do we need also a frequency domain analysis (also we need time domain convolution):- 1) Sinusoidal and exponential signals occur.
LAPLACE TRANSFORMS PART-A UNIT-V.
Description and Analysis of Systems
CT-321 Digital Signal Processing
Lect5 A framework for digital filter design
UNIT V Linear Time Invariant Discrete-Time Systems
Lecture 20 Z Transforms: Introduction
Lecture 22 IIR Filters: Feedback and H(z)
Concept of frequency in Discrete Signals & Introduction to LTI Systems
Review of DSP.
Presentation transcript:

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, 8am, Rm Dr. Charles Unsworth, Department of Engineering Science, Rm Tel : ext

This Lecture What are we going to cover & Why ? The Z-Transform. (Makes convolution easy) Cascading systems with the z-transform. (simplifies the whole process)

The Z-Transform We will now introduce the z-transform for FIR filters and finite length sequences in general. We will use the FIR case to introduce the important concept of ‘domains of representation’. We will learn that the z-transform brings polynomials and rational functions into the analysis of discrete time systems. We will show that convolution is equivalent to polynomial multiplication and that common algebraic operations, such as multiplying, dividing and factoring polynomials can be interpreted as combining or decomposing LTI systems.

Definition of the Z-Transform A finite length signal x[n] can be represented as : And the conventional z-transform of such a signal is given by : Where, z represents any complex number. All we are doing is ‘transforming’ the data x[n] into another representation X[z] to make the system easier to solve. We say we are performing the ‘z-transform of x[n]’. … (5.1)

It is instructive to note, though, that X[z] can be re-written as : This emphasizes that the variable (z -1 ) is a polynomial of degree k=N. There is nothing complicated about performing a transform. All we do to obtain X(z) is to construct a polynomial whose coefficients are the values of the sequence x[n] Example 1 : Let’s determine the z-transform of our finite-sequence. nn 5 x[n] The z-transform is : X (z) = 2 + 4z z z z -4 … (5.2)

Example 2 : Determine the sequence x[n] from the z-transform X(z). X(z) = 1 –2z z -3 – z -5 nn 5 x[n] You have just performed what is known as the ‘Inverse z-transform’. Similarly, we can recover x[n] from X(z) by extracting the co-efficient values of X(z) and placing them in their corresponding k th position in the sequence x[n].

Domains In general, a ‘z-transform pair’ is a sequence and it’s corresponding z- transform. n – Domain (or Time-Domain)  z – Domain Notice how (n) is the independent variable of the sequence x[n]. Here, we say the signal exists in the ‘n-Domain’. Since, (n) is often an index that counts time, we also say this is the ‘time-Domain’ of the signal. Similarly, (z) is the independent variable of the z-transform X(z). Thus, we the signal exists in the ‘z-Domain’. During a ‘z-transform’ we move from the ‘time-Domain’  ‘z-Domain’. In an ‘Inverse transform’ we move from the ‘z-Domain’  ‘time-Domain’. … (5.3)

Z-Transform of an Impulse A simple but very important example is the z-transform pair of an impulse of a sequence x[n]. As we know this can be defined as : x[n] =  [n- n 0 ] The co-efficient of the polynomial z -1 = magnitude of the impulse = 1. The k th power of the polynomial z -1 = the offset of the impulse = n 0. n – Domain  z – Domain Now we’ve learned how to transform a signal from the n-Domain to the z-Domain …… but why ? …… Next, we are going to answer this very question …… … (5.4)

The z-transform & Linear Systems The z-transform is indispensable in the design of LTI systems. The reason is the way an LTI system responds to a particular input signal x[n] = z n for -   n  . Recall, the general difference equation of an FIR filter : ( ) The ‘system function’ of the FIR … (5.5)

We can see that the ‘system function’ of the FIR is a polynomial whose form depends on the coefficients of the FIR. Thus, we define the ‘system function’ of an FIR filter to be : The ‘system function’ is also the z-transform of the ‘impulse response’. Thus, FIR filters with an input x[n] = z n for -   n   give an output y[n]. y[n] = h[n] * z n = H(z)z n … (5.6) … (5.7) … (5.8)

Example 3 : Find the system function H(z) of the FIR filter with impulse response. h[n] =  [n-1] – 7  [n-2] – 3  [n-3] Simply, replace the  (n-k)’s with the corresponding z -k. Gives :H(z) = z -1 –7z -2 –3z -3 Example 4 : Find the impulse response h[n] of the FIR filter whose system response is. H(z) = 4(1 – z -1 )(1 + z -1 )(1 + 8z -1 ).

Properties of the z-transform LINEARITY : The z-transform obeys the ‘principle of superposition’ or ‘linearity’ ax 1 [n] + bx 2 [n]  aX 1 (z) + bX 2 (z) Example 5 : Calculate the linear superposition of the z-transforms of the two signals below. For a=1, b=1 x 1 [n] =  [n] +  [n-1] + 2  [n-2] + 3  [n-5] n x … (6.9)

Time Delay Property : The z-transform of a signal x[n] delayed by (n 0 ) samples is equivalent to z-transform X(z) of x[n] mutiplied by z -n. A delay of 1 sample multiplies the z-transform by z -1 x[n-1]  z -1 X(z) A delay of n 0 samples multiplies the z-transform by z -n0 x[n – n 0 ]  z -n0 X(z) Example 6 : The signal x 1 [n] =  [n] +  [n-1] + 2  [n-2] + 3  [n-5] is delayed by 6 time samples. Calculate its z-transform … (6.10)

So far we have defined the z-transform H(z) only for finite input sequences x[n]. The z-transform extends for infinite-length signals too. The General z-Transform Formula … (6.11)

The z-Transform in Block Diagrams As we have seen a ‘unit delay’ becomes a z -1 operator in the z-Domain. Similarly in a block diagram, all delays can be replaced by a z -n0 operator. x[n]x[n-1] Unit delay x[n] x[n]H(z) = x[n-1] z -1 = Equivalent Systems Example 7 : Draw a block diagram for the system: y[n] = (1 – z -1 )x[n]

Convolution & the z-Transform Convolution in the ‘n-domain’ is multiplication in the ‘z-Domain’. () = system function = H(z)

Convolution in the ‘n-Domain is multiplication in the z-Domain. y[n] = h[n] * x[n]  y(z) = H(z)X(z) Example 8 : The signal x[n] =  [n-1] –  [n-2] +  [n-3] –  [n-4] is passed through the filter y[n] = x[n] – x[n-1]. Determine the output from the filter using convolution time-domain and the z-domain. In the Time-Domain nn 4 x[n] h[n]1 -1 h[0] h[1] y[n]  y[n] =  [n-1] –2  [n-2] + 2  [n-3] – 2  [n-4] + 5  [n-5] … (4.12)

For the z-Domain, express the signal & filter in terms of z’s and multiply. Then inverse transform to get the signal. (Just replace the z’s with  ’s). Y[N] = X[N]*H[N] = (z -1 – z -2 + z -3 – z -4 )(1 – z -1 ) = z -1 – 2z z -3 – 2z -4 + z -5  y[n] =  [n-1] –2  [n-2] + 2  [n-3] – 2  [n-4] + 5  [n-5] 1.Transforming to the z-Domain is a simpler way to solve the system. 2.Convolution in the z-Domain is just algebraic multiplication.

Cascading Systems with the z-Transform One of the main applications of the z-transform is in system design. Remember, the impulse response of a 2 cascaded LTI systems. We can now use the z-transform to determine the same thing. The system function for a cascade of 2 LTI systems is the product of the individual system functions. h[n] = h 1 [n] * h 2 [n]  H(z) = H 1 (z)H 2 (z) The z-transform, like convolution, is commutative so the LTI systems could be cascaded in either order. As we can see, the formula would extend for (N) cascaded LTI systems.  [n] h 1 [n] LTI 1 h 1 [n] LTI 2 h 2 [n] h[n] = h 1 [n] * h 2 [n] H 1 (z) H 2 (z)H(z) = H 1 (z) H 2 (z) … (4.13)

Example 9 : Use the z-transform to cascade the two systems below and determine their combined difference equation. Draw the block diagram of the 2 cascaded system and its equivalent system. Which is the faster system ? w[n] = 3x[n] - x[n-1] ; y[n] = 2w[n] – w[n-1] Block diagram (here we see x[n] is the input to w[n] which inputs to y[n].) 3 x[n]x[n-1] z -1 y[n] w[n-1] z -1 2 w[n] 2 cascaded 1 st order systems. Order = power of highest z.

Just change to z’s and multiply out. The system functions are : W(z) = 3 - z -1 and Y(z) = 2 –z -1 Combined system function A(z) = W(z)Y(z) A(z) = (3 - z -1 )(2 –z -1 ) = 6 – 3z -1 – 2z -1 + z -2 = 6 – 5z -1 + z -2 Thus, a[n] = 6x[n] – 5x[n-1] + x[n-2] Equivalent circuit. The equivalent circuit is faster. 3 multipliers & 2 adders compared to the cascaded systems 4 multipliers and 2 adders. 6 a[n] x[n]x[n-1] z -1 x[n-2] z A 2 nd order system

Example 10 : Use z-transform to combine the following cascaded systems. Again draw the block diagram of the 2 cascaded system and its equivalent system. What are the orders of the systems ? Which is the faster system ? w[n] = x[n] + x[n-1]and y[n] = w[n] – w[n-1] + w[n-2]

Factoring z-Polynomials If we can multiply z-transforms to get higher-order systems we can also factorise z-polynomials to break down a large system into smaller modules. Example : Consider H(z) = 1 –2z z -2 – z -3 First we visually inspect for roots that may exist. We can see one root at z = 1. Therefore, (z -1 – 1) is a factor. Now, H(z) = H 1 (z)H 2 (z) Therefore, H 2 (z) = H(z)/H 1 (z) = (1 –2z z -2 – z -3 )/ (z -1 – 1) = 1 - z -1 + z -2 x[n] w[n] LTI 1LTI 2 y[n] H 1 (z) = z -1 – 1 H 2 (z) = 1 - z -1 + z -2 Thus, the 3 rd order LTI can be factorised into a cascaded 1 st & 2 nd order system.

Deconvolution (Inverse filtering) The cascading property leads to the question …… “ Can we use the 2 nd filter in cascade to undo the effect of the 1 st filter” ? If H 1 (z) is known then we can construct a filter H 2 (z) to undo the effect of the first by setting H(z) = 1. H(z) = H 1 (z)H 2 (z) = 1 Thus, H 2 (z) = 1/H 1 (z) The 2 nd filter tries to ‘undo the convolution’ that exists, so the process is referred to as ‘deconvolution’. The process is also called ‘Inverse Filtering’. Example : Determine the inverse filter for H 1 (z) = 1 – z -1 + ½z -2. Now, H 1 (z)H 2 (z) = 1

Thus, H 2 (z) = 1/ 1 – z -1 + ½z -2 What are we to make of this example ? It seems that the inverse filter for an FIR filter must have a system function that is not a polynomial. Instead, the inverse filter is a rational function (ratio of 2 polynomials). Thus, the inverse filter cannot be an FIR filter. And Deconvolution is not as simple as it appeared ! Later, we will learn about other LTI systems that do have rational system functions and will return to the problem of deconvolution.