LIS2DTW12 accuracy & stability in an inclinometer application
I am using the LIS2DTW12 accelerometer in an inclinometer (tilt & roll) application. We have encountered some issues with accuracy and stability of the device in this application. All tests were performed with the device mounted statically, approximately horizontal (though the package is upside down) and at constant room temperature. The LIS2DTW12 is running at 3.3V. STMicro factory calibration of this device appears to be performed at 1.8V, but I expect any deviation due to VDD would result in different offset &/or gain (which would be static in a horizontal orientation with constant temperature). The LIS2DTW12 is configured for I2C comms, 2g full-scale, 12.5Hz, 12-bit (LP Mode 1), with BDU set (output not updated until MSB & LSB read). A soft reset is performed on power up. Initialization was tried both with & without the 'BOOT' bit set (forced reload of factory trimming).
Monitoring over hours (see graphs below), we see both 'dithering' (small, high frequency changes of +\- low single digit counts), and 'wandering' (more significant changes with a period of hours, with counts spanning 10s of digits). The 'dithering' is expected and well within specifications. The 'wandering' is higher than we'd like, but does not exceed specified typical (4.5mgs RMS) in LP Mode 1.
LIS2DTW stability test - hours
Most important though, we've logged significant discontinuities when the device is powered down, left for some period of time (hours/days) then powered back up (see graphs attached, the device was powered down midspan for more than 24hrs). THE DEVICE WAS NOT MOVED. If the device is powered down and then powered back up shortly afterward (an hour or two), there is no significant jump in readings. For this reason, I suspect this discontinuity may be related to the 'wandering' shown in the earlier graphs. I'm looking for any explanation of what might cause this significant change in readings, and what can be done to fix or at least mitigate it.
LIS2DTW power cycle discontinuity
A second issue is the (unexpected) tracking apparent between the Y & Z axes. The device is mounted parallel to the horizontal plane. I would expect the MEMs implementation of X & Y would be similar, and Z would be the odd axis (i.e., etched to the silicon in a mechanically different implementation). Since Y & Z both jump together at the 'power cycle discontinuity', it would appear they are somehow coupled, and this might provide a clue to the source of the jump.
Thanks & regards,
R. Main.
