From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Spectrum anaysis of an accelerometer

HI,

 

I have a signal from an accelerometer which is mounted on a rotating part  ( 2000 rev/ min = 33.33 Hz). After filtering the signal and deducing the displacement by double integration , I tried to do a FFT spectrum analyzer , but the result is wrong. Normally I should have the first peak at 33.33 Hz (1 X) , but the result shows a noise between 5 and 40 Hz!

 

Here is my program VI and the TDMS file.

 

Could someone help me please!

 

Download All
0 Kudos
Message 1 of 9
(3,245 Views)
The first thing is to look at the accelerometer data in the time domain to check noise levels. Accelerometers are notorious for noise problems.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 9
(3,239 Views)

Hi Mike,

 

Thanks for your answer. I am a beginner in labview and I don't know how to check noise level of my signal and how to remove it . Could you help me please 🙂

 

0 Kudos
Message 3 of 9
(3,228 Views)

It's not a LabVIEW thing; rather it's understanding how to filter an accelerometer signal - something best done in hardware.

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.
Message 4 of 9
(3,223 Views)
You are acquiring the data in the time domain. Graph the data coming from the DAQ.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 5 of 9
(3,219 Views)

Hi Bill

 

Is that mean that my VI program is correct and that the problem should be in the hardware ?

0 Kudos
Message 6 of 9
(3,207 Views)

Hi Mike

 

Here is my graph in the time domain!

0 Kudos
Message 7 of 9
(3,204 Views)

I'm a little confused.  I plotted the data from your TDMS file, which includes time stamps, and could see a prominent oscillation at 3KHz.  This is pretty high for something that you think has a fundamental at 33.3 Hz (two orders of magnitude higher, in fact).

 

So now it might be important to ask "Just what are you measuring"?  You talk about an accelerometer, but say nothing about whether it is a linear or angular accelerometer, and if linear, how it is mounted on the motor, whether it is on the "stationary" part of the motor (and how it is oriented with respect to other accelerations, such as the more-or-less constant acceleration due to gravity) or on the rotating part (where its orientation with respect to the axis of rotation and the orientation of that axis with respect to gravity are important factors).

 

Sometimes when you are dealing with data and trying to figure it out, it helps to look at the data (which is what I just did).  Plot the data.  See what happens when you take the frequency response of the data in its "raw" state (it would be very interesting to see if you get most of your power at 3KHz -- please report back to us).

 

As I'm sure you know, integrating a signal emphasizes the low frequency components while attenuating those at higher frequency -- indeed, a first-order low-pass filter is sometimes called a "leaky integrator".  Before turning an integrator loose on your data, you should see what is there first.

 

Bob Schor

0 Kudos
Message 8 of 9
(3,194 Views)
Ewwwwwww... No wonder you aren't seeing anything. Your first job is to clean up all that noise. As Bob indicated you need to bandlimit your input. A simple lowpass RC filter will work for that. You also need to look at how you are connecting to the accelerometer.

How are you connecting to it?
What is your sample rate?
What DAQ device are you using?
How far is your computer from the accelerometer?
What is your engineering background?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 9 of 9
(3,169 Views)