How can I obtain accurate and high-quality FRF results?
15 views (last 30 days)
Show older comments
Are there any ways to improve my FRF, such as using filters or averaging techniques?
Please find the attached code and data for reference.
Thank you for your assistance!
1 Comment
Mathieu NOE
on 25 Nov 2024
hello Ali
can you confirm that the data contains 5 hits of the same systems ? seems to me you have concatenated 5 hits with different hammer force ?
Name Size Bytes Class Attributes
accel_signal_raw 65536x5 2621440 double
force_signal_raw 65536x5 2621440 double
time_data 65536x1 524288 double
Accepted Answer
Mathieu NOE
on 25 Nov 2024
hello again
I made very few changes to the code - I think that you cannot get any better results if you use only one hit data. To get bettet results you need to have multiple hits so you increase the signal to noise ratio and remove (average) tiny artefacts you randomly generate at each hit.
attached is the code for 5th hit only and this is the result I have obtained
NB that if your purpose is to get the FRF only up to 1 kHz, then there is no need to use a sampling rate as high as yours (100 kHz). Fs = 4 kHz would suffice and that would make your data size smaller and speed up the fft computation (also use power of 2 for nfft).
also the coherence plot for a single hit is always zero - so in this case you cannot really assess the "quality" of your FRF estimation , as coherence is meaningfull only for multiple hits.
my result so far :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1813228/image.png)
3 Comments
Mathieu NOE
on 25 Nov 2024
Edited: Mathieu NOE
on 26 Nov 2024
I changed a bit the last code so you can easily see the effect of windowing - see attachment
- on the force sensor I use a force window that put a big portion of the force signal to zero after the hit
- on the accel signal I use a exp decaying window to reduce the effect of noise of the trailing portion of the signal
this is now appearing in figure(2) : you can see when I force the force signal to zero and also the accel signal go down toward zero a bit faster as before (without window)
be aware that using a lot of exponential decay by windowing appears as more damping in the FRF so use it wisely. If you want to mesure FRFs with very low damping (and capture accurately this damping without using exp window be sure to have records that last enough - without truncating the signal)
resulting FRF with force / exp windows : (looks smoother with a bit more apparent damping)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1813303/image.png)
More Answers (0)
See Also
Categories
Find more on Measurements and Spatial Audio in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!