数据采集与传输系统软件设计.doc
文本预览下载声明
摘要
河南科技大学本科毕业设计(论文)
PAGE IV
PAGE I
数据采集与传输系统软件设计
摘 要
数据采集和传输系统已经广泛的应用到工农业生产和科学研究中,而由计算机完成的、远距离的数据采集和传输系统发挥着日益重要的作用。生产过程中,这一系统可对现场的工艺参数进行采集、监视和记录,对提高产品质量、提高生产效率有着重要作用;在科学研究中该系统可以获得大量动态信息,是研究各种过程变化的重要工具。
数据采集系统就是采集传感器输出的模拟信号并转换为计算机可以识别的数字信号,发送到接收端进行记录或显示,以便对某些物理量进行监视。在硬件确定的情况下,合理的软件设计可以使数据采集和传输系统实现更多的功能和获得更高的效率。
本系统采用单片机为控制核心实现数据的采集和传输,用汇编语言编程,实现对内部单元及外围芯片的直接控制;以中断方式为主要信息交换方式,实现单片机的并行工作。系统软件设计完成8路模拟信号采集与模数转换控制,以串行方式控制系统发送端和接收端的单片机进行通信,其波特率要尽可能高、步频要尽可能小,并使通信具有一定的验错、纠错能力,同时设计外围显示器、键盘接口芯片的控制程序,使整个系统控制更趋于智能化。
关键词:AT89C52,汇编语言,中断,波特率
Design of Software for Data Collection and Transmission System
ABSTRACT
Data acquisition and transmission system has been widely applied in the fields of industrial production、agricultural production and scientific research. In addition, the remote system of data acquisition and transmission, which completed by the computer, plays an increasingly important role. This system can collect, monitor and record the technical parameters on-site in the production process. It plays a vital role to improve the product quality and increase production efficiency. This system can catch a large number of dynamic information available in the scientific study. It’s an important tool to study various changes of process.
Data acquisition system is the collection of analogy signals exported by sensors, and the conversion to digital signals which can be identified by computer, and sent to receiver to record or display for the aim of monitoring certain physical signals. When the hardware was determined, reasonable design of software can make the system realize more function and obtain higher efficiency.
This system realizes data acquisition and transmission by the Single Chip Microcomputer for the core of control, and realizes direct control to the internal unit and external chips by the using of assembly language to program, and realizes the parallel working of Single Chip Microcomputer by using the interrupt mode for the main way to information exchange. Th
显示全部