基于磁阻传感器与微处理器的二维磁电子罗盘的设计

Design for 2-axis digital compass with magnetoresistive sensor and microcontroller

  • 摘要: 介绍了磁电子罗盘的工作原理。利用Honeywell的HMC1022双轴磁阻传感器设计了一种小型化的电子罗盘。信号调理电路采用AD8656高精度放大器。利用C8051F350微处理器完成A/D转换、方位角计算以及数字化输出等工作。采用置位电路配合微处理器有效解决了传感器失调和漂移的影响。对硬铁干扰和软铁干扰进行了分析,并给出了解决方法。对数字罗盘实物进行了测试,最大误差小于1°。

     

    Abstract: By using magnetoresistive sensor HMC1022 made by Honeywell,a smart 2-axis electronic compass has been developed.The amplifier AD8656 is used as the signal conditioning circuit.The microcontroller C8051F350 is in charge of A/D converting,azimuth computing and digital outputting.As the sensor’s reset circuit is involved so that the error due to null and drift can be minimized.The calibration for hard iron effects and soft iron effects is also be discussed.The maximum of azimuth error is less than 1° in the test.

     

/

返回文章
返回