• No results found

Chap5 IEEE 802 pdf

N/A
N/A
Protected

Academic year: 2020

Share "Chap5 IEEE 802 pdf"

Copied!
24
0
0

Loading.... (view fulltext now)

Full text

(1)

Associate Professor

Dept. of Electrical and Electronic Engineering

University of Dhaka

Dr. Mohammad Junaebur Rashid (JR)

ICT3105

:

Digital Signal Processing

(3.0 Cr)

Course Teacher

Bangladesh University of Professionals

(2)

Lecture 21

ICT3105: DSP

• Digital Filters

Design Procedure

To fully design and implement a filter five steps are required:

(1)

Filter specification.

(2)

Coefficient calculation.

(3)

Structure selection.

(4)

Simulation (optional).

(3)

Lecture 21

ICT3105: DSP

(4)

Lecture 21

ICT3105: DSP

• Digital Filters

• The finite word-length effect is the deviation of FIR filter characteristic. If such

characteristic still meets the filter specifications, the finite word-length effects are

negligible. As a result of greater error in coefficients representation, the finite word-length

effects are more prominent in fixed-point arithmetic.

• These effects are more prominent for IIR filters for their feedback property than for FIR

filters. In addition, coefficient representation can cause IIR filters to become instable,

whereas it cannot affect FIR filters that way.

• FIR filters keep their linear phase characteristic after quantization. Because the coefficients

of a FIR filter with linear phase characteristic are symmetric, which means that the

corresponding pairs of coefficients will be quantized to the same value. It results in the

impulse response symmetry remaining unchanged.

• Finite word length causes some problems such as: Coefficient quantization errors; Sample

quantization errors (quantization noise); and Overflow errors.

(5)

Lecture 21

ICT3105: DSP

• Digital Filters

5 main stages of IIR filter design:

Stage 1: Filter Specification

Designer gives the function of the filter (e.g. lowpass) and the desired performance.

Stage 2: Approximation or Coefficient Calculation

The selection method to calculate the coefficients such that the specs in stage 1 are

satisfied.

Stage 3: Realisation

Converting of the transfer function into a suitable filter structure

Stage 4: Finite Wordlength Effects

Analysis of errors that will occur due to working with finite number of bits

Stage 5: Implementation

(6)

Lecture 21

ICT3105: DSP

• Digital Filters

As with most other engineering problems, the design of the digital IIR filter starts with an

explicit specification of the performance requirements. This includes:

1. Signal characteristics

Types of signal source and sink I/O interface, data rates and wordlengths

2. Frequency response characteristics

Desired amplitude, phase and tolerances Speed of operation

3. Manner of implementation

High level language routine in a computer, or DSP-based system

Choice of signal processor, Modes of filtering (real-time or batch)

4. Other design constraints

Cost

Permissible signal degradation through the filter

(7)

Lecture 21

ICT3105: DSP

• Digital Filters

• For frequency selective filters, such as low-pass and band-pass filters, the frequency

(8)

Lecture 21

ICT3105: DSP

• Design of IIR Filter

Notes for the tolerance scheme of

a filter:

• IIR filter: passband ripple is the

difference btw. the minimum and

maximum deviation in the

passband.

• FIR filter: passband ripple is the

difference btw. the ideal response

and the maximum (or minimum)

deviation in the passband.

• Thus, for IIR, when we say

passband ripple, what is meant is

(9)

Lecture 21

ICT3105: DSP

• Design of IIR Filter

• There are two different methods available for calculating the coefficients:

- Direct placement of poles and zeros

- Matched z-transform

- Using analogue filter design

Impulse invariant, Bilinear z-transform

Coefficient Calculation - Step 2

• This is one of the simplest method.

• There is a rich collection of prototype analogue filters with well-established analysis

methods.

• The method involves designing an analogue filter and then transforming it to a digital

filter.

(10)

Lecture 21

ICT3105: DSP

• Design of IIR Filter

• Placing a zero near or on the unit circle in the z-plane will minimize the transfer function at

this point.

• Because when a zero is placed at a given point on the z-plane, the frequency response will

be zero at the corresponding point.

• Placing a pole near or on the unit circle in the z-plane will maximize the transfer function at

this point.

• Because when a pole is placed at a given point on the z-plane, the frequency response will

be a peak at the corresponding point.

• To obtain real coefficients the poles and zeros must either be real or occur in complex

conjugate pairs.

(11)

Lecture 21

ICT3105: DSP

• Design of IIR Filter

• Zeros that are close to or on the circle produce troughs or minima.

• Poles that are close to the unit circle give rise to large peaks.

• Thus, by strategically placing poles and zeros on the z-plane, we can obtain simple lowpass,

(12)

Realization Structures - Step 3

• Direct Form I:

Difference equation:

This leads to the following structure…

Lecture 21

ICT3105: DSP

(13)

Realization Structures - Step 3

Direct Form I:

Lecture 21

ICT3105: DSP

(14)

Realization Structures - Step 3

Direct Form II canonic realization:

Lecture 21

ICT3105: DSP

(15)

Lecture 21

ICT3105: DSP

• Design of IIR Filter

Example:

A bandpass digital filter is required to meet the following specifications:

• Complete signal rejection at DC and 250 Hz

• A narrow passband centered at 125 Hz

• A 3 dB bandwidth of 10 Hz

• Assuming a Sampling Frequency of 500 Hz

Now, obtain:

• Pole-zero diagram, by suitably placing z-plane poles and zeros

• Transfer Function of the filter

• Coefficients

(16)

Lecture 21

ICT3105: DSP

• Design of IIR Filter

• First: Location of the poles and zeros on the z-plane?

• Since a complete rejection is required at 0 and 250 Hz, we need to place zeros at the

corresponding points on the z-plane.

• Angles of the zeros on the unit circle are:

[ θ = 2πf / F

s

]

• To have a passband at 125 Hz requires us to place poles. Now locations of poles on the unit

circle are:

• NB. Since this falls on the imaginary axis, to ensure that the coefficients are real, it is

(17)

Lecture 21

ICT3105: DSP

(18)

Lecture 21

ICT3105: DSP

• Design of IIR Filter

(19)

-Lecture 21

ICT3105: DSP

(20)

Lecture 21

ICT3105: DSP

• Design of IIR Filter

• Practical example of the bilinear transform method:

– The design of a digital filter to approximate a second order low-pass

analogue filter is required.

– The transfer function that describes the analogue filter is (This is an analog

BUTTERWORTH filter):

– The digital filter is required to have:

• Cut-off frequency =100 Hz

• Sampling frequency of 1 kHz.

(21)

Lecture 21

ICT3105: DSP

• Design of IIR Filter

Design a digital equivalent of a 2

nd

order Butterworth LP filter with a cut-off freq

fc=100 Hz, Sampling frequency fs=1000 Hz.

The normalized cut off frequency of the digital filter

ω=2πf

c

/f

s

=2πf

c

100/1000=0.628

Now equivalent analog filter cut-off freq

Ω=ktan(ω/2)= 1.tan(0.628/2)=0.325 rads/sec

Example: Design of a LP filter design using Bilinear Transformation

• H(s) for a Butterworth filter

(22)

Lecture 21

ICT3105: DSP

• Design of IIR Filter

• Now convert the analog filter H(s) into equivalent digital filter H(z) by applying the bilinear

z-transform-{b

k

}Coefficients

{a

k

}coefficients

b

0

=0.067

b

1

=0.0135

a

1

= -1.1429

a

2

=0.4127

(23)

coefficients-Lecture 21

ICT3105: DSP

• Design of IIR Filter

Direct realization of the design

(24)

Lecture 21

ICT3105: DSP

• Design of IIR Filter

Matlab Code for the BZT Method

References

Related documents

Table 1 shows the characteristics of 83 BRCA-negative early-onset breast cancer patients analyzed for germline TP53 mutations according to their ethnicity, personal and/or

The aims of this study were to evaluate a variety of automated texture features in mammograms as risk factors for breast cancer and to compare them with the percentage

Shore AC, Deasy EC, Slickers P, Brennan G, O ’ Connell B, Monecke S, Ehricht R, Coleman DC: Detection of staphylococcal cassette chromosome mec type XI carrying highly divergent

Two breast cancer cell lines MCF7 (PTPMeg2 was depleted as it was endogenously high) and MDA-MB-231 (PTPMeg2 was overexpressed as it was endogenously low) were used to compare the

The following novel findings are reported in this study: (i) honokiol treatment inhibits malignant properties such as invasion and migration of breast cancer cells; (ii)

This work was supported by the National Cancer Institute, National Institutes of Health under RFA-CA-06-503 and through cooperative agreements with members of the Breast Cancer

The aim of this study was to explore the predictive value of baseline characteristics with changes in physical activity and sedentary behaviour among diabetic and pre-diabetic

Additionally, we carried out some complementary ana- lyses: 1) to explore the relationship between the propor- tion of delayed patients and the in-hospital mortality rate at