查看: 688|回复: 0

基于MCGS的液温监控系统设计与实现

[复制链接]

40

主题

142

帖子

360

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
360
发表于 20:51 | 显示全部楼层 |阅读模式
论文编号ZXX163  论文字数:13026,页数:50
摘要
 随着控制系统的发展,系统越来越复杂,需要监控的系统参数也越来越多。同时为了减少现场环境对人身的伤害,要求控制人员最好能远离现场。由此产生了一系列组态软件,编写上位机监控软件,进行远程监控。
 本文介绍了基于MCGS和单片机的远程液位监控系统的硬件和软件设计。上位机采用嵌入式WINCE操作系统和MCGS嵌入式组态软件,对液位和温度信息进行实时监控;下位机以单片机为核心,进行液位和温度信息的采集和转换,并与上位机进行信息交互;上位机和下位机通过串口方式进行通信。
 组态软件MCGS(Monitor and Control Generated System)提供了大多数常用硬件设备的驱动,然而在实际应用中对于特殊的硬件设备,MCGS的驱动就不能满足要求。因此为了解决组态软件MCGS与所用特殊硬件设备通信的问题,利用MCGS的脚本开发工具,完成与所用单片机相匹配的子设备驱动构件的开发。通过测试与挂接,实现了MCGS与STC12C5608单片机的通信。
关键词:嵌入式HMI,串行通信,组态软件

ABSTRACT
 With the development of control system, systems become more and more complicated, requiring monitoring of system parameters is also increasing. Meanwhile, in order to reduce on-site environment for personal injury, the system requires the workman far from the scene environment. In this way a series of configuration software are produced to exploit monitoring software of upper PC.
 This article introduced with emphasis the hardware and software design in the long-distance fluid position system based on the single chip and MCGS.The host computer control system adopts the embedded WINCE operation system and MCGS configuration software in embedded version, the MCGS software carries on the real-time monitoring to the fluid position and temperature information; the lower position machine takes the single chip as a core, gathering and transforming the fluid position and temperature information; The upper position machine and the lower position machine communicate through the serial port.
 Configuration software MCGS (Monitor and Control Generated System) has provided the majority commonly used hardware equipment's actuation, however in the practical application regarding the special hardware equipment, the MCGS actuation cannot satisfy the request. Therefore to solve the matching problem of configuration software MCGS and its special hardware driver, uses MCGS the script development kit, completes the development of SCM driver-component. The communication between MCGS and STC12C5608 microcontroller is achieved through testing and articulation of custom single-chip components.
 Keywords: Embedded HMI, Serial communication, Configuration software.
目录
摘要 I
ABSTRACT II
第1章 引言 1
1.1 背景 1
1.2 研究内容 2
第2章 监控系统硬件设计 3
2.1 系统结构 3
2.1.1 下位机核心处理器简介 3
2.1.2 上位机触摸屏简介 5
2.2外围电路设计 6
2.2.1显示电路设计 6
2.2.2传感器选择 8
2.2.3单片机与上位机通信电路 9
2.2.4电源供电电路 10
2.2.5 A/D采集接口电路 10
第3章 监控系统软件设计流程 13
3.1 软件程序结构 13
3.1.1 下位机程序流程图 13
3.1.2 上位机程序流程图 16
3.2 硬件程序说明 17
3.2.1 A/D转换 17
3.2.2数码管动态扫描电路 17
3.2.3系统参数配置 18
3.3 外围输入接口程序说明 19
3.3.1热敏温度传感器 19
3.3.2 按钮输入各功能 20
第4章 数据通信的实现 21
4.1 通信的硬件和上位机软件 21
4.2 通信协议 22
4.3 通信驱动代码的编写 23
第5章 上位机液位监控系统软件界面 25
5.1 MCGS组态软件简介 25
5.2 基于MCGS的上位机设计 26
5.3 监控曲线 28
5.4 液位、温度历史数据 29
结束语 30
致谢 31
参考文献 32
附录 源代码 33
附录1 原理图 45
附录2 PCB板 46
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

 
在线客服
点击这里给我发消息 点击这里给我发消息
免费下载论文
一站式论文服务

微信扫一扫,多种方式联系平台客服!
  • 关于资料
    提供的资料属本站所有,内容审核过,保证质量,严禁转载.
  • 关于发货
    提供下载链接或发送至您的邮箱,资料可重复发送,确保您收到为止.
  • 疑难解答
    收到资料后若有任何疑难问题,均可通过本站客服提供帮助解决.
  • 售后服务
    我们确保发送的资料和介绍一致,如核实为不符,可以申请售后.
  • 本站邦邦毕业论文网所列毕业设计(论文)资料均属于原创者所有,初衷是为大家在做毕业设计(论文)过程中参考和学习交流之用,请勿做其他非法用途,转载必究,如有侵犯您的权利或有损您的利益,请联系本站,经查实我们会立即进行修正或删除相关内容! 2a7a.com 版权所有,严禁抄袭 桂ICP备18006264号-1 写作人才招聘
    客服服务时间:09:00-22:30(周一至周日)
    返回顶部