闸门开度荷重测控仪..

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

毕业设计(论文)题目闸门开度荷重测控仪

系别

专业

班级

姓名

学号

指导教师(职称)

日期 2013-03-07

摘要

闸门开度荷重测控仪是一种用于现场测量、控制闸门开度及荷重的智能化仪表。是以单片机AT89C52为核心部件的工作系统。通过单片机编程的软件程序支持,对从传感器采集到的开度信号和荷重信号进行计算、判断处理。测控闸门的开度荷重状态并在故障时报警,另外对闸门开度荷重测控仪的各参数可以通过LED显示器进行查看。并且该系统还可以与远程监控(PC机)之间进行通信,数据传输采用RS485总线,依靠自主设计的通信协议来保证具有很好的安全冗余度和良好的人机界面,实现更高的智能水平。

关键词:闸门,单片机,开度,荷重,传感器

Abstract

This gate’s open degree monitor is a system mainly bases on AT89C52, with the help of software of C. Through calculation between people and system by key, this system can display the stase of open degree and load. It can alert when there are some problems, drive relay work, control and manage the various parameters of this monitor on LED. It can also communicate with PC by 485 bus. This self design agreement assured the accuracy and sccurity of this communication. It has a perfect redundant degree and man-machine interface which is intelligent than before. With the adjustment in laboratory and scene, the result indicate.

Key Words: gate; single chip microcontroller; open degree; load value;

sensor

目录

1 绪论 .................................................................................................................................................... - 1 -

1.1引言 .......................................................................................................................... - 1 -

1.2闸门开度荷重监控系统的发展应用 ...................................................................... - 2 -

1.3 课题的主要研究内容 ............................................................................................. - 4 -

2 系统总体方案设计 ........................................................................................................................... - 6 -

2.1系统的组成与性能 .................................................................................................. - 6 -

2.2微机控制器的选择 .................................................................................................. - 8 -

2.3系统总体方案的确定 ............................................................................................ - 15 -

3 闸门控制系统硬件设计 ................................................................................................................ - 16 -

3.1测量电路 ................................................................................................................ - 16 -

3.1.1闸门开度测量 .............................................................................................. - 16 -

3.1.2 荷重信号采样 ............................................................................................. - 19 -

3.2转换电路 ................................................................................................................ - 20 -

3.2.1 A/D转换 ................................................................................................... - 20 -

3.2.2 D/A转换 ................................................................................................... - 24 -

3.2.3 I/V转换电路............................................................................................. - 26 -

3.3 LED显示电路 ....................................................................................................... - 29 -

3.4 键盘接口电路 ....................................................................................................... - 32 -

3.5 驱动电路 ............................................................................................................... - 33 -

4 系统软件的设计 ............................................................................................................. - 38 -

4.1 系统软件设计概述 ............................................................................................... - 38 -

4.2系统软件流程 ........................................................................................................ - 38 -

5 通信总线的选择.............................................................................................................................. - 40 -

5.1 RS485通信总线 .................................................................................................... - 40 -

5.2 RS485芯片的选用 ................................................................................................ - 41 -结论 ................................................................................................................................. - 42 -致谢 ................................................................................................................................. - 43 -参考文献 ............................................................................................................................. - 44 -附录A .................................................................................................................................. - 45 -附录B .................................................................................................................................. - 46 -

相关文档
最新文档