Open sylvanoMTL opened 3 months ago
great! PRs welcome
OK, will do it once I have made enough progress.
I have implemented the notch filter on my branch, but I am struggling testing the effect. I have tried to generate vibrations with some equipment I have ICM on a fan frame and speeding the fan at a specific RPM to have a pure sinus excitation. If anyone could suggest a low cost experiment with affordable components, I would be please to have a try with it. (e.g. shaker + accelerometers) Otherwise, i guess the implementation I have made is correct. I am just not able to demonstrate the effect of the Notch filter.
I am working on improving the library. I have already implemented methods to set offsets (which allow to compensate the raw data directly on the chip) and now working on the Notch and AAF filters, p26-27.
I have written the snippet below, just in case (I have not tested it yet), it might need some verification on the bitshift operations