LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unit of Power Spectrum y-axis

Solved!
Go to solution

Hello

 

 

I am acquiring acceleration from an IEPE accelerometer. Units of the y-axis of the time domain signal are in (g). The time domain signal is then fed into the Spectral Measurements Express VI to get the power spectrum of the signal. In the Spectral Measurements Express VI, I set the results to Linear and the window to (Hanning). My very basic question is: what will be the Units of the y-axis of the power spectrum with linear option and how can convert them back to the unit (g). If you provide an example calculation that would be very appreicated. A shot of my simple code is attached.

 

Regards

 

0 Kudos
Message 1 of 10
(8,138 Views)

Hi wisjaf12,

 

Here is a link to a page that describes what the power spectrum of a signal is: http://digital.ni.com/public.nsf/allkb/696CB6C5C815B64B862574E20058ACE3?OpenDocument

 

According to the article the power spectrum is just the average of the FFT which in the frequency domain means the square of the FFT's magnitude. The units of the magnitude of an FFT correspond to the units of the time domain signal. If the signal that is passed into your Spectral Measurements Express VI is in the units of g-force then the power spectrum would have the units of g-force^2.

 

Regards,

Noah | Applications Engineer | National Instruments
0 Kudos
Message 2 of 10
(8,091 Views)

Door-C

I would like to thank you for your interest in my question. However, when I take the square root of the power value it does not give me the exact value of the amplitude of the time domain. Based on your post, the unit of the power is g^2. So when I take the square root of that value it should give me back the amplitude value of the time domain (g). Do you think this discrepancy is caused by windowing?

0 Kudos
Message 3 of 10
(8,067 Views)

Spectrum with Peak Units.png

 

Spectral Measurements Units Conversion.png

 

I suspect you had rms instead of peak units, and that is why you didn't see the amplitude (implies peak units) you expected in the spectrum.

Doug
NI Sound and Vibration
0 Kudos
Message 4 of 10
(8,049 Views)
Solution
Accepted by topic author wisjaf12

Spectrum Unit Conversion VI can be found in the LabVIEW palettes: Functions>>Signal Processing>>Spectral Analysis

 

Spectrum Unit Conversion.png

Doug
NI Sound and Vibration
0 Kudos
Message 5 of 10
(8,038 Views)

Doug

I really really apprecuate your effort which was very helpful. Can you please attach this VI for me because I just need to make sure of something.

 

Best regards

0 Kudos
Message 6 of 10
(8,033 Views)

The block diagram screenshot above is a VI snippet. Save the *.png to your computer and then drag the file onto a block diagram in LV 2012.

Doug
NI Sound and Vibration
0 Kudos
Message 7 of 10
(8,023 Views)

Doug

I am using LV 2011. If you could attach the VI in LV 2011 file, I would appreciate it. Many thank for your help.

Best Regards

0 Kudos
Message 8 of 10
(8,020 Views)

Saved for LV 2011; sorry for delay.

Doug
NI Sound and Vibration
0 Kudos
Message 9 of 10
(7,978 Views)

Thank you So much Doug. I appreciate your help.

0 Kudos
Message 10 of 10
(7,976 Views)