CN101216986A - A port field data acquisition, transmission and issuance system based on Zig Bee technology - Google Patents

A port field data acquisition, transmission and issuance system based on Zig Bee technology Download PDF

Info

Publication number
CN101216986A
CN101216986A CN 200810032748 CN200810032748A CN101216986A CN 101216986 A CN101216986 A CN 101216986A CN 200810032748 CN200810032748 CN 200810032748 CN 200810032748 A CN200810032748 A CN 200810032748A CN 101216986 A CN101216986 A CN 101216986A
Authority
CN
China
Prior art keywords
data
zigbee
network
interface
processor
Prior art date
Application number
CN 200810032748
Other languages
Chinese (zh)
Inventor
刘成良
刘海宁
李彦明
Original Assignee
上海交通大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海交通大学 filed Critical 上海交通大学
Priority to CN 200810032748 priority Critical patent/CN101216986A/en
Publication of CN101216986A publication Critical patent/CN101216986A/en

Links

Abstract

A port on-site data acquiring, transmitting, sending and issuring system based on zigbee technology in the remote monitoring and controlling field of electromechanical equipment, comprises a wireless sensing network and a remote data server, wherein the wireless sensing network is distributed in a port working field, and can acquire working state data of the port field, collect the intra-network acquired data in a zigbee wireless manner, pack the collected data, and transmit to the remote data server via wired enterprise in-house network based on a transmission control protocol and an internetwork protocol. The remote data server can receive the data based on the transmission control protocol and the internetwork protocol, resolve the data according to the packed data transmission format, store the data in a database, and issue the data in a web service mode. The invention provides data support for monitoring application program development, failure pre-warning and equipment maintenance. In addition, the low-cost zigbee technology can reduce system complexity, and has good anti-interference performance, expandability and practicability.

Description

基于紫蜂技术的港口现场数据采集传输发布系统技术领域本发明涉及一种电信技术领域的系统,具体是一种基于紫蜂技术的港口现场数据采集传输发布系统。 Port Port field data based on the field data acquisition and transmission ZigBee technology Technical Field The present invention relates to a distribution system of a telecommunications system Field, in particular a ZigBee transmission technique based on the acquisition distribution system. 背景技术目前,不断增长的集装箱运输和港口之间日趋激烈的竞争使得港口的运作效率和港口机械的健康运行面临更多的挑战。 BACKGROUND At present, the growing container traffic between the port and the increasingly fierce competition makes the healthy operation of the operational efficiency of ports and port machinery more challenging. 为了克服上述挑战,需要对港口及港口机械进行全方位的监测,保证港口装卸及物流有效运转。 To overcome these challenges, the need for port and port machinery all-round monitoring to ensure the effective operation of the port handling and logistics. 与此同时,现场监测需要大量布线,不仅增加港口建设成本,并且大量的布线也会增加港口系统的复杂性,干扰港口系统正常运转,也不利于港口系统的维护。 At the same time, on-site monitoring requires a lot of wiring, port construction not only increases costs, and a large amount of wiring will increase the complexity of the port system, interfere with the normal operation of the port system, the port is not conducive to the maintenance of the system. 理想的监测方式是采用无线的方式。 The ideal way is to monitor the use of wireless manner. 传统的无线数传技术成本高,抗干扰性差,不适合工业现场应用。 Traditional high cost of wireless data transmission technology, poor immunity, is not suitable for industrial field applications. 紫蜂(ZigBee)作为一种新兴的无线传感技术,近距离、低复杂度、低功耗、 低数据速率、低成本的双向无线通信技术;采用直接序列扩频(DSSS)技术,可靠性好,抗干扰能力强;基于IEEE802. 15. 4标准,可用电池长时间供电;网络容量大,组网灵活。 Zigbee (the ZigBee) as a new wireless sensing technology, close, low complexity, low power, low data rate, low-cost two-way wireless communication technology; direct sequence spread spectrum (DSSS) technology, reliability good, strong anti-interference ability; based on IEEE802 15. 4 standard, the available battery power for a long time; network capacity, flexible networking. ZigBee这些优势使其被更多地应用到工业领域。 These advantages make it more ZigBee is applied to the industrial field. 经对现有技术文献的检索发现,中国专利申请号99126775.3,公开日2001.06. 13,专利名称为"港口门式起重机动态监测装置",该专利自述为: 实现对门式起重机重点工作参数的检测,并实现以无线通讯方式将工作参数实时传送,但并未指出无线通信采用的具体技术手段,同时所采用的无线通信方式易阻断,具有方向性,组网功能不明确。 After retrieval of prior art documents found Chinese Patent Application No. 99126775.3, Publication date 2001.06 13, and entitled "Dynamic Port gantry crane monitoring devices," the patent readme to: enable detection of gabled focus on operating parameters of the crane, and implemented in wireless communication parameters transmitted in real time to work, but did not indicate the specific techniques used in wireless communication, wireless communication adopted at the same time easy to block, directional, network function is not clear. 中国专利申请号:200610061124.6,公开曰2006. 12.06,专利名称为: 一种支持ZigBee的电能数据采集方法和电能计量装置,该专利基于提出了一种应用于电能数据采集和计量的装置,该装置提供了采集与控制的双向通路,并且提供了异构网络的网关,但是其网络模块不具备标准应用接口,监测功能特定,监测数据封闭,系统可扩展型较弱。 Chinese patent application number: 200610061124.6 discloses said 2006. 12.06, and entitled: ZigBee one kind of energy and data collection method energy metering device support, this patent proposes a device based on the electrical energy is applied to data acquisition and measurement, the apparatus providing acquisition and bidirectional control path, and provides a heterogeneous network gateway, but the network does not have a standard application interface module, a specific monitoring function, monitoring data closure system less scalable. 发明内容本发明针对上述现有技术的不足,提供了一种基于紫蜂技术的港口现场数据采集传输发布系统,使其基于ZigBee无线通信方式,实现对港口及港机安全生产和工作状态数据进行采集、传输、发布,为进一步的港口和港机监测应用程序开发开辟一条数据通路,提供数据基础。 The present invention has the above-mentioned deficiencies of the prior art, a port field data collection and transmission system based on the ZigBee technology, making ZigBee-based wireless communication to achieve security for ports and port machinery production and work status data gathering, transmission, distribution, open up a path for further data ports and port machinery monitoring applications development, providing data base. 本发明是通过如下技术方案实现的,本发明包括:无线传感网络与远程数据服务器,其中:无线传感网络分布于港口工作现场,负责采集港口现场的工作状态的数据,并以ZigBee无线方式汇聚网内的采集数据,将汇聚的采集数据打包, 通过有线Intranet网络(企业内部网络)基于TCP/IP协议(传输控制协议/网间协议)传输给远程数据服务器,远程数据服务器基于TCP/IP协议接收数据,按照打包的数据传输格式对数据进行解析,存入数据库,并以WebServices(Web服务) 方式进行数据的发布。 The present invention is achieved by the following technical solutions, the present invention includes: a wireless sensor network and a remote data server, wherein: the wireless sensor network distributed port work site, responsible for collecting data of the operation state of the port site, and in a wireless manner ZigBee data collected in the aggregation network, the collected package data aggregation, data to the remote server based on the TCP / IP (transmission control protocol / Internet protocol) transmitted via a cable Intranet network (intranet), a remote data server over TCP / IP protocol to receive data, in accordance with packaged data transmission format of the data is parsed into the database, and to WebServices (Web services) way to publish data. 所述无线传感网络,包括:终端数据采集节点、路由器及网络协调器,终端数据采集节点在网络拓扑结构上与路由器或网络协调器相连,负责港口工作现场数据的采集,并将数据发送至在Zigbee网络上与其相连的上级路由器或网络协调器;路由器负责将现场采集数据转发至在ZigBee网络上与其相连的上级路由器或网络协调器,并负责在ZigBee网络上与其相连的下级ZigBee网络节点的网络路由;网络协调器汇聚整个无线传感网络的现场采集数据,并负责整个港口工作现场的无线传感网络的网络组织。 The wireless sensor network, comprising: a data collection terminal nodes, routers, and network coordinator, a terminal data acquisition node network coordinator or a router connected to the network topology, the port is responsible for collecting data of the job site, and transmits the data to on the Zigbee network connected thereto the upper router or the network coordinator; router is responsible accumulate data forwarded to the higher router or network coordinator on the ZigBee network connected thereto, and is responsible for the lower ZigBee network node in a ZigBee network connected thereto is network routing; network coordinator brings together the entire wireless sensor network field data collection, network and is responsible for organizing wireless sensor networks throughout the port job site. 所述终端数据采集节点、路由器及网络协调器均作为ZigBee的网络节点, 网络协调器在无线传感网络中是唯一的,而路由器与终端数据采集节点可以有多个, 一个基于ZigBee的无线传感网络最多有65536个网络节点,终端数据采集节点、路由器及网络协调器之间以ZigBee无线通信,并构成网络拓扑结构,网络拓扑结构根据港口地理布局和实际监测需要可配置成星型、树型或网状拓扑结构。 The data collection terminal nodes, routers, and network coordinator are as ZigBee network node, the network coordinator in a wireless sensor network is unique, the router and the terminal may have a plurality of data acquisition nodes, a ZigBee-based wireless transmission 65,536 sense network has network nodes, data collection between the terminal nodes, routers, and a network coordinator in a ZigBee wireless communication, network topology and configuration, the network topology may be configured to require a star at a port monitor and the actual geography, the tree type or a mesh topology. 所述终端数据采集节点,包括:第一处理器、标准SCI (串行通信)接口、 传感器接口、 ZigBee收发器及低功耗源管理模块,第一处理器分别与标准SCI接口、传感器接口相连,并协调控制标准SCI接口、传感器接口的运行,标准SCI 接口外接串行通信设备输入串行通信数据,传感器接口外接数据采样传感器输入采样数据,串行通信数据和采样数据均为现场采集数据,第一处理器将现场采集数据装帧通过SPI (串行外围设备)接口发送给ZigBee收发器,ZigBee收发器的ZigBee接口将现场采集数据发送至路由器或者网络协调器,低功耗能源管理模块分别与第一处理器、标准SCI接口、传感器接口、 ZigBee收发器相连,提供电源支持,并对电源进行管理,实现终端数据采集节点低功耗长时间运行。 The data collection terminal nodes, comprising: a first processor, a standard SCI (serial communication) interface, sensor interface, ZigBee transceiver and a low power source management module, are respectively coupled to the first processor interface standard SCI interface, sensor , and coordinated control standard SCI interface, operation of the sensor interface, a serial communication interface to an external standard SCI serial communication data input device, the sensor interface to an external sensor input data samples sampled data, serial communication data and the sample data are collected data field, a first processor to collect data binding site through SPI (serial peripheral) interface to a ZigBee transceiver, ZigBee interfaces ZigBee transceiver site transmits to the router or data collection network coordinator, low power consumption and the energy management module, respectively, a first processor, standard SCI interface, sensor interface, ZigBee transceiver is connected, to provide support for power, power supply and management, and data collection terminal node long low power operation. 所述标准SCI接口,其负责从串行通信设备获取串行通信数据,并作为终端数据采集节点和路由器进行ZigBee网络参数与运行参数的配置的接口,所述SCI 接口为1路。 The SCI interface standard, which is responsible for taking the serial communication data from the serial communication device, and a terminal data acquisition node and router ZigBee network interface configuration parameters and operating parameters, the SCI interface is a way. 所述传感器接口,为AD (模拟到数字转换)采样接口,其外接数据采集传感器采集传感器模拟量,传感器接口还作为通用IO (输入输出)口,接收数字量输入或输出开关控制信号,传感器接口为4路。 The sensor interface for AD (Analog to Digital Converter) sampling interface, which data acquisition sensors external analog sensor acquisition, but also as a universal sensor interface IO (input and output) port, receiving a digital input or output the switching control signal, sensor interface 4-way. 所述ZigBee收发器,包括ZigBee支持芯片与ZigBee天线,ZigBee支持芯片提供与第一处理器通信的SPI接口, ZigBee支持芯片实现对IEEE802. 15. 4协议的物理层支持,ZigBee天线实现信息的发送,在第一处理器控制下对外提供ZigBee 接口, ZigBee收发器通过SPI接口与第一处理器通信,接收第一处理器发送装帧的现场采集数据,并通过ZigBee接口发送至网络拓扑结构决定的路由器或者网络协调器。 The ZigBee transceiver comprising an antenna and ZigBee ZigBee support chips, ZigBee chip provides support and SPI interface, a first processor support chips ZigBee communication physical layer support for IEEE802. 15. 4 protocol, ZigBee antenna transmitting information to achieve , a ZigBee interface to provide external, ZigBee transceiver at a first interface of the first processor control SPI communication with the processor through the processor receives the first transmission data acquisition binding site, and sent to the router network topology determined by a ZigBee interface or network coordinator. 所述终端数据采集节点,其移植完整的ZigBee协议栈(终端设备),实现基于ZigBee的无线传感网络的ZigBee终端设备网络功能,ZigBee协议栈是一个微型的操作系统,运行在第一处理器上,协调终端数据采集节点各个硬件组件配合工作, 第一处理器执行的各项工作在协议栈中视为一个任务,第一处理器不断从标准SCI接口和传感器接口获取现场采集数据并进行缓存,然后通过SPI接口调用ZigBee收发器,通过ZigBee接口将现场采集数据以ZigBee无线方式上传。 The data collection terminal node, transplanted full ZigBee protocol stack (terminal), the terminal device realized based on ZigBee wireless sensor network function ZigBee network, ZigBee protocol stack is a micro operating system, running on a first processor , the coordinate data collection terminal nodes of the various hardware components with the work, the work performed by the first processor task as a protocol stack, a first interface to the processor continuously acquires from the scene and the SCI interface standard and cached data collected by sensors, then through SPI interface call ZigBee transceiver, a ZigBee interface by the data collected in the field ZigBee wireless upload. 所述路由器,负责实现ZigBee的网络路由并转发现场采集数据,路由器根据无线传感网络的网络拓扑结构,向上接入上级路由器或者上级网络协调器,并允许向下连接下级路由器或下级终端数据采集节点,实现其ZigBee网络路由功能,并将下级路由器或者下级终端数据采集节点发来的现场采集数据发送至在ZigBee网络上与其相连的上级路由器或者上级网络协调器,实现现场采集数据的转发。 The router is responsible for network routing and forwarding ZigBee collect data field, the router based on network topology of a wireless sensor network, the higher up the access router or the upstream network coordinator, router and allow connection or lower downwardly lower terminal data acquisition node, to achieve its ZigBee network routing functions, and the lower end or lower router sent from the data acquisition node field-collected data is sent to the higher upstream network router or coordinator on the ZigBee network connected thereto, to achieve forward field data collection. 所述路由器,其移植完整的ZigBee协议栈(路由器),实现其作为ZigBee网络节点的网络路由功能,在路由器的组织下,ZigBee网路中的其他路由器接入此路由器构成网络拓扑结构上此路由器的下级路由器,其他的终端数据采集节点也可以接入此路由器;与此同时,路由器还将接入ZigBee网络上的其他路由器或者直接接入网络协调器,构成网络拓扑结构上的上级网络节点,ZigBee协议栈是一个微型的操作系统,协调路由器各组成模块配合工作,处理器执行的各项工作在协议栈中视为一个任务,除了完成ZigBee网络路由器的网络路由任务外,处理器不断通过ZigBee网络接口接收在ZigBee网络上与其相连的下级终端数据采集节点或者路由器的数据,并转发至与其相连的ZigBee上级路由器或者网络协调器。 The router, transplanted full ZigBee protocol stack (router), implemented as a network routing node ZigBee network, under the auspices of the router, other routers in the network ZigBee router this access router constituting the network topology subordinate routers, other data collection terminals can access this node router; At the same time, the router also access to other routers on the network or directly to the network ZigBee coordinator, constituting the upper network node on the network topology, ZigBee protocol stack is a miniature operating system, coordination of various components of the router module with the work, the work performed by the processor as a task in the protocol stack, in addition to the network routing tasks complete ZigBee network routers, ZigBee network processor continuously through lower interface receives data terminal data acquisition node or a router in the ZigBee network connected thereto, the upper and forward ZigBee router or to the network coordinator connected thereto. 在ZigBee协议栈的调度下,各个任务依次被执行。 In the ZigBee protocol stack scheduling, each task order is executed. 所述网络协调器,包括处理器与数据缓存模块、ZigBee模块和TCP/IP模块, ZigBee模块通过ZigBee接口接收到装帧的现场采集数据,处理器与数据缓存模块由第二处理器与SRAM存储器(静态随机存储器)组成,第二处理器一端通过SPI 接口与ZigBee模块通信,并解析出现场采集数据,缓存入SRAM存储器,第二处理器另一端通过SCI接口与TCP/IP模块通信,将SRAM存储器中的缓存的现场采集数据通过TCP/IP接口发送至远程数据服务器。 The network coordinator comprising a processor and a data buffer module, ZigBee modules and TCP / IP module, a ZigBee module receives the binding site to collect data through a ZigBee interface, a data processor and a second processor and cache module by a SRAM memory ( static random access memory), with one end of a second processor in communication with the SPI interface module through ZigBee, and analyzing the data collected in the field, into the SRAM cache memory, the other end of the second processor through the SCI interface TCP / IP module in communication with the SRAM memory the buffered data is sent to the remote site data collection server via TCP / IP interface. 所述网络协调器,其移植完整的ZigBee协议栈(协调器),实现其作为ZigBee 网络节点的网络协调器功能。 The network coordinator, transplanted full ZigBee protocol stack (coordinator), which implement a function as a network coordinator ZigBee network node. 在网络协调器的组织下,无线传感网络初始化过程中按照预设的网络拓扑结构形成星型、树型或者网状的网络拓扑结构。 In the organization of the network coordinator, a wireless sensor network initialization process form a star, a tree or a mesh topology in accordance with a predetermined network topology. ZigBee 协议栈实际是一个微型的操作系统,协调网络协调器各组成模块配合工作,各个第二处理器工作在协议栈中视为一个任务,除了完成ZigBee网络协调器的网络协调任务外,第二处理器不断通过ZigBee网络接口汇聚整个无线传感网络的现场采集数据,缓存入SRAM存储器,然后通过TCP/IP模块转换为TCP/IP协议发往远程数据服务器。 ZigBee protocol stack is actually a micro operating system, the collaboration network coordinator every module with the work, each of the second processor operates as a task in the protocol stack, in addition to the complete network coordinator ZigBee network coordinator task, the second processing ZigBee is continuously through the network interface aggregation of the entire wireless sensor network to collect data field, into the SRAM cache memory, and then converted by the TCP / IP module TCP / IP protocol to a remote data server. 在ZigBee协议栈的调度下,各个任务依次被执行。 In the ZigBee protocol stack scheduling, each task order is executed. 所述远程数据服务器,是具有固定IP的网络服务器,包括数据接收模块、数据存储模块及数据发布模块,其中-数据接收模块通过Intranet网络与网络协调器相连,基于TCP/IP协议接收网络协调器汇聚的现场采集数据,按无线传感网络打包的数据格式解析,得出数据, 传输到数据存储模块;数据存储模块是远程数据服务器的核心,数据存储模块负责数据库的构建以及数据的存取,并接收数据接收模块传输的数据,存入数据库相应数据表,为数据发布模块提供数据;数据发布模块采用WebServices (网络服务)接口对外发布数据,根据监测应用程序的请求调用数据存储模块的数据并返回给监测应用程序,同时根据监测需要,WebServices接口还可基于数据存储模块中的采集数据根据监测应用程序监测请求,调用相应算法,分析采集数据,只将分析结果返回监测应用程 The remote data server, a network server with a fixed IP, comprising a data receiving module, a data storage module and a data publication module, wherein - the receiving module is connected to the Intranet data network and network coordinator, a network coordinator receives a TCP / IP protocol aggregated data collected at the scene, according to the wireless sensor network packed data format parsing, the data obtained, the data transfer to the storage module; data storage module is the core of the remote data server, the data storage module is responsible for constructing the database and accessing data, and a data receiving module receiving data transmitted, the corresponding data table stored in the database to provide data for the data publication module; the WebServices data distribution modules (network service) interfaces released data, the data storage module upon request call monitoring application and returned to the monitoring application, and according to the monitoring needs, the WebServices interface may also collect data on a data storage monitoring module monitoring application in accordance with the request, invokes the appropriate algorithm, to analyze the acquired data, monitoring only the application returns the analysis result . 本发明工作时,分布在港口工作现场的基于紫蜂技术(ZigBee)无线传感网络在网络协调器的组织下将各个网络节点互联,形成星型、树型或网状的拓扑结构, 从而形成基于ZigBee的无线传感网络。 In operation of the present invention, the distribution of the work site in the port-based ZigBee technology (the ZigBee) wireless sensor network in the organization of the network coordinator respective network nodes interconnected to form a star topology, tree or net, so as to form ZigBee-based wireless sensor network. 无线传感网中的终端数据采集节点通过其标准SCI接口和传感器接口采集港口工作现场和港机的工作及运行状态数据;通过其ZigBee接口将采集数据基于ZigBee无线方式发送至网络拓扑结构上与其相连的上级路由器或者网络协调器;在低功耗能源管理模块的管理下,终端数据采集节点实现低功耗工作。 Terminal data acquisition node in wireless sensor networks through the working and operating-state data and the SCI interface standard sensor interface port and collection port work site machine; a ZigBee interface through which the collected data is transmitted to the ZigBee-based wireless network topology thereto connected to the upper router or the network coordinator; management at low power energy management module, a terminal data acquisition node for lower power operation. 路由器负责ZigBee网络的网络路由和采集数据的转发使得采集数据按照网络拓扑结构最终汇聚到基于ZigBee的无线传感网络的网络协调器。 ZigBee network router is responsible for network routing and forwarding of the acquired data such that the data acquisition in accordance with the network topology eventually converge to the network coordinator ZigBee-based wireless sensor network. 网络协调器在第二处理器的控制下通过其ZigBee接口汇聚网络采集数据; 采集数据被缓存入网络协调器第二处理器与数据缓存模块的SRAM存储器;于此同时网络协调器不断将采集数据通过其TCP/IP接口基于TCP/IP协议发送至远程数据服务器。 Network coordinator second processor under the control of a ZigBee interface through which the aggregation network data collection; acquisition data is buffered into the network coordinator processor and a second data cache SRAM memory module; the same time the network coordinator continuously acquire data / IP interface to send data to the remote server through its TCP-based TCP / IP protocol. 远程数据服务器与基于ZigBee的无线传感网络的网络协调器通过Intranet网络相连。 Remote data server connected to the network coordinator ZigBee-based wireless sensor network via the Intranet network. 远程数据服务器的数据接收模块基于TCP/IP协议接收采集数据,在数据存储模块的支持下采集数据被存入数据库,数据发布模块响应外界数据请求操作,从数据库中提取数据并通过其Webservices接口发布数据,同时根据监测需要,WebServices接口还可基于数据存储模块中的采集数据根据数据请求操作,调用相应算法分析采集数据,只将分析结果数据进行发布。 Data receiving module receives the remote data collection server based on TCP / IP protocol data, the data collection is stored in the database in support of data storage modules, data distribution module operations in response to the external data request, extracts data from the database and its release through the interface Webservices data, while according to the monitoring needs, the WebServices interface may also collect data on a data storage module according to the data request operation, call the appropriate algorithms to analyze the acquired data, only the analysis result data to publish. 与现有技术相比,本发明具有如下有益效果:1、 本发明解决了港口工作现场及港机工作状态采集的数据通路问题,通过网络硬件的标准接口和AD采样接口可实现对诸如PLC电控系统、齿轮箱油温、港机吊装载荷、梁臂起升角度等参数的采集、传输和发布,使得对港口的现场及港机工作状态监测、故障预警及安全维护计划的制定有数据可依;2、 整个系统硬件采用模块化的设计,各组成部分通过接口互连,因此具有良好的组件可重用性;3、 采用ZigBee实现的无线组网网络容量大,最多能够维护65536个节点的大网;ZigBee网络本身具有自组织性能,在满足ZigBee网络拓扑结构的前提下,任何新增网络节点都可自动加入现有网络,因此具有很强的组网灵活性与可扩展性,并使得系统易于实施;4、 Zigbee采用的直接序列通信方式,根据扩频增益的不同,甚至在负的 Compared with the prior art, the present invention has the following advantages: 1. The present invention solves the problem of port data path and domestic work site Work State collected through a standard interface and an AD sampling network interface may be implemented on hardware such as a PLC electric control system, gearbox oil, the machine lifting loads, beam arm from the collection, transmission and distribution parameters liters angle, making the site of the port and port machinery working condition monitoring, predictive failure to develop and maintain security programs which data are available by; 2, the overall system hardware modular design, the components are interconnected via the interface, so it has good reusability of components; 3, network ZigBee wireless network with large capacity achieved, can maintain up to 65,536 nodes large network; ZigBee network itself has a self-organizing property, while meeting ZigBee network topology, any network node can be added automatically join an existing network, it has a strong network flexibility and scalability, and such that the system is easy to implement; 4, direct sequence Zigbee communication method employed, depending on the spreading gain, even in the negative 噪比的情况下也可以将信号从噪声的淹没中提取出来,因此整体系统具有良好的抗干扰性;ZigBee可实现网络节点的多径寻址,即使在某一路由器损坏的情况下仍可通过别的路径进行数据传输,因此具有较强的数据传输可靠性;5、模块成本低,单个终端数据采集节点或路由器硬件成本可控制在100元内, 同时不需要大规模的通信网络布线,ZigBee低功耗的优势可以使系统长时间免维护运行,降低了系统整体构建成本。 A case where noise ratio may be extracted from the signal noise drowned out, so the overall system has good resistance; addressing multipath ZigBee network nodes can be implemented, even when a router can still be damaged by another path for data transmission, and therefore has a strong reliability of data transmission; 5, low-cost module, a single data collection terminal node or router hardware costs can be controlled within 100, while not requiring a large-scale communication network cabling, ZigBee the advantages of low power consumption allows the system to a long maintenance-free operation and reduce the overall cost of building the system. 附图说明图l是本发明的结构框图;图2是本发明的终端数据采集节点结构框图;图3是本发明的网络协调器结构框图;图4是本发明的远程数据服务器组成结构框图。 BRIEF DESCRIPTION OF DRAWINGS Figure l is a block diagram of the present invention; FIG. 2 is a block diagram showing the structure of a terminal data acquisition node of the present invention; FIG. 3 is a block diagram of the present invention, the network coordinator; FIG. 4 is a block diagram showing the composition of the present invention, the remote data servers. 具体实施方式下面结合附图对本发明的实施例作详细说明:本实施例在以本发明技术方案为前提下进行实施,给出了详细的实施方式和具体的操作过程,但本发明的保护范围不限于下述的实施例。 DETAILED DESCRIPTION OF THE DRAWINGS Embodiments of the present invention will be described in detail: In the present embodiments of the present invention is a technical premise, given the specific operation and detailed embodiments, but the scope of the present invention It is not limited to the following examples. 如图1所示,本实例包括:无线传感网络与远程数据服务器,其中:无线传感网络分布于港口工作现场,负责采集港口现场的工作状态的数据,并络以ZigBee无线方式汇聚网内的采集数据,将汇聚的采集数据打包,通过有线Intranet网络基于TCP/IP协议传输给远程数据服务器,远程数据服务器基于TCP/IP协议接收数据,按照打包的数据传输格式对数据进行解析,存入数据库, 并以WebServi ces方式进行数据的发布。 1, this example comprises: a wireless sensor network and a remote data server, wherein: the wireless sensor network distributed port work site, responsible for collecting data of the operation state of the port site, and network convergence in a ZigBee wireless network data collection, the data collection package aggregation, to a remote data server TCP / IP protocol via a wired transmission based Intranet network, the remote server receives the data based on the data TCP / IP protocol, in accordance with the packed data format, parsing the data, stored database and publish data in WebServi ces way. 所述无线传感网络,包括:终端数据采集节点、路由器及网络协调器,终端数据采集节点在网络拓扑结构上与路由器或网络协调器相连,负责港口工作现场数据的采集,并将数据发送至在Zigbee网络上与其相连的上级路由器或网络协调器;路由器负责将现场采集数据转发至在ZigBee网络上与其相连的上级路由器或网络协调器,并负责在ZigBee网络上与其相连的下级ZigBee网络节点的网络路由;网络协调器汇聚整个无线传感网络的现场采集数据,并负责整个港口工作现场的无线传感网络的网络组织。 The wireless sensor network, comprising: a data collection terminal nodes, routers, and network coordinator, a terminal data acquisition node network coordinator or a router connected to the network topology, the port is responsible for collecting data of the job site, and transmits the data to on the Zigbee network connected thereto the upper router or the network coordinator; router is responsible accumulate data forwarded to the higher router or network coordinator on the ZigBee network connected thereto, and is responsible for the lower ZigBee network node in a ZigBee network connected thereto is network routing; network coordinator brings together the entire wireless sensor network field data collection, network and is responsible for organizing wireless sensor networks throughout the port job site. 所述终端数据采集节点、路由器及网络协调器均作为ZigBee的网络节点, 网络协调器在无线传感网络中是唯一的,而路由器与终端数据采集节点可以有多个, 一个基于ZigBee的无线传感网络最多有65536个网络节点,终端数据采集节点、路由器及网络协调器之间以ZigBee无线通信,并构成网络拓扑结构,网络拓扑结构根据港口地理布局和实际监测需要可配置成星型、树型或网状拓扑结构。 The data collection terminal nodes, routers, and network coordinator are as ZigBee network node, the network coordinator in a wireless sensor network is unique, the router and the terminal may have a plurality of data acquisition nodes, a ZigBee-based wireless transmission 65,536 sense network has network nodes, data collection between the terminal nodes, routers, and a network coordinator in a ZigBee wireless communication, network topology and configuration, the network topology may be configured to require a star at a port monitor and the actual geography, the tree type or a mesh topology. 如图2所示,所述终端数据采集节点,其包括:第一处理器、标准SCI (串行通信)接口、传感器接口、 ZigBee收发器及低功耗源管理模块,第一处理器分别与标准SCI接口、传感器接口相连,并协调控制标准SCI接口、传感器接口的运行,标准SCI接口外接串行通信设备输入串行通信数据,传感器接口外接数据采样传感器输入采样数据,串行通信数据和采样数据均为现场采集数据,第一处理器将现场采集数据装帧通过SPI接口发送给ZigBee收发器,ZigBee收发器的ZigBee接口将现场采集数据发送至路由器或者网络协调器,低功耗能源管理模块分别与第一处理器、标准SCI接口、传感器接口、 ZigBee收发器相连,提供电源支持,并对电源进行管理,实现终端数据采集节点低功耗长时间运行。 As shown, the data collection terminal node 2, comprising: a first processor, a standard SCI (serial communication) interface, sensor interface, ZigBee transceiver and a low power source management module, a first processor, respectively SCI interface standard, is connected to a sensor interface, and coordinated control standard SCI interface, operation of the sensor interface, a serial communication interface to an external standard SCI serial communication data input device, the sensor interface to an external sensor input data samples sampling data and sampling the serial communication data data are field collected data, a first data acquisition processor binding site ZigBee transceiver interface transmits through the SPI, ZigBee interfaces ZigBee transceiver site transmits to the router or data collection network coordinator, low-power energy management module respectively and a first processor, standard SCI interface, sensor interface, ZigBee transceiver is connected, to provide support for power, power supply and management, and data collection terminal node long low power operation. 所述标准SCI接口,其负责从串行通信设备获取串行通信数据,并作为终端数据采集节点和路由器进行ZigBee网络参数与运行参数的配置的接口,所述SCI 接口为1路。 The SCI interface standard, which is responsible for taking the serial communication data from the serial communication device, and a terminal data acquisition node and router ZigBee network interface configuration parameters and operating parameters, the SCI interface is a way. 所述传感器接口,为AD采样接口,其外接数据采集传感器采集传感器模拟量, 传感器接口还作为通用IO口,接收数字量输入或输出开关控制信号,传感器接口为4路。 The sensor interface, an AD sampling interface, which data acquisition sensors collect external analog sensors, the sensor interface as a general purpose IO port also receives a digital input or output switch control signal to the sensor interface 4. 所述ZigBee收发器,包括ZigBee支持芯片与ZigBee天线,ZigBee支持芯片提供与第一处理器通信的SPI接口, ZigBee支持芯片实现对IEEE802. 15. 4协议的物理层支持,ZigBee天线实现信息的发送,在第一处理器控制下对外提供ZigBee 接口, ZigBee收发器通过SPI接口与第一处理器通信,接收第一处理器发送装帧的现场采集数据,并通过ZigBee接口发送至网络拓扑结构决定的路由器或者网络协调器。 The ZigBee transceiver comprising an antenna and ZigBee ZigBee support chips, ZigBee chip provides support and SPI interface, a first processor support chips ZigBee communication physical layer support for IEEE802. 15. 4 protocol, ZigBee antenna transmitting information to achieve , a ZigBee interface to provide external, ZigBee transceiver at a first interface of the first processor control SPI communication with the processor through the processor receives the first transmission data acquisition binding site, and sent to the router network topology determined by a ZigBee interface or network coordinator. 所述SCI接口为1路,传感器接口为4路。 The SCI interface channel 1, sensor interface 4. 所述终端数据采集节点,其移植完整的ZigBee协议栈(终端设备),实现基于ZigBee的无线传感网络的ZigBee终端设备网络功能,ZigBee协议桟是一个微型的操作系统,运行在第一处理器上,协调终端数据采集节点各个硬件组件配合工作, 第一处理器执行的各项工作在协议栈中视为一个任务,第一处理器不断从标准SCI接口和传感器接口获取现场采集数据并进行缓存,然后通过SPI接口调用ZigBee收发器,通过ZigBee接口将现场采集数据以ZigBee无线方式上传。 The data collection terminal node, transplanted full ZigBee protocol stack (terminal), the terminal device realized based on ZigBee wireless sensor network function ZigBee network, ZigBee protocol Zhan is a micro operating system, running on a first processor , the coordinate data collection terminal nodes of the various hardware components with the work, the work performed by the first processor task as a protocol stack, a first interface to the processor continuously acquires from the scene and the SCI interface standard and cached data collected by sensors, then through SPI interface call ZigBee transceiver, a ZigBee interface by the data collected in the field ZigBee wireless upload. 在本实施例中,终端数据采集节点的各组成部分采用的器件型号如下:第一处理器采用Atmel公司的ATmegal28L,芯片自带的128K Flash为移植ZigBee协议栈提供物理支持,自带的SCI接口在电平转换芯片的协助下可实现串口数据通信功能,自带的10位AD接口实现AD采样或通用I0功能,自带的SPI接口实现与ZigBee收发器的通信功能,芯片低功耗特点满足ZigBee低功耗目标。 In the present embodiment, each of the components of the terminal nodes using the data acquisition device models are as follows: a first processor using Atmel's ATmegal28L, transplant ZigBee protocol stack to provide physical support for the chip comes 128K Flash, comes SCI interface with the assistance of the level conversion chip serial data communication function may be implemented, comes AD 10 or AD sampling generic interface functions I0, comes with a communication function SPI interface ZigBee transceiver chip meet low power consumption ZigBee low-power goals. ZigBee收发器采用TI的ZigBee 2. 4GHz支持芯片CC2420。 TI's ZigBee transceiver supports ZigBee 2. 4GHz chip CC2420. 低功耗源管理模块采用MICREL公司的MIC5209-3. 3BS,电源采用3节AA 1. 5V 电池供电。 Low power source management module using MICREL company MIC5209-3. 3BS, using the power section 3 AA 1. 5V battery. 标准SCI接口的电平转换采用MAXIM公司的MAX232 。 Standard interface SCI level conversion using MAXIM's MAX232. ZigBee收发器中的ZigBee天线在PCB板上设计倒F形PCB天线,同时设计标准2.4GHz适配槽,可接标准2.4GHz天线。 ZigBee ZigBee transceiver antenna on the PCB PCB design inverted-F antenna, while the fitting groove design criteria 2.4GHz, 2.4GHz can be accessed by a standard antenna. 终端数据采集节点的ZigBee协议栈采用Chipcon公司的Z-Stack协议栈(终端设备),在此基础上修改SCI接口数据收发和传感采集部分,实现标准SCI接口数据和传感器数据到ZigBee无线的透明转发。 Terminal data acquisition node ZigBee protocol stack uses the Chipcon Z-Stack Stack (terminal device), a data transceiver, and modify the SCI interface sense acquisition part on this basis, to achieve a standard SCI interface data and the sensor data to the wireless ZigBee transparent forwarding. 各模块间连接关系为:第一处理器ATmegal28L通过SPI总线与ZigBee收发器CC2420相连,第一处理器ATmegal28L的引脚61 (ADCO)、 60 (ADC1)、 59 (ADC2)、 58 (ADC3)与AD采集接口的四路输入端口相连,第一处理器ATmegal28L的串口输入引脚27(RXD1)与SCI电平转换MAX232串口输出引脚12 (R10UT)相连,第一处理器ATmegal28L的串口输出引脚28 (TXD1)与MAX232串口输入引脚ll (T1IN)相连。 Connection relationship between modules: a first processor through the SPI bus ATmegal28L ZigBee Transceiver CC2420, a first processor ATmegal28L pin 61 (ADCO), 60 (ADC1), 59 (ADC2), 58 (ADC3) and AD acquisition four interfaces connected to the input port, the first processor ATmegal28L serial input pin 27 (RXD1) and SCI level conversion MAX232 serial output pin 12 (R10UT) is connected to a first output pin serial processor ATmegal28L 28 (TXD1) and serial input pin MAX232 ll (T1IN) is connected. 所述路由器,负责实现ZigBee的网络路由并转发现场采集数据,路由器根据无线传感网络的网络拓扑结构,向上接入上级路由器或者上级网络协调器,并允许向下连接下级路由器或下级终端数据采集节点,实现其ZigBee网络路由功能,并将下级路由器或者下级终端数据采集节点发来的现场采集数据发送至在ZigBee网络上与其相连的上级路由器或者上级网络协调器,实现现场采集数据的转发。 The router is responsible for network routing and forwarding ZigBee collect data field, the router based on network topology of a wireless sensor network, the higher up the access router or the upstream network coordinator, router and allow connection or lower downwardly lower terminal data acquisition node, to achieve its ZigBee network routing functions, and the lower end or lower router sent from the data acquisition node field-collected data is sent to the higher upstream network router or coordinator on the ZigBee network connected thereto, to achieve forward field data collection. 所述路由器,其移植完整的ZigBee协议栈(路由器),实现其作为ZigBee网络节点的网络路由功能。 The router, transplanted full ZigBee protocol stack (router), to achieve its function as a ZigBee network routing network node. 在路由器的组织下,ZigBee网路中的其他路由器接入此路由器构成网络拓扑结构上此路由器的下级路由器,其他的终端数据采集节点也可以接入此路由器;于此从同时此路由器还将接入ZigBee网络上的其他路由器或者直接接入网络协调器,他们构成网络拓扑结构上的上级网络节点。 In the organization of the router, other routers in the network ZigBee router this access router constituting the lower this router on the network topology, the other end of the data acquisition node can access the router; simultaneously thereto from the router will contact other router or directly to the network coordinator on the ZigBee network, they constitute upper network node on the network topology. ZigBee协议栈实际是一个微型的操作系统,协调路由器各组成模块配合工作,各个处理器工作在协议栈中视为一个任务。 ZigBee protocol stack is actually a miniature operating system, coordination of various components of the router module with the work, each processor work as a mission in the protocol stack. 在本实施例中,除了完成ZigBee网络路由器的网络路由任务外,处理器主要任务是不断通过ZigBee网络接口接收在ZigBee网络上与其相连的下级网络节点的数据,并转发至与其相连的ZigBee上级网络节点。 In the present embodiment, in addition to the network routing task is completed ZigBee network router, the processor main task is to continuously receive data on the subordinate network nodes connected thereto via the ZigBee network ZigBee network interface, and to forward the ZigBee upper network connected thereto node. 在ZigBee协议栈的调度下,各个任务依次被执行。 In the ZigBee protocol stack scheduling, each task order is executed. 如图3所示,所述网络协调器,包括处理器与数据缓存模块、ZigBee模块和TCP/IP模块,ZigBee模块通过ZigBee接口接收到装帧的现场采集数据,处理器与数据缓存模块由第二处理器与SRAM存储器组成,第二处理器一端通过SPI接口与ZigBee模块通信,并解析出现场采集数据,缓存入SRAM存储器,第二处理器另一端通过SCI接口与TCP/IP模块通信,将SRAM存储器中的缓存的现场采集数据通过TCP/IP接口发送至远程数据服务器。 As shown, the network coordinator 3, comprises a processor and a data buffer module, ZigBee modules and TCP / IP module, ZigBee module receives the binding site to collect data, the processor and the data cache via a ZigBee interface module by a second processor and a memory composed of SRAM, the second processor communicates with the one end of the SPI interface module through ZigBee, and analyzing the data collected in the field, into the SRAM cache memory, the other end of the second processor through the SCI interface module in communication with the IP TCP /, an SRAM accumulate data cache memory data interface to a remote server via TCP / IP. 所述网络路由器采用与终端数据采集节点完全相同的硬件,但是网络路由器移植完整的Z-Stack协议栈(路由器),实现ZigBee的网络路由功能并负责现场采集数据的转发。 The network router using terminal data acquisition nodes with identical hardware, but the complete network router transplantation Z-Stack Stack (router), implemented in the ZigBee network is responsible for routing and forwarding of data collected in the field. 所述网络协调器,其移植完整的ZigBee协议栈(协调器),实现其作为ZigBee 网络节点的网络协调器功能。 The network coordinator, transplanted full ZigBee protocol stack (coordinator), which implement a function as a network coordinator ZigBee network node. 在网络协调器的组织下,无线传感网络初始化过程中按照预设的网络拓扑结构形成星型、树型或者网状的网络拓扑结构。 In the organization of the network coordinator, a wireless sensor network initialization process form a star, a tree or a mesh topology in accordance with a predetermined network topology. ZigBee 协议栈实际是一个微型的操作系统,协调网络协调器各组成模块配合工作,各个第二处理器工作在协议栈中视为一个任务。 ZigBee protocol stack is actually a micro operating system, the collaboration network coordinator every module with the work, each of the second processor operates as a task in the protocol stack. 在本实例中,除了完成ZigBee网络协调器的网络协调任务外,第二处理器不断通过ZigBee网络接口汇聚整个无线传感网络的现场采集数据,缓存入SRAM存储器,然后通过TCP/IP模块转换为TCP/IP 协议发往远程数据服务器。 In the present example, in addition to the complete network coordinator ZigBee network coordinator task, the second processor through the ZigBee network interface aggregation continuously collect data field of the entire wireless sensor network, into the SRAM cache memory, and then converted by the TCP / IP module TCP / IP protocol to a remote data server. 在ZigBee协议栈的调度下,各个任务依次被执行。 In the ZigBee protocol stack scheduling, each task order is executed. 网络协调器重各组成部分采用的器件型号如下:处理器与缓存模块采用Atmel公司的ATmegal28L,芯片自带128K Flash为移植ZigBee协议栈提供支持,芯片自带的SPI接口实现与ZigBee收发器的通信功能, 芯片自带的SCI接收实现与TCP/IP模块的通信功能。 Various components of the network coordinator employed discouraged device models are as follows: a processor and cache module using Atmel's ATmegal28L, 128K Flash chip comes to support migration ZigBee protocol stack, the communication function built-in chip with SPI interface ZigBee transceiver , the chip comes SCI receiver functions and communicate TCP / IP module. ZigBee模块采用Microchip公司的ZigBee模块,仅实现ZigBee的802. 15. 4物理层支持。 Microchip's ZigBee module using ZigBee module, ZigBee, only the physical layer support 802. 15.4. TCP/IP模块采用周力功的串口转以太网模块ZNE-IOT,实现串口接收数据基于TCP/IP协议的网络传输。 TCP / IP module using power circumferential force serial to Ethernet module ZNE-IOT, Serial can receive data over a network based on TCP / IP protocol. 网络协调器的ZigBee协议栈(协调器)采用Chipcon公司的Z-Stack协议栈(协调器),在此基础上修改ZigBee接收数据的缓存和串口转发部分,实现ZigBee网络的数据汇聚、缓存和TCP/IP的转发。 ZigBee protocol stack of the network coordinator (coordinator) using the Chipcon Z-Stack Stack (coordinator), modify the cache and the serial forward portion ZigBee received data on this basis, data ZigBee network aggregation, caching and TCP / IP forwarding. 如图4所示,所述远程数据服务器,是具有固定IP的网络服务器,包括数据接收模块、数据存储模块及数据发布模块,其中-数据接收模块通过TCP/IP接口与网络协调器相连,接收网络协调器汇聚的现场采集数据,并按事先规定的格式协议解析,得出数据,传输到数据存储模块;数据存储模块是远程数据服务器的核心,数据存储模块负责数据库的构建以及数据的存取,并接收数据接收模块传输的数据,存入数据库相应数据表,为数据发布模块提供数据;数据发布模块采用WebServices接口对外发布数据,根据监测应用程序的请求调用数据存储模块的数据并返回给监测应用程序,同时根据监测需要, WebServices接口还可基于数据存储模块中的采集数据根据监测应用程序监测请求,调用相应算法,分析采集数据,只将分析结果返回监测应用程序。 4, the remote data server, a network server with a fixed IP, comprising a data receiving module, a data storage module and a data publication module, wherein - a data receiving module is connected via TCP / IP interface and the network coordinator, receiving network coordinator aggregated data collected in the field, in accordance prespecified format protocol analysis, the data obtained, the data transfer to the storage module; data storage module is the core of the remote data server, the data storage module is responsible for constructing the database and data access and a data receiving module receives the data transmitted, the corresponding data table stored in the database to provide data for the data publication module; data distribution modules WebServices interfaces released data, call data storage module according to a request monitoring application and returns to the monitoring applications, while according to the monitoring needs, the WebServices interface may also collect data on a data storage module in accordance with the monitoring application monitoring request, invokes the appropriate algorithm, to analyze the acquired data, only the analysis results returned monitoring application. 本实例中数据接收模块内部的数据接收程序和数据发布模块内部的WebServices数据发布程序均是基于Java实现,数据库基于MySQL数据库。 Examples of this internal data receiver module receives data and program data released internal data publisher WebServices module are based on Java implementation, database based on MySQL database. 数据接收程序使用Socket接收ZigBee网络协调器基于TCP/IP发送的数据,将数据按照规定的命令行格式解析,分离出采集参数对应于数据库中数据表的字段,将其存入数据库。 Socket data receiver uses the received data based on the ZigBee coordinator TCP / IP transmission, according to a predetermined data format parsing the command line, separated acquisition parameters corresponding to the data field in the database table, which is stored in the database. WebServices按照监测应用程序对数据库数据的查询需要,发布査询接口,返回监测应用程序所需数据,同时按照监测需要,按照应用算法直接实现对数据库中数据的分析,只把结果返回监测应用程序。 WebServices according to monitoring application needs to query the database data, publishing query interface, return the required data monitoring applications, and in accordance with the monitoring needs, in accordance with the application of algorithm analysis of data in the database directly, only the results returned monitoring applications. 以上对终端数据采集节点与路由器的硬件实施,使其成本控制在100元人民币之内,网络协调器控制在200到300元人民币之内。 Above the terminal data acquisition node router hardware embodiment, it costs within 100 yuan, the network coordinator controlled within the 200-300 yuan. 终端数据采集节点采用三节AA电池供电,在低功耗能源管理模块控制下可连续工作6个月至两年。 Terminal data acquisition node using three AA batteries, can work for six months to two years at low power energy management control module.

Claims (10)

1.一种基于紫蜂技术的港口现场数据采集传输发布系统,其特征在于,包括:无线传感网络与远程数据服务器,其中:无线传感网络分布于港口工作现场,负责采集港口现场的工作状态的数据,并以紫蜂无线方式汇聚网内的采集数据,将汇聚的采集数据打包,通过有线企业内部网络基于传输控制协议和网间协议传输给远程数据服务器,远程数据服务器基于传输控制协议和网间协议接收数据,按照打包的数据传输格式对数据进行解析,存入数据库,并以Web服务方式进行数据的发布; 所述无线传感网络,包括:终端数据采集节点、路由器及网络协调器,终端数据采集节点在网络拓扑结构上与路由器或网络协调器相连,负责港口工作现场数据的采集,并将数据发送至在紫蜂网络上与其相连的上级路由器或网络协调器;路由器负责将现场采集数据转发至在 A collection and transmission system based on the field data port ZigBee technology, characterized by comprising: a wireless sensor network and a remote data server, wherein: the wireless sensor network distributed port work site, work-site responsible for collecting port data state, and Zigbee wireless manner to the data acquired in the aggregation network, the aggregation of data collection package via a wired enterprise network and the transmission control protocol Internet protocol-based transmitting data to the remote server, the remote server based on transmission control protocol data inter-network protocol and receive data, packetized data transmission format according to the parsed data, stored in the database, and published as a Web service for data; the wireless sensor network, comprising: a data collection terminal nodes, routers and coordinator , a data collection terminal node connected to the router or the network coordinator in the network topology, the port is responsible for collecting data of the job site, and transmits the data to the higher router in the network coordinator or the Zigbee network connected thereto; router is responsible the scene gathering data forwarded to the 蜂网络上与其相连的上级路由器或网络协调器,并负责在紫蜂网络上与其相连的下级紫蜂网络节点的网络路由;网络协调器汇聚整个无线传感网络的现场采集数据,并负责整个港口工作现场的无线传感网络的网络组织。 The Zigbee network connected thereto the upper router or network coordinator and is responsible for network routing subordinate Zigbee network node over a Zigbee network connected thereto; aggregation network coordinator of the entire wireless sensor network to collect data field, and for the entire port WSN network organization of the work site.
2、 根据权利要求l所述的基于紫蜂技术的港口现场数据采集传输发布系统,其特征是,所述终端数据采集节点、路由器及网络协调器均作为紫蜂的网络节点,网络协调器在无线传感网络中是唯一的,而路由器与终端数据采集节点有多个, 一个基于紫蜂的无线传感网络最多有65536个网络节点, 终端数据采集节点、路由器及网络协调器之间以紫蜂无线通信,并构成网络拓扑结构,网络拓扑结构根据港口地理布局和实际监测需要配置成星型、树型或网状拓扑结构。 2, according to claim port collection transmission system based on the field data ZigBee technology claim l, characterized in that the data collection terminal nodes, routers, and network coordinator are as Zigbee network node, the network coordinator wireless sensor networks are unique, the router and the terminal node has a plurality of data acquisition, a ZigBee-based wireless sensor networks with up to 65,536 network nodes, data collection between the terminal nodes, routers, and a network coordinator of purple bee wireless communication, network topology and configuration, network topology needs to be configured in a star, tree or a mesh topology and geography The actual monitoring port.
3、 根据权利要求1或2所述的基于紫蜂技术的港口现场数据采集传输发布系统,其特征是,所述终端数据采集节点,其包括:第一处理器、标准串行通信接口、传感器接口、紫蜂收发器及低功耗源管理模块,第一处理器分别与标准串行通信接口、传感器接口相连,并协调控制标准串行通信接口、 传感器接口的运行,标准串行通信接口外接串行通信设备输入串行通信数据,传感器接口外接数据采样传感器输入采样数据,串行通信数据和采样数据均为现场采集数据,第一处理器将现场采集数据装帧通过串行外围设备接口发送给紫蜂收发器,紫蜂收发器的紫蜂接口将现场采集数据发送至路由器或者网络协调器,低功耗能源管理模块分别与第一处理器、标准串行通信接口、传感器接口、紫蜂收发器相连,提供电源支持,并对电源进行管理,实现终端数据采 3, the transmission port field data acquisition system based on the ZigBee technology or according to claim 12, characterized in that the data collection terminal nodes, comprising: a first processor, a standard serial communication interface, a sensor interfaces, Zigbee transceivers and low power source management module, a first processor coupled to the standard serial communication interface, respectively, the sensor interface, and coordinated control standard serial communication interface, the sensor interface operation, external standard serial communication interface serial communication data input serial communication device, the sensor interface to an external sensor input data samples sampled data, serial communication data and the sample data are acquired field data, the first processor to a binding site to collect data through a serial peripheral interface Zigbee transceivers, Zigbee Zigbee transceiver interfaces to accumulate data sent to the router or the network coordinator, low-power energy management module with the first processor, a standard serial communication interface, the sensor interface, ZigBee transceiver It is connected, to provide support for power, power supply and management, the terminal data acquisition 节点低功耗长时间运行。 Node low-power operation for a long time.
4、 根据权利要求3所述的基于紫蜂技术的港口现场数据采集传输发布系统,其特征是,所述标准串行通信接口,其负责从串行通信设备获取串行通信数据,并作为终端数据采集节点和路由器进行紫蜂网络参数与运行参数的配置的接口;所述传感器接口,为模拟到数字转换采样接口,其外接数据采集传感器采集传感器模拟量,传感器接口还作为通用输入输出口,接收数字量输入或输出开关控制信号。 4, according to claim port field data acquisition system based on the ZigBee transmission techniques described in claim 3, wherein, said serial communication interface standard, which is responsible for taking the serial communication data from the serial communication device, and a terminal and the data acquisition node router Zigbee network interface configuration parameters and operating parameters; and the sensor interface for the analog to digital converter sampling interface, which data acquisition sensors collect external analog sensors, the sensor interface but also as a general input and output ports, receiving a digital input or output switching control signal.
5、 根据权利要求3所述的基于紫蜂技术的港口现场数据采集传输发布系统,其特征是,所述紫蜂收发器,包括紫蜂支持芯片与紫蜂天线,紫蜂支持芯片提供与第一处理器通信的串行外围设备接口,紫蜂支持芯片实现对IEEE802. 15.4协议的物理层支持,紫蜂天线实现信息的发送,在第一处理器控制下对外提供紫蜂无线通信功能,紫蜂收发器通过串行通信接口与第一处理器通信,接收第一处理器发送装帧的现场采集数据,并利用紫蜂无线通信功能发送至网络拓扑结构决定的路由器或者网络协调器。 5. The transmission of claim port field data acquisition system based on the ZigBee technology claim 3, characterized in that, the Zigbee transceiver comprising support ZigBee Zigbee chip and antenna, Zigbee chip provided with the first support a serial peripheral interface processor in communication, Zigbee chip support physical layer support for IEEE802. 15.4 protocol, Zigbee achieved antenna transmitting information, provide external Zigbee wireless communication function under the control of a first processor, purple bee transceiver via a serial interface communication with the communication with the first processor, the first processor sends the received binding data collected in the field, and sent to the router or the network coordinator determines network topology using a Zigbee wireless communication function.
6、 根据权利要求1或3所述的基于紫蜂技术的港口现场数据采集传输发布系统,其特征是,所述终端数据采集节点,其移植完整的紫蜂协议栈,实现基于紫蜂的无线传感网络的紫蜂终端设备网络功能,紫蜂协议栈是一个微型的操作系统,运行在第一处理器上,协调终端数据采集节点各个硬件组件配合工作,第一处理器执行的各项工作在协议栈中视为一个任务,第一处理器不断从标准串行通信接口和传感器接口获取现场采集数据并进行缓存,然后通过串行外围设备接口调用紫蜂收发器,通过紫蜂接口将现场采集数据以紫蜂无线方式上传。 6, according to claim port field data acquisition system based on the transmission or ZigBee technology according to claim 13, wherein the terminal data acquisition nodes, a complete transplanted Zigbee protocol stack, Zigbee wireless Based Zigbee network function terminal device of the sensor network, a Zigbee protocol stack is a micro operating system, running on a first processor, a terminal data acquisition node coordinate various hardware components with the work, the work performed by the first processor as a task in the protocol stack, the first processor continues to interface to obtain from the standard serial communication interface field and the sensor data acquisition and cached, then the call via the serial peripheral interface Zigbee transceivers, Zigbee interface via the scene gathering Upload data wirelessly to ZigBee.
7、 根据权利要求l所述的基于紫蜂技术的港口现场数据采集传输发布系统,其特征是,所述路由器,其移植完整的紫蜂协议栈,实现其作为紫蜂网络节点的网络路由功能,在路由器的组织下,紫蜂网路中的其他路由器接入此路由器构成网络拓扑结构上的下级路由器,其他的终端数据采集节点也能接入此路由器,与此同时,路由器还将接入紫蜂网络上的其他路由器或者直接接入网络协调器,构成网络拓扑结构上的上级网络节点,紫蜂协议栈是一个微型的操作系统,协调路由器各组成模块配合工作,处理器执行的各项工作在协议栈中视为一个任务,除了完成紫蜂网络路由器的网络路由任务外, 处理器不断通过紫蜂接口接收在紫蜂网络上与其相连的下级终端数据采集节点或者路由器的数据,并转发至与其相连的紫蜂上级路由器或者网络协调器,在紫蜂协 7, according to claim port field data acquisition system based on the ZigBee transmission technology according to claim l, characterized in that said router, transplanted intact Zigbee protocol stack to achieve its function as a Zigbee network routing network node in tissue router, other routers Zigbee network in this access router constituting the lower routers on the network topology, the other end of the data acquisition node can access this router, at the same time, the access router also other router or directly to the network coordinator on the Zigbee network, constituting the upper network node on the network topology, Zigbee protocol stack is a micro operating system, coordination with the work routers every module, executed by the processor work as a task in the protocol stack, in addition to completing the task Zigbee network routing network router, the processor continuously receives the lower data terminal data acquisition node or router on the Zigbee network connected thereto through a Zigbee interface and forwarded to connected thereto the upper router or Zigbee network coordinator, the ZigBee Association 议栈的调度下,各个任务依次被执行。 Under the scheduling protocol stack, each task order is executed.
8、 根据权利要求1或者2所述的基于紫蜂技术的港口现场数据采集传输发布系统,其特征是,所述网络协调器,包括处理器与数据缓存模块、紫蜂模块和TCP/IP模块,紫蜂模块通过紫蜂接口接收到装帧的现场采集数据,处理器与数据缓存模块由第二处理器与静态随机存储器组成,第二处理器一端通过串行外围设备接口与紫蜂模块通信,并解析出现场采集数据,缓存入静态随机存储器,第二处理器另一端通过串行通信接口与TCP/IP模块通信,将静态随机存储器中缓存的现场采集数据通过TCP/IP模块的TCP/IP接口发送至远程数据服务器。 8, according to claim port field data acquisition system based on the transmission or ZigBee technology according to claim 12, characterized in that, the network coordinator comprising a processor and a data buffer module, and a Zigbee module TCP / IP module Zigbee module collects the received binding site by the ZigBee interface data, the processor and a second data cache module by a processor consisting of static random access memory, an end of the second processor through a serial peripheral interface with the Zigbee communication module, and analyzing the data collected in the field, static random access memory into the cache, the other end of the second processor through the serial communication interface TCP / IP module in communication with the static random access memory cache accumulate data via TCP / IP module of the TCP / IP an interface to a remote data server.
9、 根据权利要求8所述的基于紫蜂技术的港口现场数据采集传输发布系统,其特征是,所述网络协调器,其移植完整的紫蜂协议栈,实现其作为紫蜂网络节点的网络协调器功能,在网络协调器的组织下,无线传感网络初始化过程中按照预设的网络拓扑结构形成星型、树型或者网状的网络拓扑结构,紫蜂协议栈实际是一个微型的操作系统,协调网络协调器各组成模块配合工作,各个第二处理器工作在协议栈中视为一个任务,除了完成紫蜂网络协调器的网络协调任务外,第二处理器不断通过紫蜂网络接口汇聚整个无线传感网络的现场采集数据,缓存入静态随机存储器,然后通过TCP/IP模块转换为传输控制协议/网间协议发往远程数据服务器,在紫蜂协议栈的调度下, 各个任务依次被执行。 9, according to claim 8 based on the ZigBee port field data collection and transmission technology release system, wherein the network coordinator, transplanted intact Zigbee protocol stack, which is implemented as a network node in Zigbee network coordinator functions in the organization of the network coordinator, a wireless sensor network initialization process according to a preset form a star network topology, tree topology or a mesh network, a Zigbee protocol stack is actually a miniature operation system, the collaboration network coordinator every module with the work, each of the second processor operates as a task in the protocol stack, in addition to complete the Zigbee network coordinator of the network coordinator task, the second processor continuously through Zigbee network interface aggregation field of the entire wireless sensor network data collection, static random access memory into the cache, and then converted to a transmission control protocol TCP / IP module / Internet protocol data to a remote server, in scheduling ZigBee protocol stack, each task is sequentially carried out.
10、根据权利要求l所述的基于紫蜂技术的港口现场数据采集传输发布系统,其特征是,所述远程数据服务器,是具有固定IP的网络服务器,包括数据接收模块、数据存储模块及数据发布模块,其中:数据接收模块通过企业内部网络与网络协调器相连,基于传输控制协议/网间协议接收网络协调器汇聚的现场采集数据,并按无线传感网络打包的数据格式解析,得出数据,传输到数据存储模块;数据存储模块是远程数据服务器的核心,数据存储模块负责数据库的构建以及数据的存取,并接收数据接收模块传输的数据,存入数据库相应数据表,为数据发布模块提供数据;数据发布模块采用Web服务接口对外发布数据,根据监测应用程序的请求调用数据存储模块的数据并返回给监测应用程序,同时根据监测需要,Web 服务接口基于数据存储模块中的采集数据根据 10, according to port field data acquisition and transmission system based on the ZigBee technology according to claim l, characterized in that the remote data server, a network server with a fixed IP, comprising a data receiving module, a data storage module and data releasing module, wherein: the data receiving module is connected via a network and the internal network coordinator, a network coordinator receiver field-collected data aggregation based on transmission control protocol / Internet protocol, according to the wireless sensor network packing data format parsing, stars data transmitted to the data storage module; data storage module is the core of the remote data server, the data storage module is responsible for constructing the database and data access, and receives the transmission data receiving module, a database stored in the corresponding data table, the data publishing module provides data; data publishing module uses a Web service interface released data, call data storage module at the request of the monitoring application and returned to the monitoring application, but also with monitoring needs, a Web service interface data storage module based data acquisition according to 监测应用程序监测请求,调用相应算法,分析采集数据,只将分析结果返回监测应用程序。 Monitoring application monitoring request, invokes the appropriate algorithm, to analyze the acquired data, only the analysis results returned monitoring application.
CN 200810032748 2008-01-17 2008-01-17 A port field data acquisition, transmission and issuance system based on Zig Bee technology CN101216986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810032748 CN101216986A (en) 2008-01-17 2008-01-17 A port field data acquisition, transmission and issuance system based on Zig Bee technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810032748 CN101216986A (en) 2008-01-17 2008-01-17 A port field data acquisition, transmission and issuance system based on Zig Bee technology

Publications (1)

Publication Number Publication Date
CN101216986A true CN101216986A (en) 2008-07-09

Family

ID=39623415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810032748 CN101216986A (en) 2008-01-17 2008-01-17 A port field data acquisition, transmission and issuance system based on Zig Bee technology

Country Status (1)

Country Link
CN (1) CN101216986A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101798019A (en) * 2010-03-19 2010-08-11 华中科技大学 Material monitoring device based on wireless sensing network
CN101833452A (en) * 2010-04-30 2010-09-15 中国海洋大学 Monitor software design method based on sensor
CN102109551A (en) * 2009-12-29 2011-06-29 捷达世软件(深圳)有限公司 System and method for detecting energy consumption and productivity of machine
CN101707540B (en) 2009-10-29 2011-08-17 北京突破电气有限公司 Zigbee wireless sensor network based system and method for monitoring microenvironment of cabinet
CN101620771B (en) 2009-07-29 2012-04-18 山东建筑大学 Remote wireless environment real-time data acquisition method and device
CN102937504A (en) * 2012-11-06 2013-02-20 昆山北极光电子科技有限公司 Dynamic balance on-line detection system of rotating machinery
TWI393085B (en) * 2009-05-22 2013-04-11 Univ Kun Shan Wireless sensor network system with synchronization warning function
CN103702448A (en) * 2014-01-07 2014-04-02 上海东源计算机自动化工程有限公司 Port monitoring system based on wireless sensor network
CN104023415A (en) * 2014-06-23 2014-09-03 深圳供电局有限公司 Cable-trench wireless communication system
CN104076719A (en) * 2014-07-11 2014-10-01 天津工业大学 Industrial wireless sensor network on-off control system and method
CN104079461A (en) * 2014-07-16 2014-10-01 上海诺诚电气有限公司 470M router with ZigBee communication function and communication method
CN104318740A (en) * 2014-10-15 2015-01-28 南京邮电大学 Universal sensor transceiving method based on Zigbee and serial port
CN104965464A (en) * 2015-07-08 2015-10-07 福建唐力电力设备有限公司 Marine machinery and port machinery smart system and implementation method
CN105022373A (en) * 2015-04-30 2015-11-04 武汉理工大学 Port equipment maintenance system based on zigbee technology
CN105118278A (en) * 2015-09-25 2015-12-02 重庆邮电大学 Wireless monitoring system for industrial environment on basis of 433 MHz frequency band
CN105338662A (en) * 2015-09-30 2016-02-17 浙江开盈信息科技有限公司 Zigbee network
CN106681670A (en) * 2017-02-06 2017-05-17 广东欧珀移动通信有限公司 Sensor data reporting method and device
CN106936762A (en) * 2015-12-30 2017-07-07 上海防灾救灾研究所 A kind of method integrated for many data access in experiment of preventing fires
CN108877188A (en) * 2018-05-17 2018-11-23 济南诚博信息科技有限公司 A kind of environment protection digital concurrently acquires and Multi net voting dissemination method and device

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI393085B (en) * 2009-05-22 2013-04-11 Univ Kun Shan Wireless sensor network system with synchronization warning function
CN101620771B (en) 2009-07-29 2012-04-18 山东建筑大学 Remote wireless environment real-time data acquisition method and device
CN101707540B (en) 2009-10-29 2011-08-17 北京突破电气有限公司 Zigbee wireless sensor network based system and method for monitoring microenvironment of cabinet
CN102109551A (en) * 2009-12-29 2011-06-29 捷达世软件(深圳)有限公司 System and method for detecting energy consumption and productivity of machine
CN101798019A (en) * 2010-03-19 2010-08-11 华中科技大学 Material monitoring device based on wireless sensing network
CN101833452A (en) * 2010-04-30 2010-09-15 中国海洋大学 Monitor software design method based on sensor
CN102937504A (en) * 2012-11-06 2013-02-20 昆山北极光电子科技有限公司 Dynamic balance on-line detection system of rotating machinery
CN103702448A (en) * 2014-01-07 2014-04-02 上海东源计算机自动化工程有限公司 Port monitoring system based on wireless sensor network
CN104023415B (en) * 2014-06-23 2018-06-26 深圳供电局有限公司 A kind of cable duct wireless telecommunication system
CN104023415A (en) * 2014-06-23 2014-09-03 深圳供电局有限公司 Cable-trench wireless communication system
CN104076719A (en) * 2014-07-11 2014-10-01 天津工业大学 Industrial wireless sensor network on-off control system and method
CN104079461A (en) * 2014-07-16 2014-10-01 上海诺诚电气有限公司 470M router with ZigBee communication function and communication method
CN104318740B (en) * 2014-10-15 2017-08-25 南京邮电大学 General purpose transducer receiving/transmission method based on Zigbee and serial ports
CN104318740A (en) * 2014-10-15 2015-01-28 南京邮电大学 Universal sensor transceiving method based on Zigbee and serial port
CN105022373A (en) * 2015-04-30 2015-11-04 武汉理工大学 Port equipment maintenance system based on zigbee technology
CN104965464A (en) * 2015-07-08 2015-10-07 福建唐力电力设备有限公司 Marine machinery and port machinery smart system and implementation method
CN105118278A (en) * 2015-09-25 2015-12-02 重庆邮电大学 Wireless monitoring system for industrial environment on basis of 433 MHz frequency band
CN105338662A (en) * 2015-09-30 2016-02-17 浙江开盈信息科技有限公司 Zigbee network
CN105338662B (en) * 2015-09-30 2019-09-20 浙江开盈信息科技有限公司 ZigBee-network
CN106936762A (en) * 2015-12-30 2017-07-07 上海防灾救灾研究所 A kind of method integrated for many data access in experiment of preventing fires
CN106681670A (en) * 2017-02-06 2017-05-17 广东欧珀移动通信有限公司 Sensor data reporting method and device
CN108877188A (en) * 2018-05-17 2018-11-23 济南诚博信息科技有限公司 A kind of environment protection digital concurrently acquires and Multi net voting dissemination method and device

Similar Documents

Publication Publication Date Title
Mainetti et al. Evolution of wireless sensor networks towards the internet of things: A survey
Zanella et al. Internet of things for smart cities
CN101968649B (en) Network type control system for live pig culturing environment and intelligent environment factor control method
CN102307222B (en) Intelligent greenhouse demonstration measurement and control system based on Internet of things technology
CN101860978B (en) Internet of things system structure
CN101001186A (en) Monitoring system based on sensor-based network technology
CN101471899A (en) Network data access method, access gateway and system capable of supporting sensor
CN101661664A (en) Orchard planting monitoring system based on wireless sensor networks and monitoring method thereof
CN102006323A (en) Environmental monitoring Internet-of-things system
CN201750562U (en) Device for interconnecting the wireless sensor network with the internet and the mobile communication net
CN201341258Y (en) Intelligent network type LED lamp management system
CN101610178B (en) Method for obtaining physical layer link network topology based on address forwarding mechanism
WO2011130939A1 (en) Method and system for interconnection between sensor network and mobile terminal, and network connectiondevice
CN201955884U (en) Multi-parameter water quality monitoring wireless sensor
Fukatsu et al. Agent System for operating web-based sensor nodes via the internet
CN101588293B (en) Full IP communication interconnection system of Ad Hoc network and IPv6 network
CN103338565A (en) Intelligent illumination control system and method based on wireless sensor network
CN103676795B (en) Intelligent monitor system based on technology of wireless sensing network
CN101018236A (en) Self-adapted sensor network of the network control platform based on the multi-protocol module structure
CN104052759B (en) System for realizing add-and-play technology of internet of things
CN202888962U (en) Intelligentized unified management system for electric power video monitoring
CN102014165A (en) Remote agricultural information intelligent analysis system and agricultural environment regulation and control method
CN202261821U (en) Wireless sensor network system used for agricultural environment monitoring
Gao et al. An intelligent irrigation system based on wireless sensor network and fuzzy control
CN201680857U (en) Wireless sensor network acquisition node device and system for monitoring crop paramthers

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C12 Rejection of an application for a patent