SlideShare a Scribd company logo
1 of 11
Download to read offline
ContentsContents ļœ²ļœ±ļœ²ļœ±
z-Transforms
21.1 The z-Transform 2
21.2 Basics of z-Transform Theory 12
21.3 z-Transforms and Diļ¬€erence Equations 36
21.4 Engineering Applications of z-Transforms 64
21.5 Sampled Functions 85
Learning
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.
outcomes
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 brieļ¬‚y
discussing sequences, shifting of sequences and diļ¬€erence equations. Readers familiar with these
topics can proceed directly to Section 21.2 where z-transforms are ļ¬rst introduced.
'

$
%
Prerequisites
Before starting this Section you should . . .
ā€¢ have competence with algebra
9
8
6
7
Learning Outcomes
On completion you should be able to . . .
ā€¢ explain what is meant by a sequence and by a
diļ¬€erence equation
ā€¢ distinguish between ļ¬rst and second order
diļ¬€erence equations
ā€¢ shift sequences to the left or right
2 HELM (2005):
Workbook 21: z-Transforms
1. Preliminaries: Sequences and Difference Equations
Sequences
A sequence is a set of numbers formed according to some deļ¬nite rule. For example the sequence
{1, 4, 9, 16, 25, . . .} (1)
is formed by the squares of the positive integers.
If we write
y1 = 1, y2 = 4, y3 = 9, . . .
then the general or nnnth
term of the sequence (1) is yn = n2
. The notations y(n) and y[n] are
also used sometimes to denote the general term. The notation {yn} 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) = t2
by sampling the function at t = 1, 2, 3, . . . as shown in Figure 1.
y = t2
1 2
4
9
t
3
1
Figure 1
The notation y(n), as opposed to yn, for the general term of a sequence emphasizes this sampling
aspect.
TaskTask
Find the general term of the sequence {2, 4, 8, 16, 32, . . .}.
Your solution
Answer
The terms of the sequence are the integer powers of 2: y1 = 2 = 21
y2 = 4 = 22
y3 = 8 = 23
. . . so yn = 2n
.
HELM (2005):
Section 21.1: The z-Transform
3
Here the sequence {2n
} are the sample values of the continuous function y(t) = 2t
at t = 1, 2, 3, . . .
An alternative way of deļ¬ning a sequence is as follows:
(i) give the ļ¬rst term y1 of the sequence
(ii) give the rule for obtaining the (n + 1)th
term from the nth
.
A simple example is
yn+1 = yn + d y1 = a
where a and d are constants.
It is straightforward to obtain an expression for yn in terms of n as follows:
y2 = y1 + d = a + d
y3 = y2 + d = a + d + d = a + 2d
y4 = y3 + d = a + 3d
...
yn = a + (n āˆ’ 1)d
(2)
This sequence characterised by a constant diļ¬€erence between successive terms
yn+1 āˆ’ yn = d n = 1, 2, 3, . . .
is called an arithmetic sequence.
TaskTask
Calculate the nth
term of the arithmetic sequence deļ¬ned by
yn+1 āˆ’ yn = 2 y1 = 9.
Write out the ļ¬rst 4 terms of this sequence explicitly.
Suggest why an arithmetic sequence is also known as a linear sequence.
Your solution
4 HELM (2005):
Workbook 21: z-Transforms
Answer
We have, using (2),
yn = 9 + (n āˆ’ 1)2 or
yn = 2n + 7
so y1 = 9 (as given), y2 = 11, y3 = 13, y4 = 15, . . .
A graph of yn against n would be just a set of points but all lie on the straight line y = 2x + 7,
hence the term ā€˜linear sequenceā€™.
yn
y(x) = 2x + 7
n
1 2 3
11
9
13
Nomenclature
The equation
yn+1 āˆ’ yn = d (3)
is called a diļ¬€erence equation or recurrence equation or more speciļ¬cally a ļ¬rst order, constant
coeļ¬ƒcient, linear, diļ¬€erence equation.
The sequence whose nth
term is
yn = a + (n āˆ’ 1)d (4)
is the solution of (3) for the initial condition y1 = a.
The coeļ¬ƒcients in (3) are the numbers preceding the terms yn+1 and yn so are 1 and āˆ’1 respectively.
The classiļ¬cation ļ¬rst order for the diļ¬€erence equation (3) follows because the diļ¬€erence between
the highest and lowest subscripts is n + 1 āˆ’ n = 1.
Now consider again the sequence
{yn} = {2n
}
Clearly
yn+1 āˆ’ yn = 2n+1
āˆ’ 2n
= 2n
so the diļ¬€erence here is dependent on n i.e. is not constant. Hence the sequence {2n
} = {2, 4, 8, . . .}
is not an arithmetic sequence.
HELM (2005):
Section 21.1: The z-Transform
5
TaskTask
For the sequence {yn} = 2n
calculate yn+1 āˆ’ 2yn. Hence write down a diļ¬€erence
equation and initial condition for which {2n
} is the solution.
Your solution
Answer
yn+1 āˆ’ 2yn = 2n+1
āˆ’ 2 Ɨ 2n
= 2n+1
āˆ’ 2n+1
= 0
Hence yn = 2n
is the solution of the homogeneous diļ¬€erence equation
yn+1 āˆ’ 2yn = 0 (5)
with initial condition y1 = 2.
The term ā€˜homogeneousā€™ refers to the fact that the right-hand side of the diļ¬€erence equation (5) is
zero.
More generally it follows that
yn+1 āˆ’ Ayn = 0 y1 = A
has solution sequence {yn} with general term
yn = An
A second order difference equation
Second order diļ¬€erence equations are characterised, as you would expect, by a diļ¬€erence of 2 between
the highest and lowest subscripts. A famous example of a constant coeļ¬ƒcient second order diļ¬€erence
equation is
yn+2 = yn+1 + yn or yn+2 āˆ’ yn+1 āˆ’ yn = 0 (6)
The solution {yn} of (6) is a sequence where any term is the sum of the two preceding ones.
6 HELM (2005):
Workbook 21: z-Transforms
TaskTask
What additional information is needed if (6) is to be solved?
Your solution
Answer
Two initial conditions, the values of y1 and y2 must be speciļ¬ed so we can calculate
y3 = y2 + y1
y4 = y3 + y2
and so on.
TaskTask
Find the ļ¬rst 6 terms of the solution sequence of (6) for each of the following sets
of initial conditions
(a) y1 = 1 y2 = 3
(b) y1 = 1 y2 = 1
Your solution
Answer
(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 diļ¬€erence equation (6)
yn+1 = yn+1 + yn
with initial conditions y1 = y2 = 1 is the Fibonacci sequence. What is not so obvious is what is the
general term yn of this sequence.
One way of obtaining yn in this case, and for many other linear constant coeļ¬ƒcient diļ¬€erence
equations, is via a technique involving Zāˆ’transforms which we shall introduce shortly.
HELM (2005):
Section 21.1: The z-Transform
7
Shifting of sequences
Right Shift
Recall the sequence {yn} = {n2
} or, writing out the ļ¬rst few terms explicitly,
{yn} = {1, 4, 9, 16, 25, . . .}
The sequence {vn} = {0, 1, 4, 9, 16, 25, . . .} contains the same numbers as yn but they are all
shifted one place to the right. The general term of this shifted sequence is
vn = (n āˆ’ 1)2
n = 1, 2, 3, . . .
Similarly the sequence
{wn} = {0, 0, 1, 4, 9, 16, 25, . . .}
has general term
wn =
(n āˆ’ 2)2
n = 2, 3, . . .
0 n = 1
TaskTask
For the sequence {yn} = {2n
} = {2, 4, 8, 16, . . . } write out explicitly the ļ¬rst 6
terms and the general terms of the sequences vn and wn obtained respectively by
shifting the terms of {yn}
(a) one place to the right (b) three places the the right.
Your solution
Answer
(a)
{vn} = {0, 2, 4, 8, 16, 32 . . .} vn =
2nāˆ’1
n = 2, 3, 4, . . .
0 n = 1
(b)
{wn} = {0, 0, 0, 2, 4, 8 . . .} wn =
2nāˆ’3
n = 4, 5, 6, . . .
0 n = 1, 2, 3
8 HELM (2005):
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:
{yn}
zāˆ’1
{ynāˆ’1}
Figure 2
A shift of 2 units to the right could be produced by 2 such delay units in series:
{yn}
zāˆ’1
{ynāˆ’2}
zāˆ’1
{ynāˆ’1}
Figure 3
(The signiļ¬cance of writing zāˆ’1
will emerge later when we have studied zāˆ’transforms.)
Left Shift
Suppose we again consider the sequence of squares
{yn} = {1, 4, 9, 16, 25, . . .}
with yn = n2
.
Shifting all the numbers one place to the left (or advancing the sequence) means that the sequence
{vn} generated has terms
v0 = y1 = 1 v1 = y2 = 4 v2 = y3 = 9 . . .
and so has general term
vn = (n + 1)2
n = 0, 1, 2, . . .
= yn+1
Notice here the appearance of the zero subscript for the ļ¬rst time.
Shifting the terms of {vn} one place to the left or equivalently the terms of {yn} two places to the
left generates a sequence {wn} where
wāˆ’1 = v0 = y1 = 1 w0 = v1 = y2 = 4
and so on.
The general term is
wn = (n + 2)2
n = āˆ’1, 0, 1, 2, . . .
= yn+2
HELM (2005):
Section 21.1: The z-Transform
9
TaskTask
If {yn} = {1, 1, 2, 3, 5, . . .} n = 1, 2, 3, . . . is the Fibonacci sequence, write out
the terms of the sequences {yn+1}, {yn+2}.
Your solution
Answer
yn+1 = {1, 1, 2, 3, 5, . . .} where y0 = 1 (arrowed), y1 = 1, y2 = 2, . . .
ā†‘
yn+2 = {1, 1, 2, 3, 5, . . .} where yāˆ’1 = 1, y0 = 1 (arrowed), y1 = 2, y2 = 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 y1, y2, . . . has to be modiļ¬ed.
We should instead think of a sequence as two-sided i.e. {yn} deļ¬ned 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 y0.
For example the sequence {yn} = {n2
} n = 0, Ā±1, Ā±2, . . . could be written
{. . . 9, 4, 1, 0, 1, 4, 9, . . .}
ā†‘
A sequence which is zero for negative integers n is sometimes called a causal sequence.
For example the sequence, denoted by {un},
un =
0 n = āˆ’1, āˆ’2, āˆ’3, . . .
1 n = 0, 1, 2, 3, . . .
is causal. Figure 4 makes it clear why {un} is called the unit step sequence.
0 1 2 n
un
1
āˆ’ 1āˆ’ 2āˆ’ 3
Figure 4
The ā€˜curly bracketā€™ notation for the unit step sequence with the n = 0 term arrowed is
{un} = {. . . , 0, 0, 0, 1, 1, 1, . . .}
ā†‘
10 HELM (2005):
Workbook 21: z-Transforms
TaskTask
Draw graphs of the sequences {unāˆ’1}, {unāˆ’2}, {un+1} where {un} is the
unit step sequence.
Your solution
Answer
0 1 2
n
1
unāˆ’1
unāˆ’2
un+1
āˆ’1āˆ’2
0 1 2
n
1
āˆ’1āˆ’2
0 1 2
n
1
āˆ’1āˆ’2
3āˆ’3
āˆ’3
āˆ’3
3
HELM (2005):
Section 21.1: The z-Transform
11

More Related Content

What's hot

Differential equation & laplace transformation with matlab
Differential equation & laplace transformation with matlabDifferential equation & laplace transformation with matlab
Differential equation & laplace transformation with matlabRavi Jindal
Ā 
Applications of Z transform
Applications of Z transformApplications of Z transform
Applications of Z transformAakankshaR
Ā 
MATLAB ODE
MATLAB ODEMATLAB ODE
MATLAB ODEKris014
Ā 
tensor-decomposition
tensor-decompositiontensor-decomposition
tensor-decompositionKenta Oono
Ā 
PRML Reading Chapter 11 - Sampling Method
PRML Reading Chapter 11 - Sampling MethodPRML Reading Chapter 11 - Sampling Method
PRML Reading Chapter 11 - Sampling MethodHa Phuong
Ā 
Introduction to the theory of optimization
Introduction to the theory of optimizationIntroduction to the theory of optimization
Introduction to the theory of optimizationDelta Pi Systems
Ā 
Advanced functions part i
Advanced functions part iAdvanced functions part i
Advanced functions part iwendyvazzy
Ā 
Classical optimization theory Unconstrained Problem
Classical optimization theory Unconstrained ProblemClassical optimization theory Unconstrained Problem
Classical optimization theory Unconstrained ProblemSurya Teja
Ā 
S1 Dualsimplex
S1 DualsimplexS1 Dualsimplex
S1 DualsimplexNgo Hung Long
Ā 
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATION
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATIONSERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATION
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATIONKavin Raval
Ā 
Tensor Decomposition and its Applications
Tensor Decomposition and its ApplicationsTensor Decomposition and its Applications
Tensor Decomposition and its ApplicationsKeisuke OTAKI
Ā 
Topic: Fourier Series ( Periodic Function to change of interval)
Topic: Fourier Series ( Periodic Function to  change of interval)Topic: Fourier Series ( Periodic Function to  change of interval)
Topic: Fourier Series ( Periodic Function to change of interval)Abhishek Choksi
Ā 
Erin catto numericalmethods
Erin catto numericalmethodsErin catto numericalmethods
Erin catto numericalmethodsoscarbg
Ā 
presentation
presentationpresentation
presentationJiguang Shen
Ā 
Ordinary differential equation
Ordinary differential equationOrdinary differential equation
Ordinary differential equationJUGAL BORAH
Ā 
Polya recurrence
Polya recurrencePolya recurrence
Polya recurrenceBrian Burns
Ā 

What's hot (20)

Differential equation & laplace transformation with matlab
Differential equation & laplace transformation with matlabDifferential equation & laplace transformation with matlab
Differential equation & laplace transformation with matlab
Ā 
Applications of Z transform
Applications of Z transformApplications of Z transform
Applications of Z transform
Ā 
Analog properties and Z-transform
Analog properties and Z-transformAnalog properties and Z-transform
Analog properties and Z-transform
Ā 
MATLAB ODE
MATLAB ODEMATLAB ODE
MATLAB ODE
Ā 
tensor-decomposition
tensor-decompositiontensor-decomposition
tensor-decomposition
Ā 
PRML Reading Chapter 11 - Sampling Method
PRML Reading Chapter 11 - Sampling MethodPRML Reading Chapter 11 - Sampling Method
PRML Reading Chapter 11 - Sampling Method
Ā 
Introduction to the theory of optimization
Introduction to the theory of optimizationIntroduction to the theory of optimization
Introduction to the theory of optimization
Ā 
Advanced functions part i
Advanced functions part iAdvanced functions part i
Advanced functions part i
Ā 
Classical optimization theory Unconstrained Problem
Classical optimization theory Unconstrained ProblemClassical optimization theory Unconstrained Problem
Classical optimization theory Unconstrained Problem
Ā 
S1 Dualsimplex
S1 DualsimplexS1 Dualsimplex
S1 Dualsimplex
Ā 
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATION
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATIONSERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATION
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATION
Ā 
Tensor Decomposition and its Applications
Tensor Decomposition and its ApplicationsTensor Decomposition and its Applications
Tensor Decomposition and its Applications
Ā 
Topic: Fourier Series ( Periodic Function to change of interval)
Topic: Fourier Series ( Periodic Function to  change of interval)Topic: Fourier Series ( Periodic Function to  change of interval)
Topic: Fourier Series ( Periodic Function to change of interval)
Ā 
patel
patelpatel
patel
Ā 
Erin catto numericalmethods
Erin catto numericalmethodsErin catto numericalmethods
Erin catto numericalmethods
Ā 
Partial
Partial Partial
Partial
Ā 
presentation
presentationpresentation
presentation
Ā 
Fourier series
Fourier series Fourier series
Fourier series
Ā 
Ordinary differential equation
Ordinary differential equationOrdinary differential equation
Ordinary differential equation
Ā 
Polya recurrence
Polya recurrencePolya recurrence
Polya recurrence
Ā 

Viewers also liked

Z transforms and their applications
Z transforms and their applicationsZ transforms and their applications
Z transforms and their applicationsRam Kumar K R
Ā 
Calc 2.2a
Calc 2.2aCalc 2.2a
Calc 2.2ahartcher
Ā 
Basic Rules & Theorems for Differentiation
Basic Rules & Theorems for DifferentiationBasic Rules & Theorems for Differentiation
Basic Rules & Theorems for DifferentiationChristopher Gratton
Ā 
Introduction to Digital Signal Processing Using GNU Radio
Introduction to Digital Signal Processing Using GNU RadioIntroduction to Digital Signal Processing Using GNU Radio
Introduction to Digital Signal Processing Using GNU RadioAlbert Huang
Ā 
Lecture 8 derivative rules
Lecture 8   derivative rulesLecture 8   derivative rules
Lecture 8 derivative rulesnjit-ronbrown
Ā 
Basic Rules Of Differentiation
Basic Rules Of DifferentiationBasic Rules Of Differentiation
Basic Rules Of Differentiationseltzermath
Ā 
Dsp U Lec01 Real Time Dsp Systems
Dsp U   Lec01 Real Time Dsp SystemsDsp U   Lec01 Real Time Dsp Systems
Dsp U Lec01 Real Time Dsp Systemstaha25
Ā 
Lesson 23: Antiderivatives (Section 041 slides)
Lesson 23: Antiderivatives (Section 041 slides)Lesson 23: Antiderivatives (Section 041 slides)
Lesson 23: Antiderivatives (Section 041 slides)Matthew Leingang
Ā 
Lesson 24: Evaluating Definite Integrals (slides)
Lesson 24: Evaluating Definite Integrals (slides)Lesson 24: Evaluating Definite Integrals (slides)
Lesson 24: Evaluating Definite Integrals (slides)Matthew Leingang
Ā 

Viewers also liked (16)

Z transforms and their applications
Z transforms and their applicationsZ transforms and their applications
Z transforms and their applications
Ā 
z transforms
z transformsz transforms
z transforms
Ā 
Calc 2.2a
Calc 2.2aCalc 2.2a
Calc 2.2a
Ā 
Basic Rules & Theorems for Differentiation
Basic Rules & Theorems for DifferentiationBasic Rules & Theorems for Differentiation
Basic Rules & Theorems for Differentiation
Ā 
Introduction to Digital Signal Processing Using GNU Radio
Introduction to Digital Signal Processing Using GNU RadioIntroduction to Digital Signal Processing Using GNU Radio
Introduction to Digital Signal Processing Using GNU Radio
Ā 
Lecture 8 derivative rules
Lecture 8   derivative rulesLecture 8   derivative rules
Lecture 8 derivative rules
Ā 
Basic Rules Of Differentiation
Basic Rules Of DifferentiationBasic Rules Of Differentiation
Basic Rules Of Differentiation
Ā 
Dsp U Lec01 Real Time Dsp Systems
Dsp U   Lec01 Real Time Dsp SystemsDsp U   Lec01 Real Time Dsp Systems
Dsp U Lec01 Real Time Dsp Systems
Ā 
Law of Gravitation QA 3
Law of Gravitation QA 3Law of Gravitation QA 3
Law of Gravitation QA 3
Ā 
Direct Current Theory 5
Direct Current Theory 5Direct Current Theory 5
Direct Current Theory 5
Ā 
Sequences and Series QA 3
Sequences and Series QA 3Sequences and Series QA 3
Sequences and Series QA 3
Ā 
Lesson 23: Antiderivatives (Section 041 slides)
Lesson 23: Antiderivatives (Section 041 slides)Lesson 23: Antiderivatives (Section 041 slides)
Lesson 23: Antiderivatives (Section 041 slides)
Ā 
Direct Current QA 9
Direct Current QA 9Direct Current QA 9
Direct Current QA 9
Ā 
Lesson 24: Evaluating Definite Integrals (slides)
Lesson 24: Evaluating Definite Integrals (slides)Lesson 24: Evaluating Definite Integrals (slides)
Lesson 24: Evaluating Definite Integrals (slides)
Ā 
Sequences and Series QA 2
Sequences and Series QA 2Sequences and Series QA 2
Sequences and Series QA 2
Ā 
Alternating Current Theory 1
Alternating Current Theory 1Alternating Current Theory 1
Alternating Current Theory 1
Ā 

Similar to 21 1 ztransform

Solving recurrences
Solving recurrencesSolving recurrences
Solving recurrencesWaqas Akram
Ā 
Solving recurrences
Solving recurrencesSolving recurrences
Solving recurrencesWaqas Akram
Ā 
Copy of y16 02-2119divide-and-conquer
Copy of y16 02-2119divide-and-conquerCopy of y16 02-2119divide-and-conquer
Copy of y16 02-2119divide-and-conquerJoepang2015
Ā 
sequence and series.docx
sequence and series.docxsequence and series.docx
sequence and series.docxGetachew Mulaw
Ā 
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdfnassorokayanda9412
Ā 
Dynamical systems solved ex
Dynamical systems solved exDynamical systems solved ex
Dynamical systems solved exMaths Tutoring
Ā 
recurrence relations
 recurrence relations recurrence relations
recurrence relationsAnurag Cheela
Ā 
Infinite series & sequence lecture 2
Infinite series & sequence lecture 2Infinite series & sequence lecture 2
Infinite series & sequence lecture 2Mohsin Ramay
Ā 
Hypothesis of Riemann's (Comprehensive Analysis)
 Hypothesis of Riemann's (Comprehensive Analysis) Hypothesis of Riemann's (Comprehensive Analysis)
Hypothesis of Riemann's (Comprehensive Analysis)nikos mantzakouras
Ā 
Recurrence_Theory.pptx studdents nees free
Recurrence_Theory.pptx studdents nees freeRecurrence_Theory.pptx studdents nees free
Recurrence_Theory.pptx studdents nees freeWhite44420
Ā 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal Processingaj ahmed
Ā 
Solution manual for introduction to nonlinear finite element analysis nam-h...
Solution manual for introduction to nonlinear finite element analysis   nam-h...Solution manual for introduction to nonlinear finite element analysis   nam-h...
Solution manual for introduction to nonlinear finite element analysis nam-h...Salehkhanovic
Ā 
Conjugate Gradient Methods
Conjugate Gradient MethodsConjugate Gradient Methods
Conjugate Gradient MethodsMTiti1
Ā 

Similar to 21 1 ztransform (20)

Partitions
PartitionsPartitions
Partitions
Ā 
Sequence of DM
Sequence of  DM Sequence of  DM
Sequence of DM
Ā 
Solving recurrences
Solving recurrencesSolving recurrences
Solving recurrences
Ā 
Solving recurrences
Solving recurrencesSolving recurrences
Solving recurrences
Ā 
Copy of y16 02-2119divide-and-conquer
Copy of y16 02-2119divide-and-conquerCopy of y16 02-2119divide-and-conquer
Copy of y16 02-2119divide-and-conquer
Ā 
sequence and series.docx
sequence and series.docxsequence and series.docx
sequence and series.docx
Ā 
1 ca nall
1 ca nall1 ca nall
1 ca nall
Ā 
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
Ā 
Dynamical systems solved ex
Dynamical systems solved exDynamical systems solved ex
Dynamical systems solved ex
Ā 
recurrence relations
 recurrence relations recurrence relations
recurrence relations
Ā 
Infinite series & sequence lecture 2
Infinite series & sequence lecture 2Infinite series & sequence lecture 2
Infinite series & sequence lecture 2
Ā 
Hypothesis of Riemann's (Comprehensive Analysis)
 Hypothesis of Riemann's (Comprehensive Analysis) Hypothesis of Riemann's (Comprehensive Analysis)
Hypothesis of Riemann's (Comprehensive Analysis)
Ā 
Sol56
Sol56Sol56
Sol56
Ā 
Sol56
Sol56Sol56
Sol56
Ā 
Recurrence_Theory.pptx studdents nees free
Recurrence_Theory.pptx studdents nees freeRecurrence_Theory.pptx studdents nees free
Recurrence_Theory.pptx studdents nees free
Ā 
1624 sequence
1624 sequence1624 sequence
1624 sequence
Ā 
Exponential function
Exponential functionExponential function
Exponential function
Ā 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal Processing
Ā 
Solution manual for introduction to nonlinear finite element analysis nam-h...
Solution manual for introduction to nonlinear finite element analysis   nam-h...Solution manual for introduction to nonlinear finite element analysis   nam-h...
Solution manual for introduction to nonlinear finite element analysis nam-h...
Ā 
Conjugate Gradient Methods
Conjugate Gradient MethodsConjugate Gradient Methods
Conjugate Gradient Methods
Ā 

Recently uploaded

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
Ā 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
Ā 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
Ā 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
Ā 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
Ā 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
Ā 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
Ā 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
Ā 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
Ā 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
Ā 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
Ā 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
Ā 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
Ā 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
Ā 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
Ā 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
Ā 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
Ā 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
Ā 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
Ā 

Recently uploaded (20)

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
Ā 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Ā 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
Ā 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
Ā 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
Ā 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
Ā 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
Ā 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
Ā 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Ā 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
Ā 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
Ā 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
Ā 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
Ā 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
Ā 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
Ā 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
Ā 
Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”
Ā 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Ā 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
Ā 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
Ā 

21 1 ztransform

  • 1. ContentsContents ļœ²ļœ±ļœ²ļœ± z-Transforms 21.1 The z-Transform 2 21.2 Basics of z-Transform Theory 12 21.3 z-Transforms and Diļ¬€erence Equations 36 21.4 Engineering Applications of z-Transforms 64 21.5 Sampled Functions 85 Learning 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. outcomes
  • 2. 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 brieļ¬‚y discussing sequences, shifting of sequences and diļ¬€erence equations. Readers familiar with these topics can proceed directly to Section 21.2 where z-transforms are ļ¬rst introduced. ' $ % Prerequisites Before starting this Section you should . . . ā€¢ have competence with algebra 9 8 6 7 Learning Outcomes On completion you should be able to . . . ā€¢ explain what is meant by a sequence and by a diļ¬€erence equation ā€¢ distinguish between ļ¬rst and second order diļ¬€erence equations ā€¢ shift sequences to the left or right 2 HELM (2005): Workbook 21: z-Transforms
  • 3. 1. Preliminaries: Sequences and Difference Equations Sequences A sequence is a set of numbers formed according to some deļ¬nite rule. For example the sequence {1, 4, 9, 16, 25, . . .} (1) is formed by the squares of the positive integers. If we write y1 = 1, y2 = 4, y3 = 9, . . . then the general or nnnth term of the sequence (1) is yn = n2 . The notations y(n) and y[n] are also used sometimes to denote the general term. The notation {yn} 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) = t2 by sampling the function at t = 1, 2, 3, . . . as shown in Figure 1. y = t2 1 2 4 9 t 3 1 Figure 1 The notation y(n), as opposed to yn, for the general term of a sequence emphasizes this sampling aspect. TaskTask Find the general term of the sequence {2, 4, 8, 16, 32, . . .}. Your solution Answer The terms of the sequence are the integer powers of 2: y1 = 2 = 21 y2 = 4 = 22 y3 = 8 = 23 . . . so yn = 2n . HELM (2005): Section 21.1: The z-Transform 3
  • 4. Here the sequence {2n } are the sample values of the continuous function y(t) = 2t at t = 1, 2, 3, . . . An alternative way of deļ¬ning a sequence is as follows: (i) give the ļ¬rst term y1 of the sequence (ii) give the rule for obtaining the (n + 1)th term from the nth . A simple example is yn+1 = yn + d y1 = a where a and d are constants. It is straightforward to obtain an expression for yn in terms of n as follows: y2 = y1 + d = a + d y3 = y2 + d = a + d + d = a + 2d y4 = y3 + d = a + 3d ... yn = a + (n āˆ’ 1)d (2) This sequence characterised by a constant diļ¬€erence between successive terms yn+1 āˆ’ yn = d n = 1, 2, 3, . . . is called an arithmetic sequence. TaskTask Calculate the nth term of the arithmetic sequence deļ¬ned by yn+1 āˆ’ yn = 2 y1 = 9. Write out the ļ¬rst 4 terms of this sequence explicitly. Suggest why an arithmetic sequence is also known as a linear sequence. Your solution 4 HELM (2005): Workbook 21: z-Transforms
  • 5. Answer We have, using (2), yn = 9 + (n āˆ’ 1)2 or yn = 2n + 7 so y1 = 9 (as given), y2 = 11, y3 = 13, y4 = 15, . . . A graph of yn against n would be just a set of points but all lie on the straight line y = 2x + 7, hence the term ā€˜linear sequenceā€™. yn y(x) = 2x + 7 n 1 2 3 11 9 13 Nomenclature The equation yn+1 āˆ’ yn = d (3) is called a diļ¬€erence equation or recurrence equation or more speciļ¬cally a ļ¬rst order, constant coeļ¬ƒcient, linear, diļ¬€erence equation. The sequence whose nth term is yn = a + (n āˆ’ 1)d (4) is the solution of (3) for the initial condition y1 = a. The coeļ¬ƒcients in (3) are the numbers preceding the terms yn+1 and yn so are 1 and āˆ’1 respectively. The classiļ¬cation ļ¬rst order for the diļ¬€erence equation (3) follows because the diļ¬€erence between the highest and lowest subscripts is n + 1 āˆ’ n = 1. Now consider again the sequence {yn} = {2n } Clearly yn+1 āˆ’ yn = 2n+1 āˆ’ 2n = 2n so the diļ¬€erence here is dependent on n i.e. is not constant. Hence the sequence {2n } = {2, 4, 8, . . .} is not an arithmetic sequence. HELM (2005): Section 21.1: The z-Transform 5
  • 6. TaskTask For the sequence {yn} = 2n calculate yn+1 āˆ’ 2yn. Hence write down a diļ¬€erence equation and initial condition for which {2n } is the solution. Your solution Answer yn+1 āˆ’ 2yn = 2n+1 āˆ’ 2 Ɨ 2n = 2n+1 āˆ’ 2n+1 = 0 Hence yn = 2n is the solution of the homogeneous diļ¬€erence equation yn+1 āˆ’ 2yn = 0 (5) with initial condition y1 = 2. The term ā€˜homogeneousā€™ refers to the fact that the right-hand side of the diļ¬€erence equation (5) is zero. More generally it follows that yn+1 āˆ’ Ayn = 0 y1 = A has solution sequence {yn} with general term yn = An A second order difference equation Second order diļ¬€erence equations are characterised, as you would expect, by a diļ¬€erence of 2 between the highest and lowest subscripts. A famous example of a constant coeļ¬ƒcient second order diļ¬€erence equation is yn+2 = yn+1 + yn or yn+2 āˆ’ yn+1 āˆ’ yn = 0 (6) The solution {yn} of (6) is a sequence where any term is the sum of the two preceding ones. 6 HELM (2005): Workbook 21: z-Transforms
  • 7. TaskTask What additional information is needed if (6) is to be solved? Your solution Answer Two initial conditions, the values of y1 and y2 must be speciļ¬ed so we can calculate y3 = y2 + y1 y4 = y3 + y2 and so on. TaskTask Find the ļ¬rst 6 terms of the solution sequence of (6) for each of the following sets of initial conditions (a) y1 = 1 y2 = 3 (b) y1 = 1 y2 = 1 Your solution Answer (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 diļ¬€erence equation (6) yn+1 = yn+1 + yn with initial conditions y1 = y2 = 1 is the Fibonacci sequence. What is not so obvious is what is the general term yn of this sequence. One way of obtaining yn in this case, and for many other linear constant coeļ¬ƒcient diļ¬€erence equations, is via a technique involving Zāˆ’transforms which we shall introduce shortly. HELM (2005): Section 21.1: The z-Transform 7
  • 8. Shifting of sequences Right Shift Recall the sequence {yn} = {n2 } or, writing out the ļ¬rst few terms explicitly, {yn} = {1, 4, 9, 16, 25, . . .} The sequence {vn} = {0, 1, 4, 9, 16, 25, . . .} contains the same numbers as yn but they are all shifted one place to the right. The general term of this shifted sequence is vn = (n āˆ’ 1)2 n = 1, 2, 3, . . . Similarly the sequence {wn} = {0, 0, 1, 4, 9, 16, 25, . . .} has general term wn = (n āˆ’ 2)2 n = 2, 3, . . . 0 n = 1 TaskTask For the sequence {yn} = {2n } = {2, 4, 8, 16, . . . } write out explicitly the ļ¬rst 6 terms and the general terms of the sequences vn and wn obtained respectively by shifting the terms of {yn} (a) one place to the right (b) three places the the right. Your solution Answer (a) {vn} = {0, 2, 4, 8, 16, 32 . . .} vn = 2nāˆ’1 n = 2, 3, 4, . . . 0 n = 1 (b) {wn} = {0, 0, 0, 2, 4, 8 . . .} wn = 2nāˆ’3 n = 4, 5, 6, . . . 0 n = 1, 2, 3 8 HELM (2005): Workbook 21: z-Transforms
  • 9. 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: {yn} zāˆ’1 {ynāˆ’1} Figure 2 A shift of 2 units to the right could be produced by 2 such delay units in series: {yn} zāˆ’1 {ynāˆ’2} zāˆ’1 {ynāˆ’1} Figure 3 (The signiļ¬cance of writing zāˆ’1 will emerge later when we have studied zāˆ’transforms.) Left Shift Suppose we again consider the sequence of squares {yn} = {1, 4, 9, 16, 25, . . .} with yn = n2 . Shifting all the numbers one place to the left (or advancing the sequence) means that the sequence {vn} generated has terms v0 = y1 = 1 v1 = y2 = 4 v2 = y3 = 9 . . . and so has general term vn = (n + 1)2 n = 0, 1, 2, . . . = yn+1 Notice here the appearance of the zero subscript for the ļ¬rst time. Shifting the terms of {vn} one place to the left or equivalently the terms of {yn} two places to the left generates a sequence {wn} where wāˆ’1 = v0 = y1 = 1 w0 = v1 = y2 = 4 and so on. The general term is wn = (n + 2)2 n = āˆ’1, 0, 1, 2, . . . = yn+2 HELM (2005): Section 21.1: The z-Transform 9
  • 10. TaskTask If {yn} = {1, 1, 2, 3, 5, . . .} n = 1, 2, 3, . . . is the Fibonacci sequence, write out the terms of the sequences {yn+1}, {yn+2}. Your solution Answer yn+1 = {1, 1, 2, 3, 5, . . .} where y0 = 1 (arrowed), y1 = 1, y2 = 2, . . . ā†‘ yn+2 = {1, 1, 2, 3, 5, . . .} where yāˆ’1 = 1, y0 = 1 (arrowed), y1 = 2, y2 = 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 y1, y2, . . . has to be modiļ¬ed. We should instead think of a sequence as two-sided i.e. {yn} deļ¬ned 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 y0. For example the sequence {yn} = {n2 } n = 0, Ā±1, Ā±2, . . . could be written {. . . 9, 4, 1, 0, 1, 4, 9, . . .} ā†‘ A sequence which is zero for negative integers n is sometimes called a causal sequence. For example the sequence, denoted by {un}, un = 0 n = āˆ’1, āˆ’2, āˆ’3, . . . 1 n = 0, 1, 2, 3, . . . is causal. Figure 4 makes it clear why {un} is called the unit step sequence. 0 1 2 n un 1 āˆ’ 1āˆ’ 2āˆ’ 3 Figure 4 The ā€˜curly bracketā€™ notation for the unit step sequence with the n = 0 term arrowed is {un} = {. . . , 0, 0, 0, 1, 1, 1, . . .} ā†‘ 10 HELM (2005): Workbook 21: z-Transforms
  • 11. TaskTask Draw graphs of the sequences {unāˆ’1}, {unāˆ’2}, {un+1} where {un} is the unit step sequence. Your solution Answer 0 1 2 n 1 unāˆ’1 unāˆ’2 un+1 āˆ’1āˆ’2 0 1 2 n 1 āˆ’1āˆ’2 0 1 2 n 1 āˆ’1āˆ’2 3āˆ’3 āˆ’3 āˆ’3 3 HELM (2005): Section 21.1: The z-Transform 11