The
SSP1492 (
Product Brief)can interface with the sensors and perform the high level math functions necessary to create a tilt compensated Compass application. The internal 8051 microprocessor engine along with sensor acquisition and math function built into the SSP1492's internal ROM does most of the work.
It will be shown in this example that an SSP1492 can interface directly to and provide all signal processing needs to derive a calibrated angular displacement signal from a Honeywell HMC1512 angular displacement sensor using a minimal number of external components.
Magneto resistive (MR) Sensors are resistive devices that change resistance depending on the orientation of an external magnetic field. The resistance of an MR device is highest when a magnetic field is aligned in parallel with its established "easy" axis, which is set at the time of manufacturing and is lowest when the magnetic field is perpendicular to its "easy" axis. This creates a resistance profile that peaks and dips twice per rotation. The MR sensors resistive response to the angular moment of a magnetic field is:
MR sensors are used for a host of application including angular displacement sensing. In this application brief, the SSP1492 is used to measure the angular position of an external magnetic rotating above a Honeywell HMC1512 MR sensor. The SSP1492's frequency mode data converter can directly measure the MR sensor's resistance by connecting the sensor as the R element in SSP1492's RC oscillator -called the sensor oscillator. The HMC1512 contains 8 MR sensors configured in two Wheatstone bridges that are physically rotated 45° from one another but because of the MR sensor's cos
20 magnetic field angular response this creates two signals that are 90° out of phase from one another. These two signals in quadrature can be decoded into a single angular unit using a four-quadrant arctangent function or ATAN2. Before the quadrature signals can be processed by an arctangent function they must be normalized to one another. This requires a calibration step to gather the MR sensors minimum and maximum resistances of both axis to compute a compensating gain and offset that will normalize the two. Figure 1 below graphically summarizes typical signals discussed. In this Figure, the two MR sensor bridge output signals are named Sine and Cosine.