Download x-IMU User Manual 4.4 - x

Transcript
Calibrated data: In calibrated data mode the magnetometer data are calibrated accelerations in G. This
data is provided in the calibrated inertial/magnetic data packets. The calibrated measurements mx , my and
mz are calculated from the raw ADC measurements m̃x , m̃y and m̃z according to the defined sensitivities
smx , smy and smz , biases bmx , bmy and bmz and hard-iron biases hx , hy and hz as described by equation
(5). Parameters smx , smy , smz , bmx , bmy , bmz , hx , hy and hz are defined in the separate magnetometer
calibration parameters registers. The sensitivities and biases will be different for each full-scale measurement
range.
  
mx
smx
 my  =  0
mz
0
11
0
smy
0
−1   
  
0
m̃x
bmx
hx
0  m̃y  − bmy  − hy 
smz
m̃z
bmz
hz
(5)
Sensor calibration
The sensitivity and bias of the gyroscope, accelerometer and magnetometer are calibrated at the factory
using precision equipment. The user is recommended not to attempt to recalibrate these parameters. Please
contact x-io Technologies for more information.
11.0.1
Magnetometer hard-iron calibration
Magnetic elements fixed to the x-IMU such as metal screws, the battery or electronics components may
introduce hard-iron biases to magnetometer measurements. These biases must be compensated for through
hard-iron calibration. Uncalibrated hard-iron distortions will cause significant errors in the x-IMUs estimated
heading. Each x-IMU is fully calibrated at the factory. However, many applications may alter the hard-iron
characteristics and so require the user perform hard-iron calibration using the x-IMU GUI.
Before performing hard-iron calibration, the x-IMU registers must be set to output calibrated inertial and
magnetic data packets at 256 Hz. Calibration can then be performed by following steps 1, 2 and 3 indicated
on the Hard-Iron Calibration tab in the x-IMU GUI. Step 2 requires the user to collect a calibration dataset
where the x-IMU (and any ferromagnetic elements it is fixed to) are rotated through as many and as different
orientations as possible far away from other magnetic distortions. The x-IMU should held far from all objects
in a room for the duration of the dataset collection.
Figure 22: x-IMU GUI hard-iron calibration tab page
29