Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
LabVIEW-Measurements.pdf
Скачиваний:
61
Добавлен:
29.05.2015
Размер:
3.37 Mб
Скачать

Chapter 16

Digital Filtering

Bessel Magnitude

Response

Order = 2

Order = 5

Order = 10

Figure 16-8. Bessel Magnitude Filter Response

Bessel Phase

Response

Order = 2

Order = 5

Order = 10

Figure 16-9. Bessel Phase Filter Response

Choosing and Designing a Digital Filter

Some of the factors affecting the choice of a suitable filter are whether you require linear phase, whether you can tolerate ripples, and whether a narrow transition band is required. Use Figure 16-10 as a guideline for selecting the correct filter. Keep in mind that in practice, you may need to experiment with several different options before finding the best one.

LabVIEW Measurements Manual

16-12

www.ni.com

Chapter 16

Digital Filtering

linear phase?

Yes

FIR Filter

 

 

 

 

 

No

 

 

 

 

ripple OK?

No

narrow

Yes

high order

 

transition band?

 

Butterworth

 

 

 

Yes

 

No

 

 

Elliptic Yes narrowest possible transition region?

low order

 

 

No

 

Butterworth

 

 

 

 

 

 

ripple

No

Inv. Chebyshev

 

 

in PB?

 

 

 

 

 

 

 

Yes

 

 

 

 

ripple

No

Chebyshev

 

 

in SB?

 

 

 

 

 

 

 

Yes

 

 

 

 

Multiband

No

Elliptic

 

 

filter specs?

 

 

 

 

 

 

 

Yes

FIR

Figure 16-10. Filter Flowchart

After you choose the type of filter, you must specify the design parameters. The first filter design parameter to consider is sampling rate. The maximum frequency component of the signal of interest usually determines the sampling rate. A common rule of thumb is to choose a sampling rate that is 10 times the highest frequency component of the signal of interest. The possible tradeoff occurs when the cutoff frequency of the filter must be very close to either DC or the Nyquist frequency. At these points, a filter may converge more slowly. The solution is to increase the sampling rate if the

© National Instruments Corporation

16-13

LabVIEW Measurements Manual

Chapter 16

Digital Filtering

cutoff is too close to Nyquist, or reduce the sampling rate if the cutoff is too close to DC. In practice, a particular sampling rate is chosen and adjusted only if there are problems.

LabVIEW Measurements Manual

16-14

www.ni.com

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]