LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Filter signal with noise values... help!.

Hi guys,
 
I have the problem this signal have noise from the sensor. I get the readings and i need smooth this values, filtering like average values, but the problem is BEFORE I need remove the the bad pulses of signal, I cant loss any value, since they are related with another array, and I was thiking in change the bad values to the previous index or average between previous and next value on array...
But i got problems, since I need to do it manually, and sometimes the signal takes 2 bad values continued or several, or bad value positive and bad value negative. The idea is use any threstld and i dont care if this values are the average or simply the last good value on normal curve... I tried a vi, but it is very simple and i got problems with another signals, when the error values appear together...
 
I would like to know if exist any easy way to get it... The key is I can't remove any value, it would be easy to do... 😉
 
Any help or advise??.
I attached the vi and signals files...
Regards, Fonsi.
0 Kudos
Message 1 of 3
(2,761 Views)

Any advise?.  Altenbach, can you help me??.

Regards.

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

A good way to remove spikes or bursts from a signal is Median Filtering.  You can use Median Filter.vi to do this.

Good luck!

Message 3 of 3
(2,729 Views)