CN101715244A - wireless sensor network based cooperative digital acoustic frightening method of typical crop injurious animal - Google Patents

wireless sensor network based cooperative digital acoustic frightening method of typical crop injurious animal Download PDF

Info

Publication number
CN101715244A
CN101715244A CN200910237619A CN200910237619A CN101715244A CN 101715244 A CN101715244 A CN 101715244A CN 200910237619 A CN200910237619 A CN 200910237619A CN 200910237619 A CN200910237619 A CN 200910237619A CN 101715244 A CN101715244 A CN 101715244A
Authority
CN
China
Prior art keywords
node
actuator
beacon
initialization
master controller
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.)
Granted
Application number
CN200910237619A
Other languages
Chinese (zh)
Other versions
CN101715244B (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.)
Tsinghua University
Jiangnan University
Original Assignee
Tsinghua University
Jiangnan 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 Tsinghua University, Jiangnan University filed Critical Tsinghua University
Priority to CN2009102376193A priority Critical patent/CN101715244B/en
Publication of CN101715244A publication Critical patent/CN101715244A/en
Application granted granted Critical
Publication of CN101715244B publication Critical patent/CN101715244B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Toys (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention relates to a wireless sensor network based cooperative digital acoustic frightening method of a typical crop injurious animal, which belongs to the field of crop injurious animal acoustic frightening. The invention is characterized in that a pyroelectric infrared sensor network judges whether a injurious animal exists or not and transmits a result signal; each actuator node of an actuator network cooperatively sends out the yell of a corresponding natural enemy of the injurious animal; and a master controller is responsible for finishing acoustic frightening solution formulation. In the method, the pyroelectric infrared sensor network is used for judging whether the injurious animal exists or not in a detection mode according to an illumination threshold value of the ambience; the pyroelectric infrared sensor network is in a dormancy state in a random mode, and all actuator nodes periodically send out the yell of the corresponding natural enemy of the injurious animal; and the method is flexible and convenient, has strong pertinency and can better solve the control problem of the typical crop injurious animal in a pollution-free mode.

Description

Based on the anti-method of the typical crop and hazardous animal cooperative digital acoustic of wireless sensor network
Technical field
The present invention relates to a kind of anti-method of typical case's agricultural harm animal cooperative digital acoustic, belong to the crop and hazardous animal prevention and control field based on wireless sensor network.
Background technology
Agricultural is the lifeblood of national economy.The animal dangerous act causes crop production reduction and value of the product to lose very serious.At present, the control strategy of typical case's agricultural harm animal commonly used mainly is divided into chemicals and poisons and utilize two classes such as animal threatening.Utilize chemicals control agricultural harm animal, contaminated environment not only, and be unfavorable for protection to wild animal; And existing animal threatening method is primarily aimed at birds and muroid, mainly contain ultrasonicly drive, vision threatening, method such as smell is driven and prevent perching, the shortcoming that these methods exist is, use dumb, at the harm animal species single, controlling schemes is too simple, or the like.Utility model patent " the automatic bird-scaring unit in farmland " (application number: 91214192.1) relate to a kind of automatic bird-scaring unit that is applied to the farmland, adopt the method for sounding to drive bird.This device is established a rotating shaft in a cylinder, a plurality of jingle bells of installing and iron weight in the rotating shaft, wind rotor is all installed at the rotating shaft two ends, utilize natural wind to blow impeller, drive the jingle bell and the iron weight generation whipping of installing in the cylinder, constantly beat cylindrical wall,, realize driveing birds in the farmland with noise and the jingle bell sound that is sent.This device is only at birds, and is not obvious to the effect of driveing of other harm farmland animals.Thereby, press for and drive ways and means more flexibly and effectively, to drive the different animals that harms the crops more targetedly.
Based on the anti-system of the typical agriculture hazardous animal digital sound of wireless sensor network, be according to bionics principle, utilize the sound of harm animal natural enemy that the harm animal is driven effect, collaborative work by pyroelectric infrared sensor network, actor network and master controller three, send the cry of the corresponding natural enemy of harm animal and drive the harm animal, with more effective problem of preventing and treating that solves agricultural typical case harm animal.This promotes meticulous farming, intensive management and management of water equality and all has important practical significance for the raising that promotes China's agriculture production technology level.The anti-scheme of sound flexible, with strong points that this system had is the anti-strategy of typical case's agricultural harm animal cooperative digital acoustic based on wireless sensor network.
The present invention relates to a kind of anti-method of typical case's agricultural harm animal cooperative digital acoustic, be applied to based in the anti-system of the typical crop and hazardous animal cooperative digital acoustic of wireless sensor network based on wireless sensor network.The beneficial effect of this method is, collaborative work by pyroelectric infrared sensor network, actor network and master controller three, send the cry of the corresponding natural enemy of harm animal and drive the harm animal, with more effective problem of preventing and treating that solves agricultural typical case harm animal.This promotes meticulous farming, intensive management and management of water equality and all has important practical significance for the raising that promotes China's agriculture production technology level.The anti-scheme of sound flexible, with strong points that this system had.
Summary of the invention
Based on the anti-method of the collaborative sound of the crop and hazardous animal of wireless sensor network, it is characterized in that, described method is to realize that the anti-method of described sound contains following steps successively in a kind of anti-system of crops typical case harm animal cooperative digital acoustic based on wireless sensor network:
Step (1) constitutes a described a kind of anti-system of crops typical case harm animal cooperative digital acoustic based on wireless sensor network; Described system is by the rpyroelectric infrared wireless sensor network, and actuator is in order to form jointly with master controller, wherein:
The rpyroelectric infrared wireless sensor network, form by a plurality of pyroelectric infrared sensor nodes that are distributed in the mutual radio communication of energy in the farmland, each pyroelectric infrared sensor node forms by integrated pyroelectric infrared sensor and first wireless communication module serial connection, after certain pyroelectric infrared sensor node detects typical crop and hazardous animal, send to its nearest actuator node of described actor network middle distance by described first wireless communication module by described pyroelectric infrared sensor immediately and detect the signal that has typical case's harm animal;
Actor network, form by a plurality of actuator nodes that are distributed in energy mutual communication in the farmland, each actuator node is by second wireless communication module, the sound playing control circuit, audio power amplifying circuit, loud speaker is connected in series successively and forms, described actuator node is by independently " solar energy-storage battery " integrated drive generator power supply, when receiving the signal of the existence harm animal that nearest pyroelectric infrared sensor node sends, just sends described second wireless communication module voice of harm animal natural enemy, leave to drive it
Master controller, by the computer that has people and interactive interface, environmental information transducer and signal conditioning circuit thereof, the 3rd wireless communication module and independently " solar energy-storage battery " integrated drive generator form, calculator memory contains corresponding to illumination, temperature, humidity is anti-scheme of sound corresponding to the natural enemy title of crop and hazardous animal under totally three environmental informations, select the corresponding anti-scheme of sound according to the actual measurement environmental information of input, prevent scheme by the 3rd wireless communication module to described each pyroelectric infrared sensor node and described actuator node broadcast sound again, the anti-scheme of described sound comprises detection mode and two kinds of execution patterns of stochastic model, and the switching between detection mode and the stochastic model is by the illumination information decision of affiliated computer according to actual measurement;
Step (2), system initialization
Step (2.1), master controller begins beacon to all actuator nodes and all pyroelectric infrared sensor nodes issue initialization, described initialization begins to comprise in the beacon jumping figure value variable, and jumping figure value variable initial value is set to 0 when being sent by master controller, described initialization begins beacon and successively transmits in described actor network, obtain the jumping figure value of all actuator nodal distance master controllers, to set up routing table, and obtain ID number of affiliated actuator node of pyroelectric infrared sensor node, to finish the location of pyroelectric infrared sensor node;
All actuator nodes begin in the process of beacon in the reception initialization, utilizing described initialization to begin beacon obtains its method apart from master controller jumping figure value and is: receive that at every turn initialization begins beacon, promptly extract the value of jumping figure value variable wherein, relatively this is worth and self preserves the size of the value of jumping figure value variable, the one or more actuator node (or master controller) that will contain less jumping figure value variable saves as superior node, and this minimum hop count value added 1, be left self jumping figure value apart from master controller;
The forwarding initialization of actuator node began the signal of beacon around the pyroelectric infrared sensor node was monitored, the method of actuator node ID number is under obtaining: the signal power of the initialization beacon that the actuator node was transmitted around all rpyroelectric infrared wireless sensor nodes were monitored, and the actuator node that signal is the strongest is as actuator node under it;
Step (2.2), master controller finishes beacon to all actuator nodes and all pyroelectric infrared sensor nodes issue initialization, after described all actuator nodes listen to this initialization end beacon, set up the routing table of self, described all pyroelectric infrared sensor nodes send the request signal that is incorporated as member node to affiliated actuator node after listening to this initialization end beacon;
After described all actuator nodes listen to this initialization end beacon, the method of setting up the routing table of self is: all actuator nodes are after receiving that initialization finishes beacon, select an actuator node as father node in the level node from it, request is incorporated as child node, and will be incorporated as the actuator node of child node as child node to the request that self sends;
Step (2.3), master controller delivery network state is reported beacon, and after the initialization of receiving finished beacon, all actuator nodes were transferred to master controller with its routing table and affiliated rpyroelectric infrared wireless sensor node number;
Step (3), carry out the anti-method of crop and hazardous animal sound successively according to the following steps:
Step (3.1) is provided with the ambient light illumination threshold value in the computer of master controller, get 100,000 lux illuminance as threshold value;
Step (3.2), the ambient light illumination value is gathered on described computer cycle ground, and with the ambient light illumination threshold ratio that sets, if: the measured light brightness value is less than described threshold value execution in step (3.3), if the measured light brightness value is greater than described threshold value execution in step (3.4);
Step (3.3), carry out detection mode successively according to the following steps:
Step (3.3.1), each pyroelectric infrared sensor node enters wait state,
Step (3.3.2), detect the harm animal dis pyroelectric infrared sensor node notice under the speech utterance of the harm animal natural enemy set according to the anti-scheme of sound of actuator node,
Step (3.3.3), detect the harm animal dis the pyroelectric infrared sensor node surveying less than the harm animal after, return wait state,
Step (3.3.4), actuator node described in the step (3.3.2) are reported the performed anti-scheme of sound and the time of implementation of the anti-scheme of this along the path of the described routing table of having set up to master controller after executing the anti-scheme of sound,
Step (3.4), carry out stochastic model successively according to the following steps:
Step (3.4.1), each pyroelectric infrared sensor node enters resting state,
Step (3.4.2), the time interval harmony that all actuator nodes are set according to master controller is prevented periodically sounding of scheme.
Description of drawings
Fig. 1 begins the beacon schematic diagram for the anti-system of the typical crop and hazardous animal cooperative digital acoustic master controller broadcasting initialization based on wireless sensor network
Fig. 2 is a rpyroelectric infrared wireless sensor node initialize routine flow chart
Fig. 3 is an actuator node initializing program flow diagram
Fig. 4 is a master controller initialize routine flow chart.
Fig. 5 is an actuator node tree schematic diagram
Fig. 6 is the detection mode implementation schematic diagram of the anti-strategy of sound
Fig. 7 is the stochastic model implementation schematic diagram of the anti-strategy of sound
Program circuit when Fig. 8 is the anti-strategy of rpyroelectric infrared wireless sensor node execution sound
Program circuit when Fig. 9 is the anti-strategy of actuator node execution sound.
Program circuit when Figure 10 is the anti-strategy of master controller execution sound
Embodiment
Two work are mainly finished in the enforcement of described system initialization step: the one, and all actuator nodes have been set up routing table in the system, make between master controller and each actuator node and have set up effective communication path; The 2nd, the ownership situation of rpyroelectric infrared wireless sensor node and actuator node has been determined in the location of finishing the rpyroelectric infrared wireless sensor node, for the enforcement of detection mode in the anti-strategy of sound provides necessary preparation; The enforcement of described initial method is started by master controller, master controller is issued initialization successively and is begun beacon, initialization end beacon and network state report beacon in actor network and sensor network, by actuator node and rpyroelectric infrared wireless sensor node these beacons is made corresponding operation and finishes.
Fig. 1 begins the process schematic diagram of beacon for master controller issue initialization.Initialization begins beacon and comprises a variable, with the jumping figure of sign actuator nodal distance master controller, master controller ( 101) in the initialization beacon that sends, the initialization value of this jumping figure value variable is 0; All actuator nodes also comprise its variable apart from the jumping figure of master controller of sign, and the initial value of this jumping figure value variable is an enough big number (as: 10000), so that upgrade during initialization.When master controller is issued in network after initialization begins beacon, all receive the actuator node that initialization begins beacon the jumping figure value variable in the beacon are added 1, and will add new jumping figure value after 1 and the size of self jumping figure value variable compares, if new jumping figure value is less than the value of self jumping figure value variable, then the value of self jumping figure value variable is upgraded new for this reason jumping figure value, the ID and the signal strength signal intensity of the actuator node that sends this beacon are noted, add in higher level's actuator node chained list, the initialization that will carry new jumping figure value then begins beacon and sends; If new jumping figure value equals the value of self jumping figure value variable, the ID and the signal strength signal intensity that then will send the actuator node of this beacon are noted, and in the adding higher level actuator node chained list, no longer transmit this beacon; If new jumping figure value greater than the value of self jumping figure value variable, then ignore this initialization begin beacon (as Fig. 1, the actuator node 105Can receive the actuator node 102, 103, 104, 106, 107, 108With 109Signal, but have only the actuator node in higher level's actuator node chained list 102With 103).Carry out like this, all actuator nodes are all noted the jumping figure value of master controller in the network, and have write down the higher level's actuator node set of self.When the rpyroelectric infrared wireless sensor node receives initialization when beginning beacon, begin to monitor the signal that initialization that the actuator node sends begins beacon, and the ID of the actuator node that signal is the strongest preserves.Through time-delay after a while, master controller is issued initialization and is finished beacon in network.The actuator node of receiving initialization end beacon sends request to the strongest higher level's actuator node of its signal, and request is incorporated as sub-actuator node, after the mutual affirmation, sets up routing table separately between the actuator node; Receive that initialization finishes the rpyroelectric infrared wireless sensor node of beacon to the strongest actuator node transmission request of its signal that listens to, request adds actuator node member sensor node for this reason, actuator node and member's rpyroelectric infrared wireless sensor node are confirmed mutually, actuator nodes records device member rpyroelectric infrared wireless sensor node, the rpyroelectric infrared wireless sensor node writes down the actuator node under it, the location of finishing sensor node.Through time-delay after a while, master controller delivery network state in network is reported beacon, this beacon is propagated between the actuator node according to the routing table path of having set up, receives that the actuator node of this beacon is transferred to master controller with its routing table and affiliated rpyroelectric infrared wireless sensor node number.So far, described initialization procedure is finished.
Introduce from rpyroelectric infrared wireless sensor node, actuator node and the master controller program circuit angle when the initialization respectively below, further specify implementation based on the initialization step of the anti-system of cooperative digital acoustic of typical case's agricultural harm animal of wireless sensor network.
Fig. 2 is a rpyroelectric infrared wireless sensor node initialize routine flow chart.After the rpyroelectric infrared wireless sensor node powers on, at first transmitting power of each port of initialization CPU, AD chip and radio frequency chip etc. ( 201), finish this operation after, node is opened its radiofrequency launcher, the monitoring wireless channel, be defaulted as the no initializtion state ( 202).At this moment, the interruption that the rpyroelectric infrared wireless sensor node is monitored begins beacon interrupt for initialization, and initialization finishes beacon interrupt and actuator node confirmation signal interrupts and close.
The source that initialization begins beacon is a master controller, and after it issued this beacon, this beacon began slave controller to propagate between the actuator node, and all rpyroelectric infrared wireless sensor nodes will receive this signal.When the rpyroelectric infrared wireless sensor node receives that first initialization begins beacon, the response initialization begin beacon interrupt ( 203).At this moment, the rpyroelectric infrared wireless sensor node is opened initialization and is finished beacon interrupt and overtime timer, monitor the initialization that the actuator node sends and begin beacon, and the ID of the actuator node that signal is the strongest note ( 204), the method for record is that default two variablees write down the signal strength signal intensity of actuator node and ID number of actuator node respectively.The initial value of actuator node signal intensive variable is 0, and the initial value of the ID variable of actuator node is an arbitrary value.When receiving after initialization from the actuator node begins beacon, judge that at first signal strength signal intensity is whether greater than the value of the actuator node signal intensive variable of self record, if set up, then record sends the signal strength signal intensity of actuator node that this initialization begins beacon in the signal strength signal intensity variable, and ID number of this actuator node recorded in the ID variable.Carry out like this, up to receive initialization finish beacon ( 205).If it is overtime that rpyroelectric infrared wireless sensor node response initialization begins beacon, then return the no initializtion state, wait for next initialization begin the arrival of beacon ( 206).
After the rpyroelectric infrared wireless sensor node listens to initialization end beacon, response initialization end beacon interrupt ( 207), promptly extract the ID of the strongest actuator node of the final signal of preserving that listens to, send the signal that joins request to this actuator node, wait for that the affirmation of this actuator node is replied ( 208 With 209).With monitoring location commencing signal similar process, after the rpyroelectric infrared wireless sensor node listens to initialization end beacon, promptly open overtime timer, if after the time of this timer finishes, still do not receive the affirmation signal of actuator node, then node will return not initial condition again, the monitoring wireless channel, wait location next time commencing signal ( 210 With 211).Receive the affirmation information of actuator node when the rpyroelectric infrared wireless sensor node after, promptly begin to respond actuator node confirmation signal interrupt ( 212), the ID of this actuator node be set to actuator node ID under it ( 213).So far, rpyroelectric infrared wireless sensor node initialization procedure finishes, and enters operating state, begin the anti-strategy of execution sound ( 214).
Fig. 3 is an actuator node initializing program flow diagram.After the actuator node powers on, be defaulted as the no initializtion state, open wireless transceiver, the monitoring wireless channel ( 301 With 302).The interruption that the actuator node responds in initialization procedure has four kinds: initialization begin beacon interrupt ( 303), initialization finish beacon interrupt ( 304), request/affirmation beacon interrupt ( 305) and network state report beacon interrupt ( 306).Different interrupt types is discerned by different data packet heads.The source that initialization begins beacon, initialization end beacon and network state report beacon is master controller.Request/affirmation beacon is from this actuator node contiguous other actuator nodes or contiguous rpyroelectric infrared wireless sensor node.
In order to obtain jumping figure value and higher level's actuator node set apart from master controller, a variable is set in the actuator node preserves self jumping figure value, self jumping figure value initial value is an enough big number (as 10000), with normally carrying out of guaranteeing that self jumping figure value upgrades; In addition, the actuator node also is provided with chained list and preserves ID number of higher level's actuator node.The composition that initialization begins beacon comprises and apart from the jumping figure value (being called for short the jumping figure value) of master controller ID number of this node, and its initial jumping figure value when master controller sends is 0.Each actuator node of receiving that initialization begins beacon all will be carried out following operation: the jumping figure value in this beacon is added 1, save as new jumping figure value, judge that whether this new jumping figure value is less than self jumping figure value, if this jumping figure value is less than the jumping figure value of having deposited, then with the new for this reason jumping figure value of self jumping figure value renewal, delete the element in the former superior node chained list, and the ID that will send the actuator node of this beacon records higher level's actuator node chained list, transmits the initialization of carrying new jumping figure value then and begins beacon; If this new jumping figure value equals self jumping figure value, the ID that then only will send the actuator node of this beacon records in higher level's actuator node chained list, has write down the intensity of actuator node signal in higher level's actuator node chained list simultaneously; If this new jumping figure value greater than the jumping figure value of having deposited, then ignore this beacon ( 307).At last, the initialization that will carry new jumping figure value of actuator node begin beacon send ( 308).After finishing transmission, the arrival of actuator node wait master controller initialization end beacon ( 309), if wait timeout, then return the no initializtion state, wait for again initialization begin beacon ( 310).
Initialization finishes beacon and is issued by master controller after issue a period of time at the initialization beacon.Receive actuator node that initialization finishes beacon will respond initialization end beacon interrupt ( 304) and request/affirmation beacon interrupt ( 305), begin a series of requests or confirm operation.At first, the signal strength signal intensity record of actuator node searching higher level actuator node chained list therefrom selects a strongest actuator node of signal as father's actuator node, and sends and to join request, begin then to wait for affirmation signal from father's actuator node ( 311, 312 With 313).If receive the affirmation signal that father's actuator node is sent, then the ID of father's actuator node is added in the routing table ( 317With 318); If receive the request that is incorporated as sub-actuator node that other actuator node sends, then the ID with these actuator nodes adds in the sub-actuator node chained list of routing table, and answer " affirmation " signal ( 315With 316); At this moment, the actuator node is also monitored from the request of rpyroelectric infrared wireless sensor node and is added signal, receive this signal after, the actuator node adds its ID in member's sensor node chained list to, and reply " affirmation " signal ( 319 With 320).The actuator node is waited for the network state report beacon of master controller issue constantly when carrying out request/affirmations operation, with ending request/affirmation operate ( 321).On each actuator node, set a request/affirmation operation duration value upper limit, this time higher limit finishes beacon is reported the network state beacon to issue the time interval greater than master controller issue initialization, to judge whether the actuator node is overtime because of failure and other reasons, if after surpassing this time higher limit, the actuator node is not still received network state report beacon, then be judged to be fault, return the no initializtion state again, wait for next initialization begin the arrival of beacon ( 322).
After the actuator node received that network state is reported beacon, the response to network state was reported beacon interrupt, with the routing table of this actuator node and affiliated sensor node number packing, sent to his father's actuator node, successively to higher level's transmission, the arrival master controller ( 323), master controller will be according to these information updating network states.So far, the initialization procedure of actuator node is finished, enter operating state ( 324).
Fig. 4 is a master controller initialize routine flow chart.Hardware power on ( 401) after, three class beacons are issued in master controller issue successively: initialization begin beacon ( 402), initialization finish beacon ( 404) and network state report beacon ( 406).Each class beacon is issued 3 times continuously, to guarantee that beacon sends successfully.Whenever finish the transmission of a class beacon, master controller is opened corresponding timer, wait regularly finish the back carry out next step operation ( 403, 405 With 408).After the delivery network state is reported beacon, master controller wait reception network state information ( 407).Network state report information comprises the routing table of each actuator node and the number of affiliated sensor node, master controller adds the information from the actuator node that receives in the actuator node tree to, the tree root of actuator node number is a master controller, what be connected with master controller is to be the actuator node of father node with the master controller, other actuator node all be connected on his father's actuator node ( 409), the structure of the actuator node number of being set up is as shown in Figure 5.It sets up process: actuator node tree initial condition only contains the master controller node, and screening is the actuator node of father node with the master controller node from the state information of receiving, and it is added on " branch " of master controller node; Then, the actuator node that each " branch " is corresponding is carried out identical operations, promptly from network state information search with this actuator node actuator node that is father node, and add " branch " of actuator node for this reason, carry out like this, " branch " actuator node does not to the last contain till the sub-actuator node.So far, master controller is finished initialization procedure, enters operating state, regularly in network the anti-scheme of the anti-tactful harmony of broadcasting sound ( 410).
Typical case's agricultural harm animal cooperative digital acoustic based on wireless sensor network prevents that system is when execution sound is prevented strategy, collaborative work by pyroelectric infrared sensor network, actor network and master controller three, send the cry of the corresponding natural enemy of harm animal and drive the harm animal, whether the rpyroelectric infrared wireless sensor network exists the harm animal is judged and transmits consequential signal; The collaborative cry of sending the corresponding natural enemy of harm animal of each actuator node in the actor network; The formulation, network state that master controller is responsible for the anti-scheme of sound show and function such as man-machine interaction, and the anti-scheme of sound that provides of periodic broadcasting sound prevention decision support system.The anti-strategy of typical case's agricultural harm animal cooperative digital acoustic based on wireless sensor network is made up of detection mode and two kinds of execution patterns of stochastic model, the foundation of switching between detection mode and the stochastic model is the illuminance of surrounding environment, an embodiment of mode switch threshold value is illuminance 100,000 lux, promptly, carry out detection mode when illuminance during less than 100,000 lux; When illuminance is carried out stochastic model during greater than 100,000 lux.The update method of the anti-strategy execution pattern of sound is, master controller is regularly inquired about the value of optical sensor, and compares with the mode switch threshold value, and the pattern of the anti-strategy of carrying out this moment of sound is broadcast to execution pattern in the network then.
Fig. 6 is the implementation schematic diagram of detection mode.Fig. 6 (a) represent certain rpyroelectric infrared wireless sensor node ( 602) at first detect harm animal ( 601) exist, to its other contiguous rpyroelectric infrared wireless sensor node ( 603, 604, 605With 606) send shielded signal, make them in a period of time, no longer carry out detection operations, avoid the repetition of detection process, with energy efficient, prolong the shelf life of rpyroelectric infrared wireless sensor node as much as possible; Fig. 6 (b) represent this detect harm animal dis the rpyroelectric infrared wireless sensor node ( 602)) notice under the actuator node ( 607), affiliated actuator node ( 607) according to the anti-scheme sounding of sound that sound prevention decision support system provides, the renewal of the anti-scheme of sound is judged regularly and be broadcast in the network and go that all actuator nodes store the anti-scheme of this, till next update by master controller; Fig. 6 (c) be the actuator node ( 607) execute the sounding task after, with harm animal detection signal along the path of routing table ( 607- 608-...- 609- 610) be transferred to master controller ( 610), information transmitted comprises the time that performed anti-scheme of sound and the anti-scheme of this are carried out.
Fig. 7 is the implementation schematic diagram of stochastic model.Fig. 7 (a) is depicted as the process of the anti-strategy of master controller renewal sound, the renewal of the anti-strategy of sound by master controller ( 701) initiate, and be broadcast in the network, after all actuator nodes and rpyroelectric infrared wireless sensor node (not drawing among the figure) are received this signal, according to the anti-strategy of this signal change sound.When the anti-strategy of the performed sound of actuator node and rpyroelectric infrared wireless sensor node is detection mode, as receive that the anti-policy update of sound is the signal of stochastic model, then rpyroelectric infrared wireless sensor node (not drawing among the figure) is closed wireless transceiver immediately, regularly whether the anti-strategy of the contiguous actuator node of inquiry sound has change, as when certain is inquired about, actuator node return results has been updated to detection mode for the anti-strategy of sound, then this rpyroelectric infrared wireless sensor node is opened wireless transceiver at once, enters acquisition mode; Otherwise, enter dormancy, wait for inquiry next time.When the actuator node is operated in stochastic model, termly according to sound prevention decision support system provide sound anti-scheme sounding (Fig. 7 (b)).
Program circuit when introducing the anti-strategy of rpyroelectric infrared wireless sensor node, actuator node and master controller execution sound below respectively is to further specify the course of work of the anti-system of sound when the anti-strategy of execution sound.
Program flow diagram when Fig. 8 is the anti-strategy of rpyroelectric infrared wireless sensor node execution sound.After having experienced initialization procedure ( 801), the flow process of the anti-strategy of execution sound.The anti-strategy execution pattern of rpyroelectric infrared wireless sensor node sound also is divided into two kinds: detection mode and stochastic model, the state of acquiescence is a detection mode, at this moment, pyroelectricity wireless sensor node open wireless transceiver monitoring wireless channel, and the interruption of unlatching pyroelectric sensor ( 802).
When pyroelectric sensor is in detection mode, in pyroelectric infrared sensor perceives investigative range harm animal dis exist, will to CPU send hardware interrupts ( 804 With 814).The response process of this interruption is, detect the harm animal dis the rpyroelectric infrared wireless sensor node at first towards periphery node send shielding pyroelectric infrared sensor interrupt signal, the rpyroelectric infrared wireless sensor node around masking to the response of this harm animal ( 815), to save the energy of node.Then, this rpyroelectric infrared wireless sensor node send harm animal detection signal to affiliated actuator node ( 816), affiliated actuator node for detect the harm animal dis certain contiguous actuator node of rpyroelectric infrared wireless sensor node position, the foundation of judgement is the power of actuator node signal, this process is finished when system initialization.The actuator node of receiving harm animal detection signal will send definite signal immediately, and the anti-scheme of execution sound, and the flow process of actuator node response harm animal detection signal will be narrated in the back.Detect the harm animal dis the rpyroelectric infrared wireless sensor node sending harm animal detection signal after, the reinstatement attitude continues the monitoring wireless channel, and wait for interruption from pyroelectric sensor ( 802); When the rpyroelectric infrared wireless sensor node is received shielding pyroelectric sensor interrupt signal ( 806), open its interruption masking Abort Timer ( 812), in the time that timer is set, even if its pyroelectric sensor detects the existence of harm animal, the CPU of rpyroelectric infrared wireless sensor node does not respond interruption yet, so that save node energy as much as possible, prolongs network life.After the shielding interrupt timing time finished, they were the reinstatement attitude, the monitoring wireless channel, and wait for interruption from pyroelectric sensor ( 813).
When the rpyroelectric infrared wireless sensor node is in stochastic model, to close wireless transceiver, and regularly to the anti-strategy pattern information of affiliated actuator querying node sound, implementation is: the rpyroelectric infrared wireless sensor node is closed wireless transceiver, no longer the monitoring wireless channel enters resting state; Simultaneously, node open doze output ( 808).After dormancy time finishes, to the anti-strategy pattern Query Information of affiliated actuator node transmission sound ( 809With 810), this information comprises the actuator node ID number of request.After corresponding actuator node was received this information, the information that sends a reply was given the rpyroelectric infrared wireless sensor node, this packets of information contain the rpyroelectric infrared wireless sensor node the anti-strategy pattern of ID harmony ( 811).If detection mode, rpyroelectric infrared wireless sensor node are received open wireless transceiver behind the return signal, and open pyroelectric infrared sensor and interrupt, enter detection mode ( 802), carry out according to process recited above; If stochastic model, then the rpyroelectric infrared wireless sensor node is closed wireless transceiver again, enters resting state, simultaneously, open doze output ( 808), wait for regularly finish after the anti-strategy pattern of inquiry sound once more.
The update method of rpyroelectric infrared wireless sensor node strategy execution pattern is, when the rpyroelectric infrared wireless sensor node is in detection mode, can by the anti-strategy pattern update signal of sound in the monitoring wireless channel realize this node execution pattern renewal ( 805).The schema update signal is the signal of specific header, only uses when schema update, and the source of pattern transition signal is a master controller, sends to pyroelectric infrared sensor nodes all in the network and actuator node by the mode of broadcasting; When the rpyroelectric infrared wireless sensor node was in stochastic model, node may be in resting state when the anti-strategy pattern of sound upgrades, therefore, need by the actuator node under the inquiry regularly come judgment model whether change ( 808, 809, 810With 811).
Workflow actuator node initializing when Fig. 9 is the anti-strategy of actuator node execution sound ( 901) finish after, open wireless transceiver monitoring wireless channel, the arrival of wait request signal ( 902).The request signal that the actuator node is accepted is divided into 4 kinds: the anti-scheme of sound is carried out asks ( 903), the transmission trunking request ( 904), sound anti-scheme/schema update request ( 905) the anti-pattern query request of harmony ( 906), 4 kinds of requests are distinguished with different data packet heads respectively.
The anti-scheme of sound carry out request be divided into from the anti-scheme of sound carry out timer ( 907) and from the rpyroelectric infrared wireless sensor node ( 908) two kinds, correspond respectively to stochastic model and detection mode.For the interruption of carrying out timer from the anti-scheme of sound, the actuator node according to the anti-scheme sounding of having stored of sound ( 909), and reopen the anti-scheme of sound carry out timer ( 910), return the wait request signal state ( 902).
From the anti-scheme of sound of rpyroelectric infrared wireless sensor node carry out request ( 908), harmony prevent the pattern query request ( 919), all coming from the affiliated rpyroelectric infrared wireless sensor node of this actuator node, the attaching relation of actuator node and rpyroelectric infrared wireless sensor node is finished when system initialization.Actuator node response is carried out request mode from the anti-scheme of sound of rpyroelectric infrared wireless sensor node, the actuator node according to the anti-scheme sounding of having stored of sound ( 911), and with this harm animal detection information (time that performed anti-scheme of sound and the anti-scheme of this are carried out) be transferred to master controller ( 912); The anti-pattern query request mode of actuator node response sound is, with the value (" detection " or " at random ") of the anti-pattern variable of sound stored reply to the rpyroelectric infrared wireless sensor node that sends query requests ( 919).
Send sound anti-scheme/schema update request ( 905) the source be master controller, master controller is set termly the anti-scheme of renewal sound according to crop information, ambient condition information and man-machine interaction, and the anti-scheme of this be broadcast in the actor network go ( 916With 917); In like manner, master controller is inquired about the value of optical sensor termly, and compares with setting threshold, the decision take sound anti-strategy pattern be " detection " or " at random ", then with the schema update signal broadcasting in network.
The transmission trunking request of actuator node ( 905) come from father's actuator node in its routing table or sub-actuator node ( 913), the routing table of actuator node is set up when system initialization.The purpose of carrying out the transmission trunking request is to give appointed positions with data packet transmission, and packet all includes the destination node ID and the data of packet.As, the actuator node is after finishing from the anti-scheme execution of the sound of rpyroelectric infrared wireless sensor node request, it is master controller, the anti-scheme of executed sound and the ID packet of carrying out this scheme actuator node that generation comprises destination node, and this data packet transmission give father's actuator node ( 914With 915), the actuator node of receiving this packet will continue to carry out the transmission trunking request, and with the father actuator node of this data packet transmission to it, mode is carried out like this, arrives master controller up to packet.Transmit descending packet in like manner carry out ( 916With 917).
Workflow when Figure 10 is the anti-strategy of master controller execution sound.The master controller power-up initializing ( 1001) after, enter wait for interrupt status ( 1002), promptly enter the anti-strategy execution state of sound.Master controller is when the anti-strategy of actuator sound, and the interruption of unlatching is divided into 4 parts: the anti-policy update interruption of sound inlet ( 1003), the anti-scheme of sound upgrade interrupt inlet ( 1004), man-machine interactive operation interrupt inlet ( 1005) and wireless channel interruption inlet ( 1006).
The interrupt source that the anti-policy update of sound interrupts is the anti-policy update timer of sound.Master controller response sound prevents that the operation that policy update interrupts carrying out is, the value of extraction optical sensor ( 1007), and compare with the illuminance threshold value of setting ( 1008), greater than this threshold value then in network broadcasting " stochastic model " sound anti-policy update signal ( 1009), otherwise in network broadcasting " detection mode " sound anti-policy update signal ( 1010), last, master controller reopen the anti-policy update timer of sound ( 1011), return wait for interrupt status ( 1002).
It is that the anti-scheme of sound is upgraded timer that the anti-scheme of sound is upgraded the interrupt source of interrupting.The anti-scheme of master controller response sound is upgraded the operation of interrupting carrying out, extract the sound prevention decision support system anti-scheme of sound of this moment ( 1012), the anti-scheme of this is broadcast in the network ( 1013), reopen sound anti-policy update timer ( 1014), return wait for interrupt status ( 1002).
Operations such as the anti-scheme of sound that the interrupt source that man-machine interactive operation is interrupted is carried out on the interface for the user or the setting of sound prevention decision support system, parameter modification.Behind the complete operation, master controller preservation setting result ( 1015), promptly return wait for interrupt status ( 1002); The interrupt source that wireless channel interrupts be the actuator node with the master controller direct communication, mainly be receive information such as endangering animal detection signal, network state ( 1016), master controller receive promptly enter behind the signal wait for interrupt status ( 1002).

Claims (1)

1. based on the anti-method of the typical crop and hazardous animal cooperative digital acoustic of wireless sensor network, it is characterized in that, described method is to realize that the anti-method of described sound contains following steps successively in a kind of anti-system of crops typical case harm animal cooperative digital acoustic based on wireless sensor network:
Step (1) constitutes a described a kind of anti-system of crops typical case harm animal cooperative digital acoustic based on wireless sensor network; Described system is by the rpyroelectric infrared wireless sensor network, and actuator is in order to form jointly with master controller, wherein:
The rpyroelectric infrared wireless sensor network, form by a plurality of pyroelectric infrared sensor nodes that are distributed in the mutual radio communication of energy in the farmland, each pyroelectric infrared sensor node forms by integrated pyroelectric infrared sensor and first wireless communication module serial connection, after certain pyroelectric infrared sensor node detects typical crop and hazardous animal, send to its nearest actuator node of described actor network middle distance by described first wireless communication module by described pyroelectric infrared sensor immediately and detect the signal that has typical case's harm animal;
Actor network, form by a plurality of actuator nodes that are distributed in energy mutual communication in the farmland, each actuator node is by second wireless communication module, the sound playing control circuit, audio power amplifying circuit, loud speaker is connected in series successively and forms, described actuator node is by independently " solar energy-storage battery " integrated drive generator power supply, when receiving the signal of the existence harm animal that nearest pyroelectric infrared sensor node sends, just sends described second wireless communication module voice of harm animal natural enemy, leave to drive it
Master controller, by the computer that has people and interactive interface, environmental information transducer and signal conditioning circuit thereof, the 3rd wireless communication module and independently " solar energy-storage battery " integrated drive generator form, calculator memory contains corresponding to illumination, temperature, humidity is anti-scheme of sound corresponding to the natural enemy title of crop and hazardous animal under totally three environmental informations, select the corresponding anti-scheme of sound according to the actual measurement environmental information of input, prevent scheme by the 3rd wireless communication module to described each pyroelectric infrared sensor node and described actuator node broadcast sound again, the anti-scheme of described sound comprises detection mode and two kinds of execution patterns of stochastic model, and the switching between detection mode and the stochastic model is by the illumination information decision of affiliated computer according to actual measurement;
Step (2), system initialization
Step (2.1), master controller begins beacon to all actuator nodes and all pyroelectric infrared sensor nodes issue initialization, described initialization begins to comprise in the beacon jumping figure value variable, and jumping figure value variable initial value is set to 0 when being sent by master controller, described initialization begins beacon and successively transmits in described actor network, obtain the jumping figure value of all actuator nodal distance master controllers, to set up routing table, and obtain ID number of affiliated actuator node of pyroelectric infrared sensor node, to finish the location of pyroelectric infrared sensor node;
All actuator nodes begin in the process of beacon in the reception initialization, utilizing described initialization to begin beacon obtains its method apart from master controller jumping figure value and is: receive that at every turn initialization begins beacon, promptly extract the value of jumping figure value variable wherein, relatively this is worth and self preserves the size of the value of jumping figure value variable, the one or more actuator node that will contain less jumping figure value variable, or master controller saves as superior node, and this minimum hop count value added 1, be left self jumping figure value apart from master controller;
The forwarding initialization of actuator node began the signal of beacon around the pyroelectric infrared sensor node was monitored, the method of actuator node ID number is under obtaining: the signal power of the initialization beacon that the actuator node was transmitted around all rpyroelectric infrared wireless sensor nodes were monitored, and the actuator node that signal is the strongest is as actuator node under it;
Step (2.2), master controller finishes beacon to all actuator nodes and all pyroelectric infrared sensor nodes issue initialization, after described all actuator nodes listen to this initialization end beacon, set up the routing table of self, described all pyroelectric infrared sensor nodes send the request signal that is incorporated as member node to affiliated actuator node after listening to this initialization end beacon;
After described all actuator nodes listen to this initialization end beacon, the method of setting up the routing table of self is: all actuator nodes are after receiving that initialization finishes beacon, select an actuator node as father node in the level node from it, request is incorporated as child node, and will be incorporated as the actuator node of child node as child node to the request that self sends;
Step (2.3), master controller delivery network state is reported beacon, and after the initialization of receiving finished beacon, all actuator nodes were transferred to master controller with its routing table and affiliated rpyroelectric infrared wireless sensor node number;
Step (3), carry out the anti-method of crop and hazardous animal sound successively according to the following steps:
Step (3.1) is provided with the ambient light illumination threshold value in the computer of master controller, get 100,000 lux illuminance as threshold value;
Step (3.2), the ambient light illumination value is gathered on described computer cycle ground, and with the ambient light illumination threshold ratio that sets, if: the measured light brightness value is less than described threshold value execution in step (3.3), if the measured light brightness value is greater than described threshold value execution in step (3.4);
Step (3.3), carry out detection mode successively according to the following steps:
Step (3.3.1), each pyroelectric infrared sensor node enters wait state,
Step (3.3.2), detect the harm animal dis pyroelectric infrared sensor node notice under the speech utterance of the harm animal natural enemy set according to the anti-scheme of sound of actuator node,
Step (3.3.3), detect the harm animal dis the pyroelectric infrared sensor node surveying less than the harm animal after, return wait state,
Step (3.3.4), actuator node described in the step (3.3.2) are reported the performed anti-scheme of sound and the time of implementation of the anti-scheme of this along the path of the described routing table of having set up to master controller after executing the anti-scheme of sound,
Step (3.4), carry out stochastic model successively according to the following steps:
Step (3.4.1), each pyroelectric infrared sensor node enters resting state,
Step (3.4.2), the time interval harmony that all actuator nodes are set according to master controller is prevented periodically sounding of scheme.
CN2009102376193A 2009-11-13 2009-11-13 Wireless sensor network based cooperative digital acoustic frightening method for typical crop harmful animal Expired - Fee Related CN101715244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102376193A CN101715244B (en) 2009-11-13 2009-11-13 Wireless sensor network based cooperative digital acoustic frightening method for typical crop harmful animal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102376193A CN101715244B (en) 2009-11-13 2009-11-13 Wireless sensor network based cooperative digital acoustic frightening method for typical crop harmful animal

Publications (2)

Publication Number Publication Date
CN101715244A true CN101715244A (en) 2010-05-26
CN101715244B CN101715244B (en) 2011-11-09

Family

ID=42418398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102376193A Expired - Fee Related CN101715244B (en) 2009-11-13 2009-11-13 Wireless sensor network based cooperative digital acoustic frightening method for typical crop harmful animal

Country Status (1)

Country Link
CN (1) CN101715244B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808612A (en) * 2015-02-26 2015-07-29 山东师范大学 Omnibearing automatic anti-bird network control system and control method
CN105158435A (en) * 2015-07-22 2015-12-16 南华大学 Wireless sensor network-based monitoring and positioning system for radionuclide-contaminated water and soil
CN110037005A (en) * 2019-05-23 2019-07-23 北京中电慧声科技有限公司 A kind of drive based on MESH networking, lark system and method
CN112219835A (en) * 2020-10-13 2021-01-15 国网江苏省电力有限公司常州供电分公司 Substation safety protection system and control method, control device and storage medium thereof
CN113796371A (en) * 2021-10-22 2021-12-17 佛山市融尚汽车零部件有限公司 Method capable of timely repelling wild animals

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2177936Y (en) * 1993-11-03 1994-09-21 西南农业大学 Rod inserted electronic microsound detector for injurious insects
CN2567567Y (en) * 2002-09-02 2003-08-20 绵阳富邦电控设备有限公司 Sensor for investigating insect in grain depot
CN2639879Y (en) * 2003-06-12 2004-09-08 刘自力 Grain insect detecting device
CN2647064Y (en) * 2003-08-18 2004-10-13 解冰 Automatic multi-sample unrepeated sound wave bird-scaring apparatus on high-voltage transmission tower

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808612A (en) * 2015-02-26 2015-07-29 山东师范大学 Omnibearing automatic anti-bird network control system and control method
CN104808612B (en) * 2015-02-26 2017-04-12 山东师范大学 Omnibearing automatic anti-bird network control system and control method
CN105158435A (en) * 2015-07-22 2015-12-16 南华大学 Wireless sensor network-based monitoring and positioning system for radionuclide-contaminated water and soil
CN105158435B (en) * 2015-07-22 2018-05-18 南华大学 Radionuclide water and soil pollution monitoring and positioning system based on wireless sensor network
CN110037005A (en) * 2019-05-23 2019-07-23 北京中电慧声科技有限公司 A kind of drive based on MESH networking, lark system and method
CN110037005B (en) * 2019-05-23 2023-10-31 北京中电慧声科技有限公司 Bird repelling and attracting system and method based on MESH networking
CN112219835A (en) * 2020-10-13 2021-01-15 国网江苏省电力有限公司常州供电分公司 Substation safety protection system and control method, control device and storage medium thereof
CN113796371A (en) * 2021-10-22 2021-12-17 佛山市融尚汽车零部件有限公司 Method capable of timely repelling wild animals
CN113796371B (en) * 2021-10-22 2022-12-06 佛山市融尚汽车零部件有限公司 Method capable of timely repelling wild animals

Also Published As

Publication number Publication date
CN101715244B (en) 2011-11-09

Similar Documents

Publication Publication Date Title
CN101715244B (en) Wireless sensor network based cooperative digital acoustic frightening method for typical crop harmful animal
CN103299882B (en) Economize on water intelligent irrigation system in a kind of field, irrigated area
CN203224806U (en) Greenhouse environment monitoring device based on wireless sensor network
CN104360705A (en) Temperature-self-adaptation greenhouse illumination intelligent control system and control method
CN103141365A (en) Wireless intelligent irrigation system and method based on soil moisture information
CN102880156A (en) Intelligent monitoring method and system for fish tank
CN206370146U (en) A kind of small agricultural data collecting system based on LoRa
CN203597190U (en) Intelligent water-saving field irrigation system of irrigation district
CN108566299A (en) A kind of Internet of Things cloud platform terminal group management method
CN104035756A (en) Irrigation remote intelligent control system common development platform and development method
CN104782606A (en) Laser bird expelling system for electric transmission line
CN105005234A (en) Intelligent greenhouse environment remote measurement and control system based on zigbee
CN105137950A (en) Greenhouse intelligent control system based on Internet of Things technology
CN105138052A (en) Pig-keeping system capable of intelligently monitoring environments, and monitoring method thereof
CN106688829A (en) Intelligent plant irrigation system based on WeChat platform
CN103747009A (en) System and method for monitoring rice growth conditions
CN101356914A (en) Solar-energy ecological audio bird-driving device for airport
CN203275990U (en) Livestock and poultry breeding house environment monitoring system based on Internet of things
CN105900912A (en) Multi-aerator linkage smart control device for large-scale aquaculture pond
CN110120222A (en) A kind of voice broadcast method of the smart mirror cabinet with voice broadcast function
CN206611934U (en) Plant intelligent irrigation system based on wechat platform
CN204925782U (en) Warmhouse booth intelligence control system based on internet of things
CN103533702A (en) Intelligent space art decorative light system based on internet of things
CN109375600A (en) Strawberry field environmental management system and control method based on LoRa technology
CN105682179A (en) Pig house monitoring method based on mobile coordination node and data temporary storage mechanism

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111109

Termination date: 20121113