CN104767791A - Agricultural product storage and transportation control system based on wireless sensor network - Google Patents
Agricultural product storage and transportation control system based on wireless sensor network Download PDFInfo
- Publication number
- CN104767791A CN104767791A CN201510096150.1A CN201510096150A CN104767791A CN 104767791 A CN104767791 A CN 104767791A CN 201510096150 A CN201510096150 A CN 201510096150A CN 104767791 A CN104767791 A CN 104767791A
- Authority
- CN
- China
- Prior art keywords
- data
- wireless sensor
- nodes
- module
- sensor network
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000003860 storage Methods 0.000 title claims abstract description 29
- 238000012545 processing Methods 0.000 claims abstract description 17
- 238000012544 monitoring process Methods 0.000 claims abstract description 12
- 230000007613 environmental effect Effects 0.000 claims description 17
- 238000004891 communication Methods 0.000 claims description 14
- 230000006870 function Effects 0.000 claims description 10
- 238000000034 method Methods 0.000 claims description 8
- 238000004458 analytical method Methods 0.000 claims description 3
- 238000007781 pre-processing Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 claims description 3
- 238000005057 refrigeration Methods 0.000 claims description 3
- 238000009423 ventilation Methods 0.000 claims description 2
- 239000007789 gas Substances 0.000 description 9
- 238000007726 management method Methods 0.000 description 9
- 230000018109 developmental process Effects 0.000 description 8
- 238000013480 data collection Methods 0.000 description 6
- 238000013461 design Methods 0.000 description 6
- 238000011161 development Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 239000000523 sample Substances 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 238000013523 data management Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 238000009529 body temperature measurement Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000003750 conditioning effect Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000012535 impurity Substances 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000033772 system development Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
Description
技术领域 technical field
本发明涉及基于无线传感器网络的农产品储运控制系统。 The invention relates to an agricultural product storage and transportation control system based on a wireless sensor network.
背景技术 Background technique
目前的农产品运输系统,智能化程度不够,而且不能实时监测农产品所处环境的温湿度并及时发送给管理人员。 The current agricultural product transportation system is not intelligent enough, and it cannot monitor the temperature and humidity of the environment where the agricultural products are located in real time and send them to the management personnel in time.
发明内容 Contents of the invention
为解决以上问题,本发明涉及基于无线传感器网络的农产品储运控制系统,所述系统包括无线传感器节点和嵌入式网关管理平台;所述无线传感器网络部署在监测区域内,以自组织的方式构成网络,环境信息采集节点将采集的环境数据通过zigbee路由器传送到协调器上,协调器负责接收和处理网络中的所有数据信息,并通过RS232串口将数据传输到本地的嵌入式网关上,嵌入式网关除了负责完成对数据的分析、处理、存储、显示、报警外,还负责将所采集的数据信息通过3G模块传送到远程的监控中心和用户手机上。 In order to solve the above problems, the present invention relates to an agricultural product storage and transportation control system based on a wireless sensor network. The system includes a wireless sensor node and an embedded gateway management platform; Network, the environmental information collection node transmits the collected environmental data to the coordinator through the zigbee router, and the coordinator is responsible for receiving and processing all data information in the network, and transmits the data to the local embedded gateway through the RS232 serial port. In addition to the analysis, processing, storage, display and alarm of the data, the gateway is also responsible for transmitting the collected data information to the remote monitoring center and the user's mobile phone through the 3G module.
进一步地,所述环境信息采集节点由数据采集模块、处理器模块、无线通信模块和电源模块组成,各模块由电源模块供电投入运行,其中数据采集模块负责数据采集和数据预处理;处理器模块作为节点的核心部分负责控制整个节点的工作,同时处理并存储其他节点的数据;无线通信模块与其他节点进行通信。 Further, the environmental information collection node is composed of a data collection module, a processor module, a wireless communication module and a power supply module, each module is powered by the power supply module and put into operation, wherein the data collection module is responsible for data collection and data preprocessing; the processor module As the core part of the node, it is responsible for controlling the work of the entire node, while processing and storing the data of other nodes; the wireless communication module communicates with other nodes.
进一步地,所述无线传感器节点为基于CC2530的无线传感器节点。 Further, the wireless sensor node is a CC2530-based wireless sensor node.
进一步地,所述嵌入式网关管理平台以S5PV210为核心,其核心板的资源有:4个UART,2个USB口,数据线和液晶显示屏接口;底板包括电源电路、接口电路、触摸屏、小键盘、USB存储电路等。 Further, the embedded gateway management platform takes S5PV210 as the core, and its core board resources include: 4 UARTs, 2 USB ports, data lines and liquid crystal display interfaces; the bottom board includes power circuits, interface circuits, touch screens, small Keyboard, USB storage circuit, etc.
进一步地,所述3G模块采用MF210模块。 Further, the 3G module adopts MF210 module.
进一步地,所述系统进一步包括GPS模块和CMOS摄像头,所述GPS模块和CMOS摄像头与所述嵌入式网关管理平台连接。 Further, the system further includes a GPS module and a CMOS camera, and the GPS module and the CMOS camera are connected to the embedded gateway management platform.
进一步地,所述无线传感器网络被分为终端节点、路由节点、协调器节点3种类型;终端节点主要完成环境数据的采集;路由节点主要完成路由的功能;协调器节点将传感器网络采集的数据进行汇聚;当系统正常工作时,不同的终端节 点进行数据采集,并通过无线的方式传递给路由节点,由路由节点进行数据处理并沿动态路由将数据转发到协调器节点,最终由协调器节点通过串口将数据汇总发送给嵌入式网关节点。 Further, the wireless sensor network is divided into three types: terminal nodes, routing nodes, and coordinator nodes; the terminal nodes mainly complete the collection of environmental data; the routing nodes mainly complete the routing function; the coordinator nodes collect the data collected by the sensor network Convergence; when the system is working normally, different terminal nodes collect data and transmit it to the routing node wirelessly, the routing node performs data processing and forwards the data to the coordinator node along the dynamic route, and finally the coordinator The node sends the data summary to the embedded gateway node through the serial port.
进一步地,所述终端节点包括:冷藏控制节点、温湿度传感器节点、气体浓度传感器节点、光照度传感器节点和/或换气扇控制节点。 Further, the terminal nodes include: refrigeration control nodes, temperature and humidity sensor nodes, gas concentration sensor nodes, illuminance sensor nodes and/or ventilation fan control nodes.
本系统通过增加3G模块实现了数据的远程收发,解决了无线传感器网络受距离限制的问题,使得远程用户可以通过电脑、移动终端利用移动通信网络完成农产品储运信息的查询。 The system realizes the remote sending and receiving of data by adding a 3G module, and solves the problem of the distance limitation of the wireless sensor network, so that remote users can use the mobile communication network to complete the query of agricultural product storage and transportation information through computers and mobile terminals.
附图说明 Description of drawings
通过参照附图更详细地描述本发明的示例性实施例,本发明的以上和其它方面及优点将变得更加易于清楚,在附图中: The above and other aspects and advantages of the invention will become more readily apparent by describing in more detail exemplary embodiments of the invention with reference to the accompanying drawings, in which :
图1为本发明的基于无线传感器网络的农产品储运控制系统的系统结构图; Fig . 1 is the system structural diagram of the agricultural product storage and transportation control system based on the wireless sensor network of the present invention;
图2为本发明的传感器节点硬件结构图; Fig . 2 is a sensor node hardware structural diagram of the present invention;
图3为嵌入式网关硬件结构图; Fig. 3 is the embedded gateway hardware structural diagram ;
图4为嵌入式网关的控制方法流程图; Fig. 4 is the flow chart of the control method of embedded gateway;
图5为嵌入式网关应用程序架构图。 Figure 5 is a diagram of the embedded gateway application program.
具体实施方式 Detailed ways
在下文中,现在将参照附图更充分地描述本发明,在附图中示出了各种实施例。然而,本发明可以以许多不同的形式来实施,且不应该解释为局限于在此阐述的实施例。相反,提供这些实施例使得本公开将是彻底和完全的,并将本发明的范围充分地传达给本领域技术人员。 Hereinafter, the invention will now be described more fully with reference to the accompanying drawings , in which various embodiments are shown. However, this invention may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
在下文中,将参照附图更详细地描述本发明的示例性实施例。 Hereinafter, exemplary embodiments of the present invention will be described in more detail with reference to the accompanying drawings .
本发明结合农产品储运控制系统的特点,基于无线传感器网络的农产品绿色储运控制系统的系统结构如图1所示。系统主要由基于CC2530的无线传感器节点和基于S5PV210处理器的嵌入式网关管理平台组成。通过该系统实现农产品储运过程中环境参数的采集、传输、显示、存储以及设备的控制。无线传感器网络主要部署在监测区域内,以自组织的方式构成网络,环境信息采集节点将采集的环境数据通过zigbee路由器传送到协调器上,协调器负责接收和处理网络中的所有数据信息,并通过RS232串口将数据传输到本地的嵌入式网关上,嵌入式网 关除了负责完成对数据的分析、处理、存储、显示、报警外,还负责将所采集的数据信息通过3G模块传送到远程的监控中心和用户手机上。 The present invention combines the characteristics of the agricultural product storage and transportation control system, and the system structure of the agricultural product green storage and transportation control system based on the wireless sensor network is shown in FIG. 1 . The system is mainly composed of wireless sensor nodes based on CC2530 and embedded gateway management platform based on S5PV210 processor. Through this system, the collection, transmission, display, storage and equipment control of environmental parameters in the process of storage and transportation of agricultural products are realized. The wireless sensor network is mainly deployed in the monitoring area and forms a network in a self-organizing manner. The environmental information collection node transmits the collected environmental data to the coordinator through the zigbee router. The coordinator is responsible for receiving and processing all data information in the network, and The data is transmitted to the local embedded gateway through the RS232 serial port. The embedded gateway is not only responsible for the analysis, processing, storage, display and alarm of the data, but also responsible for transmitting the collected data information to the remote monitoring through the 3G module. Center and user mobile phones.
1系统硬件 1 system hardware
1.1无线传感器网络硬件设计 1.1 Wireless sensor network hardware design
无线传感网络应用需要较低的传输延时和极低的功率消耗,以延长电池使用寿命。ZigBee具有高通信效率、低复杂度、低功耗、低速率、低成本、高安全性等优点,使其适合应用于无线传感器网络。Zigbee是一种新兴的短距离、低速率的无线网络技术,主要用于近距离无线连接。它有自己的协议标准,在数千个微小的传感器之间相互协调实现通信。 Wireless sensor network applications require low transmission latency and extremely low power consumption to extend battery life. ZigBee has the advantages of high communication efficiency, low complexity, low power consumption, low speed, low cost, high security, etc., making it suitable for wireless sensor networks. Zigbee is an emerging short-range, low-rate wireless network technology, mainly used for short-range wireless connections. It has its own protocol standard, which coordinates and communicates among thousands of tiny sensors.
环境信息采集节点由数据采集模块、处理器模块、无线通信模块和电源模块组成,各模块由电源模块供电投入运行,模块工作结构框图如图2所示,其中各模块功能如下:数据采集模块的主要功能是负责数据采集和数据预处理;处理器模块作为节点的核心部分负责控制整个节点的工作,同时处理并存储其他节点的数据;无线通信模块主要工作是与其他节点进行通信。无线传感器网络的设计重点考虑了低成本、低功耗、稳定、可靠等因素。 The environmental information acquisition node is composed of a data acquisition module, a processor module, a wireless communication module and a power supply module. Each module is powered by the power supply module and put into operation. The block diagram of the working structure of the module is shown in Figure 2. The functions of each module are as follows: The main function of the module is responsible for data collection and data preprocessing; as the core part of the node, the processor module is responsible for controlling the work of the entire node, while processing and storing the data of other nodes; the main job of the wireless communication module is to communicate with other nodes. The design of wireless sensor network focuses on factors such as low cost, low power consumption, stability and reliability.
(1)CC2530是用于2.4-GHz IEEE 802.15.4、ZigBee和RF4CE应用的一个真正的片上系统(SoC)解决方案。它能够以非常低的总的材料成本建立强大的网络节点。CC2530结合了领先的RF收发器的优良性能,业界标准的增强型8051CPU,系统内可编程闪存,8-KB RAM和许多其它强大的功能。 (1) The CC2530 is a true System-on-Chip (SoC) solution for 2.4-GHz IEEE 802.15.4, ZigBee and RF4CE applications. It enables building powerful network nodes with very low overall material cost. The CC2530 combines the excellent performance of a leading RF transceiver, an industry-standard enhanced 8051CPU, in-system programmable flash memory, 8-KB RAM and many other powerful features.
(2)传感器选择传感器节点需要完成各种环境因子数据的采集,主要包括环境温湿度、气体浓度以及红外线告警信息。这些信息采集是由传感器完成的,要求传感器具备较高的精度及较低的功耗。 (2) Sensor selection The sensor nodes need to complete the collection of various environmental factor data, mainly including environmental temperature and humidity, gas concentration and infrared alarm information. These information collections are completed by sensors, requiring the sensors to have higher precision and lower power consumption.
1.2嵌入式网关管理平台硬件设计 1.2 Hardware Design of Embedded Gateway Management Platform
网关节点作为信息集中处理和无线传感器网络的本地化管理平台,需要具有较快的处理速度、较强的信息管理功能和丰富的硬件外围接口资源。它采用了基于ARM CortexTM-A8内核的32位精简指令集微处理器,最大1GHz运算速度,内含32/32KB数据/指令一级缓存,512KB二级缓存。S5PV210还提供了较为丰富的外围接口,可以很大程度地减少系统开发的成本,另外,它具有高性价比、低功耗的特点,非常适合嵌入式系统的开发。 As a centralized information processing and localized management platform for wireless sensor networks, gateway nodes need to have fast processing speed, strong information management functions and rich hardware peripheral interface resources. It uses a 32-bit RISC microprocessor based on the ARM CortexTM-A8 core, with a maximum operating speed of 1GHz, including 32/32KB data/instruction level-1 cache and 512KB level-2 cache. S5PV210 also provides a relatively rich peripheral interface, which can greatly reduce the cost of system development. In addition, it has the characteristics of high cost performance and low power consumption, which is very suitable for the development of embedded systems.
本发明以S5PV210为核心构建了无线传感器网络网关硬件平台,核心板的资源有:4个UART,2个USB口,数据线和液晶显示屏接口。底板包括电源电路、各种接口电路、触摸屏、小键盘、USB存储电路等。嵌入式网关硬件结构如图3所示。 The present invention constructs a wireless sensor network gateway hardware platform with S5PV210 as the core, and the resources of the core board include: 4 UARTs, 2 USB ports, data lines and liquid crystal display interfaces. The backplane includes power supply circuit, various interface circuits, touch screen, keypad, USB storage circuit and so on. The embedded gateway hardware structure is shown in Figure 3.
(1)电源电路为温室控制器各部分提供所需的电源。整个温室控制器需要的电压为:3.3、4.2、5.0V。选用的芯片为LT1764和MIC29302。 (1) The power circuit provides the required power for each part of the greenhouse controller. The voltage required by the entire greenhouse controller is: 3.3, 4.2, 5.0V. The chips selected are LT1764 and MIC29302.
(2)串行接口除了负责嵌入式网关与无线传感器网络协调器间的数据传输外,还负责嵌入式网关的调试终端功能,由于核心板提供的是TTL电平,所以使用MAX3232芯片将电压转换为符合RS-232标准的电压。 (2) The serial interface is not only responsible for the data transmission between the embedded gateway and the wireless sensor network coordinator, but also responsible for the debugging terminal function of the embedded gateway. Since the core board provides TTL level, the MAX3232 chip is used to convert the voltage A voltage that complies with the RS-232 standard.
(3)3G模块采用了中兴公司的MF210模块完成嵌入式网关的远程无线通信,该模块下行速率高达7.2Mbps,上行可达2.0Mbps(最高可达5.76Mbps),同时该模块信号更强、更稳定,可收发短信,并支持GPS,完全可以满足无线传感器网络的数据传输量的需求。 (3) The 3G module uses ZTE's MF210 module to complete the long-distance wireless communication of the embedded gateway. It is stable, can send and receive short messages, and supports GPS, which can fully meet the data transmission requirements of wireless sensor networks.
(4)存储器本系统拓展了256MB DDR2RAM和1GBSLC NAND Flash。 (4) Memory The system expands 256MB DDR2RAM and 1GB SLC NAND Flash.
(5)GPS模块采用了高灵敏度导航芯片SIRF3,拥有20个接收信道,设计接收灵敏度-159DB,缺省通信速率为9600。 (5) The GPS module adopts the high-sensitivity navigation chip SIRF3, has 20 receiving channels, the design receiving sensitivity is -159DB, and the default communication rate is 9600.
(6)CMOS摄像头为0V3640有效像素达到320W(2048X1536)。 (6) The CMOS camera is 0V3640 with an effective pixel of 320W (2048X1536).
(7)WIFI模块使用了USR-WIF1232低功耗系列在网待机功率低至3.3V,12mA。 (7) The WIFI module uses the USR-WIF1232 low-power series, and the standby power on the network is as low as 3.3V, 12mA.
(8)液晶显示、小键盘电路作为人机接口电路方便了用户对温室控制器的操作。 (8) The liquid crystal display and the small keyboard circuit are used as the man-machine interface circuit to facilitate the user's operation of the greenhouse controller.
2系统软件 2 system software
2.1无线传感器网络软件设计 2.1 Wireless sensor network software design
无线传感器网络的软件平台由ZigBee底层协议栈及其应用层软件开发构成。 The software platform of wireless sensor network is composed of ZigBee protocol stack and its application layer software development.
2.1.1ZigBee底层协议栈 2.1.1 ZigBee underlying protocol stack
ZigBee底层协议适应无线传感器的低花费、低能量、高容错性等的要求,Zigbee协议的基础是IEEE 802.15.4,但IEEE仅处理低级MAC层和物理层协议, 因此Zigbee联盟扩展了IEEE,对其网络层协议和API进行了标准化。ZigBee协议栈由各种软件代码分层组成,依次为应用程层、应用安全层、网络层、MAC层等。 The ZigBee underlying protocol adapts to the requirements of low cost, low energy, and high fault tolerance of wireless sensors. The basis of the Zigbee protocol is IEEE 802.15.4, but IEEE only deals with low-level MAC layer and physical layer protocols. Therefore, the Zigbee Alliance expands IEEE. Its network layer protocol and API are standardized. The ZigBee protocol stack is composed of various software code layers, which are application layer, application security layer, network layer, MAC layer and so on.
本发明主要针对农产品储运的实际需要,采用树状的网络拓扑结构。根据功能的不同,无线传感器网络被分为终端节点、路由节点、协调器节点3种类型。终端节点主要完成环境数据的采集;路由节点主要完成路由的功能;协调器节点将传感器网络采集的数据进行汇聚。当系统正常工作时,不同的终端节点进行数据采集,并通过无线的方式传递给路由节点,由路由节点进行数据处理并沿动态路由将数据转发到协调器节点,最终由协调器节点通过串口将数据汇总发送给嵌入式网关节点。 The present invention mainly aims at the actual needs of storage and transportation of agricultural products, and adopts a tree-like network topology structure. According to different functions, wireless sensor networks are divided into three types: terminal nodes, routing nodes, and coordinator nodes. The terminal node mainly completes the collection of environmental data; the routing node mainly completes the routing function; the coordinator node aggregates the data collected by the sensor network. When the system is working normally, different terminal nodes collect data and transmit it to the routing node wirelessly, the routing node processes the data and forwards the data to the coordinator node along the dynamic route, and finally the coordinator node sends the data to the coordinator node through the serial port. Data aggregates are sent to embedded gateway nodes.
对于节点的软件设计,主要通过调用ZigBee协议栈的API函数,实现无线传感器网络的自组织组网和数据的采集。本发明通过采用动态配置定时采集数据、定时休眠以及唤醒的方法,进一步降低整个无线传感器网络的功耗。 For the software design of the node, the self-organizing networking and data collection of the wireless sensor network are realized mainly by calling the API function of the ZigBee protocol stack. The present invention further reduces the power consumption of the entire wireless sensor network by adopting the method of dynamically configuring timing data collection, timing sleep and wake-up.
2.1.2无线传感器网络应用层软件 2.1.2 Wireless sensor network application layer software
应用层软件开发主要是各种传感器驱动程序的编写和自动控制程序的编写。 Application layer software development is mainly the writing of various sensor drivers and the writing of automatic control programs.
(1)温湿度传感器驱动程序设计 (1) Temperature and humidity sensor driver design
CC2530微控制器与SHT75温湿度传感器进行通信时,首先要对传感器进行初始化,然后写入命令(读/写状态寄存器、温度测量、湿度测量),最后将数据进行转换完成测量数据的读出。 When the CC2530 microcontroller communicates with the SHT75 temperature and humidity sensor, it must first initialize the sensor, then write commands (read/write status register, temperature measurement, humidity measurement), and finally convert the data to complete the reading of the measurement data.
(2)光照度传感器驱动程序设计 (2) Light sensor driver design
本系统采用HA2003来采集光照度信息。当光照度发生变化时,将光照强度值转化为电压值,再经调理电路将此电压值转换为0-2V或4-20mA,所以需要利用CC2530内部集成的A/D转换器将模拟信号转换为数据信号。 This system adopts HA2003 to collect illuminance information. When the illuminance changes, the light intensity value is converted into a voltage value, and then the voltage value is converted into 0-2V or 4-20mA by the conditioning circuit, so it is necessary to use the A/D converter integrated in the CC2530 to convert the analog signal into data signal.
(3)气体浓度传感器驱动程序设计 (3) Driver program design for gas concentration sensor
气体浓度传感器是一种将某种气体体积分数转化成对应电信号的转换器。探测头通过气体传感器对气体样品进行调理,通常包括滤除杂质和干扰气体、干燥或制冷处理、样品抽吸,甚至对样品进行化学处理,以便化学传感器进行更快速的测量。 A gas concentration sensor is a converter that converts a certain gas volume fraction into a corresponding electrical signal. The probe head conditions the gas sample through the gas sensor, which usually includes filtering out impurities and interfering gases, drying or refrigeration treatment, sample suction, and even chemical treatment of the sample for faster measurement by the chemical sensor.
(4)控制节点驱动程序设计 (4) Control node driver program design
控制节点主要通过将传感器采集的环境实时温湿度、光照度、以及气体浓度等数据与系统设定的阈值比较,来控制设备的开启与关闭,以保证农产品存储在最佳的环境条件下,延长农产品的保质期。 The control node mainly controls the opening and closing of the equipment by comparing the real-time temperature and humidity, illuminance, and gas concentration data collected by the sensor with the threshold set by the system, so as to ensure that the agricultural products are stored under the best environmental conditions and prolong the production of agricultural products. shelf life.
2.2嵌入式网关软件设计 2.2 Embedded gateway software design
嵌入式网关架起了无线传感器网络与局域网、互联网和移动3G网络之间的数据通讯渠道,将物联网连入了互联网。通过网关可以使用户通过PC或手机远程访问无线传感器网络所采集的一切数据信息,也可以实现远程设置系统的平衡参数,向无线传感器网络中的控制节点发送控制命令,进而实现了农产品储运控制系统的远程控制与监测。 The embedded gateway sets up the data communication channel between the wireless sensor network and the local area network, the Internet and the mobile 3G network, and connects the Internet of Things to the Internet. Through the gateway, users can remotely access all data information collected by the wireless sensor network through a PC or mobile phone, and can also remotely set the balance parameters of the system, and send control commands to the control nodes in the wireless sensor network, thereby realizing the storage and transportation of agricultural products. System remote control and monitoring.
网关是整个系统的主控中心,它通过标准串口与ZigBee协调器连接,收集无线传感器网络上传的数据,这些数据经过处理后一方面提供给用户使用,另一方面可以作为维护系统平衡与稳定的数据依据保存下来。 The gateway is the main control center of the entire system. It connects with the ZigBee coordinator through a standard serial port and collects data uploaded by the wireless sensor network. After processing, the data is provided to the user on the one hand, and on the other hand, it can be used as a tool to maintain the balance and stability of the system. The data is preserved.
嵌入式系统是构成网关的核心部分。它负责协调其他设备正常有序的工作。无线网卡与无线路由器为物联网能够接入互联网建立起稳定的数据通讯渠道。3G模块则是手机访问物联网的中转站。摄像头负责向嵌入式系统实时传输监控画面,这样用户可以在嵌入式系统的触屏显示器、上位机、互连网、以及手机终端上看到各种监控信息。GPS模块主要负责为系统提供导航和地理位置信息,通过此模块可以解决农产品质量追溯的问题。嵌入式网关的控制方法流程图如图4所示。 The embedded system is the core part of the gateway. It is responsible for coordinating the normal and orderly work of other devices. The wireless network card and wireless router establish a stable data communication channel for the Internet of Things to access the Internet. The 3G module is a transfer station for mobile phones to access the Internet of Things. The camera is responsible for transmitting monitoring images to the embedded system in real time, so that users can see various monitoring information on the touch screen display of the embedded system, the host computer, the Internet, and the mobile terminal. The GPS module is mainly responsible for providing navigation and geographic location information for the system. Through this module, the problem of agricultural product quality traceability can be solved. The flowchart of the control method of the embedded gateway is shown in FIG. 4 .
为了现实物联网系统的功能,嵌入式网关应用程序的开发主要分为人机交互界面开发、数据通信开发和网络开发三部分。为方便用户使用,本系统采用QT来开发人机交互界面,操作系统为linux,采用串口通信方式实现网关与无线传感器网络协调器之间的数据通信,采用TCP/IP协议实现网络开发,嵌入式网关应用程序架构如图5所示。 In order to realize the functions of the Internet of Things system, the development of the embedded gateway application program is mainly divided into three parts: the development of human-computer interaction interface, the development of data communication and the development of network. For the convenience of users, this system uses QT to develop the human-computer interaction interface, the operating system is linux, the serial communication method is used to realize the data communication between the gateway and the wireless sensor network coordinator, and the TCP/IP protocol is used to realize the network development. The gateway application architecture is shown in Figure 5.
系统管理软件由环境监控模块、3G模块、视频监控模块、以及GPS定位模块共同组成。环境监控模块主要由参数设置模块、数据采集模块、数据处理模块和数据管理模块等组成。设置模块主要实现各种系统参数的设置,如每个无线传感器节点的工作模式设置、数据采样时间设置等。数据采集模块主要实现多通道数据同步采集,主要通过采用动态实时曲线图和表格的方式来显示各个监测指标。数据处理模块主要完成对所接收到的数据信息的处理,如数字滤波、数值计算等。数据管理模块主要负责完成对传感器节点所采集的数据信息进行管理,包括存储、查询、数据分析与统计等。本系统采用一款轻型数据库SQLite来实现对采集数据的存储和管理,通过曲线图和表格方式可以显示各个监测指标的历史数据。嵌入式网关的数据信息可以通过WIFI、以太网接口传送到本地上位机上,但不便于远程用户的访问,本系统通过增加3G模块实现了数据的远程收发,解决了无线传感器网络受距离限制的问题,使得远程用户可以通过电脑、移动终端利用移动通信网络完成农产品储运信息的查询。 The system management software is composed of environment monitoring module, 3G module, video monitoring module, and GPS positioning module. The environmental monitoring module is mainly composed of parameter setting module, data acquisition module, data processing module and data management module. The setting module mainly realizes the setting of various system parameters, such as the working mode setting and data sampling time setting of each wireless sensor node. The data acquisition module mainly realizes synchronous acquisition of multi-channel data, and mainly displays various monitoring indicators by means of dynamic real-time graphs and tables. The data processing module mainly completes the processing of the received data information, such as digital filtering, numerical calculation, etc. The data management module is mainly responsible for managing the data information collected by the sensor nodes, including storage, query, data analysis and statistics. This system uses a light database SQLite to realize the storage and management of the collected data, and can display the historical data of each monitoring index through graphs and tables. The data information of the embedded gateway can be transmitted to the local host computer through WIFI and Ethernet interfaces, but it is not convenient for remote users to access. This system realizes the remote sending and receiving of data by adding a 3G module, which solves the problem that the wireless sensor network is limited by distance , so that remote users can use the mobile communication network to complete the query of agricultural product storage and transportation information through computers and mobile terminals.
以上所述仅为本发明的实施例而已,并不用于限制本发明。本发明可以有各种合适的更改和变化。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above descriptions are only examples of the present invention, and are not intended to limit the present invention. Various suitable modifications and variations are possible in the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510096150.1A CN104767791A (en) | 2015-03-04 | 2015-03-04 | Agricultural product storage and transportation control system based on wireless sensor network |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510096150.1A CN104767791A (en) | 2015-03-04 | 2015-03-04 | Agricultural product storage and transportation control system based on wireless sensor network |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN104767791A true CN104767791A (en) | 2015-07-08 |
Family
ID=53649390
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510096150.1A Pending CN104767791A (en) | 2015-03-04 | 2015-03-04 | Agricultural product storage and transportation control system based on wireless sensor network |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104767791A (en) |
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106371383A (en) * | 2016-08-30 | 2017-02-01 | 上海大学 | Greenhouse remote monitoring system and method |
| CN106448077A (en) * | 2016-11-13 | 2017-02-22 | 国家电网公司 | Hazardous article transportation and storage monitoring system based on Internet of things |
| CN106713871A (en) * | 2017-02-07 | 2017-05-24 | 广东南方电信规划咨询设计院有限公司 | Video monitoring system based on wireless sensor network |
| CN106713515A (en) * | 2017-03-29 | 2017-05-24 | 常熟理工学院 | Data transmission method of Internet of Things |
| CN107172170A (en) * | 2017-05-27 | 2017-09-15 | 梧州市兴能农业科技有限公司 | Agricultural product accumulating control system based on wireless sensor network |
| CN107295700A (en) * | 2017-01-10 | 2017-10-24 | 楚雄医药高等专科学校 | A kind of air-quality monitoring system based on Yi nationality, distributed over Yunnan, Sichuan and Guizhou's ZigBee radio sensing networks |
| CN107332901A (en) * | 2017-06-28 | 2017-11-07 | 梧州市兴能农业科技有限公司 | A kind of agricultural product accumulating intelligent monitor system |
| CN107360236A (en) * | 2017-07-18 | 2017-11-17 | 深圳森阳环保材料科技有限公司 | A kind of agricultural product accumulating intelligent monitor system based on wireless sensor network |
| CN108495375A (en) * | 2018-03-27 | 2018-09-04 | 南京邮电大学 | A kind of textile manufacturing monitoring system based on ZigBee-network |
| CN109656289A (en) * | 2019-01-26 | 2019-04-19 | 成都鑫芯电子科技有限公司 | A kind of intelligent greenhouse monitoring system |
| CN111586132A (en) * | 2020-04-29 | 2020-08-25 | 嘉应学院 | Agricultural data information acquisition method and system based on Internet of things |
| CN112146710A (en) * | 2020-11-12 | 2020-12-29 | 辽宁省交通高等专科学校 | A real-time environmental monitoring system |
| CN114543876A (en) * | 2022-01-14 | 2022-05-27 | 四川爱联科技股份有限公司 | Environment monitoring system based on wireless transmission |
| CN116634386A (en) * | 2023-05-09 | 2023-08-22 | 三亚宇航科技有限公司 | Block chain-based Internet of things communication system |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN202048933U (en) * | 2011-03-25 | 2011-11-23 | 西北农林科技大学 | Greenhouse monitoring system based on wireless sensor network |
| CN202957989U (en) * | 2012-10-29 | 2013-05-29 | 西安迅腾科技有限责任公司 | Crops growth environment monitoring device based on Zigbee |
| CN103167635A (en) * | 2011-12-14 | 2013-06-19 | 北京联合大学 | ZigBee wireless sensor network system and method for monitoring greenhouse environment |
| CN203480672U (en) * | 2013-08-09 | 2014-03-12 | 吉林农业大学 | Environment monitoring system based on ZigBee wireless interconnection |
-
2015
- 2015-03-04 CN CN201510096150.1A patent/CN104767791A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN202048933U (en) * | 2011-03-25 | 2011-11-23 | 西北农林科技大学 | Greenhouse monitoring system based on wireless sensor network |
| CN103167635A (en) * | 2011-12-14 | 2013-06-19 | 北京联合大学 | ZigBee wireless sensor network system and method for monitoring greenhouse environment |
| CN202957989U (en) * | 2012-10-29 | 2013-05-29 | 西安迅腾科技有限责任公司 | Crops growth environment monitoring device based on Zigbee |
| CN203480672U (en) * | 2013-08-09 | 2014-03-12 | 吉林农业大学 | Environment monitoring system based on ZigBee wireless interconnection |
Cited By (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106371383A (en) * | 2016-08-30 | 2017-02-01 | 上海大学 | Greenhouse remote monitoring system and method |
| CN106448077A (en) * | 2016-11-13 | 2017-02-22 | 国家电网公司 | Hazardous article transportation and storage monitoring system based on Internet of things |
| CN107295700A (en) * | 2017-01-10 | 2017-10-24 | 楚雄医药高等专科学校 | A kind of air-quality monitoring system based on Yi nationality, distributed over Yunnan, Sichuan and Guizhou's ZigBee radio sensing networks |
| CN106713871A (en) * | 2017-02-07 | 2017-05-24 | 广东南方电信规划咨询设计院有限公司 | Video monitoring system based on wireless sensor network |
| CN106713515B (en) * | 2017-03-29 | 2019-05-03 | 常熟理工学院 | A method of data transmission in the Internet of Things |
| CN106713515A (en) * | 2017-03-29 | 2017-05-24 | 常熟理工学院 | Data transmission method of Internet of Things |
| CN107172170A (en) * | 2017-05-27 | 2017-09-15 | 梧州市兴能农业科技有限公司 | Agricultural product accumulating control system based on wireless sensor network |
| CN107332901A (en) * | 2017-06-28 | 2017-11-07 | 梧州市兴能农业科技有限公司 | A kind of agricultural product accumulating intelligent monitor system |
| CN107360236A (en) * | 2017-07-18 | 2017-11-17 | 深圳森阳环保材料科技有限公司 | A kind of agricultural product accumulating intelligent monitor system based on wireless sensor network |
| CN107360236B (en) * | 2017-07-18 | 2020-10-27 | 银川华信智信息技术有限公司 | Agricultural product storage and transportation intelligent monitoring system based on wireless sensor network |
| CN108495375A (en) * | 2018-03-27 | 2018-09-04 | 南京邮电大学 | A kind of textile manufacturing monitoring system based on ZigBee-network |
| CN108495375B (en) * | 2018-03-27 | 2020-08-14 | 南京邮电大学 | Textile production monitoring system based on ZigBee network |
| CN109656289A (en) * | 2019-01-26 | 2019-04-19 | 成都鑫芯电子科技有限公司 | A kind of intelligent greenhouse monitoring system |
| CN111586132A (en) * | 2020-04-29 | 2020-08-25 | 嘉应学院 | Agricultural data information acquisition method and system based on Internet of things |
| CN112146710A (en) * | 2020-11-12 | 2020-12-29 | 辽宁省交通高等专科学校 | A real-time environmental monitoring system |
| CN114543876A (en) * | 2022-01-14 | 2022-05-27 | 四川爱联科技股份有限公司 | Environment monitoring system based on wireless transmission |
| CN116634386A (en) * | 2023-05-09 | 2023-08-22 | 三亚宇航科技有限公司 | Block chain-based Internet of things communication system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104767791A (en) | Agricultural product storage and transportation control system based on wireless sensor network | |
| CN103444257B (en) | The method and apparatus of low-power consumption MANET remote sensing monitoring physical quantity | |
| CN101599209B (en) | Embedded intelligent security monitoring equipment | |
| CN107767618A (en) | wireless environment monitoring system based on internet of things | |
| CN103344994B (en) | A kind of distributed Transient Electro-magnetic Data Acquisition System based on wireless sensor network | |
| CN204155128U (en) | A kind of intelligent pig house supervisory system | |
| CN103914992A (en) | Intelligent parking detection system based on wireless sensor network | |
| CN104571055A (en) | Intelligent home monitoring system based on internet of things | |
| CN103528702A (en) | ZigBee-based temperature monitoring device, ZigBee-based temperature monitoring system and implementation method thereof | |
| CN101227203A (en) | A miniature self-adaptive configuration wireless sensor network device | |
| CN205647564U (en) | Multi -protocols intelligent gateway based on USB | |
| CN207780956U (en) | Monitor sensing device and system | |
| CN102147612A (en) | Wireless sensor network data acquisition system based on 32-bit micro-processor | |
| CN101635996A (en) | Wireless medical management system | |
| CN104994536B (en) | A kind of configuration method and portable configuration device towards WSCN nodes | |
| CN206196060U (en) | Laboratory environment monitoring system based on zigBee technique | |
| CN103888529B (en) | Method, system and device for data wireless transmitting and receiving | |
| CN103095734A (en) | Hospital environment intelligent sensing system based on the internet of things | |
| CN201690610U (en) | Self-organizing wireless sensing detection control network | |
| Luo et al. | The implementation of wireless sensor and control system in greenhouse based on ZigBee | |
| CN204990032U (en) | Agricultural product cold chain delivery observing and controlling system based on wireless sensor network | |
| Onibonoje et al. | Digimesh-based design of a wireless monitoring network for environmental factors affecting granary system | |
| CN204666186U (en) | Based on the storage environment monitoring system of wireless network | |
| CN207995122U (en) | A kind of multi-protocols intelligent gateway based on narrowband Internet of Things | |
| CN203759861U (en) | Zigbee-based short circuit switch remote monitoring system for copper electrolysis |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| EXSB | Decision made by sipo to initiate substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150708 |
|
| RJ01 | Rejection of invention patent application after publication |