LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cleaning up a dirty voltage signal.

Solved!
Go to solution
Highlighted

NXG.

 

I have a dirty voltage signal coming into my NI-9205. It is Referenced single ended and we are working on getting it cleaner. Having said that I also know that this is a situation I will be dealing with to one degree or another.

 

I am wanting to do some math to get a moving average or something to "clean up" this voltage signal. My actual signal is yellow below. What I want is something more like the red.

 

I know that there are a lot of prewritten filters (not sure if this is the right term) that will do this for me. I read the docs on and off all weekend and at this point I am pretty confused regarding what is what in regard to cleaning this signal up.

 

I am hoping that I can get some pointers on how people typically clean something like this up.

 

Image 2.png

0 Kudos
Message 1 of 5
(194 Views)
Highlighted

HI flycast,

 


@flycast wrote:

I am wanting to do some math to get a moving average or something to "clean up" this voltage signal. My actual signal is yellow below. What I want is something more like the red.


The red line looks like being the average of all yellow "points" (aka samples)…

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 2 of 5
(184 Views)
Highlighted
Solution
Accepted by topic author flycast

Averaging or Low pass filter is probably what you're looking for.

G# - Award winning reference based OOP for LV, for free! ADDQ VIPM Now on GitHub
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 5
(174 Views)
Highlighted

Ah!

Maybe this one?

0 Kudos
Message 4 of 5
(137 Views)
Highlighted

Hi flycast,

 

this only designs a filter - it isn't a filter…

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 5 of 5
(127 Views)