abstract |
An electronic compass is described for use in vehicles. The compass employs a magnetoresistive sensor for sensing the earth magnetic field and the sensor is operated in alternate set/reset bias modes. In a first embodiment, the compass is provided with deviation compensation by a closed loop system including measurement of the sensor output signals and an offset current strap for nullifying the vehicle deviation field. In a second embodiment, deviation compensation is provided by operation in an initial calibration mode and by operation in a normal compensation mode to adjust compensation, as needed, on a long term basis during normal operation of the compass. In the initial calibration mode, while the vehicle is being driven, the signal peak values are adjusted to a nominal earth field level by changing the offset current. Then, compensating signal reference values for each axis are determined as each peak for that axis is determined. The system automatically exits the initial calibration mode when certain criteria have been met. In the normal compensation mode, the signal reference value for each axis is adjusted at least once during the time interval between turn-on and turn-off of the vehicle ignition switch. |