How can I obtain accurate and high-quality FRF results?
조회 수: 15 (최근 30일)
이전 댓글 표시
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
Mathieu NOE
2024년 11월 25일
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
채택된 답변
Mathieu NOE
2024년 11월 25일
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
Mathieu NOE
2024년 11월 25일
편집: Mathieu NOE
2024년 11월 26일
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)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Measurements and Spatial Audio에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!