A kind of low-consumption wireless Sensor Network
Technical field
The invention discloses a kind of low-consumption wireless Sensor Network, relate to agricultural equipment field of energy-saving technology.
Background technology
China is populous nation, ensures that the sustainable development of agricultural is the major issue needing to solve, and therefore adopts the precision agriculture of information technology to be that the important technical that China's agricultural modernization develops is selected.
Becoming more meticulous in agricultural planting, needing to monitor Agricultural Information at any time, as the growing environment factor of the crops such as water content, atmospheric pressure, wind speed, sleet of temperature, humidity, soil, carrying out modernization scientic planting, improving the seed output and quality of crops.Traditional agricultural monitoring system, carrys out each data of collect and transmit process by cable communicating technology, and wiring is complicated, and cost is higher, and sensing node can not random placement.After wireless communication technology grows up, Bluetooth technology is applied in agricultural environment acquisition system, but its transmission range is short, cannot meet the long-distance transmissions of broadacre agriculture.
Along with the development of technology of Internet of things, wireless sensor network technology can be used, a large amount of microsensor node deployment in monitored area, a kind of multihop self-organizing network system is formed by communication, obtain agricultural monitoring information, carry out long-distance transmissions, this will become one of important channel of precision agriculture infomation detection from now on.
In wireless sensor network, the important component part of data acquisition is sensor node, and it is extensively distributed in the large Tanaka of large area agricultural, collect and transmit agricultural environment information.But in long-term work, need powered battery, finite energy, power depletion, can not Information Monitoring.Therefore, be designed for the wireless sensor network system of agricultural monitoring, study and reduce energy consumption, key technology such as raising life cycle and reliability etc., improve energy efficiency and become one of main design principle of wireless sensor network to lengthen working hours.
In order to improve the energy efficiency of wireless sense network agricultural monitoring system, the measure and method that how to reduce node power consumption be studied, reducing the power consumption of system and very important meaning has been applied for agriculture test system.
Summary of the invention
Technical problem to be solved by this invention is: for the defect of prior art, provides a kind of low-consumption wireless Sensor Network, and hardware components takes into full account the demand reducing energy consumption, adopts the hardware chip of low-power consumption; Equipment did not communicate when rest period, reduced energy consumption, when needing communication, was started by main control module, designed thought centered by energy-conservation, when node does not communicate, will enter resting state in time, reduced energy consumption.
The present invention is for solving the problems of the technologies described above by the following technical solutions:
A kind of low-consumption wireless Sensor Network, comprises monitor terminal, network, aggregation node and sensing node; Described monitor terminal, network, aggregation node are connected successively with sensing node;
Described aggregation node comprises memory module, GPRS module, display module, wireless radio frequency modules, serial port module, clock module, processor module, power module;
Described processor module is connected with memory module, GPRS module, display module, wireless radio frequency modules, serial port module, clock module respectively and sees, described power module is respectively processor module, display module, clock module are powered;
Described sensing node comprises wireless communication module, main control module, data acquisition module, supply module, and described main control module is connected respectively at wireless communication module, data acquisition module; Described supply module is respectively wireless communication module, data acquisition module is powered;
Sensing node: be extensively distributed in the region of specifying, gathered the data of monitored area by transducer, main control module processes image data and stores, and sends to aggregation node by wireless communication module.
Collect node: control wireless radio frequency modules periodically to the data that monitored area transmission broadcast frame and reception sensing node are sent by processor module, process and storing data information simultaneously, by GPRS network forwarding data information, finally send to monitor terminal.
Data acquisition module: adopt low-power consumption sensing integrated chip, there is the function of Temperature Humidity Sensor, optical sensor, barometric pressure sensor, air velocity transducer, sleet transducer respectively, the growing environment factor of crops is gathered;
Main control module: adopt low power processor, carries out process to the data of transducer collection and stores, and by wireless communication module information is sent to and collects node;
Wireless radio frequency modules: be mainly used in periodically sending broadcast frame to monitored area, the data message that transmitting-receiving sensing node sends;
Processor module: Low Power High Performance processor, controls and data processing each module of aggregation node.
Clock module: for recording current time information, adopt the CMOS real-time clock/calendar chip of low-power consumption, have all addresses of programmable clock out, interrupt output and brown-out detector and data by I2C bus interface, word address register embedded after at every turn reading and writing data can produce increment automatically;
Memory module: for memory function, adopts FLASH memory;
GPRS module: GPRS network is to task management node for data forwarding information.Require stable performance, realize high-speed seamless connection;
Display module: for liquid crystal display, includes RAM, can with CPU direct interface, connect microprocessor by parallel and serial two kinds of modes, there is sleep pattern;
Serial port module: standard serial port module;
Power Management Unit: be responsible for providing stable voltage to other each module;
Monitor terminal: for monitoring, can be mobile or fixed terminal, carry out respective handling for monitor task.
As further prioritization scheme of the present invention, described data acquisition module adopts low-power consumption sensor integrated chip, inside comprises transducer and AD conversion unit, described transducer and AD conversion unit inside integrated, described sensors A D conversion unit is connected with processor module.
As further prioritization scheme of the present invention, described display module comprises display screen and RAM memory.
As further prioritization scheme of the present invention, described clock module adopts the CMOS real-time clock/calendar chip of low-power consumption.
A method for low-consumption wireless Sensor Network, comprises the steps:
Step one: after energising, data acquisition module enters resting state through 11ms, and main control module does not send order, after 11ms rest period to data acquisition module before this, main control module sends one group of " starting transmission " sequential to data acquisition module, the initialization of data acquisition module;
Step 2: aggregation node definition beacon frame and Frame two kinds of forms, send the beacon frame of some every cycle T by wireless radio frequency modules, enter accepting state subsequently.Containing specific control information in beacon frame, for the use information of airtime synchronizing information and distribution node channel, binding time synchronized algorithm, access distributes time slot on request, realize the order transfer of node, sensing node received beacon frame, sensing node carries out data transmission to aggregation node;
Step 3: sensing node judges its current operating state according to the appointed information of the beacon frame received, and data are sent in the time slot of regulation; Main control module sends measuring command to data acquisition module, and the transducer in data acquisition module gathers environmental parameter by the environment residing for current crops, and transfers the environmental parameter of collection to the signal of telecommunication;
Step 4: analog quantity adornment is digital quantity well through AD conversion unit by the signal of telecommunication changed of transducer, and then send to main control module, main control module processes data and stores, and is then sent by wireless communication module;
Step 5: sensing node packs the data to Frame, is then sent by wireless communication module, and aggregation node receives data, and sensing node enters Low-power-consumptiodormancy dormancy state after sending ED, waits for next round beacon frame.
As further prioritization scheme of the present invention, described main control module adopts low-power scm, when single-chip microcomputer sends measuring command to transducer, the DATA in single-chip microcomputer SCK rising edge effectively and at SCK high level time, keep stable, then single-chip microcomputer will wait for that the measurement of transducer terminates.Transducer enters idle pulley by drop-down DATA to low level, represents the end of measuring;
Single-chip microcomputer is before again triggering SCK clock, and transducer sense data is to single-chip microcomputer; Data are first stored by single-chip microcomputer, and the measurement data of sensor transmissions 2 bytes and the CRC parity check of 1 byte, after the acknowledgement bit receiving CRC, show that communication terminates, and after measurement and communication complete, sensing node proceeds to park mode automatically.
The transmission of wireless communication module and Received signal strength process path all through highly integrated with optimization, can directly be connected with the microcontroller with main SPI, to realize the object of low-power consumption.When need not radio transceiver function time, use sleep state, when processor sends instruction, wireless communication module wakes up, receive send data.
The present invention adopts above technical scheme compared with prior art, has following technique effect: the present invention, when choosing hardware chip, take low-power consumption as standard, guaranteed performance prerequisite decline completely low-power consumption; Are separated the rest period of equipment and duty cycle, make full use of, equipment did not communicate when rest period, reduced energy consumption simultaneously, when needing communication, started by main control module, design thought centered by energy-conservation, when node does not communicate, resting state to be entered in time, reduce energy consumption.
Accompanying drawing explanation
Fig. 1 is system configuration model calling schematic diagram of the present invention.
Embodiment
Be described below in detail embodiments of the present invention, the example of described execution mode is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the execution mode be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail:
As shown in Figure 1, a kind of low-consumption wireless Sensor Network, comprises monitor terminal, network, aggregation node and sensing node to system configuration model calling schematic diagram of the present invention; Described monitor terminal, network, aggregation node are connected successively with sensing node;
Described aggregation node comprises memory module, GPRS module, display module, wireless radio frequency modules, serial port module, clock module, processor module, power module;
Described processor module is connected with memory module, GPRS module, display module, wireless radio frequency modules, serial port module, clock module respectively and sees, described power module is respectively processor module, display module, clock module are powered;
Described sensing node comprises wireless communication module, main control module, data acquisition module, supply module, and described main control module is connected respectively at wireless communication module, data acquisition module; Described supply module is respectively wireless communication module, data acquisition module is powered;
(1) data acquisition module: be made up of transducer and AD conversion unit.For reducing power consumption, strengthen antijamming capability, adopt sensing and the highly integrated low-power chip of AD conversion unit, require that response rapidly, antijamming capability is strong, has direct I2C interface, export for converting digital signal to, directly can communicate with processor module, support low-power consumption mode simultaneously, after having gathered data, automatically can proceed to park mode.The sensing integrated chip of this acquisition module mainly contains integrated Temperature Humidity Sensor, barometric pressure sensor, air velocity transducer, sleet sensor, can gather the growing environment factor of crops.
(2) main control module: mainly carry out process to the data of transducer collection and store, is sent to information by wireless communication module and collects node.For reducing the power consumption of this node, this module selects features such as having super low-power consumption, higher data processing speed and working stability to adopt 16 bit processors of low-power consumption.
(3) wireless radio frequency modules: be mainly used in periodically sending broadcast frame to monitored area, the data message that transmitting-receiving sensing node sends.This module requires to adopt low-power consumption, low cost, low-voltage, high data rate radio frequency chip, IEEE802.15.4 standard ZigBee technology can be realized, 6LoWPAN technology receives and sends messages, low-power consumption: sleep (SLEEP)=0.2 μ A, transceiver closes (TRX_OFF)=0.4mA, accepting state (RX_ON)=9.0mA, seizure condition (BUSY_TX)=18mA (when transmitted power=5dBm).Its inside modules comprises artificial antenna electric device and digital modulator and demodulator, time and Frequency Synchronization and data buffer, between antenna and microcontroller interface, adopt complete radio interface, without the need to exterior antenna switch, two-way difference antenna leads is generally used for sending and receiving.The quantity of external device reduces as much as possible, need only be external by antenna, filter (for high-output power level), crystal and four shunt capacitances.
(4) clock module: for recording current time information, adopt the CMOS real-time clock/calendar chip of low-power consumption, have all addresses of programmable clock out, interrupt output and brown-out detector and data by I2C bus interface, word address register embedded after at every turn reading and writing data can produce increment automatically.
(5) memory module: for memory function, adopts FLASH memory, requires that memory space is large, low-voltage, sleep pattern electric current 1uA low in energy consumption, spi bus communication.
(6) GPRS module: GPRS network is to task management node for data forwarding information.Require stable performance, realize high-speed seamless connection.
(7) display module: for liquid crystal display, includes RAM, can with CPU direct interface, connect microprocessor by parallel and serial two kinds of modes, there is sleep pattern.
(8) serial port module: standard serial port module.
(9) power management module and supply module: be responsible for providing stable voltage to other each module.
(10) monitor terminal (task management node): for monitoring, can be mobile or fixed terminal, carry out respective handling for monitor task.
A method for low-consumption wireless Sensor Network, comprises the steps:
Step one: after energising, data acquisition module enters resting state through 11ms, and main control module does not send order, after 11ms rest period to data acquisition module before this, main control module sends one group of " starting transmission " sequential to data acquisition module, the initialization of data acquisition module;
Step 2: aggregation node definition beacon frame and Frame two kinds of forms, send the beacon frame of some every cycle T by wireless radio frequency modules, enter accepting state subsequently.Containing specific control information in beacon frame, for the use information of airtime synchronizing information and distribution node channel, binding time synchronized algorithm, access distributes time slot on request, realize the order transfer of node, sensing node received beacon frame, sensing node carries out data transmission to aggregation node;
Step 3: sensing node judges its current operating state according to the appointed information of the beacon frame received, and data are sent in the time slot of regulation; Main control module sends measuring command to data acquisition module, and the transducer in data acquisition module gathers environmental parameter by the environment residing for current crops, and transfers the environmental parameter of collection to the signal of telecommunication; Described processor module adopts single-chip microcomputer, when single-chip microcomputer sends measuring command to transducer, the DATA in single-chip microcomputer SCK rising edge effectively and at SCK high level time, keep stable, then single-chip microcomputer will wait for that the measurement of transducer terminates.Transducer enters idle pulley by drop-down DATA to low level, represents the end of measuring;
Single-chip microcomputer is before again triggering SCK clock, and transducer sense data is to single-chip microcomputer; Data are first stored by single-chip microcomputer, and the measurement data of sensor transmissions 2 bytes and the CRC parity check of 1 byte, after the acknowledgement bit receiving CRC, show that communication terminates, and after measurement and communication complete, transducer proceeds to park mode automatically.
Step 4: analog quantity adornment is digital quantity well through AD conversion unit by the signal of telecommunication changed of transducer, and then send to main control module, main control module processes data and stores, and is then sent by wireless communication module;
Step 5: sensing node packs the data to Frame, is then sent by wireless communication module, and aggregation node receives data, and sensing node enters Low-power-consumptiodormancy dormancy state after sending ED, waits for next round beacon frame.
By reference to the accompanying drawings embodiments of the present invention are explained in detail above, but the present invention is not limited to above-mentioned execution mode, in the ken that those of ordinary skill in the art possess, can also makes a variety of changes under the prerequisite not departing from present inventive concept.The above, it is only preferred embodiment of the present invention, not any pro forma restriction is done to the present invention, although the present invention discloses as above with preferred embodiment, but and be not used to limit the present invention, any those skilled in the art, do not departing within the scope of technical solution of the present invention, make a little change when the technology contents of above-mentioned announcement can be utilized or be modified to the Equivalent embodiments of equivalent variations, in every case be do not depart from technical solution of the present invention content, according to technical spirit of the present invention, within the spirit and principles in the present invention, to any simple amendment that above embodiment is done, equivalent replacement and improvement etc., within the protection range all still belonging to technical solution of the present invention.