本科毕业设计__基于单片机的离散量数据采集系统.docVIP

  • 1
  • 0
  • 约2.83万字
  • 约 54页
  • 2016-12-11 发布于辽宁
  • 举报

本科毕业设计__基于单片机的离散量数据采集系统.doc

基于单片机离散量数据采集系统设计 摘 要 随着计算机技术的飞速发展和普及,数据采集系统也得到了广泛的应用。微机在通用自动化、信息处理、信息系统等方面得到广泛的应用。在冶金、化工、医疗等应用场合,需要对很多信号进行采集,预处理,暂存和传输。 本文设计的离散量采集系统采用上位机、下位机通信方式运行。由上位机实现对下位机的控制和数据采集的显示,下位机实现离散量的采集过程。下位机硬件设计采用STC89C52RC单片机为控制核心,运用TLP521进行光电隔离,采用八位三态同相输出总线缓冲器74HC541为输入缓冲部分,而输出部分则采用的是锁存器74HC574,和拨动开关作为开关控制,完成了离散量采集系统的硬件设计。采用RS-232进行串口通信,可以通过电脑来控制继电器实现离散量采集方法的控制。结果证明,该设计方法可行,实现了离散量采集系统的自动化,克服了传统数据采集的弊端,应用具有良好的前景和使用价值。 关键词:离散量采集系统;单片机;通信 Abstract Along with the rapid development of computer technology and popularization, data acquisition system is also widely application. Microcomputer is widely applied in general automation, information processing and information system etc . Signal acquisition, pretreatment, temporary and PC transmission is needed by metallurgy, chemical, medical care and other applications。The design is a discrete variables acquisition system with upper and lower operating mode. The PC machine controls the lower machine and display the date, and the lower machine realizes data collection. Hardware design of digital machines STC89C52RC single-chip design for the control of the core to the use of photoelectric TLP521 isolation, the use of eight three-state bus buffer with an output of 74HC541 for input buffer part of the output part is used in latch 74HC574, Used for RS-232 serial communication, you can relay through the computer to control the realization of the bright lights out billiards control and manual control switch can monitor. The results proved that the design method is feasible to achieve a billiards automated agency management system to overcome the drawbacks of traditional management methods, the application has good prospects and the value. Keywords: single chip; data acquisition system; communication 目 录 1 绪论 1 1.1 课题背景 1 1.2 课题相关技术 2 1.3 课题任务 5 1.4课题内容及安排 5 2 系统方案设计 6 2.1方案设计原则 6 2.2 方案选择 6 3 系统硬件设计 9 3.1单片机模块 9 3.1.1 STC89C52RC介绍 10 3.1.2 单片机最小系统 12 3.2 输入输出模块 15 3.2.1 光电隔离模块 15 3.2.2 输入模块 17 3.2.3 输出模块 19 3.3 串口模

文档评论(0)

1亿VIP精品文档

相关文档