LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Noise in data

Solved!
Go to solution

Hi,

 

I currently have a CDAQ (NI 9132) and 3 cards connected collecting data via labview.

 

However the data seems to have show quite a bit of noise (see attached). The chart is from excel as the application is pretty basic and logs data to a tdms file only

 

My question  - is there something that can be done within the program to eliminate the noise? Why is the noise there? Is it because of wiring issues? The equipment we are connected to is pretty old (25+years) so a few extra counter/relays have been added to obtain the 4-20mA signals. Could it be due to that?

 

Any help of links to articles is much appreciated. 

 

 

 

 

0 Kudos
Message 1 of 5
(3,095 Views)
Solution
Accepted by topic author tr_hashim

Spikes can occure due to many reasons... and analysing the reasons will lead to more insigths on your setup!

 

I suggest a median filter with a length of 11, (left and rigth rank = 5), but try different lengths

apply it to all chanels and the group delay doesn't harm you

 

 

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 5
(3,060 Views)

Additionally, I would recommend physically conditioning the signal as much as possible before reading it, to avoid transients from destroying your instruments.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 5
(3,037 Views)

 

4-20mA if wired correctly should not be badly effected by a noisy environment and the averaging recommended by others will smooth things out a lot.... but...

 

The magnitude of those spikes could be a sing that CMR of your input device is being exceeded. In that case, you need to pay attention to the grounds since just one channel going out of the CMR range will/can drive the signal conditioning out of its operating range.

 

Disconnecting one channel at a time may tell you something as well.

 

Ben

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 4 of 5
(3,028 Views)

Is that a time domain signal or has it been FFT'd?

0 Kudos
Message 5 of 5
(2,988 Views)