An Implementation of a Tilt-Compensated eCompass
This paper describes implementation of an electronic compass and calibration method. Firstly describes used hardware and then focus on the method of sensor calibration parameters. The eCompass uses a three-axis accelerometer and three-axis magnetometer. The compass heading is a function of all three accelerometer readings and all three magnetometer readings. The accelerometer measures the components of the earth gravity and provide pitch and roll angle information which is used to correct the magnetometer data. The magnetometer measures the components of earth’s magnetic field (called geomagnetic field) to determine the heading angle to the magnetic north.
KeywordseCompass MEMS Accelerometer Magnetometer Calibration
- 1.Scouts New Zealand, Compass Basics, New Zealand (2012)Google Scholar
- 2.NOAA, Wandering of the Geomagnetic poles, National Oceanic And Atmospheric Administration. http://www.ngdc.noaa.gov/geomag/GeomagneticPoles.shtml
- 3.STMicroelectronics, AN3192 Application note: using LSM303DLH for a tilt compensated electronic compass, 34p. (2010). https://www.pololu.com/file/0J434/LSM303DLH-compass-app-note.pdf
- 4.Ozyagcilar, T.: AN4248 Application note: Implementing a Tilt-Compensated eCompass using Accelerometer and Magnetometer Sensors (2013). http://cache.freescale.com/files/sensors/doc/app_note/AN4248.pdf
- 5.Ganssle, J.: A Designer’s Guide to MEMS Sensors (2012). http://www.digikey.com/en/articles/techzone/2012/jul/a-designers-guide-to-mems-sensors
- 6.Cacchione, F.: Mechanical Characterisation and simulation of fracture processes in polysilicon MEMS, PhD Thesis. Politecnicio di Milano (2007). st.com/web/en/resource/technical/document/white_paper/phd_thesis.pdf
- 7.Pedley, M.: AN3461 Application note: Tilt Sensing Using a Three-Axis Accelerometer (2013). http://www.freescale.com/files/sensors/doc/app_note/AN3461.pdf
- 10.Pedley, M.: AN4399 Application note: High Precision Calibration of a Three-Axis Accelerometer (2013). http://cache.freescale.com/files/sensors/doc/app_note/AN4399.pdf
- 11.Skula, D.: New Method for Magnetometer Offset Compensation, Annals of DAAAM for 2010 and proceedings, Zadar (2010) ISBN 978-3-901509-73-5Google Scholar
Open Access This chapter is licensed under the terms of the Creative Commons Attribution-NonCommercial 2.5 International License (http://creativecommons.org/licenses/by-nc/2.5/), which permits any noncommercial use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.
The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.