登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 理工学类 > 建筑电气与智能化 > 正文

基于C#和智能仪表的数据采集报警系统设计毕业论文

 2022-01-26 12:01  

论文总字数:37200字

摘 要

随着微电子技术的蓬勃发展,计算机技术的飞速发展,主体是微机,使仪器结构发生了翻天覆地的变化。结合计算机技术,运用检测技术,产生了新一代的智能仪表,与传统仪器的传统测量电路相比,在测量过程自动化,测量数据处理和功能多样化方面。取得了巨大进展[1]

本课题考虑通信优势选用Modbus通信协议。是一种工业自动化总线通信协议,其标准、开发和免费等特点,支持多厂家的数据通信,兼容光纤,无线, RS232, RS485, TTL等,广泛应用于各种工业自动化领域。节约成本,灵活多用,此通信协议对外公开,有简单且易于理解的格式。

本文将介绍一些主流通信协议,重点介绍Modbus通信协议。本课题基于 C#和智能仪表的数据采集报警系统论文设计制作了传输页面,该系统由Visual C#开发,可以通过下位机将数据传输到主机。上位机可显示实时图像,可设置上下限并进行报警。

关键词:智能仪表;C#;Modbus通信协议;上位机;下位

Abstract

With the continuous development of microelectronics and computer technology, the fundamental change of instrument structure has been brought about. The new generation of smart tools is based on the integration of information technology and micro-computers. Compared with the conventional measuring circuit of traditional instrument in the aspects of automation of measuring process, data processing and function diversification, the new generation of "intelligent instrument" has been achieved. Great progress has been made.

This document has selected a Modbus communication protocol that reflects the benefits of communication. It is a communication protocol for industrial automation bus with standard features, development and properties. It supports data communication of thousands of industrial intelligent instrument manufacturers. It also supports various communication interfaces such as RS232, RS85, TTL, optical fiber and wireless. The protocol is open and easy to understand. it is widely used in various sectors related to industrial automation, cost savings, flexibility and multiuse.

This paper introduces some commonly used communication protocols, focusing on the Modbus communication protocol, and introduces the software scheme used in the design. This paper designs and manufactures a transmission page based on C# and intelligent instrument data acquisition and alarm system. A system developed with a Visual C# and to collect information from the computer from above down. The upper computer can display real-time images.The warning limit and a lower limit can be set.

Key words: intelligent instrument; C#; Modbus communication protocol; upper computer; lower compute

目录

摘要..................................................I

Abstract...............................................II

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

1.1课题背景....................................................1

1.2现状........................................................2

1.3本课题所做工作..............................................3

1.4章节安排....................................................4

  1. 数据采集报警系统的核心技术.............................................6

2.1 Modbus通信协议..............................................6

2.1.1 Modbus通信协议介绍....................................6

2.1.2 Modbus RTU模式与ASCII模式的优点与缺点................6

2.1.3 提高通信效率的的一些措施..............................6

2.2 Visual C#....................................................7

2.2.1 Visual C#的介绍.......................................7

2.2.2 Visual C#制作上位机的验证.............................7

2.2.3 上位机页面验证........................................8

2.3 RS-232通信协议...............................................8

2.4 RS-422通信协议...............................................10

2.5 RS-485通信协议...............................................11

  1. 总体设计...............................................................................................12

3.1 总体设计...................................................12

3.2 上位机.....................................................12

3.3 下位机.....................................................13

  1. 软件设计...............................................................................15

4.1 NModbus程序...............................................15

4.2 Chart控件绘制图像.........................................15

4.3 Timer控件收发数据.........................................18

4.3.1实时接收下位机数据....................................18.

4.3.2 刷新Chart控件.........................................18

4.4 comboBox下拉菜单..........................................18

4.4.1 寄存器选择.............................................18

4.4.2 上限选择...............................................19

4.4.3 下限选择...............................................20

4.5 用Label控件制作的上下限报警灯.............................20

4.5.1 上限报警灯.............................................21

4.5.2 下限报警灯.............................................22

  1. 实验结果.................................................................................23

5.1 设计的基于C#和智能仪表的数据采集报警系统调试结果..........23

5.2 实验调试结果...............................................23

  1. 论文总结及展望...................................27

6.1 论文总结...................................................27

6.2 课题不足...................................................27

6.3 课题展望...................................................27

参考文献................................................29

附录................................................ ....31

请支付后下载全文,论文总字数:37200字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图