GP503 - Lecture 5
GP503 - Lecture 5
Lecture – 5
Instructor: E. Chandrasekhar
Department of Earth Sciences
Indian Institute of Technology Bombay
E-mail: [email protected]
Application of Z-transform: Digital Filters
Z-transform is mainly used in digital filters to determine the transfer function and ‘Poles’
and ‘zeros’ of the digital filters. The ratio of signal output to input signal is defined as
transfer function.
Since ‘Z’ is known as unit-delay operator, let’s try to understand the following notations,
before proceeding further.
zyn = yn −1 i.e., zy2 = y1 ; zy1 = y0 ; z 2 yn = yn − 2 ; zy0 = y−1 = 0, etc.
If yn is the output of an input series xn, given by
10 yn = 6 xn − 5 xn −1 + xn − 2 + 7 yn −1 − yn − 2 (4)
A few observations:
• Equation (4) explains that, the output of the given digital filter contains the present
input, xn, previous inputs and previous outputs (yn-1 and yn-2). Such a filter is known as
‘Recursive filter’. It is also known as Feedback filter.
• If a filter contains only present input and previous inputs, then such a filter is known as
‘Non-recursive filter’. It is also known as Feedforward filter.
• The maximum number of previous inputs OR previous outputs in a given recursive filter
defines the order of the digital filter. What is the order of the above digital filter?
• In equation (6), the values of ‘z’ at which the numerator becomes zero are known as
ZEROs of the digital filter. Similarly, the values of ‘z’ at which the denominator becomes
zero are known as POLEs of the digital filter.
contd……..
A few observations:
• In the Pole-Zero plot of the digital filter, the Poles and Zeros signify the region
of stability of the designed filter.
• Poles and Zeros are also useful in determining the filter response.
• The poles and zeros of a transfer function may also be complex, and thus may
be represented graphically by plotting their locations on the complex plane,
whose axes represent the real and imaginary parts of the complex variable.
• Such plots are known as pole-zero plots. It is usual to mark a zero location by
a circle (o) and a pole location a cross (×).
Example of a pole-zero plot for a linear digital filter, having
A zero at z = -2 and Poles at z = -1 and z = -1 ± 2i:
Fig. 3
Example -1:
Determine the ‘Poles’ and ‘Zeros’ of a digital filter: yn =
1
[xn + 2 xn−1 + 5 y n−1 − y n−2 ]
6
The poles and zeros signify the properties of the digital filter describing the dynamics of the input-
output system. Together with the constant gain factor, K, they provide a complete description of
the filter design.
Example -2:
Determine the linear digital filter, if it has ‘Poles’ and ‘Zeros’ as shown in the figure below.
A low pass filter ‘filters’ (or passes) the signals having frequencies ’lower’ than the
selected cut-off frequency and attenuates the rest of the signals, which will have
frequencies higher than the specified cut-off frequency.
where,, 𝑎𝑎0 , 𝑎𝑎1 , 𝑎𝑎2 , 𝑎𝑎3 , … … … . . 𝑎𝑎𝑁𝑁 and 𝑏𝑏0 , 𝑏𝑏1 , 𝑏𝑏2 , 𝑏𝑏3 , … … … . . 𝑏𝑏𝑀𝑀 are known as
filter coefficients, which will be estimated using least-squares technique. N or M
designates the order the digital filter.
How the filter coefficients affect the filter response? Optimum number of filter
coefficients should be decided by the user, by trial-and-error method, depending
upon the type of application and till all the required frequencies are filtered out
from the signal.
Generally, the order of a digital filter should be reasonably high, such that, with the
increase in the order of the digital filter, the filter attenuates the high frequencies
with a steeper roll-off.
An example of Butterworth filter with different orders with a cut-off frequency of 𝜔𝜔0 = 1:
(Source: Wikipedia)
Steeper roll off
A high pass filter ‘filters’ the signals with a frequency ’higher’ than the selected cut-off
frequency and attenuates the rest of the signal, which will have frequencies lower
than the specified cut-off frequency.