Electronic Components Datasheet Search
  English  ▼

X  

AN4650 Datasheet(PDF) 65 Page - STMicroelectronics

Part # AN4650
Description  This document is intended to provide usage information
PDF  102 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4650 Datasheet(HTML) 65 Page - STMicroelectronics

Back Button AN4650 Datasheet HTML 61Page - STMicroelectronics AN4650 Datasheet HTML 62Page - STMicroelectronics AN4650 Datasheet HTML 63Page - STMicroelectronics AN4650 Datasheet HTML 64Page - STMicroelectronics AN4650 Datasheet HTML 65Page - STMicroelectronics AN4650 Datasheet HTML 66Page - STMicroelectronics AN4650 Datasheet HTML 67Page - STMicroelectronics AN4650 Datasheet HTML 68Page - STMicroelectronics AN4650 Datasheet HTML 69Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 65 / 102 page
background image
DocID027415 Rev 1
65/102
AN4650
Mode 2 - sensor hub mode
102
6.4
Magnetometer hard-iron / soft-iron correction
The LSM6DS3 device supports the data acquisition of an external magnetometer with soft-
iron and hard-iron correction features. For this purpose, it is required to set the
MASTER_ON bit of the MASTER_CONFIG register to 1 to enable the sensor hub mode, to
associate the external magnetometer to slave 0 registers (SLV0_ADD, SLV0_SUBADD and
SLAVE0_CONFIG) and to set the Slave0_numop field of SLAVE0_CONFIG to 6.
The FUNC_EN bit of CTRL10_C register has to be set to 1 in order to enable the embedded
ironing functionalities. Then, distortion correction algorithms can be enabled as described in
Table 49: the IRON_EN bit of MASTER_CONFIG and the SOFT_EN bit of CTRL9_XL are
used to enable hard-iron correction only or both hard-iron and soft-iron corrections. In the
latter case, both calibrated (hard-iron & soft-iron) and uncalibrated (soft-iron only)
magnetometer data are available.
6.4.1
Hard-iron correction
Hard-iron distortion is normally generated by ferromagnetic material with permanent
magnetic fields that are part of the object (e.g. a tablet) in use; these materials could be
permanent magnets or magnetized iron or steel. They are time invariant and deform the
local geomagnetic field with different offset on different directions.
Generally, if the user performs many 3D rotations of the object in an ideal environment (no
hard-iron/soft-iron distortion) and plots the collected magnetic sensor raw data, the result
will be a perfect sphere with no offset. The hard-iron distortion effect is to offset the sphere
along the x, y and z axes; in the x-y plane, the hard-iron distortion is identified by an offset of
the origin of the ideal circle from (0, 0), as shown in Figure 20.
Figure 20. Hard-iron effect (X-Y 2D scatter plot)
Table 49. Ironing configuration
CTRL9_XL
SOFT bit
MASTER_CONFIG
IRON_EN bit
Ironing
configuration
0
0
No correction applied
0
1
Hard-iron only
1
1
Hard-iron + soft-iron corrections



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com