毕业设计说明书
基于单片机的数字采控器
设计
专业 电气工程及其自动化
张美琪 2012年06月08日
学生姓名 班学
级 号
指导教师 完成日期
盐城工学院本科生毕业论文(毕业设计说明书) 2012
基于单片机的数字采控器设计
摘 要:数字采集系统简称DAS(Digital Acquisition System),是指将温度、压力、
流量、位移等模拟量进行采集、量化转换成数字量后,以便由计算机进行存储、处理、显示或打印的装置。数字采集系统是采集系统中最常见的类型,随着单片机技术的飞速发展,通过单片机对被控对象进行控制日益成为今后的一个重要发展的方向。人们需要一种应用范围广、性价比高的数据采集系统。
本次设计主要采集对象为数字量,通过单片机采集输入端的数字量去控制输出端继电器的动作。本设计包括两种控制方式:一种是本地控制;另一种是RS-485远程控制。两种设计同时实现以下功能:本机地址设置、波特率设置、继电器控制。通过RS-485通信时利用上位机控制继电器动作,并进行界面显示。
该设计是以STC89C52单片机为控制核心,选用RS-485通信技术进行远程控制。即通过串口通信实现单片机与PC机之间的通信,完成了单片机的多通道数据采集控制系统的设计。
关键词:数字采集器;单片机; RS-485
盐城工学院本科生毕业论文(毕业设计说明书) 2012
Design of Microcontroller - Dased Digital Acquisition
Controller
Abstract: Data Acquisition System referred to DAS (Data Acquisition System), refers
to the temperature, pressure, flow, displacement, such as simulation of a collection, quantitative, converted into digital, so as to provide computer storage, processing, display or print device. Digital Acquisition System Acquisition System is the most common type, with the rapid development of SCM technology, the object through the MCU control has increasingly become an important future development direction. So people require a broad scope of application, high reliability and low-cost data acquisition system.
The design is primarily a collection of objects for digital, SCM Acquisition digital input to control the action of output relay. This design includes two control methods: One is Local control; another is RS-485 remote control. The two designs to achieve the following functions: Local address is set, the baud rate settings, relay control. PC control relay RS-485 and interface display.
The design is based on STC89C52 microcontroller as the core, Selection of RS-485 communication technology for remote control. Communication between the MCU and PC through the serial communication, the complete single-chip multi-hannel data acquisition and control system design.
Key Words: Data acquisition; MCU; Communication; RS-485