
Electronic Compass Design using
KMZ51 and KMZ52 Application Note
AN00022
Philips Semiconductors
5
CONTENT
1. INTRODUCTION..............................................................................................................................................7
2. EARTH´S MAGNETIC FIELD..........................................................................................................................8
3. BUILDING BLOCKS OF AN ELECTRONIC COMPASS..............................................................................10
4. MAGNETORESISTIVE (MR) SENSORS FOR COMPASS APPLICATIONS ..............................................12
4.1 The Magnetoresistive Sensor Element .........................................................................................12
4.1.1 The Magnetoresistive Effect ..............................................................................................12
4.1.2 Optimization of Sensor Characteristic using Barber Pole Structures................................13
4.1.3 Bridge Configuration ..........................................................................................................13
4.2 Set/Reset and Compensation Coils...............................................................................................14
4.3 Philips MR Sensors for Compass Systems..................................................................................15
5. SIGNAL CONDITIONING UNIT (SCU)..........................................................................................................16
5.1 Requirements...................................................................................................................................16
5.2 Offset Compensation......................................................................................................................17
5.3 Sensitivity Difference (∆S) Compensation....................................................................................19
5.4 Non-orthogonality compensation..................................................................................................20
5.5 Circuit Design ..................................................................................................................................21
5.5.1 Supply voltage considerations ...........................................................................................21
5.5.2 Flipping generator (block1)................................................................................................22
5.5.3 Pre-amplifier (block 2)........................................................................................................23
5.5.4 Offset compensation (block 3)...........................................................................................23
5.5.5 Synchronous rectifier (block 4) ..........................................................................................23
5.5.6 Integral controller (block 5) ................................................................................................23
5.5.7 Compensation coil driver (block 6).....................................................................................23
5.5.8 SCU without electro-magnetic feedback............................................................................24
5.5.9 SCU with Microcontroller ...................................................................................................24
6. DIRECTION DETERMINATION UNIT (DDU)................................................................................................25
6.1 8-Segment Compass.......................................................................................................................25
6.2 High Resolution Compass..............................................................................................................26
7. INTERFERENCE FIELD CALIBRATION......................................................................................................27
8. TRUE NORTH CALIBRATION......................................................................................................................30
9. TILT COMPENSATION .................................................................................................................................31
10. SYSTEM ACCURACY...................................................................................................................................34
11. APPLICATION EXAMPLES..........................................................................................................................35
12. REFERENCES...............................................................................................................................................37
APPENDIX 1 List of abbreviations .................................................................................................................. 38
APPENDIX 2 Unit conversions ........................................................................................................................ 38