Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
LABW8 FIR IIR.doc
Скачиваний:
0
Добавлен:
01.03.2025
Размер:
493.57 Кб
Скачать

3. Fir filter design via weighting method.

The useful signal x1 is accompanied with a white noise x2 whose intensity is equal to Ash. For odd variants x1=As·sin(2πt/T) and for even variants x1=As·cos(2πt/T). It is known the order of the filter and sampling time Ts. It is necessary:

  1. to plot useful signal x1;

  2. to generate white noise x2 with intensity Ash;

  3. to plot white noise x2;

  4. to calculate and plot noisy signal x;

  5. to calculate cut-off frequency;

  6. to design two low-pass filter with given windows;

  7. to plot impulse and frequency response of the designed filters;

  8. to perform filtration of noisy signal x by means of both filter and filtfilt operators.

To define a cut-off frequency it is necessary perform normalization procedure. LPF normalized frequency is defined as follows

.

Let us define normalized frequency ωn for Variant 7. According to initial data T=0.001 s and Tc=5 s. thus, normalized frequency is defined as

Variant 1

Rectangular and Hamming windows.

t=20 sec; As=0.75; T=1 sec; Ash=0.3; Ts=0.01 sec; N=10.

Variant 2

Rectangular and Hamming windows.

t=15 sec; As=5; T=10 sec; Ash=0.9; Ts=0.005 sec; N=30.

Variant 3

Rectangular and Blackman windows.

t=30 sec; As=1; T=2 sec; Ash=0.4; Ts=0.01 sec; N=16.

Variant 4

Rectangular and Blackman windows.

t=25 sec; As=7; T=10 sec; Ash=1; Ts=0.001 sec; N=40.

Variant 5

Rectangular and Hamming windows.

t=10 sec; As=1.5; T=2 sec; Ash=0.2; Ts=0.001 sec; N=20.

Variant 6

Rectangular and Hamming windows.

t=30 sec; As=7; T=20 sec; Ash=1.2; Ts=0.003 sec; N=40.

Variant 7

Rectangular and Blackman windows.

t=20 sec; As=3; T=5 sec; Ash=0.4; Ts=0.001 sec; N=20.

Variant 8

Rectangular and Blackman windows.

t=25 sec; As=11; T=30 sec; Ash=1.5; Ts=0.007 sec; N=120.

Variant 9

Rectangular and Hamming windows.

t=25 sec; As=5; T=8 sec; Ash=0.7; Ts=0.005 sec; N=30.

Variant 10

Rectangular and Blackman windows.

t=20 sec; As=0.5; T=20 sec; Ash=0.1; Ts=0.002 sec; N=60.

Example 3

Let us consider a procedure of low pass Butterworth filter design that meets the following performance requirements: Hz, Hz, maximum pass band ripples, , dB, stop band ripples , dB. By defining filter specification within Digital Filter Design Block parameters, we obtain the Butterworth LPF of the order, n=1. The result of appropriate filter functioning is given in Fig.8. The filter zeros and poles location is given in Fig.9.

Figure 8 Simulation results

Figure 9 Filter Zero-Pole Plot

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