毕 业 设 计集 成 加 速 度 传 感 器 的 软 件 设 计摘 要在加速度测试系统传统结构中,从传感器、温度偏移纠正电路、放大电路到数据采集各设备往往都是孤立的,不便于携带并受到测量空间的限制。本文介绍了一种利用单片机集成系统进行数据采集与传输的方案,较好的解决了系统集成化问题。方案采纳通用性较强,价格便宜的80C51单片机;人机接口采纳8297 ;A/D 转换器采纳ADC0809;片外存储器选用两片6264 ,容量扩至16k×8 ;数据传输采纳USB ,用CH375 芯片作为单片机串行口与USB 的连接芯片。数据采样频率设为六种可选,最小至0.2ms,最大至625ms,可以适应不同的应用场合。单片机系统在实际工业系统中可能会遇到各种干扰和自身的随机性误差,目前的抗干扰方法主要有硬件看门狗技术和软件陷进技术等,本方案将两种方法结合起来,进一步提高了系统的稳定性。关键词: 单片机;数据采集;硬件看门狗;中断系统;串行通信The software design of the integrated accelerometerAbstractIn 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;Person's machine connects to adopt 8297;The A/D 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 situationSingle chip microcomputer system may fall across some impacting factors and self random error, the current anti- impacting methods mainly...