03-11-2023 07:02 PM - edited 03-11-2023 07:04 PM
Hello
I am analyzing the accelaration of a free vibration of a concrete column. This is the signal.
This gives the Power Spectrum.
and this the STFT
What's my problem?
Well, in the Power spectrum you can see a large component at about 3 Hz (Fundamental Frequency) and this sameone, in the STFT, you can barely see it
My question is, why does this happen?
Another problem i have, related to the provious one, are the type of spectrum (Amplitude or Power) and values (RMS or Peak) that the STFT gives.
I read the LABview Help thousand of times but it doesn't say anyhing about that. I suposse that it gives Power Spectrum RMS. Am i right?
03-11-2023 09:17 PM
We have absolutely no idea what parameters you are using. Maybe attach your VI and your data so we can analyze what's happening.
(Btw, it's LabVIEW, not LABview.)
03-11-2023 09:50 PM - edited 03-11-2023 10:10 PM
Change the Menu to "Read Measure" and put "100" in Sensitivity which is that of the accelerometer.
Measure data: Samples=10000 , Sample Rate = 1000 Hz
03-12-2023 10:17 AM
Sorry, I don't have a computer with the advanced signal processing toolkit in LabVIEW 2021. I only have 2020.
Can you do he following:
Since the STFT uses a small sliding window, very low frequencies are masked, of course. You cannot tell the frequency of a banana.
03-12-2023 12:36 PM
I did what you asked, hope all is well.
03-12-2023 01:00 PM - edited 03-12-2023 01:02 PM
Sorry, I don't have the vibration toolkit so I cannot run the upstream code. Please add an indicator (right-click wire...create indicators), run the VI, and turn the indicator into a constant. Save for previous and attach once more.
(I cannot tell what determines the loop rate. It is not reasonable to burn the CPU forever repeating the same code over and over with the same inputs.)
03-12-2023 01:27 PM
You have 1000 points per second, so a 3Hz signal has a period of ~333 points. Your window is a 512 point Blackman which is much (much!) less than 333 points at half height, so your 3Hz signal ends up as banana with no full cycles remaining.
03-12-2023 01:27 PM
There, thanks for tips.
03-12-2023 02:22 PM
Tell me if im correct, what you are telling me is this
What would be the solution? Decrece the Sample rate?
03-13-2023 10:23 AM
@FCance wrote:
There, thanks for tips.
Sorry, this is again in LabVIEW 2021 so I cannot open it on my current computer (despite the file name).
One possibility would be to increase the window size, but then you lose time resolution. I am sure there are more adaptive solutions, but I haven't studied it. How about something based on wavelets? Do you have the advanced signal processing toolkit?