Moulton Lectures
On
|
Lecture
17 Digital Noise
Cancellation 2
Simple Digital Filter Design |
Presented
by:
Dave
L Moulton
Content
Lecture 16 was aimed at giving the class an introduction to the z-transform.
In this lecture I want to make use of the z-transform by showing how it features in the design of a very simple first order low pass filter. My approach will be to convert an analogue representation of the filter to a digital filter.
I will show how the digital filter is represented as a z-domain algorithm and as a recurrence relationship.
The response of the filter will be created in excel and displayed as discrete time domain ‘input /output’ response curves.
I will first introduce a couple of mathematical design tools which are essential in making the transform from an analogue filter to a digital filter. These tools are based on the mapping of the s-plane into the z-plane, resulting in what are known as a Bi-linear Transform and a Frequency Warping Transform.
My approach will be a conventional one which starts by defining the transfer function of an analogue filter, in this case a first order low pass filter. I will then use a standard method of transforming the analogue filter into an equivalent digital (Discrete) version.
Before we can start any digital filter design we first need to understand what is required to make the transition from an analogue filter to a digital filter. Lets go back to basics and describe the fundamental make up of a transfer function. Figure 17.1 shows the movement from the Time Domain to the S-Domain and then on to the Z-Domain.

Figure 17.1
We need to look at the way in which s-plane poles map onto the z-plane. Without going into all of the mathematical proof, I will simply state the relevant relationships.
Bi-linear Transform
The transformation relationship between the s-plane and the z-plane is known as the bi-linear transform:

Graphically the transformation of poles from the s-plane to the z-plane is shown below in figure 17.2. This transform results in all poles that lie in the LH s-plane being located within the unit circle of the z-plane. All poles in the RH s-plane end up being located outside of the unit circle. All poles that lie on the jw axis (stable oscillation) lie on the perimeter of the unit circle.

Thus the warping transformation can be expressed as:
Note: We are dealing with radians, and not degrees.
Our specific 1kHz filter sampled at a rate of 10kHz has the following algorithm:
![]()