2021-11-03 10:43 AM
I am using the LSM6DSL for a high frequency vibration measurement involving the accelerometer sensor only (gyroscope is turned off). Output data rates are variable between 400-3.3kHz. A recent frequency sweep experiment (0-6kHz applied on external speaker) with the 3.3kHz ODR in high performance mode, analog anti-aliasing filter bandwidth set at 1.5kHz and digital filter at ODR/2 as per the datasheet. In the resultant spectrogram, the frequency sweep signal aliases after crossing ODR/2, ODR, and 1.5*ODR multiple times over, with no obvious roll-off as would be expected with analog filter cutoff at 1.5kHz and digital filter at 1.66kHz. Forcing the analog filter to 400Hz and digital filter to ODR/4 does not seem to change anything.
These anti-aliasing filters at minimum ODR/2 should be active at all times, but this seems not to be the case. Is it possible that switching off the gyroscope might be causing issues with the enabling of these necessary filters? Similar aliasing has been noted in experiments with human voice harmonics.
Solved! Go to Solution.
2022-01-10 08:24 AM
Hi @HAAA1 ,
Happy New Year to you too!
The LSM6DSL is actually quite an "old" product, and current state-of-the art devices such as the LSM6DSO(X) embeds an improved analog anti-alias filter in the acquisition chain (see p.28 of LSM6DSO datasheet, not so explicit it has been improved with respect to the elder one, actually).
-Eleon
2021-11-08 12:53 AM
HI @ATzav.1 ,
We are analyzing your results.
Could you share the raw data of this spectrogram?
And are you getting the same results on other samples?
-Eleon
2021-11-08 08:13 AM
Hello Eleon,
Thanks for looking into this. The short answer is yes, we've noticed this across different devices as well as using firmware/drivers developed separately. I have attached three data sets (not letting me upload all at once so will try separate responses):
2021-11-08 08:14 AM
2 - data_constant_sweeps.csv corresponds to a different device and firmware which uses the LSM6DSL, sampling at 1.6kHz. The device was placed on a speaker and 4 linear frequency sweeps were performed. First a sine wave 0-1.5kHz. Then a triangle wave 0-1.5kHz, then a square wave 0-1.5kHz. A fourth sine sweep was performed 0-3kHz. this is followed by a period of various constant tones either satisfying nyquist criterion or not. Spectrogram here:
2021-11-08 08:20 AM
3 - data_1-001.csv corresponds to a data set taken on a pediatric subject. You can see in the attached spectrogram that the harmonics of the voice are reflecting off of the nyquist frequency and aliasing down to interfere with the fundamental frequency of speech.
We have noticed these concerning aliasing signals across several device configurations and separately developed firmware. Hopefully there is a simple reason for this, but we have not been able to sort it out based on documentation alone.
2021-11-19 12:00 PM
Hello Eleon,
Do you have any updates for this? We have since tried simultaneously sampling two LSM6DSL accelerometers at 6.6kHz and inputting a 10-15kHz sweep. As far as the documentation shows, the highest analog anti-aliasing filter possible should be attenuating frequencies >1.5kHz, however there is clear signal aliasing all the way up to 15kHz as if there is no anti-aliasing filter at all.
File attached for upper spectrogram. We would appreciate a response soon as this sensor is deployed in several studies.
2021-11-22 01:24 AM
Hi @ATzav.1 ,
I've submitted the spectrograms and the data to our expert, and they are currently evaluating them.
I'll get back to you as soon as I'll get a feedback from them.
-Eleon
2022-01-06 01:01 PM
Hi,
Are there any updates with regards to this @Eleon BORLINI? If not, are there alternative IMUs we can use which don't have this issue? Thanks in advance and Happy New Year!
Best,
HA
2022-01-10 08:24 AM
Hi @HAAA1 ,
Happy New Year to you too!
The LSM6DSL is actually quite an "old" product, and current state-of-the art devices such as the LSM6DSO(X) embeds an improved analog anti-alias filter in the acquisition chain (see p.28 of LSM6DSO datasheet, not so explicit it has been improved with respect to the elder one, actually).
-Eleon