LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DC Amplitude

Hi 

 

I use labview and mydaq board to read force from load cell and signal conditioner. to stabilize the reading I use a moving average filter, it works well but the problem that the signal amplitude level jump in about 2-3 mv as shown in the attached picture 

 

is there a filter or idea that let me stabilize the level

 

thanks

111.png

0 Kudos
Message 1 of 3
(2,407 Views)

Thers's not much you can do about those sudden jumps.  A moving average is a good way to take care of this issue.  Something you might want to try is to use less samples in your moving average.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(2,395 Views)

Are you certain that this is not a real measurement of something which is happening in your mechanical system? The signal seems quite stable within each segment.  Try replacing the load cell with a fixed resistor bridge to see if the jumps occur.  That will isolate load cell/mechanical system effects from DAQ system effects.

 

A better approach than a moving average (or in addition to it) might be to identify the jumps and process the data on either side of the jump separately.  When you start the moving average, initialize it with the first value in the segment rather than zero.  There is still a transient effect but it would likely be so small as to be nearly unnoticeable.  Consider that the first element in the image you posted is ~1/4 mV above the mean for the first segment.  If the moving average had been initialized to that value, no output from it would have been outside the peak to peak noise over the first 0.09 X-axis units.  The jumps are bigger than the peak to peak noise so they should be fairly easy to detect.

 

Lynn

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