基于嵌入式的环境监测系统软件开发
发布时间:2018-02-21 15:57
本文关键词: 环境监测 嵌入式 MODBUS协议 Delphi纠错 加密 出处:《天津大学》2012年硕士论文 论文类型:学位论文
【摘要】:随着社会的不断发展,像药品仓库、食品行业、温室大棚和档案馆等特定的场所对环境参数的要求越来越高,使得温湿度指标已经受到人们越来越多的关注。近些年来嵌入式技术已经成为了人们积极研究和深入学习的热点,这主要得益于通信、消费电子和计算机相互融合和快速发展。嵌入式系统应用的开发日渐成熟,利用嵌入式技术开发的产品也越来越多的融入人类生产和生活。 目前实际应用的环境监测系统主要是基于主机——终端的开发模式,现场布线困难,不方便进行统一管理。本课题设计了基于三星S3C6410微处理器和MODBUS协议的环境监测系统,解决了现场布线困难、不易进行统一管理等问题,开发拥有对环境参数采集、存储、传输、显示功能的监测系统,很好地满足了用户的需要。用户不仅能在嵌入式终端选择有线或无线的方式采集多通道数据,而且能将数据显示在下位机和上位机上,采用标准的MODBUS通信协议,能实现多种方式传输数据,并采用校验的方式确保数据传输环节更加可靠。本系统不仅能实时采集各抽样点的温度与湿度值,而且能够迅速处理,友好的将数据结果显示给用户,并存储结果以方便以后的对比研究。 本文首先是根据用户需求设计系统整体架构,完成对上位机软件开发平台和数据库的选择、上位机与下位机之间的通信协议设计、上位机软件功能架构、数据库数据格式设计等内容。重点内容是实现数据显示、系统控制、数据导出、数据库连接、串口通信、系统校验、从机实现和安装程序生成等8个重要的组成部分。此外本系统还首次加入了监控从机机制,使得实现监控的不再只有一台主机,为系统的稳定性提供了更好的保证。论文完成了上位机软件的测试,纠正了测试发现的问题并根据用户实际需求对软件做出优化,加入了纠错机制和加密机制算法的研究和相应平台的实现。
[Abstract]:With the continuous development of society, the demand for environmental parameters in certain places, such as medicine warehouse, food industry, greenhouse and archives, is getting higher and higher. In recent years, embedded technology has become the focus of active research and in-depth study, which is mainly due to the communication. The development of embedded system application is becoming more and more mature, and the products developed by embedded technology are more and more integrated into human production and life. At present, the environment monitoring system is mainly based on the development mode of mainframe and terminal, which makes it difficult to arrange wiring in the field and is not convenient for unified management. In this paper, an environment monitoring system based on Samsung S3C6410 microprocessor and MODBUS protocol is designed. It solves the problems of difficult wiring and unified management, and develops a monitoring system with the functions of collecting, storing, transmitting and displaying environmental parameters. The user can not only collect the multi-channel data in the embedded terminal, but also display the data on the lower computer and the upper computer, and adopt the standard MODBUS communication protocol. The system not only can collect the temperature and humidity of every sampling point in real time, but also can process the data quickly. Friendly display of data results to users, and store the results to facilitate future comparative research. First of all, according to the needs of users, this paper designs the overall architecture of the system, completes the choice of the host computer software development platform and database, the communication protocol design between the host computer and the lower computer, and the upper computer software function architecture. Database data format design and other content. The key content is to achieve data display, system control, data export, database connection, serial communication, system verification, There are 8 important components, such as slave computer implementation and installation program generation. In addition, the system has also added the monitoring slave mechanism for the first time, which makes the monitoring system no longer have only one host computer. This paper completes the software testing of the host computer, corrects the problems found by the test, and optimizes the software according to the actual needs of the user, and provides a better guarantee for the stability of the system. Add error correction mechanism and encryption mechanism algorithm research and the implementation of the corresponding platform.
【学位授予单位】:天津大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP368.12;TP274
【参考文献】
相关期刊论文 前8条
1 王红珍;张根耀;李竹林;;AES算法及安全性研究[J];信息技术;2011年09期
2 尹林枫;陈羽;;串行通讯中奇偶校验的检错效率[J];核电子学与探测技术;2008年03期
3 江国舟,刘海,刘德明;嵌入式Linux及其在EPON系统中的应用[J];计算机与数字工程;2004年04期
4 何明星,范平志;新一代私钥加密标准AES进展与评述[J];计算机应用研究;2001年10期
5 何明星,林昊;AES算法原理及其实现[J];计算机应用研究;2002年12期
6 宋庆国;魏振钢;张琳;;基于以太网的分布式温湿度智能监控系统[J];微计算机信息;2007年22期
7 曾静,刘强,刘斌;利用CRC校验提高HFC网络通信可靠性[J];中国有线电视;2004年Z3期
8 冯子龙;;基于MB90F387S的MODBUS通信设计[J];自动化技术与应用;2008年03期
相关硕士学位论文 前10条
1 陆晶;基于ModBus的数据采集系统的研究与设计[D];江南大学;2011年
2 艾R,
本文编号:1522277
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1522277.html