Part Datasheet Search > ST Microelectronics > LIS3MDL Datasheet PDF > LIS3MDL Features Description Parametrics Pages 1/6
LIS3MDL
Price from AiPCBA
LIS3MDLDatasheet PDF
Page:
of 6 Go
If the format of the manual is confusing, please download and read the original PDF file.
August 2016
DT0059 Rev 2
1/6
www.st.com
Ellipsoid or sphere fitting for sensor calibration
By Andrea Vitali
Main components*
LSM303AGR
Ultra compact high-performance e-compass: ultra-low-power
3D accelerometer and 3D magnetometer
LSM6DS3
iNEMO inertial module: 3D accelerometer and 3D gyroscope
Purpose and benefits
This design tip explains how to compute offsets, gains, and cross-axis gains for a 3-axis
sensor by performing a sphere (ellipsoid) fitting. The technique is typically used to calibrate
and compensate magnetometers, but it can also be used with other sensors, such as
accelerometers.
Benefits:
Added functionality with respect to calibration provided by the MotionFX library which
only provides offsets for the Magnetometer.
Short and essential implementation, which enables easy customization and
enhancement by the end-user (osxMotionFX is available only in binary format, not as
source code)
Easy to use on every microcontroller (osxMotionFX can only be run on the STM32 and
only when the proper license has been issued by Open.MEMS license server).
Algorithm description
Measurements are taken on a number of positions (N) and combined to find the unknowns
(offsets, gains and cross-axis gains).
For 6-tumble calibration, positioning the sensor accurately is required. However, for the
ellipsoid fitting described here, there is no need to know the true stimulus of the sensor, as
the only requirement is that the modulus of the true stimulus be constant (square root of
sum of squares of X, Y, and Z).
For the case of the magnetometer: in order to measure only the earth magnetic
field, any other spurious (and often time varying) magnetic anomalies must be
absent; the modulus of the true stimulus is then the modulus of the earth magnetic
field

LIS3MDL Documents

ST Microelectronics
32 Pages / 1.53 MByte
ST Microelectronics
9 Pages / 0.2 MByte
ST Microelectronics
28 Pages / 1.73 MByte
ST Microelectronics
23 Pages / 0.57 MByte
ST Microelectronics
6 Pages / 0.4 MByte

LIS3 Documents

ST Microelectronics
Accelerometer Triple ±2/±4/±8/±16g 1.71V to 3.6V 16Pin LGA T/R
ST Microelectronics
STMICROELECTRONICS LIS331DLHTR MEMS Accelerometer, 3-Axis, Digital, X, Y, Z, 2g, 4g, 8g, LGA, 3.6V, 2.16V
ST Microelectronics
Accelerometer Triple ±2/±4/±8/±16g 1.71V to 3.6V 16Pin LGA Tray
ST Microelectronics
Accelerometer X, Y, Z Axis ±2g, 4g, 6g, 8g, 16g 1.56Hz ~ 800Hz 16-LGA (3x3)
ST Microelectronics
Accelerometer Triple ±2/±6g 2.4V to 3.6V 16Pin LGA T/R
ST Microelectronics
STMICROELECTRONICS LIS302DL MEMS Accelerometer, 3-Axis, Digital, X, Y, Z, ± 2g, ± 8g, 2.16V, 3.6V, LGA
ST Microelectronics
Accelerometer Triple ±2/±8g 2.16V to 3.6V 14Pin LGA T/R
ST Microelectronics
STMICROELECTRONICS LIS331HH MEMS Accelerometer, 3-Axis, Digital, X, Y, Z, 6g, 12g, 24g, 2.16V, 3.6V, LGA
ST Microelectronics
STMICROELECTRONICS LIS344ALH MEMS Accelerometer, 3-Axis, Analogue, X, Y, Z, 2g, 6g, LGA, 3.6V, 2.4V
ST Microelectronics
MEMS Module, Tri-Axis Magnetometer, 1.9V, 3.6V, LGA, 12Pins
Part Datasheet PDF Search
72,405,303 Parts Datasheet PDF, Update more than 5,000 PDF files ervery day.