《基于磁阻传感器的三维电子罗盘的设计与研究(学位论文-工学)》由会员分享,可在线阅读,更多相关《基于磁阻传感器的三维电子罗盘的设计与研究(学位论文-工学)(72页珍藏版)》请在金锄头文库上搜索。
1、分 类 号 :TP2310710-2010132023硕 士 学 位 论 文基 于 磁 阻 传 感 器 的 三 维 电 子 罗 盘 的设 计 与 研 究李 淑 婷导 师 姓 名 职 称 苏 诗 琳 副 教 授申 请 学 位 级 别 工 学 硕 士 学 科 专 业 名 称 检 测 技 术 与 自 动 化 装 置论 文 提 交 日 期 2013 年 5 月 5 日 论 文 答 辩 日 期 2013 年 6 月 8 日学 位 授 予 单 位 长 安 大 学Design and Research of Three-dimensional ElectronicCompass based on Magne
2、toresistive SensorsA Dissertation Submitted for the Degree of MasterCandidate: Li ShutingSupervisor: Prof. Su ShilinChangan University, Xian, ChinaChangan University, Xian, China摘 要电 子 罗 盘 是 利 用 地 磁 场 来 确 定 北 极 的 一 种 导 航 仪 器 , 能 实 时 提 供 载 体 的 航 向 角 和 姿态 角 , 被 广 泛 的 应 用 在 航 空 、 航 海 、 车 载 定 位 、 地 质 勘
3、探 、 深 海 测 探 等 领 域 。 电 子 罗 盘有 许 多 显 著 的 优 势 , 比 如 小 型 化 、 集 成 化 、 输 出 的 电 信 号 可 以 方 便 的 与 其 他 电 子 设 备 级联 等 。 在 微 控 制 器 被 广 泛 应 用 的 今 天 , 利 用 磁 阻 器 件 和 单 片 机 实 现 集 成 化 、 智 能 化 成 为改 善 电 子 罗 盘 性 能 的 比 较 有 效 的 方 法 。 本 文 正 是 在 此 基 础 上 研 制 出 具 有 倾 斜 角 补 偿 功 能的 三 轴 磁 阻 式 电 子 罗 盘 。本 文 是 以 地 磁 导 航 原 理 为 切 入 点
4、 , 以 三 维 磁 阻 式 电 子 罗 盘 为 研 究 对 象 , 主 要 做 出 如下 研 究 工 作 : 首 先 , 在 概 述 地 磁 导 航 原 理 的 基 础 之 上 , 剖 析 了 三 维 电 子 罗 盘 的 工 作 原 理 ;确定了由姿态角、航向角测量以及数据处理三大模块组成的三维磁阻式电子罗盘结构;分 析 了 磁 阻 传 感 器 和 加 速 度 传 感 器 的 测 量 原 理 ; 其 次 , 对 三 维 磁 阻 式 电 子 罗 盘 系 统 的 各个 模 块 的 设 计 思 路 和 实 现 方 法 进 行 说 明 。 其 中 航 向 角 测 量 模 块 的 前 端 选 用 Ho
5、neywell 公司 的 三 轴 磁 阻 传 感 器 HMC58883L。姿态角测量模块的前端选 Analog Devices 公 司 的 三轴 重 力 加 速 度 计 传 感 器 ADXL345。 以 数 字 信 号 控 制 器 dsPIC30F2010 为 核 心 , 对 各 功 能模 块 进 行 了 软 硬 件 集 成 设 计 。 随 着 罗 盘 方 向 、 姿 态 的 改 变 , 磁 阻 传 感 器 敏 感 轴 的 地 磁 场测 量 值 发 生 变 化 , 通 过 姿 态 角 测 量 模 块 的 补 偿 , 得 到 罗 盘 水 平 状 态 对 应 的 方 向 指 示 ; 接着 , 通
6、过 MPLABIDE 开 发 环 境 实 现 了 程 序 的 编 写 、 编 译 以 及 软 、 硬 件 的 联 调 ; 最 后 ,对可能存在的误差进行分析补偿,并分析实验结果,完善了系统功能。通过对系统综合测试,结果表明,本文所研制的三轴磁阻电子罗盘能实现航向角、俯仰角和横滚角的动态测量,并且在 0360范围内测量精度达2 , 分 辨 率 达 到0.1。 此 外 本 文 设 计 的 三 轴 磁 阻 电 子 罗 盘 具 有 体 积 小 、 重 量 轻 、 功 耗 小 和 成 本 低 等 特点,如进一步完善可应用于更广阔的领域。关 键 字 : 电 子 罗 盘 、 磁 阻 传 感 器 、 加 速
7、度 传 感 器 、 dsPIC30F2010iAbstractThree-dimensional electronic compass is an important device for navigation using theearths magnetic field and the acceleration of gravity to achieve directional function. it canprovide carrier pitch angle, roll angle and heading angle of real-time, So it is widely used
8、 inaviation, navigation, vehicle location, geological exploration, deep-sea exploration and otherfields. Electronic compass has many significant advantages, such as miniaturization,integration, output electrical signals and thus it can be easily cascade with other electronicequipment. Widely used in
9、 microcontroller today, the effective method to improve theperformance of electronic compass is to realize the integration and intellectualization useingmagnetoresistive sensor and MCU. This paper is designed for three-axis magnetic resistancetype electronic compass, which has the function of slope
10、angle compensation.Based on the generation of the magnetic field and the theory of geomagnetic navigation,with three dimensional electronic compass as the research object, this paper mainly introducesthe following research: Firstly, on the basis of principle of overview of geomagneticnavigation, we
11、analyze the working principle of the three-dimensional electronic compass, thethree-dimensional structure of electronic compass is determined which is consisted by attitudemeasurement, heading angle measurement and data processing of the three modules. Secondly,the article analyzes the measuring pri
12、nciple and the work of magnetic resistance sensor andacceleration sensor. The design thought and implementation method of each module of thethree-dimensional electronic compass system are mainly introduced. The headingmeasurement front-end module select Honeywells three-axis magnetoresistive sensorH
13、MC58883L. The attitude measurement front of the module choose Analog Devicesthree-axis gravity accelerometer sensor ADXL345. With the change of the compass direction,posture, magnetic resistance sensor sensitive axis of the geomagnetic field measured valueschanges. Through the compensation of attitu
14、de angle measurement module, we can get statecorresponding to the direction of the compass level instructions. With the digital signalcontroller dsPIC30F2010 as the core, the design of each function module of software andhardware are made. Thirdly, the writing of the program, compiled, and the hardw
15、are andsoftware of alignment are realized in MPLABIDE development environment; Finally, for avariety of possible errors are analyzed, and the corresponding compensation and suppressionmethod are made, and the debugging is completed to accomplish the design andimplementation of three axis magnetoresi
16、stive electronic compass at last.iiiThe system through integrated test, the results show that, the electronic compass candynamic measuring angle, pitch angle and roll angle of the implementation course, themeasurement accuracy of 2 , within the range of 0 to 360 , the resolution can reach 0.1 .The design of three-axis magnetoresistive electronic compass has the advantages of small size,light weight, low power consumption and