# OpenStax-CNX

You are here: Home » Content » Discrete Time Filter Design

### Lenses

What is a lens?

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

#### In these lenses

• Lens for Engineering

This module is included inLens: Lens for Engineering
By: Sidney Burrus

Click the "Lens for Engineering" link to see all content selected in this lens.

### Recently Viewed

This feature requires Javascript to be enabled.

### Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

# Discrete Time Filter Design

Module by: Michael Haag. E-mail the author

Summary: Describes how to design a general filter from the Z-Transform and it pole/zero plots.

Note: You are viewing an old version of this document. The latest version is available here.

## Estimating Frequency Response from Z-Plane

One of the primary motivating factors for utilizing the z-transform and analyzing the pole/zero plots is due to their relationship to the frequency response of a discrete-time system. Based on the position of the poles and zeros, one can quickly determine the frequency response. This is a result of the correspondence between the frequency response and the transfer function evaluated on the unit circle in the pole/zero plots. The frequency response, or DTFT, of the system is defined as:

Hw=Hz| z , z = eiw = k =0M b k e(iwk) k =0N a k e(iwk) Hw z w Hz k 0 M b k w k k 0 N a k w k
(1)
Next, by factoring the transfer function into poles and zeros and multiplying the numerator and denominator by eiww we arrive at the following equations:
Hw=| b 0 a 0 | k =1M|eiw c k | k =1N|eiw d k | Hw b 0 a 0 k 1 M w c k k 1 N w d k
(2)
From Equation 2 we have the frequency response in a form that can be used to interpret physical characteristics about the filter's frequency response. The numerator and denominator contain a product of terms of the form |eiwh| w h , where hh is either a zero, denoted by c k c k or a pole, denoted by d k d k . Vectors are commonly used to represent the term and its parts on the complex plane. The pole or zero, hh, is a vector from the origin to its location anywhere on the complex plane and eiw w is a vector from the origin to its location on the unit circle. The vector connecting these two points, |eiwh| w h , connects the pole or zero location to a place on the unit circle dependent on the value of ww. From this, we can begin to understand how the magnitude of the frequency response is a ratio of the distances to the poles and zero present in the z-plane as ww goes from zero to pi. These characteristics allow us to interpret |Hw|Hw as follows:
|Hw|=| b 0 a 0 |"distances from zeros""distances from poles" Hw b 0 a 0 "distances from zeros" "distances from poles"
(3)

## Drawing Frequency Response from Pole/Zero Plot

Let us now look at several examples of determining the magnitude of the frequency response from the pole/zero plot of a z-transform. If you have forgotten or are unfamiliar with pole/zero plots, please refer back to the Pole/Zero Plots module.

### Example 1

In this first example we will take a look at the very simple z-transform shown below: Hz=z+1=1+z-1 Hz z 1 1 z -1 Hw=1+e(iw) Hw 1 w For this example, some of the vectors represented by |eiwh| w h , for random values of ww, are explicitly drawn onto the complex plane shown in the figure below. These vectors show how the amplitude of the frequency response changes as ww goes from 00 to 2π2, and also show the physical meaning of the terms in Equation 2 above. One can see that when w=0w0, the vector is the longest and thus the frequency response will have its largest amplitude here. As ww approaches π, the length of the vectors decrease as does the amplitude of |Hw|Hw. Since there are no poles in the transform, there is only this one vector term rather than a ratio as seen in Equation 2.

### Example 2

For this example, a more complex transfer function is analyzed in order to represent the system's frequency response. Hz=zz12=1112z-1 Hz z z 1 2 1 1 1 2 z -1 Hw=1112e(iw) Hw 1 1 1 2 w

Below we can see the two figures described by the above equations. The Figure 2(a) represents the basic pole/zero plot of the z-transform, HwHw. Figure 2(b) shows the magnitude of the frequency response. From the formulas and statements in the previous section, we can see that when w=0w0 the frequency will peak since it is at this value of ww that the pole is closest to the unit circle. The ratio from Equation 2 helps us see the mathematics behind this conclusion and the relationship between the distances from the unit circle and the poles and zeros. As ww moves from 00 to π, we see how the zero begins to mask the effects of the pole and thus force the frequency response closer to 00.

## Conclusion

In conclusion, using the distances from the unit circle to the poles and zeros, we can plot the frequency response of the system. As ww goes from 00 to 2π 2 , the following two properties, taken from the above equations, specify how one should draw |Hw| Hw .

### While moving around the unit circle...

1. if close to a zero, then the magnitude is small. If a zero is on the unit circle, then the frequency response is zero at that point.
2. if close to a pole, then the magnitude is large. If a pole is on the unit circle, then the frequency response goes to infinity at that point.

## Content actions

### Give feedback:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks