集成加速度传感器的软件设计_论文.docVIP

  • 1
  • 0
  • 约1.7万字
  • 约 48页
  • 2017-04-23 发布于河南
  • 举报
PAGE   PAGE \* MERGEFORMAT 48 (此文档为word格式,下载后您可任意编辑修改!) 毕业设计 集成加速度传感器的软件设计 摘要 在加速度测试系统传统结构中,从传感器、温度偏移纠正电路、放大电路到数据采集各设备往往都是孤立的,不便于携带并受到测量空间的限制。本文介绍了一种利用单片机集成系统进行数据采集与传输的方案,较好的解决了系统集成化问题。 方案采用通用性较强,价格便宜的80C51单片机;人机接口采用8297;AD转换器采用ADC0809;片外存储器选用两片6264,容量扩至16k×8;数据传输采用USB,用CH375芯片作为单片机串行口与USB的连接芯片。数据采样频率设为六种可选,最小至0.2ms,最大至625ms,可以适应不同的应用场合。 单片机系统在实际工业系统中可能会遇到各种干扰和自身的随机性误差,目前的抗干扰方法主要有硬件看门狗技术和软件陷进技术等,??方案将两种方法结合起来,进一步提高了系统的稳定性。 关键词:单片机;数据采集;硬件看门狗;中断系统;串行通信 The software design of the integrated accelerometer Abstract In traditional acceleration test system, components form accelerometer, temperature compensation, electric enlarge circuit to data acquisition unit are all stand alone, inconvenience in take and being subjected to the measuring space. This text introduced a method that using integration system of single chip microcomputer for data acquisition and deliver, resolving the integration of the system. This project adopts in general used, low-cost 80C51 system;Persons machine connects to adopt 8297;The AD conversion machine adoption ADC0809; RAM use two slices of 6264 , the capacity expands to the 16 k × 8;Data_deliver uses the USB, using the CH375 chips as conjunct chip between the USB and the serial interface. The date- acquisition frequency sets for six kinds of eligibility, the minimum to 0.2 ms, the biggest to 625 ms, adapting different applied situation Single chip microcomputer system may fall across some impacting factors and self random error, the current anti- impacting methods mainly ; the 目 录 第一章 引言1 1.1 当前加速度测试系统的使用现状及存在缺陷1 1.2 加速度测试系统传统构造1 1.3 论文的预期目标3 第二章  系统的硬件组成3 2.1 系统的硬件总体设计3 2.2 AD转换模块 5 2.2.1 AD转换模块的设计5 2.2.2 数据存储器的扩展7 2.3 键盘显示接口的设计7 2.3.1 8279的介绍7 2.3.2 接口的设计10 2.4 数据传输模块11 2.4.1 CH375芯片简介11 2.4.2 数据传输模块设计14 2.5 看门狗复位电路14 第三章  系统的软件实现15 3.1 软件的总体结构15 3.2 数据采集子程序17 3.2.1 采样频率17 3.2.2 数据采集18 3.3 指令采集子程序 19 3.3.1 8279的初始化19 3.3.2 指令采集程序的设计21 3.4 数据传输子程序21 第四章 系统抗干扰设计22 4.1 干扰源及其传播途径23 4.2 系统抗干扰措施24 第五章 结论25 致  谢26 参考资料27 附 件27 1.

文档评论(0)

1亿VIP精品文档

相关文档