02-12-2007 05:06 AM
Hi Travis,
It is been long since i last message u. Hope you are doing good.
02-13-2007 03:50 PM - edited 02-13-2007 03:50 PM
Message Edited by MickeyD on 02-13-2007 03:50 PM
02-13-2007 08:06 PM
Hi Michael,
I verified the high frequency sound by listening to it. It is somehow similar to the case when i run the program attached below. When i set the cycles per buffer to 1, i can clearly hear the 200Hz sine wave only. However, when i set cycles per buffer to 2, i can hear the 200Hz sine wave with an additional high frequency sound. May i know the reason why is this so? Hope this can help solve the previous problem that i sent early.
Have a nice day,
Paul
02-13-2007 08:09 PM
Hi Michael,
I verified it by simply listening to it. It is somehow similar to the case when i run the attached program below. When i set the cycles per buffer to 1, i can clearly hear the 200Hz sine wave. However, when i set cycles per buffer to 2, i can hear the 200Hz sine wave with an additional high frequency noise. May i know the reason why? Hope this can help solve the previous problem that i sent early.
Have a nice day,
Paul
02-15-2007 09:08 AM
02-20-2007 11:51 PM
03-13-2007 04:18 AM - edited 03-13-2007 04:18 AM
Hi, QZ
I'm a signal processing software engineer of NI. I'm also working on active
noise control with adaptive filters recently just as you do. And I have also
experienced with all the same problems when I build a real demo using NI
hardware. The followings are my experiences to build ANC system:
1. Use LabVIEW RT, do not use desktop LabVIEW. Unlike typical control
application with sampling rate only as high as several hundred Hz, ANC works at
much higher sampling rate (at least 5KHz) to acquire the sound data. As a
result, time deterministic is very important.
2. Hardware timed single point timing
is very CPU consuming, you need to use real time controller at high throughput
like PXI-8196 or the latest PXI-8106 with Intel core2 dual processor.
3. Do not use DSA card like 4461/4472 to acquire
sound data. For ANC, the delay between input and output will be as small as
possible in order to make the control speaker keep up with the primary noise.
Hardware single point timing is the best timing mode for you. But DSA card do
not support hardware single point timing for you in DAQmx currently. In addition,
there exist several samples input delay because of the input digital/analog
anti-aliasing filter of DSA board. The followings are from 4461 user manual
addressing this issue:
The input filter delay, or time required for digital
data to propagate through the ADC digital filter, is 63 sample clock samples.
For example, a signal experiences a delay equal to 6.3 ms at 10 kS/s. This
delay is an important factor for stimulus-response measurements, control
applications, or any application where loop time is critical.
4. Because you can not use 4461/4472 for
AI/AO, multi function DAQ will be your nature choice. I use PXI-6281 to build
my ANC system. 6281 is a high accuracy M series multifunction DAQ with 16
channels AI to acquire acoustic signal and 2 channels AO to drive the control
speakers. In addition, it has onboard analog anti-aliasing filter which is also
very important to acquire the weak microphone signal corrupted by high frequency
noise. To use 6281 for ANC purpose, you should pay attentions to the following
issues:
5. You can also consider to use Compact RIO platform. The followings are the advantages of Compact RIO for ANC applications:
帖子被pine在03-13-2007 06:22 PM时编辑过了
帖子被pine在03-13-2007 06:24 PM时编辑过了
03-25-2007 09:30 PM - edited 03-25-2007 09:30 PM
Message Edited by hex on 03-25-2007 09:31 PM
03-27-2007 06:45 AM
03-27-2007 08:01 PM