Three-axis Compass with Algorithms
HMC6343
The Honeywell HMC6343 is a fully integrated compass module that includes
firmware for heading computation and calibration for magnetic distortions.
The module combines three-axis magneto-resistive sensor, three-axis MEMS
accelerometer, analog and digital support circuits, microprocessor and
algorithms required for heading computation. By combining the sensor
elements, processing electronics, and firmware into a 9.0mm by 9.0mm by
1.9mm LCC package, Honeywell offers a complete, ready to use tilt-
compensated electronic compass. This provides design engineers with the
simplest solution to integrate high volume, cost effective compasses into
binoculars, cameras, night vision optics, laser ranger finders, antenna
positioning, and other industrial compassing applications.
The HMC6343 utilizes Honeywell’s Anisotropic Magnetoresistive (AMR) technology that provides advantages over other
magnetic sensor technologies. The sensors feature precision sensitivity and linearity, solid-state construction with very
low cross-axis sensitivity designed to measure both direction and magnitude of Earth’s magnetic field. Honeywell’s
Magnetic Sensors are among the most sensitive and reliable low-field sensors in the industry.
FEATURES
Compass with Heading/Tilt Outputs
Package
BENEFITS
A complete compass solution including compass firmware
A digital compass solution with heading and tilt angle outputs in a
chip-scale package
For computation of heading, and magnetic calibration for hard-iron
Small size, easy to assemble and compatible with high speed
surface mount technology assembly
Compatible with battery powered applications
To store compass data for processor routines
I C Interface, easy to use 2-wire communication for heading output
Complies with RoHS environmental standards
Can be mounted on horizontal or vertical circuit boards
2
Accelerometers
Three-Axis MR Sensors, a Single
and a Microprocessor in
Compass Algorithms
9 x 9 x 1.9mm LCC Surface Mount
Package
Low Voltage Operations
EEPROM Memory
Digital Serial Data Interface
Lead Free Package Construction
Flexible Mounting
HMC6343
SPECIFICATIONS
Characteristics
Power Supply
Supply Voltage
Current
(3)
(1)
Conditions
Min
Typ
Max
Units
VDD Referenced to GND
All VDD pins connected together
Run Mode (10Hz Output)
Standby Mode
Sleep mode
Power-up peak (VDD = 3.3V)
2.7
3.3
4.5
4.0
120
20
3.6
Volts
mA
mA
µA
mA
Power-on Rate
(microprocessor)
Compass Function
Field Range
(3)
(1)
Minimum rise time
0.05
-
-
V/msec
total applied magnetic field
(de-gauss if exposed to >5gauss)
At Level
(3)
±15° tilt
(3)
±60° tilt
(3)
(2)
-1500
2.0
3.0
4.0
0.1
±0.3
±0.3
1
5
±80
±1
±2
0.1
±0.2
8
-40
-55
0.32
+1500
3.0
mgauss
deg RMS
Heading Accuracy
Heading Resolution
Heading
(3)
Repeatability
Heading Hysteresis
Update Rate
Tilt Range
(3)
(1)
Output Data
Output Data (1σ)
degrees
degrees
degrees
10
Hz
degrees
degrees
degrees
degrees
ohms
85
125
°C
°C
grams
250
V
-
250
°C
(3)
Output Data (1σ)
Run Mode (1, 5, 10Hz)
From Horizontal
0° to ±15°
(3)
±15° to ±60°
(2)
Tilt Accuracy
Tilt Resolution
Offset Straps
Resistance
General
Operating
(3)
Temperature
Storage
(3)
Temperature
Weight
MSL
(3)
(3)
(3)
(3)
(1)
(3)
(3)
Output Data
Output Data (1σ)
Measured from OFF+ to OFF-
Ambient
Ambient, unbiased
Tilt Repeatability
ESD Voltage
Moisture Sensitivity Level
Peak Reflow Temp (< 30 seconds)
3
Solder Temp
(1) By Design
(2) Tested at 25°C and 3.3V except stated otherwise.
(3) Characterized
www.magneticsensors.com
2
HMC6343
PIN CONFIGURATION
Pin Number
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description
NC
NC
VDD
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
Z OFF-
Z OFF+
NC
NC
Z OFF-
Z OFF+ 16
Pin Number
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Description
X OFF-
X OFF+
NC
NC
Y OFF-
Y OFF+
NC
NC
NC
NC
GND
NC
NC
SCK/SCL
NC
NC
DRDY
SDA
NC 10
NC 11
NC 12
NC 13
NC 14
NC 17
NC 18
15
NC
NC
NC
NC
NC
NC
VDD
NC
NC
9
8
7
6
5
4
3
2
1
Y
Z
X
19
20
21
22
23
24
25
26
27
X OFF-
X OFF+
NC
NC
Y OFF-
Y OFF+
NC
NC
NC
36
SDA
35
DRDY
34
NC
BOTTOM VIEW
33
NC
31
NC
30
29
28
32
SCK/SCL
GND
NC
NC
www.magneticsensors.com
3
HMC6343
BASIC DEVICE OPERATION
The Honeywell HMC6343 magnetoresistive sensor circuit is a trio of magnetic sensors, accelerometers, and analog
support circuits to measure magnetic fields and gravity tilt angles necessary to accurately to produce accurate tilt-
compensated compass headings. Additionally, a microcontroller is integrated to use the sensor information for
computation of heading direction and calibration. With power applied, the sensor converts any incident magnetic field in
the sensitive axis direction to a differential voltage output. In addition to the bridge circuit, the sensors have on-chip
magnetically coupled offset straps for incident field adjustment.
The circuit is sensitive to power supply noise, and adding a 1.0 microfarad ceramic capacitor is recommended on the
positive supply to help reduce noise. Also careful layout practices should be enforced to keep high current traces (>10mA)
a few millimeters away from the sensors. Also, since the sensors are typically sensing the earth’s magnetic field direction,
avoid employing RF/EMI shields using ferrous metals or coatings.
FUNCTIONAL DIAGRAM
www.magneticsensors.com
4
HMC6343
BASIC SCHEMATIC INTERFACE
(Optional)
Offset Straps
The three offset straps have a spiral of metallization that couples in the magnetic sensor element’s sensitive axis. With
current applied the straps will generate a magnetic field internal to the sensor. With most applications, the offset strap is
not utilized and can be ignored. Designers can leave one or both strap connections (Off- and Off+) open circuited, or
ground one connection node.
DRDY Pin
The DRDY pin will rise and go high when new data have been loaded into the output registers. The amount of time the
DRDY pin stays low depends on the ODR (Output Data Rate). The table below shows the times for each ODR setting.
ODR
1
5
10
DRDY Low
>750 uS
>150 uS
>75 uS
Operational Modes
The HMC6343 has three operational modes; Sleep, Standby, and Run. Sleep mode is defined as having the analog
circuitry powered off, and has the lowest power consumption while power is applied to the VDD pins. Standby mode has
the HMC6343 fully powered, but with no measurements performed and the processor is waiting for commands to perform.
Run mode is fully engaged in continuous measurements at the configured rate, and ready to receive further commands.
The operational mode settings are stored in EEPROM register 0x04, and shown further the HMC6343 protocol definition.
www.magneticsensors.com
5