节点文献
动态可配置WSN通用测控系统的应用研究
Application and Research of Dynamic Configurable WSN Universal Measure and Control System
【作者】 顾霞萍;
【导师】 王宜怀;
【作者基本信息】 苏州大学 , 计算机应用技术, 2011, 硕士
【摘要】 无线传感网络(Wireless Sensor Networks,WSN)融合了传感器技术、通信技术和计算机技术,实现了数据采集、传输及处理的统一,已被广泛应用于各行各业,其在测控系统中的应用也正成为研究的热点。目前各机构对基于WSN的测控系统进行独立的研究,在开发过程中势必存在大量重复开发。为此,本文提出了动态可配置WSN通用测控系统(DWSNS)的设计方案。目的在于提供一个硬件可裁减、软件可定制的基于WSN的通用测控系统的基础框架,以减少重复劳动、提高系统可重用性和开发效率。本文的主要工作及创新点如下:(1)在分析测控系统一般结构的基础上提出了一种基于无线传感网络的通用测控系统DWSNS的软硬件模型。(2)根据硬件构件设计思想给出了DWSNS的通用硬件平台的设计方案,系统采用Freescale公司的MC13213作为DWSNS中测控节点的主控芯片,将模拟量输入、开关量输入、模拟量输出以及开关量输出模块作为四个独立的模块进行设计,不与主控芯片的特定引脚相连,使得测控节点的硬件功能不被固化,增加了硬件的灵活性和通用性。(3)按照组态软件及组件的设计思想分别完成了上、下位机软件的设计。在下位机软件的设计中根据嵌入式数据库的设计思想,将配置参数按照设定的数据结构存放在嵌入式数据库中,并给出相关的Flash地址定位算法。下位机运行时根据此算法在嵌入式数据库中查找相应的配置文件,对其进行解析并依据配置文件执行相应操作,从而使下位机功能在通用框架的基础上具体化。(4)在上位机软件的设计中,给出了具有良好用户界面的上位机配置软件,并对相应数据库进行了详细设计,使用配置软件可以方便地对DWSNS的通用硬件平台进行配置。给出了监控软件的设计,监控软件根据配置软件生成的XML文件生成针对具体系统的监控界面,实现对WSN中各测控节点的监控。(5)为了验证DWSNS的可行性和可靠性,本文最后给出了使用DWSNS进行配置式开发的应用实例。
【Abstract】 Wireless Sensor Networks (WSN) integrates sensor technology, communication and computer technology to unify data collection, transmission and processing, it has been widely used in various industries, the application and research on the measure and control system is also becoming a hotspot. At present institutes are researching the measure and control system which based on WSN separately, as a result, a lot of repeated work on development has been done. For this reason, this paper puts forward a design of dynamic configurable WSN universal measure and control system (DWSNS). The aim is to provide a basic frame of universal measure and control system which based on the WSN, on which hardware can be trimmed and software can be customized so as to reduce duplication of work and improve reusability and development efficiency.The main work and innovation of this paper are as follows:(1) Provide a universal software and hardware model of DWSNS in the analysis of general structure of measurement and control system.(2) Provide a design of universal hardware platform of DWSNS according to the design theory of hardware component. MC13213 from Freescale company is chosen as the main control chip, analog and switch input/output modules are designed as separate modules and not connected with the specific pin of the main control chip. This method makes the hardware functions of measuring and controlling nodes not cured and improve the flexibility and versatility of the hardware.(3) According to the theories of configuration software and software component, the designs of upper and lower computer software are finished. The design of lower computer software based on the idea of embedded database , that is, to store configuration parameters into embedded database in accordance to certain data structure and give relevant flash address location algorithm, the lower computer can search for corresponding configuration file in the embedded database according to the algorithm and then analyze and perform corresponding operation in the way of configuration file so that the general function of lower computer can be changed to dedicated function.(4) On the design of upper computer software, this paper provides configuration software with good user interface and detailed design is made for its database. User can Application and Research of Dynamic Configurable WSN Universal Measure and Control System Abstract make configurations easily to the universal hardware platform of DWSNS through configuration software. In addition, this paper also provides the design of monitoring software, the software can generate monitoring interface for specific system on the basis of XML file generated by configuration software so that the monitoring of each measuring and controlling node in WSN is achieved.(5) In order to test and verify the feasibility and reliability of DWSNS, in the last part of this paper actual application examples developed under DWSNS are provided.
【Key words】 WSN; Measure and Control System; Configuration Software; Component; Universality;