LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to making smooth the analog input.

I am trying to get an analog input from a device (torque meter). sending trough compactRIO and using NI 9025 analog module. can get the signal, but too noisy. so how to make it smooth. any suggestion what to use and what to do. please
0 Kudos
Message 1 of 4
(5,049 Views)

can any one help. give some suggestion, what should be used, how.

sorry , I am still new in Labview and compact RIO

0 Kudos
Message 2 of 4
(5,032 Views)

Hi MSyafiq,

 

according to your (hard to read due to scaling) PDF you use a TWL with an iteration time of 200ms, so you get 5 samples/second. Quite slow...

 

To smooth your signal you may apply a running average filter, like is provided by PtByPtMean. You may apply some hardware low-pass before even wiring the signal into your cRIO module...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 4
(5,007 Views)

I wonder if you are getting some power line frequency interference. Because of the apparent low sampling frequency the power line signal would be aliased.  If you can increase the sampling rate to several hundred samples per second or higher you could determine the freqeuncy of the interference.

 

Once you know what it causing the interference, it will be easier to determine how to eliminate or reduce it.  If the two pulses which go below zero about two represent a change in the torque, it is possible that the frequency content of the desired signal and the interference are in the same band. That will make standard smoothing or filtering methods much less effective.

 

Lynn

0 Kudos
Message 4 of 4
(4,939 Views)