In need of a little guidance!
I work for a manufacturer of automotive brake pads.
At the end of the production line we have people who's only job is to "Tap test" a pad. This involves hitting the brake pad with a small hammer and listening for the tone.
This is done to check for voids or cracks inside the brake pad. A "bad" pad will have a different tone.
So as a tinkering project I decided why not use a microphone, perform an FFT on the signal, extract the the 1st, 2nd and 3rd fundamental frequency peaks and then compare to a known good pad.
There is a reasonable frequency shift between a good and bad pad.
I got much further along than I expected by using the Teensy 3.6 and the audio library. Great job Paul!!
The pad is normally struck 4 or 5 times. So I plot a max fft output line (magenta) and look for the peaks. The yellow lines are the last few fft's recorded.
From the scale you can see the frequency range I'm working with.
What I need to do is increase the number of bins (currently 1024 at 43Hz increments) to increase my accuracy of frequency measurements.
I have read many posts on this site and not really come up with a definitive answer on how this can be achieved.
I am not a good enough mathematician to understand the in-depth details of the FFT, so any technical help would really be appreciated.
I work for a manufacturer of automotive brake pads.
At the end of the production line we have people who's only job is to "Tap test" a pad. This involves hitting the brake pad with a small hammer and listening for the tone.
This is done to check for voids or cracks inside the brake pad. A "bad" pad will have a different tone.
So as a tinkering project I decided why not use a microphone, perform an FFT on the signal, extract the the 1st, 2nd and 3rd fundamental frequency peaks and then compare to a known good pad.
There is a reasonable frequency shift between a good and bad pad.
I got much further along than I expected by using the Teensy 3.6 and the audio library. Great job Paul!!
The pad is normally struck 4 or 5 times. So I plot a max fft output line (magenta) and look for the peaks. The yellow lines are the last few fft's recorded.
From the scale you can see the frequency range I'm working with.
What I need to do is increase the number of bins (currently 1024 at 43Hz increments) to increase my accuracy of frequency measurements.
I have read many posts on this site and not really come up with a definitive answer on how this can be achieved.
I am not a good enough mathematician to understand the in-depth details of the FFT, so any technical help would really be appreciated.