background image

  

 

User Manual 

 
 

 

© 2017 Inertial Sense, LLC 

24 

11/30/2017 

8

 

Magnetometer Calibration 

The magnetometer is used to estimate heading when the system is in any of the following conditions: 
 

1.) is in AHRS mode  
2.) has no GPS fix  
3.) has GPS fix and constant velocity (non-accelerating motion)   
 

To have accurate heading under these conditions, the magnetometer must be calibrated.  The system allows for 
two types of modes for recalibration, external initiated and automatically initiated re-calibration. Regardless of the 
recalibration mode, a slower online background calibration runs that continuously improves the magnetometer 
calibration to handle local magnetic environment changes.   All magnetometer calibration is stored in flash 
memory and available on bootup.  

 

8.1

 

Magnetometer Recalibration 

Occasionally the magnetometer will require a complete recalibration, replacing the old calibration with an entirely 
new calibration.  This is accomplished either through external or automatic initiated recalibration. Use of the 
different modes is generally governed by the particular use case for the end customer and is intended to allow for 
the most flexibility in an integrated product design.  
 

8.1.1

 

External Recalibration 

External magnetometer recalibration allows the most flexibility in determining when an end user will need to 
recalibrate the system.  This control over the timing of the recalibration is critical for many use cases and allows 
product designers to implement their desired workflows for customers. Further there are use cases where 
automatic recalibration is not possible because the quality of the magnetometer calibration is not observable. Such 
use cases would include AHRS operation, extended periods without motion or no GNSS fix. External magnetometer 
recalibration, as the name suggests is triggered by an external command from the application managing the uINS 
hardware.  The uINS provides a set of status messages indicating the quality of the magnetometer calibration and 
leaves the timing and implementation of a recalibration up to the product designer. Specifically, 
INS_STATUS_MAG_NOT_GOOD is an indication of the quality of the magnetometer calibration (see chapter 6 for 
more details on the indicators. 

 

During the calibration process, the system should be clear of steel, iron, magnets, or other ferrous materials (i.e. 
steel desks, tables, building structures).  The uINS should be attached to the system in which it is operating and 
rotated together during the calibration process.  The following is the  

 
Force magnetometer recalibration procedure

1.

 

Set DID_MAG_CAL.enMagRecal to either: 

a.

 

“0” for 

Multi-Axis which is more accurate and requires 360

 rotation about two different axes. 

b.

 

“1”

 for Single-Axis which is less accurate and requires 360

 rotation about one axis. 

2.

 

Rotate the system accordingly. 

 

Recalibration 

completion

 is indicated by either: 

1.

 

INS_STATUS_MAG_RECALIBRATING bit of the insStatus word set to zero.  The insStatus word is found in 
standard INS output messages (DID_INS_1, DID_INS_2, DID_INS_3, and DID_INS_4).   

2.

 

DID_MAG_CAL.enMagRecal set to 100.   

 
Recalibration 

progress

 is indicated as a percentage (0-100%) is indicated can be observed from variable 

DID_MAG_CAL.progress. 
 
The 

“M

ag 

used” 

indicator in the EvalTool INS tab will be green when magnetometer data is being fused into the 

solution, black when not being fused into the solution, and red during recalibrating.  

Содержание uAHRS

Страница 1: ...nual SUPPORT INERTIALSENSE COM WWW INERTIALSENSE COM INS AHRS and IMU Product User Manual 11 30 2017 Inertial Sense LLC 72 N 720 E Salem UT 84653 801 610 6771 support inertialsense com www inertialsen...

Страница 2: ...Frame 9 3 2 INS Output Frame 9 3 3 North East Down NED Frame 9 3 4 Earth Centered Earth Fixed ECEF Frame 9 3 5 Translation Between Coordinate Frames 10 4 Hardware Integration 11 4 1 Noise Coupling 11...

Страница 3: ...24 8 1 1 External Recalibration 24 8 1 2 Automatic Recalibration 25 8 2 Magnetometer Continuous Calibration 25 8 3 Magnetometer Calibration Settings 25 9 Data Logging 26 9 1 Log File 26 9 1 1 Log Chu...

Страница 4: ...e along with a C C and C binding 1 1 Description of differences between IMU AHRS INS The IMU is a miniature calibrated sensor module consisting of an Inertial Measurement Unit IMU magnetometer baromet...

Страница 5: ...to a directory of your choosing 2 3 EvalTool GUI The EvalTool is a graphical Windows based desktop program that allows you to explore and test functionality of the Inertial Sense products in real time...

Страница 6: ...L2_VARIANCE Purple Magnetometer Recalibration The system is collecting new magnetometer calibration data and requires rotation Purple fast blink Firmware Upload The bootloader is uploading the embedde...

Страница 7: ...921600 921600 mbps baudrate on all serial ports OPTIONS General h help display this help menu c COM_PORT select the serial port Set COM_PORT to for all ports and 4 to use only the first four ports No...

Страница 8: ...00 7777 url user password url user and password optional For retrieving SERIAL data svr RTCM3 SERIAL COM9 57600 port baud For retrieving InertialSense data svr IS 192 168 1 100 7777 no url user or pas...

Страница 9: ...ans 2 Intermediate Output Frame INS Output Frame Offset by DID_FLASH_CONFIG insOffset in meters If DID_FLASH_CONFIG insRotation and DID_FLASH_CONFIG insOffset are zero the Sensor Frame and the INS Out...

Страница 10: ...s the North Pole Positive Y axis aligns with the WGS84 Y axis completing the right handed system 3 5 Translation Between Coordinate Frames This section is intended to be an example of how to rotate be...

Страница 11: ...table for 5 seconds to be accurate Compare this figure between your integrated sensor module and EVB demo unit 2 Evaluate GPS sensitivity In clear view of the sky monitor the satellite signal strength...

Страница 12: ...owing packet formatting Figure 1 Packet Structure Packet Header 4 bytes 1 byte packet start byte 0xFF 1 byte packet identifier determines the format of packet data 1 byte packet counter for retries 1...

Страница 13: ...er structure above If your CPU architecture does not match the packet flags you need to swap bytes appropriately The SDK does this for you automatically Bytes 0x0A 0x24 0xB5 0xD3 0xFD 0xFE and 0xFF ar...

Страница 14: ...oadcast period for PDTV message INS1 ms Broadcast period for PINS1 message INS2 ms Broadcast period for PINS2 message GPSP ms Broadcast period for PGPSPOS message GPSV ms Broadcast period for PGPSVEL...

Страница 15: ...elocity in body frame Y UVW 2 m s Velocity in body frame Z LLA 0 deg WGS84 Latitude LLA 1 deg WGS84 Longitude LLA 2 m Hight above ellipsoid vertical elevation NED 0 m Offset from reference LLA North N...

Страница 16: ...ay morning in GMT Velocity north m s Velocity in local tangent plane North Velocity east m s Velocity in local tangent plane East Velocity down m s Velocity in local tangent plane Down s2D m s Ground...

Страница 17: ...ision VDOP 5 3 C Binding For pure C solutions such as embedded systems or situations where memory is limited the C binding is provided The C binding contains an interface for communicating with the de...

Страница 18: ...main cpp This file contains certain keywords that identify the specific function calls necessary to implement the SDK Use your search tool to find each of these steps and its corresponding description...

Страница 19: ...n addition once the progress reaches 100 there may be some clean up and final processing that will happen before the verify step begins The SDK supports two file types a hex Intel hex file or a bin In...

Страница 20: ...baud applied at startup InsRotation 3 float Roll pitch yaw rotation in radians from INS computational frame to INS output frame Order applied heading pitch roll InsOffset 3 float X Y Z offset to INS...

Страница 21: ...TATUS_SOLUTION_MASK 0 INS_INACTIVE The INS is not runnning 1 INS_ALIGNING The INS is aligning on startup 2 INS_ALIGNMENT_COMPLETE The INS has aligned but insufficient dynamics have been completed for...

Страница 22: ...bration BIT Flags Calibration BIT flags are contained in calBitStatus found in the DID_BIT message Bitmasks for the calBitStatus flags are defined in eCalBitStatusFlags in data_sets h Field Descriptio...

Страница 23: ...Status INS_STATUS_VEL_ALIGN_GOOD Velocity estimates are valid insStatus INS_STATUS_POS_ALIGN_GOOD Position estimates are valid 6 System Temperature System temperature is available at DID_SYS_SENSORS t...

Страница 24: ...ity of the magnetometer calibration is not observable Such use cases would include AHRS operation extended periods without motion or no GNSS fix External magnetometer recalibration as the name suggest...

Страница 25: ...alibrations when data more data is collected across multiple axes of rotation However there are use cases where data collection beyond a single axis is impractical if not impossible To address this is...

Страница 26: ...ing data in a file A Chunk starts with a header which has a unique identifiable marker and ends with the data to be stored CHUNK CHUNK Header CHUNK Data Byte Size 40 9 1 2 Chunk Header The header foun...

Страница 27: ...2 U32 U32 9 2 Data Loggers The following two data loggers are provided by Inertial Sense Serial Logger Sorted Logger Description Stores data to file in the same serial order it was passed into the log...

Страница 28: ...at 100 Hz c Post Process used with beta testers and internal testing Includes IMU GPS INS and other messages 4 Press Start Log to begin logging data 5 Press Stop Log to stop logging data 6 The Open F...

Страница 29: ...using matlab open main m and push run A user interface will open asking you to Select Folder that contains desired dat log files to be read from Once you select the desired folder the data will be re...

Страница 30: ...UPTION OR LOSS OF INFORMATION ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT EVEN IF INERTIAL SENSE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES Inertial Sense makes no representation...

Отзывы: