LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

anyone help "comb filter"

first,i have to say sorry. my english is very poor.

 

there is my problem : i want to use comb design toolkit for my project.

 

i attach the vi file. how should i change my input like normal filter use "Waveform" input and not like ex:f0,Df,Ab.

 

anyone help? please!!

 

 

我英文敘述的很差,我想表達的是,

 

我要利用在LabVIEW內的comb design toolkit來製作comb filter,

 

我在下面有附檔,上方是comb filter的元件,下方是正常的filter,

 

而在輸入端方面有問題,我想要像是一般的filter是利用波形來輸入並且濾波,

 

而不是輸入參數f0,Df,Ab,Sample Frequency之類的來當輸入,

 

請問有人可以幫忙嗎? 謝謝

 

0 Kudos
Message 1 of 2
(2,615 Views)

The one VI you referring to defines the comb filter you want to use.  The inputs are as follows

 

Sampling Frequency = rate at which the data you are going to filter has been sampled at

f0 = The spacing of the notches in the spectrum

Df = the spectral width of the notches

Ab = the average depth of the notches

 

For example, you could make a comb filter to filter out 60 Hz and all harmonics of 60 Hz.  The parameters could be as follows:

 

Sampling Freq = 60000 Hz

f0 = 60 Hz

Df = 1 Hz

Ab = 20 dB

 

I simulated a 10 Hz Sine Wave with 60 Hz Square Wave noise on it.  Below are images of the block diagram and the front panel.

 

Comb Filter BD.png

 

Comb Filter FP.png

Randall Pursley
0 Kudos
Message 2 of 2
(2,454 Views)