z-transforms 21.1 The z-transform Basics of z-transform Theory z-transforms and Difference Equations 36

Similar documents
21.4. Engineering Applications of z-transforms. Introduction. Prerequisites. Learning Outcomes

22.3. Repeated Eigenvalues and Symmetric Matrices. Introduction. Prerequisites. Learning Outcomes

21.3. z-transforms and Difference Equations. Introduction. Prerequisites. Learning Outcomes

Eigenvalues and Eigenvectors

Repeated Eigenvalues and Symmetric Matrices

Contents. basic algebra. Learning outcomes. Time allocation. 1. Mathematical notation and symbols. 2. Indices. 3. Simplification and factorisation

2.4. Characterising Functions. Introduction. Prerequisites. Learning Outcomes

10.1 Complex Arithmetic Argand Diagrams and the Polar Form The Exponential Form of a Complex Number De Moivre s Theorem 29

20.6. Transfer Functions. Introduction. Prerequisites. Learning Outcomes

Exponential and Logarithmic Functions

1.2. Indices. Introduction. Prerequisites. Learning Outcomes

2.4. Characterising functions. Introduction. Prerequisites. Learning Outcomes

22.4. Numerical Determination of Eigenvalues and Eigenvectors. Introduction. Prerequisites. Learning Outcomes

FACTORIZATION AND THE PRIMES

1.2. Indices. Introduction. Prerequisites. Learning Outcomes

14.4. Lengths of Curves and Surfaces of Revolution. Introduction. Prerequisites. Learning Outcomes

7.4. The Inverse of a Matrix. Introduction. Prerequisites. Learning Outcomes

20.3. Further Laplace Transforms. Introduction. Prerequisites. Learning Outcomes

22.2. Applications of Eigenvalues and Eigenvectors. Introduction. Prerequisites. Learning Outcomes

23.4. Convergence. Introduction. Prerequisites. Learning Outcomes

17.3. Parametric Curves. Introduction. Prerequisites. Learning Outcomes

40.2. Interval Estimation for the Variance. Introduction. Prerequisites. Learning Outcomes

Topic test on first 3 units Problem solving task

1 Introduction. 2 Solving Linear Equations. Charlotte Teacher Institute, Modular Arithmetic

3 Finite continued fractions

11.6. Parametric Differentiation. Introduction. Prerequisites. Learning Outcomes

1.1.1 Algebraic Operations

1 Numbers. exponential functions, such as x 7! a x ; where a; x 2 R; trigonometric functions, such as x 7! sin x; where x 2 R; ffiffi x ; where x 0:

Module 1: Signals & System

INFINITE SEQUENCES AND SERIES

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

Set theory. Math 304 Spring 2007

1.1 GRAPHS AND LINEAR FUNCTIONS

Mathematics Review. Sid Rudolph

9.2. Cartesian Components of Vectors. Introduction. Prerequisites. Learning Outcomes

Section 1.1: Patterns in Division

About the HELM Project HELM (Helping Engineers Learn Mathematics) materials were the outcome of a three-year curriculum development project

26.4. Basic Complex Integration. Introduction. Prerequisites. Learning Outcomes

Lecture 1: Introduction Introduction

SCHOOL OF MATHEMATICS MATHEMATICS FOR PART I ENGINEERING. Self-paced Course

Parametric Equations

CONVOLUTION TREES AND PASCAL-T TRIANGLES. JOHN C. TURNER University of Waikato, Hamilton, New Zealand (Submitted December 1986) 1.

3.3. Solving polynomial equations. Introduction. Prerequisites. Learning Outcomes

applications of integration 2

Vectors. January 13, 2013

III. THIRD YEAR SYLLABUS :

Production of this 2015 edition, containing corrections and minor revisions of the 2008 edition, was funded by the sigma Network.

Grade 8 Mathematics Performance Level Descriptors

Math Precalculus I University of Hawai i at Mānoa Spring

Definition of geometric vectors

An Introduction to Differential Equations

1.1 Simple functions and equations Polynomials and polynomial equations

Stochastic Processes

x y x y 15 y is directly proportional to x. a Draw the graph of y against x.

17.3. Parametric Curves. Introduction. Prerequisites. Learning Outcomes

QM and Angular Momentum

Chapter 3 Representations of a Linear Relation

1 Introduction. 2 Solving Linear Equations

11.6. Parametric Differentiation. Introduction. Prerequisites. Learning Outcomes

Chapter 7. Homogeneous equations with constant coefficients

16.4. Power Series. Introduction. Prerequisites. Learning Outcomes

3 The language of proof

GRADUATE RECORD EXAMINATIONS. Math Review. Chapter 2: Algebra

16.2. Infinite Series. Introduction. Prerequisites. Learning Outcomes

Natural Numbers: Also called the counting numbers The set of natural numbers is represented by the symbol,.

Algebra Performance Level Descriptors

Maths Scheme of Work. Class: Year 10. Term: autumn 1: 32 lessons (24 hours) Number of lessons

Lesson ACTIVITY: Tree Growth

A secret of bees 1 MODELLING EXERCISE. (by Thilo Gross)

Relations and Functions

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

Chapter 3 Representations of a Linear Relation

Unit 5: Representations of Linear Relations

ERROR IN LINEAR INTERPOLATION

Vector Spaces. Chapter 1

Binary addition (1-bit) P Q Y = P + Q Comments Carry = Carry = Carry = Carry = 1 P Q

Eigenspaces in Recursive Sequences

Seunghee Ye Ma 8: Week 2 Oct 6

Solutions to Exercises 4

Introduction to Techniques for Counting

LECTURE 10: REVIEW OF POWER SERIES. 1. Motivation

About the HELM Project HELM (Helping Engineers Learn Mathematics) materials were the outcome of a three-year curriculum development project

The Integers. Peter J. Kahn

Math 302 Module 4. Department of Mathematics College of the Redwoods. June 17, 2011

Practical Algebra. A Step-by-step Approach. Brought to you by Softmath, producers of Algebrator Software

Nicholas Ball. Getting to the Root of the Problem: An Introduction to Fibonacci s Method of Finding Square Roots of Integers

Discrete mathematics is the study of techniques, ideas and modes of

Module 4 : Laplace and Z Transform Problem Set 4

11.4. Differentiating ProductsandQuotients. Introduction. Prerequisites. Learning Outcomes

Math Review. for the Quantitative Reasoning measure of the GRE General Test

Radiological Control Technician Training Fundamental Academic Training Study Guide Phase I

Brooklyn College Department of Mathematics. Precalculus. Preparatory Workbook. Spring Sandra Kingan

Characteristics and special role of matrices of class 5

1. Introduction to commutative rings and fields

4.2 SOLVING A LINEAR INEQUALITY

Production of this 2015 edition, containing corrections and minor revisions of the 2008 edition, was funded by the sigma Network.

On the learning of algebra

About the HELM Project HELM (Helping Engineers Learn Mathematics) materials were the outcome of a three-year curriculum development project

44.2. Two-Way Analysis of Variance. Introduction. Prerequisites. Learning Outcomes

Discrete Probability Distributions

Transcription:

Contents 21 z-transforms 21.1 The z-transform 2 21.2 Basics of z-transform Theory 12 21.3 z-transforms and Difference Equations 36 21.4 Engineering Applications of z-transforms 64 21.5 Sampled Functions 85 Learning outcomes In this Workbook you will learn about the properties and applications of the z-transform, a major mathematical tool for the analysis and design of discrete systems including digital control systems.

The z-transform 21.1 Introduction The z-transform is the major mathematical tool for analysis in such topics as digital control and digital signal processing. In this introductory Section we lay the foundations of the subject by briefly discussing sequences, shifting of sequences and difference equations. Readers familiar with these topics can proceed directly to Section 21.2 where z-transforms are first introduced. Prerequisites Before starting this Section you should... Learning Outcomes On completion you should be able to... have competence with algebra explain what is meant by a sequence and by a difference equation distinguish between first and second order difference equations shift sequences to the left or right 2 HELM (2008): Workbook 21: z-transforms

1. Preliminaries: Sequences and Difference Equations Sequences A sequence is a set of numbers formed according to some definite rule. For example the sequence {1, 4, 9, 16, 25,...} (1) is formed by the squares of the positive integers. If we write y 1 = 1, y 2 = 4, y 3 = 9,... then the general or n th term of the sequence (1) is y n = n 2. The notations y(n) and y[n] are also used sometimes to denote the general term. The notation {y n } is used as an abbreviation for a whole sequence. An alternative way of considering a sequence is to view it as being obtained by sampling a continuous function. In the above example the sequence of squares can be regarded as being obtained from the function y(t) = t 2 by sampling the function at t = 1, 2, 3,... as shown in Figure 1. 9 y = t 2 4 1 1 2 3 t Figure 1 The notation y(n), as opposed to y n, for the general term of a sequence emphasizes this sampling aspect. Find the general term of the sequence {2, 4, 8, 16, 32,...}. The terms of the sequence are the integer powers of 2: y 1 = 2 = 2 1 y 2 = 4 = 2 2 y 3 = 8 = 2 3... so y n = 2 n. HELM (2008): Section 21.1: The z-transform 3

Here the sequence {2 n } are the sample values of the continuous function y(t) = 2 t at t = 1, 2, 3,... An alternative way of defining a sequence is as follows: (i) give the first term y 1 of the sequence (ii) give the rule for obtaining the (n + 1) th term from the n th. A simple example is y n+1 = y n + d y 1 = a where a and d are constants. It is straightforward to obtain an expression for y n in terms of n as follows: y 2 = y 1 + d = a + d y 3 = y 2 + d = a + d + d = a + 2d y 4 = y 3 + d = a + 3d. y n = a + (n 1)d (2) This sequence characterised by a constant difference between successive terms y n+1 y n = d n = 1, 2, 3,... is called an arithmetic sequence. Calculate the n th term of the arithmetic sequence defined by y n+1 y n = 2 y 1 = 9. Write out the first 4 terms of this sequence explicitly. Suggest why an arithmetic sequence is also known as a linear sequence. 4 HELM (2008): Workbook 21: z-transforms

We have, using (2), y n = 9 + (n 1)2 or y n = 2n + 7 so y 1 = 9 (as given), y 2 = 11, y 3 = 13, y 4 = 15,... A graph of y n against n would be just a set of points but all lie on the straight line y = 2x + 7, hence the term linear sequence. y n 13 11 9 y(x) = 2x + 7 1 2 3 n Nomenclature The equation y n+1 y n = d (3) is called a difference equation or recurrence equation or more specifically a first order, constant coefficient, linear, difference equation. The sequence whose n th term is y n = a + (n 1)d (4) is the solution of (3) for the initial condition y 1 = a. The coefficients in (3) are the numbers preceding the terms y n+1 and y n so are 1 and 1 respectively. The classification first order for the difference equation (3) follows because the difference between the highest and lowest subscripts is n + 1 n = 1. Now consider again the sequence Clearly {y n } = {2 n } y n+1 y n = 2 n+1 2 n = 2 n so the difference here is dependent on n i.e. is not constant. Hence the sequence {2 n } = {2, 4, 8,...} is not an arithmetic sequence. HELM (2008): Section 21.1: The z-transform 5

For the sequence {y n } = 2 n calculate y n+1 2y n. Hence write down a difference equation and initial condition for which {2 n } is the solution. y n+1 2y n = 2 n+1 2 2 n = 2 n+1 2 n+1 = 0 Hence y n = 2 n is the solution of the homogeneous difference equation y n+1 2y n = 0 with initial condition y 1 = 2. (5) The term homogeneous refers to the fact that the right-hand side of the difference equation (5) is zero. More generally it follows that y n+1 Ay n = 0 y 1 = A has solution sequence {y n } with general term y n = A n A second order difference equation Second order difference equations are characterised, as you would expect, by a difference of 2 between the highest and lowest subscripts. A famous example of a constant coefficient second order difference equation is y n+2 = y n+1 + y n or y n+2 y n+1 y n = 0 (6) The solution {y n } of (6) is a sequence where any term is the sum of the two preceding ones. 6 HELM (2008): Workbook 21: z-transforms

What additional information is needed if (6) is to be solved? Two initial conditions, the values of y 1 and y 2 must be specified so we can calculate and so on. y 3 = y 2 + y 1 y 4 = y 3 + y 2 Find the first 6 terms of the solution sequence of (6) for each of the following sets of initial conditions (a) y 1 = 1 y 2 = 3 (b) y 1 = 1 y 2 = 1 (a) {1, 3, 4, 7, 11, 18...} (b) {1, 1, 2, 3, 5, 8,...} (7) The sequence (7) is a very famous one; it is known as the Fibonacci Sequence. It follows that the solution sequence of the difference equation (6) y n+1 = y n+1 + y n with initial conditions y 1 = y 2 = 1 is the Fibonacci sequence. What is not so obvious is what is the general term y n of this sequence. One way of obtaining y n in this case, and for many other linear constant coefficient difference equations, is via a technique involving Z transforms which we shall introduce shortly. HELM (2008): Section 21.1: The z-transform 7

Shifting of sequences Right Shift Recall the sequence {y n } = {n 2 } or, writing out the first few terms explicitly, {y n } = {1, 4, 9, 16, 25,...} The sequence {v n } = {0, 1, 4, 9, 16, 25,...} contains the same numbers as y n but they are all shifted one place to the right. The general term of this shifted sequence is v n = (n 1) 2 n = 1, 2, 3,... Similarly the sequence {w n } = {0, 0, 1, 4, 9, 16, 25,...} has general term { (n 2) 2 n = 2, 3,... w n = 0 n = 1 For the sequence {y n } = {2 n } = {2, 4, 8, 16,... } write out explicitly the first 6 terms and the general terms of the sequences v n and w n obtained respectively by shifting the terms of {y n } (a) one place to the right (b) three places the the right. (a) (b) { 2 n 1 n = 2, 3, 4,... {v n } = {0, 2, 4, 8, 16, 32...} v n = 0 n = 1 {w n } = {0, 0, 0, 2, 4, 8...} w n = { 2 n 3 n = 4, 5, 6,... 0 n = 1, 2, 3 8 HELM (2008): Workbook 21: z-transforms

The operation of shifting the terms of a sequence is an important one in digital signal processing and digital control. We shall have more to say about this later. For the moment we just note that in a digital system a right shift can be produced by delay unit denoted symbolically as follows: {y n } z 1 {y n 1 } Figure 2 A shift of 2 units to the right could be produced by 2 such delay units in series: {y n } {y n 1 } {y n 2 } z 1 z 1 Figure 3 (The significance of writing z 1 will emerge later when we have studied z transforms.) Left Shift Suppose we again consider the sequence of squares {y n } = {1, 4, 9, 16, 25,...} with y n = n 2. Shifting all the numbers one place to the left (or advancing the sequence) means that the sequence {v n } generated has terms v 0 = y 1 = 1 v 1 = y 2 = 4 v 2 = y 3 = 9... and so has general term v n = (n + 1) 2 n = 0, 1, 2,... = y n+1 Notice here the appearance of the zero subscript for the first time. Shifting the terms of {v n } one place to the left or equivalently the terms of {y n } two places to the left generates a sequence {w n } where w 1 = v 0 = y 1 = 1 w 0 = v 1 = y 2 = 4 and so on. The general term is w n = (n + 2) 2 n = 1, 0, 1, 2,... = y n+2 HELM (2008): Section 21.1: The z-transform 9

If {y n } = {1, 1, 2, 3, 5,...} n = 1, 2, 3,... is the Fibonacci sequence, write out the terms of the sequences {y n+1 }, {y n+2 }. y n+1 = {1, 1, 2, 3, 5,...} where y 0 = 1 (arrowed), y 1 = 1, y 2 = 2,... y n+2 = {1, 1, 2, 3, 5,...} where y 1 = 1, y 0 = 1 (arrowed), y 1 = 2, y 2 = 3,... It should be clear from this discussion of left shifted sequences that the simpler idea of a sequence beginning at n = 1 and containing only terms y 1, y 2,... has to be modified. We should instead think of a sequence as two-sided i.e. {y n } defined for all integer values of n and zero. In writing out the middle terms of a two sided sequence it is convenient to show by an arrow the term y 0. For example the sequence {y n } = {n 2 } {... 9, 4, 1, 0, 1, 4, 9,...} n = 0, ±1, ±2,... could be written A sequence which is zero for negative integers n is sometimes called a causal sequence. For example the sequence, denoted by {u n }, { 0 n = 1, 2, 3,... u n = 1 n = 0, 1, 2, 3,... is causal. Figure 4 makes it clear why {u n } is called the unit step sequence. 1 u n 3 2 1 0 1 2 n Figure 4 The curly bracket notation for the unit step sequence with the n = 0 term arrowed is {u n } = {..., 0, 0, 0, 1, 1, 1,...} 10 HELM (2008): Workbook 21: z-transforms

Draw graphs of the sequences {u n 1 }, {u n 2 }, {u n+1 } where {u n } is the unit step sequence. u n 1 1 3 2 1 0 1 2 3 n u n 2 1 3 2 1 0 1 2 3 n u n+1 1 3 2 1 0 1 2 n HELM (2008): Section 21.1: The z-transform 11