Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

question about noise filtering

I'm doing a pulse count on a fairly noisy square wave signal with a cDAQ-9172 and a 9401 module. The built-in filter seems to work very well at a minimum pulse width of about 6 microseconds. However, I was wondering if the filter is capable of rejecting "inverse pulses" as well. In other words, if the signal is high and some noise causes it to drop to low and come back to high in less than 6 microseconds, will the filter reject that? If not, the counter would see two pulses separated by a very short time, which, of course, is inaccurate.
 
Based on my results so far, either the filter does reject these "inverse pulses" or there aren't many that drop below the threshold. Even so, it's important that these measurements be accurate basically to the exact number, so it would put me at ease if somebody knew the answer to this question.
 
If my wording was a little unclear, I'd be happy to try to rephrase it or maybe include a sketch of precisely what I'm talking about.
0 Kudos
Message 1 of 2
(3,572 Views)
Hi Jss888,

The NI-9172 Counter Filters are documented in the User Manual, this can be found here: http://www.ni.com/pdf/manuals/371747d.pdf.
These are intended for debouncing noisy digital signals, exactly the situation you describe above.
In the case where the line is normally high and noise is causing low-going glitches to appear, if you have the filter
configured for 6uS, then the filter will reject low's that stay low for less than 6uS.

Please reply back if this explanation and the content in the user manual is insufficient.

Have a great weekend,

MatthewW
Applications Engineer
National Instruments


0 Kudos
Message 2 of 2
(3,546 Views)