CN105072705B - Farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device and control method - Google Patents

Farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device and control method Download PDF

Info

Publication number
CN105072705B
CN105072705B CN201510478871.9A CN201510478871A CN105072705B CN 105072705 B CN105072705 B CN 105072705B CN 201510478871 A CN201510478871 A CN 201510478871A CN 105072705 B CN105072705 B CN 105072705B
Authority
CN
China
Prior art keywords
module
cluster
networking
sensor
frame
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.)
Active
Application number
CN201510478871.9A
Other languages
Chinese (zh)
Other versions
CN105072705A (en
Inventor
杨靖
王霄
覃涛
张凯
杨鑫
李泽滔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guizhou University
Original Assignee
Guizhou University
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 Guizhou University filed Critical Guizhou University
Priority to CN201510478871.9A priority Critical patent/CN105072705B/en
Publication of CN105072705A publication Critical patent/CN105072705A/en
Application granted granted Critical
Publication of CN105072705B publication Critical patent/CN105072705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention discloses a kind of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device and network-building methods, it includes: first processor module, first processor module is connect with second processor module, sensor module, memory module, display module, telecommunication and locating module and first processor power supply management module conducting wire, and second processor module is connect with first communication module, second communication module, control module, state indicator module and power management module conducting wire;The farmland sensor network computing capability that the present invention solves the prior art is limited, communication is easy the technical problems such as poor reliability that are interfered.

Description

Farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device and control method
Technical field
The invention belongs to farm electrification and automatic field more particularly to a kind of farmland cluster tree-shaped heterogeneous sensor networks Double frequency dual-core control device and network-building method.
Background technique
Amphitypy society is built, needs to build agricultural, realizes the sustainable development of agricultural and the informationization of agricultural.By accurate Agrotechnical use can maximally utilize farmland production potentiality, can rationally utilize the various means of production, reduce environment dirt It contaminates, increase substantially agricultural output and quality.Important component one of of the design of system for farmland as precision agriculture, It is the basis of precision agriculture, such as soil, weather information can be provided to agricultural modernization management, so that agricultural production is in certain journey Highly efficient and productive, good agricultural product are produced in the restriction that natural environment is got rid of on degree.Field information acquisition relates generally to farmland Environmental data collecting, data processing and data transmit three aspects.
Sensor network combines sensor technology, embedding assembly technology, micro- node technology and wireless communication technique etc., By self-organizing networking, node can collaboratively real-time monitoring, the information of perception and the various environment of acquisition or monitoring object, with more It jumps trunking scheme and institute's perception information is transmitted to user terminal.Because there is sensor network structure to configure flexible, at low cost and portion Management side just the advantages that, be widely used in agricultural.The communication mode of wireless sensor network in farm environment is logical Often there are radio frequency, Zigbee, Wifi, bluetooth, IrDA and NFC etc..Above-mentioned several ways are suitable for certain application scenarios, In, ZigBee technology and the usual communication distance of Wifi technology are limited;And Bluetooth technology needs to pay patent fee, chip cost compared with Height, and communication distance is also shorter;IrDA is easily blocked;NFC communication distance crosses section, therefore is unsuitable for making in farm environment With;Radio communication using the free frequency range of 433Mhz, has and preferably around barrier ability and penetrates compared with other several ways Ability, but due to using public channel available for free, it is more in the wireless device of the frequency range, it is easy to be disturbed, data is caused to pass Send poor reliability.
Summary of the invention
The technical problem to be solved in the present invention: a kind of farmland cluster tree-shaped heterogeneous sensor network double frequency double-core control dress is provided It sets and network-building method, it is reliable that the farmland sensor network computing capability to solve the prior art is limited, communication is easy to be interfered The technical problems such as property difference.
The solution of the present invention:
A kind of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device, it includes: first processor module, the One processor module and second processor module, sensor module, memory module, display module, telecommunication and locating module It is connected with first processor power supply management module conducting wire, second processor module and first communication module, second communication module, control Molding block, state indicator module are connected with power management module conducting wire.
First processor module is connect with second processor module by I/O mouthfuls, passes through I/O mouthfuls of companies with sensor module It connects, is connect with display module and telecommunication and locating module by RS232 interface, second processor module and control module, First communication module, second communication module, control module, state indicator module and power management module are connected by I/O mouthfuls.
The communication module is radio-frequency communication module, and radio-frequency communication module works in 433MHz, 868MHz and 915MHz Frequency range is divided into 200KHz between channel width.
First processor module is DSP module, and second processor module is MSP430F169 module.
The sensor module includes aerial temperature and humidity sensor, soil temperature sensor, soil moisture sensor, illumination Spend sensor, CO2Sensor.Wherein aerial temperature and humidity sensor uses the digital temperature-humidity sensor AM2306 of 1 line bus, Soil temperature sensor uses the DS18B20 digital transducer of 1 line bus, and soil moisture sensor uses ECH2O, illuminance Sensor uses the digital transducer TSL2561 of I2C bus.
It further includes power supply unit, and power supply unit is solar energy and storage battery power supply.
A kind of control method of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device, it includes networking between cluster Method, network-building method includes between the cluster
Step 1, device initialization: second processor module initializes the included port I/O;First communication module Working frequency is set as 915MHz, and setting output power is 6dbm;The working frequency of second communication module is set as 433MHz;If Setting output power is 10dbm;First and second communication module working frequencies are set;
Step 2, second communication module receive networking frame information between the cluster that control centre's transmission comes, first from networking frame between cluster The node address and dump energy that the hop count field of information extracts jumping figure value, forwards the frame;
Step 3, the information for searching the neighbor node in neighbor information table between cluster have the nodal information then by the networking frame Jumping figure value is compared with jumping figure value in table in information, and networking frame information jumping figure value is less than jumping figure value in table between cluster, then modifies neighbour Jumping figure value in information table is occupied, and forwards the frame after the modification, greater than not forwarding the frame then;There is no address letter in neighbor information table Breath, but jumping figure value is less than or equal to jumping figure value in table in the frame, then saves the frame information, while modifying networking label InNet_ Sign=1 forwards the frame to neighbor node after modification hop count field and Node Address field;
Step 4, networking time Tnet are not arrived, then wait the networking time to arrive, and return to the first step;
Step 5, networking time Tnet are arrived, then check networking label, network and be labeled as 1, exit networking stage between cluster;
Step 6, judge mark are labeled as 0, then send primary application networking frame every 1 second, there is neighbours' cluster head response, And hop count field is smaller than the hop count field of itself current setting in acknowledgement frame, then saves the cluster head node information;
If step 7 continuously transmits 3 application networking frames all without response, networking stage is exited, and logical by first Believe that module Broadcasting Control command frame, notice cluster inner sensor node enter dormant state, wait and waking up.
A kind of control method of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device, it includes row Networking in cluster, in the row cluster networking include:
Networking timer in step 1, initialization cluster, sends networking frame in cluster;
Step 2, the acknowledgement frame for receiving cluster inner sensor node are extracted node address and dump energy information, are deposited into Information of neighbor nodes table in cluster;
Step 3 judges the networking time, and networking has not timed out, then return step 2;
Step 4 calculates wireless working frequency in cluster, and working frequency is broadcast to cluster interior nodes;
Step 5, calculate node working sequence, and the timing is broadcast to cluster interior nodes;
Step 6, modification first communication module working frequency and dormancy time timer TSleep, into dormant state, etc. To timing to wake-up work.
A kind of control method of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device, it includes letter Breath acquisition, processing and transmission, the information collection and processing include:
Step 1, data acquisition and treatment process are started by timer or first processor;
Step 2, control power supply are powered to sensor, and be then delayed 5S;
Step 3 reads in sensing data, carries out digital filtering to data;
Step 4 carries out Data Fusion to data;
Result is stored NAND Flash chip into memory RAM and extension by step 5.
A kind of control method of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device, it includes number According to transmission, the data transmission includes:
Step 1, work start, and device is timed device and interrupts from dormant state wake-up or led to by first communication module or second Believe that module-external is interrupted to wake up, starts working time timer;
Step 2, timing do not arrive, and when need to transmit data, data sends cluster interior nodes to and then passes through first Communication module transmission, data, which sends control centre to and then passes through second communication module, is sent to next cluster head for data Node;
Step 3, timing do not arrive, and second communication module receives data, and the data need to forward, then forward the number According to.
The invention has the advantages that:
The present invention can will be deployed in various sensor node composition wireless sub networks in farmland, realize subnet through the invention Interior data convergence processing, by concentrating dispersion monitoring, individual subnets go wrong, and do not influence the work of other subnets, therefore have For stronger reliability.
Compared with prior art, the features of the present invention is as follows:
1) present invention uses dual processor, and first processor unit uses DSP, is able to achieve high-speed computation and handles, at second It manages device and uses low power processor, be able to satisfy control needs, and first processor power on/off is controlled by second processor, it can be effective System power dissipation is reduced, realizes that control and data processing separately carry out, effectively increases data-handling capacity and processing speed.
2) dual communication module is used, communication module works in different frequency range, effectively prevents band interference, improve data The reliability of transmission.
3) device sensor module selects digital transducer, has an integrated level height, good reliability, low in energy consumption and occupy I/ O mouthfuls of few advantages.
It is reliable that the farmland sensor network computing capability that the present invention solves the prior art is limited, communication is easy to be interfered The technical problems such as property difference.
Detailed description of the invention
Fig. 1 is structure of the invention schematic block diagram;
Fig. 2 is dual processor module connection diagram of the present invention;
Fig. 3 be first processor module of the invention and sensor module, display module, telecommunication and locating module and Memory module connection schematic diagram;
Fig. 4 is second processor module and the first, second communication module, control module, state indicator module of the invention With the connection schematic diagram of power management module;
Fig. 5 is the flow diagram of networking between cluster of the present invention;
Fig. 6 is the flow diagram of networking in cluster of the present invention;
Fig. 7 is the flow diagram of data acquisition and processing of the present invention;
Fig. 8 is the flow diagram of data transmission of the present invention.
Specific embodiment
A kind of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device, it includes: first processor module, the One processor module and second processor module, sensor module, memory module, display module, telecommunication and locating module It is connected with first processor power supply management module conducting wire, second processor module and first communication module, second communication module, control Molding block, state indicator module are connected with power management module conducting wire.
First processor module is connect with second processor module by I/O mouthfuls, passes through I/O mouthfuls of companies with sensor module It connects, is connect with display module and telecommunication and locating module by RS232 interface, second processor module and control module, First communication module, second communication module, control module, state indicator module and power management module are connected by I/O mouthfuls.
The communication module is radio-frequency communication module, and radio-frequency communication module works in 433MHz, 868MHz and 915MHz Frequency range is divided into 200KHz between channel width.
First processor module is DSP module, and second processor module is MSP430F169 module.
The sensor module includes aerial temperature and humidity sensor, soil temperature sensor, soil moisture sensor, illumination Spend sensor, CO2Sensor.Wherein aerial temperature and humidity sensor uses the digital temperature-humidity sensor AM2306 of 1 line bus, Soil temperature sensor uses the DS18B20 digital transducer of 1 line bus, and soil moisture sensor uses ECH2O, illuminance Sensor uses the digital transducer TSL2561 of I2C bus.
It further includes power supply unit, and power supply unit is solar energy and storage battery power supply, and battery is using 12V 12Ah Lead-acid battery.
First processor, the data for detecting to sensor or communication module receives carry out fusion treatment;
Second processor, for completing the control of control unit connect to control node;
First communication module, for realizing the switched wireless with cluster inner sensor nodal information;
Second communication module, for realizing control node, i.e., the switched wireless of information between cluster head node;
Sensor module, for detecting environmental information;
Control module, for realizing the start-up and shut-down control etc. to equipment;
State indicator module, for showing equipment working state;
Telecommunication and locating module, for realizing telecommunication by mobile network and to the positioning of working region;
Memory module is used for expansion data storage unit;
Power management module is managed for the power supply to whole device, its module of power supply management containing first processor And power management module.
In the embodiment of the present invention, first processor and second processor connection type are (see figure 2)
The dsp processor TM320C6748 for the TI company that wherein first processor uses, second processor is using TI The MSP430F169 processor of company, the P6 of 8 position datawire HD0~HD7 and second processor of the HPI interface of first processor Mouth, which is connected, is used as data transmission channel, and the control line of first processor HPI interface is connected with the P2 of second processor mouth, wherein the The P2.0 and P2.1 of two processors are connected to realize and post HPIC, HPIA and HPID with the HCNTL0 of first processor and HCNTLl The access of storage, the P2.2 of the second processor controllable read-write data that are connected with the HBIL of first processor are the first of data Byte or the second byte, P2.3 and the HR/W of the first processor mouth of second processor, which are connected, controls read-write gating, at second Manage the P2.4 and P2.5 of device respectively with first processor /HDS1 and/HDS2 be connected, control HCNTL0/1, HBIL and HR/W and believe Number, the P2.6 of second processor and first processor /HINT is connected, the P2.7 of second processor and the HRDY of first processor It is connected, the P3.0 of second processor and first processor /HCS is connected.
Fig. 3 be first processor of the embodiment of the present invention and sensor module, memory module, display module, telecommunication and The schematic diagram figure of locating module connection.Sensor module of the present invention is connected with air themperature humidity sensor SHT15, soil Earth temperature sensor DS18B20, soil moisture sensor, illuminance sensor, air velocity transducer, wind transducer, rainfall Sensor can be monitored a variety of farm environment parameters;Memory module of the present invention is using NAND Flash;This The display module is invented using the display screen of serial communication;Telecommunication of the present invention and locating module use Be SIMCOM company SIM908;In addition, first processor and display module, telecommunication and locating module are handed over by serial ports Change data.
Fig. 4 be second processor of the embodiment of the present invention and first communication module, second communication module, state indicator module, Control module, power management module connection schematic diagram.Wherein, first communication module and second communication module all using The nRF905 short range radio frequency communications module of Nordic company.State indicator module is connected with the P1.3 of second processor module, Dichromatic LED green light in controllable state indicator module, it is working properly, it glows, works abnormal;At second Reason device is connected with control module by P1.4, P1.5, P1.6, comprising three or eight decoder 74HC138, it can be achieved that right in control module The start-up and shut-down control of eight external equipments.
The present invention can not only monitor the farmland environmental information of region by the sensor module configured, and can basis Situation is worked using high speed processor or low speed processor, effectively controls the energy consumption of node.Had using dual communication module Effect reduces band interference, and then improves the accuracy of data transmission.
The present invention carries out data exchange by first communication module with sensor node.
Data exchange is carried out by second communication module between apparatus of the present invention.
The present invention has network designation and geographical coordinate using GPRS communication module, can be carried out according to title and geographical location Storage and inquiry.
Frame of the present invention for communication, a frame length are 32 bytes, and frame structure is as follows:
Frame for communication shares following three categories:
Broadcast frame: 1 byte of frame type field, field value 0x01H
Control frame: 1 byte of frame type field, field value 0x02H
Data frame: 1 byte of frame type field, field value 0x03H
3 kinds of the broadcast frame point for communication:
Networking frame: the first byte of remaining field, field value 0x11H
Networking successful respond frame: the first byte of remaining field, field value 0x12H
Apply for networking frame: the first byte of remaining field, field value 0x13H
4 kinds of the control frame point for communication:
Network Synchronization frame: the first byte of remaining field, field value 0x01H
Acknowledgement frame: the first byte of remaining field, field value 0x02H
Control command frame: the first byte of remaining field, field value 0x03H
Claim frame: the first byte of remaining field, field value 0x04H
2 kinds of the networking frame point for communication:
Networking frame between cluster: the second byte of remaining field, field value 0x01H
Networking frame in cluster: the second byte of remaining field, field value 0x02H
The information that the present invention is used to save neighbor node has 2 kinds of tables:
Cluster inner sensor informational table of nodes: for saving cluster interior nodes information
Cluster head node information table: cluster head node information is jumped for one
Topological structure between network cluster head where of the invention is tree.
Topological structure in inventive network cluster is hub-and-spoke configuration.
Networking maximum delay time is between inventive network clusterT net,T netThe height set in=2* network topologyh* T REIT ,T REIT =node receives and dispatches time+delay time end to end of a frame data.
Communication is realized anti-interference in the following way in cluster of the present invention:
In cluster after networking, cluster head node own net address is sent to cluster interior nodes, all node adjustment in cluster Own operative frequency is F=(915MHz+ Self address * 0.2MHz).
The present invention is full-function device, is capable of providing information bidirectional transmission, and can information be stored and be calculated.
A kind of control method of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device, it includes networking between cluster Method, network-building method includes between the cluster
Step 1, device initialization: second processor module initializes the included port I/O;First communication module Working frequency is set as 915MHz, and setting output power is 6dbm;The working frequency of second communication module is set as 433MHz;If Setting output power is 10dbm;First and second communication module working frequencies are set;
By the way that working frequency in cluster is arranged to CH_NO and HFREQ_PLL, the working frequency of first communication module is set as 915MHz;It is 6dbm that output power, which is arranged, by PA_PWR;CH_NO and HFREQ_PLL is respectively nRF905 configuration register word The the 0th, the 1st of section 1;Dbm indicates decibel millivolt;
By being set as to working frequency, the working frequency of second communication module between CH_NO and HFREQ_PLL setting cluster 433MHz;It is 10dbm that output power, which is arranged, by PA_PWR;
Working frequency calculation formula isf=(422+ (CH_NO)/10) * (1+HFREQ_PLL)), unit MHz;
Networking timer between module setting starting clusterT net, hop count initial value is set for device and enters networking stage between cluster, and It is waited for;T netThe height set in=2* network topologyh*T REIT ,T REIT The time of=node one frame data of transmitting-receiving+end-to-end Delay time, network heighthBy the transmission power institute of the area of device region, the position of control centre and communication module It determines.
Networking frame format between cluster:
Step 2, second communication module receive networking frame information between the cluster that control centre's transmission comes, first from networking frame between cluster The node address and dump energy that the hop count field of information extracts jumping figure value, forwards the frame;
Step 3, the information for searching the neighbor node in neighbor information table between cluster have the nodal information then by the networking frame Jumping figure value is compared with jumping figure value in table in information, and networking frame information jumping figure value is less than jumping figure value in table between cluster, then modifies neighbour Hop count segment value in information table is occupied, and forwards the frame after the modification, greater than not forwarding the frame then;There is no the address in neighbor information table Information, but jumping figure value is less than or equal to jumping figure value in table in the frame, then saves the frame information, while modifying networking label InNet_ Sign=1 forwards the frame to neighbor node after modification hop count field and Node Address field;
Step 4, networking time Tnet are not arrived, then wait the networking time to arrive, and return to the first step;
Step 5, networking time Tnet are arrived, then check networking label, network and be labeled as 1, exit networking stage between cluster;
Step 6, judge mark are labeled as 0, then send primary application networking frame every 1 second, there is neighbours' cluster head response, And hop count field is smaller than the hop count field of itself current setting in acknowledgement frame, then saves the cluster head node information;
If step 7 continuously transmits 3 application networking frames all without response, networking stage is exited, and logical by first Believe that module Broadcasting Control command frame, notice cluster inner sensor node enter dormant state, wait and waking up.
A kind of control method of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device, it includes row Networking in cluster is the flow diagram of networking in cluster of the present invention referring to Fig. 6.It is to be realized by first communication module, the group between cluster After net, device starts networking time timer in clusterT C,T C=5*(N/N C)* T REIT ,NFor sensor node total in network Number,N CFor number of clusters total in network.
Networking frame format in cluster:
Networking includes: in the row cluster
Networking timer in step 1, initialization cluster, sends networking frame in cluster;
Step 2, the acknowledgement frame for receiving cluster inner sensor node are extracted node address and dump energy information, are deposited into Information of neighbor nodes table in cluster;
Step 3 judges the networking time, and networking has not timed out, then return step 2;
Step 4 calculates wireless working frequency in cluster, and working frequency is broadcast to cluster interior nodes;
Step 5, calculate node working sequence, and the timing is broadcast to cluster interior nodes;
Step 6, modification first communication module working frequency and dormancy time timer TSleep, into dormant state, etc. To timing to wake-up work.
A kind of control method of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device, it includes letter Breath acquisition, processing and transmission, the information collection and processing include:
Step 1, data acquisition and treatment process are started by timer or first processor;
Step 2, control power supply are powered to sensor, and be then delayed 5S;
Step 3 reads in sensing data, and carries out digital filtering to data;
Step 4 carries out Data Fusion to data;
Result is stored NAND Flash chip into memory RAM and extension by step 5.
A kind of control method of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device, it includes number According to transmission, the data transmission includes:
Step 1, work start, and device is timed device and interrupts from dormant state wake-up or led to by first communication module or second Believe that module-external is interrupted to wake up, starts working time timer;
Step 2, timing do not arrive, and when need to transmit data, data sends cluster interior nodes to and then passes through first Communication module transmission, data, which sends control centre to and then passes through second communication module, is sent to next cluster head for data Node;
Step 3, timing do not arrive, and second communication module receives data, and the data need to forward, then forward the number According to.
Timing gives sensor power supply to power supply is then controlled.
It when the transmission of data is unsuccessful, repeatedly transmits 3 times, 3 times unsuccessful, terminates, and waiting triggers next time.
The format of data frame:
Check field be the cumulative of all bytes in front and, i.e., using cumulative and verification;Once most multipotency passes data field 6 kinds of sensing datas are sent, i.e., a kind of sensing data occupies 3 bytes.
Sensing data format:
What wherein type indicated is sensor type, in the present invention, the following sensor type of main definitions:
1) 0x01: indoor air temperature
2) 0x02: indoor air humidity
3) 0x03: the indoor soil moisture
4) 0x04: indoor soil moisture
5) 0x05: indoor soil moisture
6) 0x06: indoor light intensity
7) 0x07: indoor CO2
8) 0x08: outside air temperature
9) 0x09: outside air humidity
10) 0x0A: field soil temperature
11) 0x0B: field soil humidity
12) 0x0C: field soil moisture
13) 0x0D: outdoor illuminance
14) 0x0E: outdoor CO2
15) 0x0F: outdoor wind speed
16) 0x10: outdoor wind direction.

Claims (7)

1. a kind of control method of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device, it includes: the first processing Device module, first processor module and second processor module, sensor module, memory module, display module, telecommunication and Locating module is connected with first processor power supply management module conducting wire, and second processor module is led to first communication module, second Letter module, control module, state indicator module are connected with power management module conducting wire;First processor module and second processor Module is connected by I/O mouthfuls, is connect with sensor module by I/O mouthfuls, logical with display module and telecommunication and locating module Cross RS232 interface connection, second processor module and control module, first communication module, second communication module, control module, State indicator module and power management module are connected by I/O mouthfuls;First communication module, for realizing with cluster inner sensor node The switched wireless of information;Second communication module, for realizing control node, i.e., the switched wireless of information between cluster head node;
The control method includes network-building method between cluster, between cluster the step of network-building method include:
Step 1, device initialization: second processor module initializes the included port I/O;The work of first communication module Set of frequency is 915MHz, and setting output power is 6dbm;The working frequency of second communication module is set as 433MHz;It is arranged defeated Power is 10dbm out;First and second communication module working frequencies are set;
Step 2, second communication module receive networking frame information between the cluster that control centre's transmission comes, first from networking frame information between cluster Hop count field extract jumping figure value, forward the node address and dump energy of the frame;
Step 3, the information for searching the neighbor node in neighbor information table between cluster have the nodal information then by the networking frame information Middle jumping figure value is compared with jumping figure value in table, and networking frame information jumping figure value is less than jumping figure value in table between cluster, then modifies neighbours' letter Jumping figure value in table is ceased, and forwards the frame after the modification, greater than not forwarding the frame then;There is no the address information in neighbor information table, But in the frame jumping figure value be less than or equal to table in jumping figure value, then save the frame information, at the same modify networking label InNet_Sign= 1, the frame is forwarded to neighbor node after modification hop count field and Node Address field;
Step 4, networking time Tnet are not arrived, then wait the networking time to arrive, and return to the first step;
Step 5, networking time Tnet are arrived, then check networking label, network and be labeled as 1, exit networking stage between cluster;
Step 6, judge mark are labeled as 0, then send primary application networking frame every 1 second, have neighbours' cluster head response, and answer It is smaller than the hop count field of itself current setting to answer hop count field in frame, then saves the cluster head node information;
If step 7 continuously transmits 3 application networking frames all without response, networking stage is exited, and pass through the first communication mould Block Broadcasting Control command frame, notice cluster inner sensor node enter dormant state, wait and waking up;
The control method further includes networking in row cluster, in row cluster networking include:
Step A, networking timer in cluster is initialized, networking frame in cluster is sent;
Step B, the acknowledgement frame of cluster inner sensor node is received, node address and dump energy information is extracted, is deposited into cluster Information of neighbor nodes table;
Step C, judge the networking time, networking has not timed out, then return step B;
Step D, wireless working frequency in cluster is calculated, working frequency is broadcast to cluster interior nodes;
Step E, calculate node working sequence, and the timing is broadcast to cluster interior nodes;
Step F, it modifies first communication module working frequency and dormancy time timer TSleep is waited undetermined into dormant state When the time to wake up work.
2. a kind of controlling party of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device according to claim 1 Method, it is characterised in that: the communication module is radio-frequency communication module, radio-frequency communication module work in 433MHz, 868MHz and The frequency range of 915MHz is divided into 200KHz between channel width.
3. a kind of controlling party of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device according to claim 1 Method, it is characterised in that: first processor module is DSP module, and second processor module is MSP430F169 module.
4. a kind of controlling party of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device according to claim 1 Method, it is characterised in that: the sensor module includes aerial temperature and humidity sensor, soil temperature sensor, soil moisture sensing Device, illuminance sensor, CO2Sensor;Wherein aerial temperature and humidity sensor uses the digital temperature-humidity sensor of 1 line bus AM2306, soil temperature sensor use the DS18B20 digital transducer of 1 line bus, and soil moisture sensor uses ECH2O, illuminance sensor use the digital transducer TSL2561 of I2C bus.
5. a kind of controlling party of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device according to claim 1 Method, it is characterised in that: it further includes power supply unit, and power supply unit is solar energy and storage battery power supply.
6. a kind of controlling party of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device according to claim 1 Method, it is characterised in that: it includes information collection, processing and transmission, and the information collection and processing include:
Step 1.1, data acquisition and treatment process are started by timer or first processor;
Step 1.2, control power supply are powered to sensor, and be then delayed 5S;
Step 1.3 reads in sensing data, carries out digital filtering to data;
Step 1.4 carries out Data Fusion to data;
Result is stored NAND Flash chip into memory RAM and extension by step 1.5.
7. a kind of controlling party of farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device according to claim 1 Method, it is characterised in that: it includes data transmission, and the data transmission includes:
Step 2.1, work start, and device is timed device and interrupts from dormant state wake-up or communicated by first communication module or second Module-external, which is interrupted, to be waken up, and working time timer is started;
Step 2.2, timing do not arrive, and when need to transmit data, data sends cluster interior nodes to, and then to pass through first logical Believe module transmission, data, which sends control centre to and then passes through second communication module, is sent to next cluster head section for data Point;
Step 2.3, timing do not arrive, and second communication module receives data, and the data need to forward, then forward the number According to.
CN201510478871.9A 2015-08-03 2015-08-03 Farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device and control method Active CN105072705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510478871.9A CN105072705B (en) 2015-08-03 2015-08-03 Farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510478871.9A CN105072705B (en) 2015-08-03 2015-08-03 Farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device and control method

Publications (2)

Publication Number Publication Date
CN105072705A CN105072705A (en) 2015-11-18
CN105072705B true CN105072705B (en) 2019-09-27

Family

ID=54501943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510478871.9A Active CN105072705B (en) 2015-08-03 2015-08-03 Farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device and control method

Country Status (1)

Country Link
CN (1) CN105072705B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108770051A (en) * 2018-05-25 2018-11-06 中国矿业大学 Multi-hop ad hoc can suspend mode wireless sensor network the random method of network entry of node

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111911A (en) * 2011-03-08 2011-06-29 南京拓诺传感网络科技有限公司 Dual-core and multi-terminal interface wireless sensor network base station device
CN102314166A (en) * 2010-07-07 2012-01-11 柳平增 Intelligent crop production measurement and control system based on Internet of Things
CN102378133A (en) * 2011-12-02 2012-03-14 中国科学院上海微系统与信息技术研究所 System and method for processing multimedia information of sensor network based on OMAP (Open Multimedia Application Platform)
CN204242384U (en) * 2014-11-19 2015-04-01 贵州大学 A kind of low-power consumption farmland information collector based on communication
CN204836599U (en) * 2015-08-03 2015-12-02 贵州大学 Different structure sensor network dual -frenquency double -core controlling means of farmland bunch tree type

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314166A (en) * 2010-07-07 2012-01-11 柳平增 Intelligent crop production measurement and control system based on Internet of Things
CN102111911A (en) * 2011-03-08 2011-06-29 南京拓诺传感网络科技有限公司 Dual-core and multi-terminal interface wireless sensor network base station device
CN102378133A (en) * 2011-12-02 2012-03-14 中国科学院上海微系统与信息技术研究所 System and method for processing multimedia information of sensor network based on OMAP (Open Multimedia Application Platform)
CN204242384U (en) * 2014-11-19 2015-04-01 贵州大学 A kind of low-power consumption farmland information collector based on communication
CN204836599U (en) * 2015-08-03 2015-12-02 贵州大学 Different structure sensor network dual -frenquency double -core controlling means of farmland bunch tree type

Also Published As

Publication number Publication date
CN105072705A (en) 2015-11-18

Similar Documents

Publication Publication Date Title
CN103076784B (en) A kind of greenhouse surroundings monitoring system based on radio sensing network and GPRS
CN202048933U (en) Greenhouse monitoring system based on wireless sensor network
CN102761941B (en) A kind of method utilizing ultra-low power consumption wireless smart sensor's network protocol transmission
CN201897884U (en) Intelligent parking lot management device based on ZigBee wireless sensor network
CN106060871B (en) A kind of low-power consumption micropower wireless networking and data forwarding method
CN101369149B (en) Livestock and poultry facility cultivation surroundings monitoring method
CN109952948A (en) A kind of remote visualization Intelligent irrigation system based on Internet of Things
CN204313879U (en) Aquaculture water quality monitoring system
CN105116849A (en) Zigbee-based wireless fish blocking system
CN201674842U (en) Greenhouse dripping irrigation on-site monitoring system based on wireless embedded technology
CN201905101U (en) Remote orchard intelligent irrigation system based on ZigBee and GPRS (general packet radio service)
CN208255673U (en) A kind of wisdom agricultural greenhouse system based on lora mechanics of communication
CN101211498A (en) Warmhouse booth humiture collection communicating system based on wireless sensor network
CN106768067A (en) Plant monitoring system and its application method
CN108168603A (en) A kind of novel greenhouse monitoring system based on wireless sensor network
CN105072705B (en) Farmland cluster tree-shaped heterogeneous sensor network double frequency dual-core control device and control method
CN102111843A (en) Method for realizing energy conservation of wireless sensing node in greenhouse tomato irrigating system
CN201589614U (en) Multiple-carrier channel accessed wireless communication network hydrographic multiparameter metering instrument
CN201057737Y (en) Novel automatic control system for the sprinkling irrigation of subzone green belt
CN204836599U (en) Different structure sensor network dual -frenquency double -core controlling means of farmland bunch tree type
CN208016576U (en) A kind of field information acquisition irrigation system based on the LoRa communication technologys
CN207703264U (en) A kind of barn humiture centralized monitoring system based on ZigBee
CN102342235A (en) Automatic irrigation system of vegetable greenhouse based on WSN (Wireless Sensor Network)
CN106846779A (en) Directional antenna-based wireless measurement and control communication system in agricultural irrigation
CN204650221U (en) A kind of greenery patches automatic irrigation control device based on ZigBee technology

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant