2020-05-23 08:51 AM
Hi guys,
I would like know is there is any skew between the acceleration samples of each axe, i.e. ax, ay, az. In other words, if the acceleration components (ax, ay, az) are sampled at the same instant or in sequence. In this last case, I would like to know which is the skew time between consecutive samples of acceleration. By the way, I did not found any indication of this issue nor in the data sheet nor in the application notes & resources.
Thank you to every one that will read this and possible will give me an answer!
Guillermo
2020-05-25 08:32 AM
Hi @Guille , the mechanical sensor is connected to the ASIC (electrical processing of the MEMS signal) with two wires each axis, and the three axes value are sampled together by the sensor internal ADC. They are serialized only after the digitization stage, so the 3-axis data refer to the same time-frame and the ODR frequency is the quantum in time of the entire sensor. Here below the sensor scheme. Regards
2020-05-25 11:31 AM
Hello Eleon, thank you for your answer.
So I have to understand that there are actually 3 DACs on the ASIC, one for each axis?
Rgds,
G
2020-05-25 11:32 AM
Hello Eleon, thank you for your answer.
So I have to understand that there are actually 3 DACs on the ASIC, one for each axis?
Rgds,
G
2020-05-26 12:44 AM
Hi G, it is basically a 3-channel ADC (SAR). Regards
2020-05-26 06:08 AM
Well... I checked in more depth... the ADC channel are muxed, in a way like one below depicted... but the running speed of the SAR ADC is much higher than the ODR (in the order of magnitude that the SPI clock frequency), and this is especially valid for the IIS3DHHC device which is designed for precision inclinometer applications (so it is focused on quasi-static acceleration detection). Regards
2020-05-26 09:07 AM
Ok, thanks again Eleon. But so how can I estimete the skew between 2 consecutive channels? How many SPI clock cycles I have to consider?
Rgds,
G
2020-05-28 11:06 PM
The internal clock is 1MHz, so for each channel we have 333kHz available (and being the axis data composed by 16 samples, we get 20.8kHz). The ODR is 1.1kHz, meaning that the maximum detectable theoretical frequency is max_ODR/2 = 550Hz. For this reason, there are 20.8kHz/550Hz = 40 samples contributing to one dataout sample at max ODR. You will have roughly a phase error of 360/40 degrees = 9 deg on the maximum detectable frequency (which is however lower than max_ODR/2, since the IIR BW is 440Hz). Regards
2020-05-29 03:42 AM
Hello Eleon,
thanks, your answer contains a lot of information. So let me check if I am right:
Can you confirm all of this?
I am asking all this information because for our application is important to estimate the skew in sampling times of each axis.
Rgds and thank you for your support.
Guillermo
2020-05-29 07:24 AM
Hi Guillermo, yes I was referring to the "samples" as bits, having in mind the "sample&hold" operation for some reason... your calculation is almost right, I missed a 3 divisor (3 axis are outputted together every 1/550Hz time). But which is your application to need this particular request? Regards