A.1 THE SAMPLED TIME DOMAIN AND THE Z TRANSFORM. 0 δ(t)dt = 1, (A.1) δ(t)dt =

Similar documents
LTI Systems (Continuous & Discrete) - Basics

GATE EE Topic wise Questions SIGNALS & SYSTEMS

Review of Discrete-Time System

Aspects of Continuous- and Discrete-Time Signals and Systems

EE 521: Instrumentation and Measurements

The Johns Hopkins University Department of Electrical and Computer Engineering Introduction to Linear Systems Fall 2002.

Lecture 7 Discrete Systems

Grades will be determined by the correctness of your answers (explanations are not required).

ECE-700 Review. Phil Schniter. January 5, x c (t)e jωt dt, x[n]z n, Denoting a transform pair by x[n] X(z), some useful properties are

Introduction to DSP Time Domain Representation of Signals and Systems

Like bilateral Laplace transforms, ROC must be used to determine a unique inverse z-transform.

ENGIN 211, Engineering Math. Laplace Transforms

SIGNALS AND SYSTEMS. Unit IV. Analysis of DT signals

SEL4223 Digital Signal Processing. Inverse Z-Transform. Musa Mohd Mokji

2.161 Signal Processing: Continuous and Discrete Fall 2008

Z-Transform. The Z-transform is the Discrete-Time counterpart of the Laplace Transform. Laplace : G(s) = g(t)e st dt. Z : G(z) =

Discrete Time Systems

EC Signals and Systems

ECE503: Digital Signal Processing Lecture 4

Homework 4. May An LTI system has an input, x(t) and output y(t) related through the equation y(t) = t e (t t ) x(t 2)dt

Discrete-time signals and systems

Review of Frequency Domain Fourier Series: Continuous periodic frequency components

Question Paper Code : AEC11T02

6.003: Signals and Systems

Grades will be determined by the correctness of your answers (explanations are not required).

LINEAR SYSTEMS. J. Elder PSYC 6256 Principles of Neural Coding

Z-TRANSFORMS. Solution: Using the definition (5.1.2), we find: for case (b). y(n)= h(n) x(n) Y(z)= H(z)X(z) (convolution) (5.1.

2.161 Signal Processing: Continuous and Discrete Fall 2008

DESIGN OF CMOS ANALOG INTEGRATED CIRCUITS

x[n] = x a (nt ) x a (t)e jωt dt while the discrete time signal x[n] has the discrete-time Fourier transform x[n]e jωn

Signals and Systems Lecture 8: Z Transform

PS403 - Digital Signal processing

Module 4 : Laplace and Z Transform Problem Set 4

QUESTION BANK SIGNALS AND SYSTEMS (4 th SEM ECE)

ESE 531: Digital Signal Processing

x(t) = t[u(t 1) u(t 2)] + 1[u(t 2) u(t 3)]

Discrete Time Signals and Systems Time-frequency Analysis. Gloria Menegaz

Digital Filters Ying Sun

LECTURE 12 Sections Introduction to the Fourier series of periodic signals

1 Signals and systems

NAME: ht () 1 2π. Hj0 ( ) dω Find the value of BW for the system having the following impulse response.

EE 224 Signals and Systems I Review 1/10

Z - Transform. It offers the techniques for digital filter design and frequency analysis of digital signals.

VI. Z Transform and DT System Analysis

On the Frequency-Domain Properties of Savitzky-Golay Filters

Lecture 8 - IIR Filters (II)

Need for transformation?

Very useful for designing and analyzing signal processing systems

Discrete-Time David Johns and Ken Martin University of Toronto

Laplace Transform Part 1: Introduction (I&N Chap 13)

Review of Linear Time-Invariant Network Analysis

ESE 531: Digital Signal Processing

An Fir-Filter Example: Hanning Filter

Review of Fundamentals of Digital Signal Processing

UNIVERSITY OF OSLO. Please make sure that your copy of the problem set is complete before you attempt to answer anything.

Interchange of Filtering and Downsampling/Upsampling

ECE-314 Fall 2012 Review Questions for Midterm Examination II

7.17. Determine the z-transform and ROC for the following time signals: Sketch the ROC, poles, and zeros in the z-plane. X(z) = x[n]z n.

Discrete Time Fourier Transform

Convolution. Define a mathematical operation on discrete-time signals called convolution, represented by *. Given two discrete-time signals x 1, x 2,

Signals & Systems Handout #4

CH.6 Laplace Transform

6.003 (Fall 2011) Quiz #3 November 16, 2011

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING EXAMINATIONS 2010

ECE431 Digital Signal Processing

PS403 - Digital Signal processing

Digital Signal Processing. Midterm 1 Solution

2 Classification of Continuous-Time Systems

Signals and Systems. Problem Set: The z-transform and DT Fourier Transform

Discrete-time Signals and Systems in

EE 3054: Signals, Systems, and Transforms Summer It is observed of some continuous-time LTI system that the input signal.

ECE 301. Division 2, Fall 2006 Instructor: Mimi Boutin Midterm Examination 3

The Z transform (2) 1

Transform Representation of Signals

23 Mapping Continuous-Time Filters to Discrete-Time Filters

The Discrete-Time Fourier

ECE 301 Division 1 Exam 1 Solutions, 10/6/2011, 8-9:45pm in ME 1061.

2. CONVOLUTION. Convolution sum. Response of d.t. LTI systems at a certain input signal

Signals and Systems. Spring Room 324, Geology Palace, ,

EE 210. Signals and Systems Solutions of homework 2

The Laplace Transform

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 2 Laplace Transform I 1/52

NAME: 11 December 2013 Digital Signal Processing I Final Exam Fall Cover Sheet

Notes 22 largely plagiarized by %khc

LECTURE NOTES DIGITAL SIGNAL PROCESSING III B.TECH II SEMESTER (JNTUK R 13)

Lecture 2 OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE

Review of Fundamentals of Digital Signal Processing

EE Homework 13 - Solutions

Lecture 04: Discrete Frequency Domain Analysis (z-transform)

Fourier Transform for Continuous Functions

2.161 Signal Processing: Continuous and Discrete Fall 2008

SIGNAL PROCESSING. B14 Option 4 lectures. Stephen Roberts

Properties of LTI Systems

06/12/ rws/jMc- modif SuFY10 (MPF) - Textbook Section IX 1

2.161 Signal Processing: Continuous and Discrete Fall 2008

7.2 Relationship between Z Transforms and Laplace Transforms

Cosc 3451 Signals and Systems. What is a system? Systems Terminology and Properties of Systems

Module 1: Signals & System

New Mexico State University Klipsch School of Electrical Engineering. EE312 - Signals and Systems I Spring 2018 Exam #1

Time Series Analysis

Transcription:

APPENDIX A THE Z TRANSFORM One of the most useful techniques in engineering or scientific analysis is transforming a problem from the time domain to the frequency domain ( 3). Using a Fourier or Laplace transform, differential equations are changed to algebraic equations and convolution integrals are changed to multiplication. When using discrete time domain functions, that is, those only defined at points on a specific interval, we use Z transforms (4, 5). Many engineers, particularly electrical engineers, are familiar with the Z transform, which is generally used when dealing with digital signals. While using it for FDTD simulation, we have to remember that we are implicitly sampling continuous time signals at a specific interval. This presents some differences in the use of Z transforms, particularly in the convolution theorem where an extra is present. We begin with a little mathematical background that will explain these differences. A. THE SAMPLED TIME DOMAIN AND THE Z TRANSFORM The Dirac delta function δ(t) has its value at one point only, at t = 0, and its amplitude is such that δ(t)dt = 0 + 0 δ(t)dt =, (A.) Electromagnetic Simulation Using the FDTD Method, Second Edition. Dennis M. Sullivan. 203 The Institute of Electrical and Electronics Engineers, Inc. Published 203 by John Wiley & Sons, Inc. 69

70 THE Z TRANSFORM that is, integrating over δ(t) returns the value. Similarly, δ(t t 0 ) is defined only at t 0 and integrating it through t 0 produces the value. This brings us to the sifting theorem given by f(t)δ(t t 0 )dt = f(t 0 ). (A.2) Note that the Fourier transform of a function multiplied by a delta function is f(t)δ(t t 0 )e j ωt dt = f(t 0 )e j ωt 0. If we have a continuous, causal signal x(t) and we sample it at an interval, we get the following discrete time signal x[n] = x(t)δ(t n ). (A.3) The Fourier transform of this discrete time function is X(ω) = x[0] + x[]e j ω + x[2]e j2ω + (A.4) It is useful to define a parameter z = e j ω. (A.5) The quantity ω is radian frequency times time, so ω is an angle. As long as the time interval is chosen to be much smaller than any frequency ω associated with the problem, then 0 <ω < 2π. The parameter z is a complex parameter with magnitude and angle ω. The Z transform of a discrete signal is defined as X(z) = x[n]z n = x[0] + x[]z + x[2]z 2 + (A.6) This is obviously the same as Eq. (A.4) using Eq. (A.5). For example, let us start with the time domain function x(t) = e αt u(t) α 0. If this function is sampled at an interval, then it becomes x[n] = (e α ) n u[n] n = 0,, 2,...

THE SAMPLED TIME DOMAIN AND THE Z TRANSFORM 7 The Z transform of this function is X(z) = x[n]z n = (e α ) n z n = (e α z ) n. (A.7) The following summation series will prove useful (6): q n = q if q <. (A.8) In Eq. (A.7) as long as e α <, the absolute values of the terms in parentheses will also be less than. Using Eq. (A.8), Eq. (A.7) becomes X(z) = (e α z ) n = Note that in the limit as α goes to 0, e α goes to, so e α. (A.9) z Z{u[n]} =. (A.0) z Another important Z transform is that of the decaying sinusoid: f [n] = e α n sin(β n)u[n] = (e α n ej β n j β n ) e u[n] 2j = 2j (e (α j β) n e (α+j β) n )u[n]. Extrapolating from Eq. (A.9), we get, F(z) = 2j ( ) e α e j β z e α e j β z e α sin(β )z = 2e α cos(β )z + e 2α. (A.) z 2 Finally, we want to know the Z transform of the Dirac delta function that was defined in Eq. (A.). The discrete time version of the delta function is δ[n]. It maintains the value over an interval, unlike Eq. (A.), which implies that δ(t) is infinitely narrow. Therefore, we say that the Z transform of this function is Z{δ[n]} =. (A.2) The / term is necessary for mathematical consistency. Table A. summarizes Eq. (A.9), Eq. (A.0), Eq. (A.), and Eq. (A.2). These are four of the most commonly used Z transforms.

72 THE Z TRANSFORM TABLE A. Time Domain Some Z Transforms Frequency Domain Sampled Time Domain δ(t) δ[n] u(t) u[n] j ω e αt u(t) e α n u[n] j ω + α e αt sin(βt)u(t) β (α 2 + β 2 ) + j ω2α ω 2 e α sin(β n) Z Domain z e α z e α sin(β )z 2e α cos(β )z + e 2α z 2 A.. Delay Property We know that the Z transform of a function x[n] isgivenbyx(z) in Eq. (A.7). It is also important to know the Z transform of that same function delayed by m time steps. This is determined directly from the definition: Z{x[n m]} = x[n m]z n. n=m The index on the summation has been changed because we assume x[n] is causal, values of x[n m] are zero until n = m. We change the variables to i = n m, which gives Z{x[n m]} = x[i]z (i+m) = z m x[i]z i = z m X(z). i=0 i=0 (A.3) A..2 Convolution Property Often, we are given information about a system in the frequency domain. For instance, if the transfer function of a system is H(ω) and the Fourier transform of the input is X(ω), the output in the frequency domain is Y(ω) = H(ω)X(ω). (A.4) If H and X are both causal functions, the above multiplication in the frequency domain becomes a convolution in the time domain (): y(t) = t 0 h(t τ)x(τ)dτ.

THE SAMPLED TIME DOMAIN AND THE Z TRANSFORM 73 If we replace x(t) with the sampled time domain function of Eq. (A.3), then t y(t) = h(t τ) x(τ)δ(τ n )dτ. 0 We know that delta functions only have values at the interval, so we can use the sifting theorem to write the integral as a summation times, y(t) = h(t n )x(n ), giving the discrete time function y[m] = h[m n]x[n]. We assume that t has been replaced by m and τ has been replaced by n. Taking the Z transform, Y(z) = y[m]z m = m=0 m=0 and making the following change of variables we get Y(z) = = i= n z m n h[m n]x[n], i = m n, m = i + n, n z i z n h[i]x[n] i= n n h[i]z i x[n]z n = H(z)X(z). (A.5) The summation over i was truncated to begin at zero because h[i] is a causal function. The extra factor in Eq. (A.5) is the difference in this version of the Z transform convolution and what is usually seen in an introductory text containing Z transforms. Note that if we calculate the convolution of a discrete time function x[n] with the delta function δ[n] in the Z domain Y(z) = X(z) = X(z), we get back the original function, as we should. These properties are summarized in Table A.2.

74 THE Z TRANSFORM TABLE A.2 Properties of Fourier Transforms Property Time Domain Z Domain Definition x[n] X(ω) Time shift x[n m] z m X(ω) Convolution y[m] = h[m n]x[n] H(ω)X(ω) A.2 EXAMPLES As an example, suppose we are to develop a computer program to calculate the convolution of the function x(t) with a low pass filter given by H(ω) = ω j ω + ω. (A.6) If y(t) is the output, then Y(ω) = ω j ω + ω X(ω) is the frequency domain. This filter has a cutoff frequency of ω = 2π 0 3 rad/s, so a sampling time of 0.0 ms should be adequate. Looking at Table A., the function H in the Z domain is H(z) = ω e ω z. (Note that ω = 0.0628, so e ω = 0.939.) The Z transform of the input x(t) is X(z), and that of the output is Y(z). Therefore, by the convolution theorem, the Z transform of the output is We can write this as Y(z) = ω e ω X(z). (A.7) z ( e ω z )Y (z) = ω X(z) or Y(z) = e ω z Y(z)+ ω X(z). If we go to the sampled time domain, the above Z domain equation becomes y[n] = e ω y[n ] + ω x[n]. (A.8)

EXAMPLES 75 This is calculated by the following C computer code: y[] = omega*dt*x[n]; for n=2; n< NN; n++) { y[n] = exp(-omega*dt)*y[n-] + omega*dt*x[n] } The response to a step function is shown in Fig. A.. Analytically, the step response to a filter of the form in Eq. (A.6) should be y(t) = ( e ω t )u(t). We can see that y[n] in Fig. A. levels off at about.03. The accuracy can be improved by a smaller sampling rate (See problem A.). Suppose our low pass filter were a two-pole low pass filter with the following transfer function: β H(ω) = (α 2 + β 2 ) + j αω ω 2. The output for an input X(ω) in the Z domain is Y(z) = e α sin(β )z 2e α cos(β )z + e 2α X(z). z 2 The corresponding sampled time domain function is y[n] = 2e α cos(β ) y[n ] e 2α y[n 2] + e α sin(β ) x[n ]. In these examples, we proceeded directly from the frequency domain to the Z domain because the one- and two-pole low pass filters are terms listed in Figure A. The response of Eq. (A.8) to a step function input, that is, x[n] = u[n].

76 THE Z TRANSFORM Table A.. If the frequency domain function is a higher order function that is not in the table, it may be possible to break the function into terms that are in the table by the method of partial fraction expansion (). A.3 APPROXIMATIONS IN GOING FROM THE FOURIER TO THE Z DOMAIN In going from the frequency to the Z domain, there are times when it is difficult to break the frequency domain function into separate terms that can be found in a table like Table A.. There are methods to directly go from ω to z, but they are approximations. It can be shown () that if F {f(t)}=f(ω) then { } df (t) F = j ωf(ω). dt A derivative can be approximated by df(t) dt = f(t) f(t ), as long as is small compared to how fast f(t) is changing. As these may be thought of as two discrete points, we can take the Z transform { } f (t) f(t ) Z = F(z) z F(z) = z F(z). So at least as an approximation, we can say that j ω in the frequency domain becomes ( z )/ in the Z domain. This is known as the backward rectangular approximation (4). As an example, look back at the low pass filter in Eq. (A.6). Applying the backward linear approximation gives H(z) = 0 3 z = + 0 3 0 3 + 0 3 z = 0 3 ( + 0 3 ) ( + 0 3 ) z. If we use this to calculate the convolution of x[n] with h[n], we get the Z domain function similar to Eq. (A.7), which leads to the following sampled time domain function similar to Eq. (A.8): y[n] = + 0 3 y[n ] + 03 + 0 3 x[n]. (A.9)

APPROXIMATIONS IN GOING FROM THE FOURIER TO THE Z DOMAIN 77 Notice that as long as 0 3, and 0 3 + 0 3 + 0 3 = 0 3 = e 03. Therefore, Eq. (A.9) is almost the same as Eq. (A.8). The following transform is the equivalent of using a trapezoidal approximation to a derivative (4): j ω = 2 z. (A.20) + z Since it takes a linear approximation over two time steps, it is more accurate than the backward rectangular approximation. Again, starting with Eq. (A.6), by using Eq. (A.20) we get H(z) = 0 3 2 z + 03 + z = 03 (2+0 3 ) (+z ) 0 3 2 + 0 3 z 2 0 3 ( + z ) = 2( z ) + 0 3 ( + z ) = 03 2 The FDTD equation comparable to Eq. (A.9) is ( + z ) ( 0 3 )z. y[n] = ( 0 3 )y[n ] + 03 (x[n] x[n ]), 2 which basically says that the input x[n] is averaged over two time steps. (A.2) PROBLEM SET A. Write a program that can duplicate the results of Fig. (A.). Change the time step from 0.0 to 0.00 ms. Is it more accurate? 2. Rewrite the program from problem A. using the backward linear approximation that results in Eq. (A.9). Do this for both time steps of 0. and 0.0 ms.

78 THE Z TRANSFORM 3. Rewrite the program from problem A.2 using the bilateral transform of Eq. (A.2). How large a time step can you use and still get fairly accurate results? REFERENCES. Z. Gajic, Linear Dynamic Systems and Signals, Upper Saddle River, NJ: Prentice Hall, 2003. 2. C. L. Phillips, J. M. Parr, and E. A. Riskin, Signals, System, and Transforms, Upper Saddle River, NJ: Prentice Hall, 2008. 3. P. D. Chan and J. I. Moliner, Fundamentals of Signals and Systems, Cambridge, UK: Cambridge Press, 2006. 4. A. V. Oppenheim and R. W. Schafer, Digital Signal Processing, Englewood Cliffs, NJ: Prentice Hall, 975. 5. S. K. Mitra, Digital Signal Processing A Computer-Based Approach, 4 th Edition, New York, NY: McGraw-Hill, 200. 6. E. Kreyszic, Advanced Engineering Mathematics, 6 th Edition, New York, NY: John Wiley & Sons, Inc., 988. 7. D. M. Sullivan, A frequency-dependent FDTD method using Z transforms, IEEE Trans. Antenn. Propag., vol. 40, October 992, pp. 223 230. 8. D. M. Sullivan, Z transform theory and the FDTD method, IEEE Trans. Antenn. Propag., vol. 44, October 999, pp. 28 34.