摘要
随着科技的快速发展,电子罗盘逐渐替代传统的导航定向工具指南针,在组合导航、航海航天、航海测绘以及飞行器控制等领域得到了广泛的应用。电子罗盘是一种利用地磁场实现方位角测量的定向导航仪器,在各种导航技术蓬勃发展的背景下,电子罗盘产品以其独有的优良特性在导航定向方面仍被作为基本的工具广泛使用。基于这一背景,笔者以专用的磁场传感器为基础来建立测量磁场的新方法。通过SPI总线与磁传感器驱动芯片进行通信,完成磁场参数的采集,并利用软件编程对其进行精度处理,再显示出方向角。基于单片机的二维电子罗盘实现了对磁场参数的采集、校正处理以及显示,精度和灵敏度较高且扩展性较强,可用于普通导航领域。
With the rapid development of science and technology,the electronic compass has gradually replaced the traditional navigation and orientation tool compass,and has been widely used in the fields of integrated navigation,navigation and aerospace,navigation and mapping,and aircraft control.Electronic compass is a kind of directional navigation instrument that realizes azimuth measurement by using the geomagnetic field.Under the background of the vigorous development of various navigation technologies,electronic compass products are still widely used as basic tools in navigation and orientation due to their unique and excellent characteristics..Based on this background,the author establishes a new method to measure the magnetic field based on a dedicated magnetic field sensor.It communicates with the magnetic sensor driver chip through the SPI bus to complete the acquisition of magnetic field parameters,and uses software programming to process it with precision,and then displays the direction angle.The twodimensional electronic compass based on the single-chip microcomputer realizes the acquisition,correction processing and display of the magnetic field parameters.
作者
孙军亮
SUN Junliang(Shaanxi Shanmei Hancheng Mining Co.,Ltd.,Hancheng Shaanxi 715400,China)
出处
《信息与电脑》
2022年第3期17-20,共4页
Information & Computer