LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Filter Frequency Fluctuations

I have a RPM sensor that outputs 0 - 5V pulses to my DAQ.  I am having trouble with fluctuations in my frequency output. I confirmed with an oscilloscope that the sensor is working with minimal noise, so I know the noise is coming from within my LabVIEW program. Does anyone have any suggestions as to how I can minimalize the noise?

 

Thanks

0 Kudos
Message 1 of 11
(3,801 Views)

Have you tried plotting the data before the Timing and Transition Measurements express VI? What is the purpose you are trying to get out of this express VI? Try measureing the frequency in Test Panels within NI Measurement and Automation explorer. Do you still get jitter?

Applications Engineer
National Instruments
0 Kudos
Message 2 of 11
(3,767 Views)

What speed is your system running? How many pulses per revolution does your sensor generate? What is the minimum pulse width at the maximum speed?

 

And, as Holly asked, please show us the the data coming from the DAQmx Read.

 

Lynn

0 Kudos
Message 3 of 11
(3,763 Views)

Before the Timing and Transition Measurement express VI the data plots just fine.  The only purpose of the express VI is to obtain the frequency of the signal, is there a better way to do this??  I did measure the frequency using the test panels and its exactly what it should be.

0 Kudos
Message 4 of 11
(3,735 Views)

My system is running between 400 - 1800 RPM with one pulse per revolution

0 Kudos
Message 5 of 11
(3,734 Views)

Maybe there is jitter thrown in by the automatic LabVIEW conversions(indicated by the red conversion dots on the input terminals. I would try to Convert to Dynamic Datatype (the datatype that express VIs use) and then convert from Dynamic Datatype when you read the data. I would also recommend wiring your error wires through the express VI to see if there are any errors being thrown.

 

Please let me know if this helps you out!

Applications Engineer
National Instruments
0 Kudos
Message 6 of 11
(3,719 Views)

I tried what you said but I am still getting significant fluctuations in the frequency.  The signal coming in is very clean but for some reason labview is not able to make sense of it.  What do you suggest next?

0 Kudos
Message 7 of 11
(3,705 Views)

Which test panel are you using in Max that is giving you the frequency measurement you would like? As I re-read your first post, it sounds like you are using a digital signal (0-5V pulses) and it would make more sense to use a Counter Frequency task (rather than Analog Input) to measure the frequency. 

Applications Engineer
National Instruments
0 Kudos
Message 8 of 11
(3,700 Views)

I am just using an analog input test panel, my hardware only allows for analog inputs.  My I/O is NI 9207.

0 Kudos
Message 9 of 11
(3,695 Views)

I don't see anyplace with the test panel that returns the frequency. Please create an indicator for the DAQmx Read, run the VI until you see data, go to Edit>Make Current Values Default, save the VI, attach the saved VI.

0 Kudos
Message 10 of 11
(3,690 Views)