02-18-2008 08:01 PM
02-19-2008 10:25 AM
02-26-2008 08:01 AM
02-27-2008 06:21 PM
Hi Mahathir,
So, I am unclear as to what you meant when you said that you are using a regular microphone now. Did you mean that you are using a microphone that comes standard issue on a laptop or, for example, a microphone that comes with a webcam and that can be plugged into the microphone jack at the back of your computer? Some details as to which specific mic and how you are connecting it to your PC would be helpful.
Also, you mentioned that you are stuck at software. Can I ask what software you are using and what seems to be the problem? Maybe we can give you some pointers.
As I understand active noise control systems to work, you will be reading a signal from a microphone, performing signal processing at high speeds, and then outputting from a speaker a signal that should provide deconstructive interference and nullify the noise. I might mention, like John did, that your USB-6009 is incapable of hardware timed signal generation. This means that even should you use the USB-6009 to send a signal to an amplifier that will power the speaker, it will most likely not be fast enough to work. With regards to processing speed, you may find your self too slow here too. FPGA programming, which can operate at much faster speeds, is typical for applications of this type.
Hope this information helps, Mallori M.
03-02-2008 07:04 AM
03-03-2008 12:55 PM
Hi
Matathir,
You
would have a difficult time doing active noise control with a PC speaker and
microphone because of the processing required.
A software program would not likely be fast enough to acquire a signal,
process it, and output a corresponding signal in real-time. As Mallori mentioned above, FPGAs are the way
to do this because you can do all the processing in hardware, which is much
faster. Here is a link to more
information on FPGAs:
FPGA-Based Control: Millions of Transistors at Your Command (FAQ)
http://zone.ni.com/devzone/cda/tut/p/id/3357
Also, what would you like to achieve with your active noise control system. These requirements would help me know better what you would like to do.
04-13-2008 10:04 AM
Dear Mr Bongo,
Thanks for your advice, erm can you explain a little bit about why I should FPGA for the active noise control system instead using the DAQ card as a medium in my project.
I am very appreciating your opinion….
Thanks a lot from me…
04-14-2008
09:34 AM
- last edited on
12-16-2008
04:51 PM
by
Support
Hi Mahathir,
The reason that Mr. Bongo and I suggested FPGA for your active noise control system was the fast nature of the application. Being able to record sound, process that random noise information, build a waveform, and then output that signal so as to nullify the noise- all at relatively the same instance in time- will require the speed of hardware timing. FPGA will allow you to put programming on the hardware and run from there, allowing much faster processing speeds than you could get with just your computer processor. This will provide for the near instantaneous output necessary to negate the noise.
While this speed is obviously desirable, the second issue that you are going to run into is that, as can been seen in the USB-6009 specification sheet, the device allows only software-timed updates to its digital to analog converter (DAC) of up to 150 samples per second. This means that your analog output to offset the noise will be non-deterministic, or whenever the processor gets around to it and therefore not exact, and much slower than the execution of hardware timing. In hardware timing, a counter on the DAQ card, typically with an 80 MHz timebase, clocks the samples written by the analog output. In software timing, there is no onboard output timebase, so the output is written with the timing resolution of your operating system, typically only one sample every millisecond.
I hope this explanation helps.
Regards, Mallori M.
04-15-2008 07:52 AM