NI Home > Community > NI Discussion Forums

NI Labs

Reply
Member
Kevin Wang
Posts: 10

Re: Please check my application VI ... I am using Adaptive Filter VIs

Hi Gaurav,

Thank you for using our product. I have read your VI. You might need to modify your codes at following several places

For the adaptive filtering part,

1. You can't just provide one point of data for adaptive filtering VIs.

2. For noise cancellation applications, the noisy singal is connected to d(n), the noise reference signal is connected to x(n), the error signal is the filtered signal.

For signal genreation part.

1. You might use Sound File Read Simple.vi to read .wav file.

2. The output data type of noise_ref should be array.

3. I also modified the noise generationscripts. You should provide the noise before FIR filtering as the noise reference.

I am not sure whether you are using LabVIEW 8.5. So I just attached the screenshot of revised VI for you. Feel free to let me know if you have any more questions.

Thanks,

Kevin

 

 

Member
indicates required information.
Posts: 6
0 Kudos

Re: Welcome to Adaptive Filter Start-Up Kit Discussion Thread

Hi Kevin Wang, thank you for Adaptive filter

Can you please check this? My application is noise cancellation using FIR LMS algorithm.

i want output signal a same input signal. How i modify it ?

Thank you

Member
Kevin Wang
Posts: 10
0 Kudos

Re: Welcome to Adaptive Filter Start-Up Kit Discussion Thread

Hi indicates...

I have following suggestions for your simulation example.

1. You should not directly connect the noise to x(n). Actually if you can directly acquire the noise, you can just subtract it from noisy signal. You don't need the adaptive filter anymore. You need to provide the noise reference for adaptive filter. You can refer to my attachment for more info.

2.  The adaptive filtering will just help you to improve the signal to noise ratio. In other words, the SNR of filtered signal will be better than that of noisy signal. And the filtered signal will never be exactly as same as the original signal.

Since I am not sure the version of LabVIEW you use. I just attach the screenshot of my revision for you. You can easily modify your example with it.

Feel free to let me know if you have any more questions.

 

Member
indicates required information.
Posts: 6
0 Kudos

Re: Welcome to Adaptive Filter Start-Up Kit Discussion Thread

Hi Kevin Wang,

Thank you for Adaptive filter noise.jpg

Can you please check this?

i want measure SNR output signal and SNR input signal, and to compute Mean SNR in 100. How i modify it ?

i modify it but it is not correct , Show VI attachment, Should i modify it?

Thank you

w
Active Participant
sachsm
Posts: 767
0 Kudos

Re: Welcome to Adaptive Filter Start-Up Kit Discussion Thread

Could you tell me how to get in touch with the folks who developed the HRV (Heart Rate Variability) toolkit? I am interested in obtaining the source code. Thanks, Mike Sachs mike.sachs@gmail.com
Member
carlfield
Posts: 3
0 Kudos

Re: Welcome to Adaptive Filter Start-Up Kit Discussion Thread

Excellent Job! I can't believe that this toolkit only use 3 polymorphic VI's  which are used for the adaptive filter design . Especily ,the examples are very good: Learning Curve PrintLearning Curve Print can be used for  SI,  Adaptive Notch Filters can be used for "multi-source noise" cancellation, Adaptive Noise Cancellation can be used for engineer applicatipn after simply modification.

I find the that ADF FIR LMS Filtering (Multi Channel PtByPt).vi used in Adaptive Notch Filters  is not added(packed) into the ADF Filtering.vi(polymorphic VI).

carlfield wang

 

Member
carlfield
Posts: 3
0 Kudos

Re: Welcome to Adaptive Filter Start-Up Kit Discussion Thread

Excellent Job! I can't believe that this toolkit only use 3 polymorphic VI's  which are used for the adaptive filter design . Especially ,the demos are very good: Adaptive Notch Filters can be used for "multi-source noise" cancellation, Adaptive Noise Cancellation can be used for engineering applicatipn after simply modification.I find  that ADF FIR LMS Filtering (Multi Channel PtByPt).vi used in Adaptive Notch Filters  is not added(packed) into the ADF Filtering.vi(polymorphic VI).
没想到这个工具包竟然只用了三个多态VI,就可以完成自适应滤波器的设计工作。演示程序 Adaptive Notch Filters 中使用ADF FIR LMS Filtering (Multi Channel PtByPt).vi 估计该添加到 多态 ADF Filtering.vi之中去的吧!很好,很好用的一个工具包,谢谢!
Member
marp84
Posts: 152
0 Kudos

Re: Welcome to Adaptive Filter Start-Up Kit Discussion Thread

can you send me the ADF FIR LMS Filtering addon?

tanx