Skip to main content

Calibration of Triaxial Accelerometer and Triaxial Magnetometer for Tilt Compensated Electronic Compass

Part of the Advances in Intelligent Systems and Computing book series (AISC,volume 466)


This research paper describes the method for the calibration of accelerometer and magnetometer for tilt compensated electronic compass. The electronic compass is implemented using triaxial MEMS accelerometer and triaxial MEMS magnetometer. The heading of the compass is generally influenced by scale factors, offsets and misalignment errors of these sensors. The proposed calibration method determines twelve calibration parameters in six stationary positions for accelerometer and twelve calibration parameters in 3D rotations for magnetometer.


  • Accelerometer
  • Calibration
  • Electronic compass
  • Magnetometer
  • Micro-electro-mechanical-system

This is a preview of subscription content, access via your institution.


  1. Grygorenko, V.: Application note: Sensing—Magnetic Compass with Tilt Compensation

    Google Scholar 

  2. STMicroelectronics: Application note: Using LSM303DLH for a tilt compensated electronic compass (2010)

    Google Scholar 

  3. Topic 6: Fields and Forces (2007).

  4. World Magnetic Model (2010).

  5. Titterton, D., Weston, J.: Strapdown Inertial Navigation Technology. Institution of Electrical Engineers, Stevenage (2004)

    CrossRef  Google Scholar 

  6. Allen, J.J., Kinney, R.D., Sarsfield, J., Daily M.R., Ellis, J.R., Smith, J.H., Montague, S., Howe, R.T., Boser, B.E., Horowitz, R., Pisano, A.P., Lemkin, M.A., Clark, W.A., Juneau, C.T.: integrated micro-electro mechanical sensor development for inertial application. IEEE AES Syst. Mag. 36–40 (1998)

    Google Scholar 

  7. Ozyagcilar, T.: Application note: Calibrating an eCompass in the Presence of Hard and Soft-Iron Interference (2013)

    Google Scholar 

  8. Ozyagcilar T.: Application note: Implementing a Tilt-Compensated eCompass using Accelerometer and Magnetometer Sensors (2012)

    Google Scholar 

  9. Pedley, M.: Application note: Tilt Sensing Using a Three-Axis Accelerometer (2013)

    Google Scholar 

Download references


This work was supported by Internal Grant Agency of Tomas Bata University in Zlin under the project No. IGA/FAI/2016/035.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Ales Kuncar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and Permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Kuncar, A., Sysel, M., Urbanek, T. (2016). Calibration of Triaxial Accelerometer and Triaxial Magnetometer for Tilt Compensated Electronic Compass. In: Silhavy, R., Senkerik, R., Oplatkova, Z.K., Silhavy, P., Prokopova, Z. (eds) Automation Control Theory Perspectives in Intelligent Systems. CSOC 2016. Advances in Intelligent Systems and Computing, vol 466. Springer, Cham.

Download citation

  • DOI:

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-33387-8

  • Online ISBN: 978-3-319-33389-2

  • eBook Packages: EngineeringEngineering (R0)