CN102395183A - ZigBee wireless sensor electricity saving method - Google Patents
ZigBee wireless sensor electricity saving method Download PDFInfo
- Publication number
- CN102395183A CN102395183A CN2011104238157A CN201110423815A CN102395183A CN 102395183 A CN102395183 A CN 102395183A CN 2011104238157 A CN2011104238157 A CN 2011104238157A CN 201110423815 A CN201110423815 A CN 201110423815A CN 102395183 A CN102395183 A CN 102395183A
- Authority
- CN
- China
- Prior art keywords
- data
- zigbee
- mpu
- pin
- chip
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000005611 electricity Effects 0.000 title abstract description 5
- 230000005059 dormancy Effects 0.000 claims abstract description 35
- 230000008447 perception Effects 0.000 claims abstract description 23
- 230000005540 biological transmission Effects 0.000 claims abstract description 17
- 238000007726 management method Methods 0.000 claims description 23
- 238000013502 data validation Methods 0.000 claims description 9
- 230000007958 sleep Effects 0.000 claims description 7
- 230000000284 resting effect Effects 0.000 claims description 6
- 230000004044 response Effects 0.000 abstract description 10
- 230000002035 prolonged effect Effects 0.000 abstract 1
- 230000003252 repetitive effect Effects 0.000 abstract 1
- 230000002618 waking effect Effects 0.000 abstract 1
- 238000012544 monitoring process Methods 0.000 description 6
- 238000004458 analytical method Methods 0.000 description 4
- 230000003203 everyday effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to a ZigBee wireless sensor electricity saving method. The method comprises the following steps: initializing; when a dormancy time interval arrives, waking up a MPU; reading data from a perception device by the MPU and calculating a variation with a previous transmission value; determining whether the variation is greater than or equal to a threshold; connecting a ZigBee power supply, establishing a link, sending the current acquisition data, cutting off the ZigBee power supply and modifying a data sending record; determining whether a data changing direction changes; connecting the ZigBee power supply, establishing the link, sending the previous acquisition data, cutting off the ZigBee power supply and modifying the data sending record so that the MPU enters into a dormancy state. By using the ZigBee wireless sensor electricity saving method of the invention, an incremental push model data transmission method is used; under the condition of guaranteeing perception precision and alarm response timeliness, sending times of the repetitive data and the approximate data can be greatly reduced; battery power can be effectively saved and a service life of the battery can be prolonged.
Description
Technical field
The present invention relates to the wireless senser field, particularly a kind of increment push-model that adopts transmits the method that data realize the economize on electricity of ZigBee wireless senser.
Background technology
Adopt the wireless senser of ZigBee technology, utilize the low-power consumption property of ZigBee, can make battery have long useful life, become wireless senser with practical value.When the ZigBee wireless senser is applied in real-time monitoring system,, need carry out the intensive data perception collection (once) of high duty ratio like per minute for guaranteeing the promptness of alarm response.Traditional method is that each data of gathering all transmit, and this will spend a large amount of battery electric powers, seriously shortens battery useful life, needs the frequent change battery, even makes the ZigBee wireless senser lose use value.When being belonged to the moment of inertia (like room temperature) of slow variation by the perception amount; There are a large amount of repeating datas or approximate data to be sent out along time shaft; To this kind application, the data value in the time of can only sending variable quantity and reach a delta threshold is under the prerequisite that guarantees perceived accuracy and alarm response promptness; A large amount of transmission number of times that reduce repeating data and approximate data; Save battery electric power effectively, prolong the useful life of battery, seeking a kind of ZigBee wireless senser power-saving method becomes pursuing one's goal of these those skilled in the art.
Summary of the invention
Task of the present invention provides a kind of ZigBee wireless senser power-saving method; Adopt increment push-model data transferring method; Under the prerequisite that guarantees perceived accuracy and alarm response promptness; A large amount of transmission number of times that reduce repeating data and approximate data are saved battery electric power effectively, prolong the useful life of battery.
Technical solution of the present invention is following:
A kind of ZigBee wireless senser power-saving method may further comprise the steps:
(1) initialization;
(2) when arriving sleep interval, wake MPU up;
(3) MPU is from the variable quantity of calculating of perception device reading of data and previous delivery value;
(4) whether judge variable quantity more than or equal to threshold value, if, execution in step (5) then; If not, execution in step (6) then;
(5) connect the ZigBee power supply, set up link, send current image data, cut off the ZigBee power supply, revise and send data record, execution in step (8);
(6) whether the judgment data change direction changes, if, execution in step (7) then; If not, revise the current data record, then execution in step (8);
(7) connect the ZigBee power supply, set up link, send previous image data, cut off the ZigBee power supply, revise and send data record;
(8) MPU gets into dormancy, returns step (2).
Said step (1) comprising: in ZigBee wireless senser MPU, transmit data register DATA
SentPut 0, timestamp is the current time; Current data register DATA
Now0Put 0, timestamp is the current time; The delta threshold register is changed to set point Δ DATA
0The dormancy time register is changed to set point T
0, ZigBee wireless senser MPU gets into resting state, and the ZigBee chip is in off-position.
Said step (2) comprises arrival MPU dormancy time T
0, MPU is waken up.
Said step (3) comprises that MPU reads current perception data DATA through P1.0, P1.1 pin from SCL, the DADA pin of senser element
Now
Said step (4) comprises that MPU is with DATA
NowWith transmission data register DATA in the MPU
SentCompare, obtain increment Delta DATA.
Said step (5) comprises following substep:
(51) MPU sends instruction through the P1.3 pin, and the control power management chip is connected the VCC power supply of Zigbee chip, and the Zigbee chip gets into operating state;
(52) ZigBee and father node are set up data link;
(53) MPU sends into DATA through P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
Now
(54) the ZigBee chip is with DATA
NowSend through antenna;
(55) MPU through P3.5, P3.4 pin from the DOUT of ZigBee chip, the data validation information that the DIN pin receives the ZigBee father node;
(56) DATA
NowCharge to and transmit data register DATA
SentWith current data register DATA
Now0
(57) MPU sends instruction through the P1.3 pin, and the control power management chip cuts off the VCC power supply of Zigbee chip;
(58) execution in step (8).
Said step (7) comprises following substep:
(71) MPU sends instruction through the P1.3 pin, and the control power management chip is connected the VCC power supply of Zigbee chip, and the Zigbee chip gets into operating state;
(72) ZigBee and father node are set up data link;
(73) MPU sends into current data register DATA through P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
Now0Value;
(74) the ZigBee chip is with DATA
Now0Send through antenna;
(75) MPU through P3.5, P3.4 pin from the DOUT of ZigBee chip, the data validation information that the DIN pin receives the ZigBee father node;
(76) DATA
Now0Charge to and transmit data register DATA
Sent, DATA
NowCharge to current data register DATA
Now0
(77) MPU sends instruction through the P1.3 pin, and the control power management chip cuts off the VCC power supply of Zigbee chip;
(78) execution in step (8).
Said step (8) comprises the MPU entering dormancy that draws oneself up, and the self-clocking of MPU internal clock arrives sleep interval T
0The time, repeat from the step of step (2) beginning.
The present invention is owing to adopted above technical scheme; Compared with prior art; ZigBee wireless senser power-saving method of the present invention is owing to be slowly variation or seldom change by the perception amount; The work period quantity that need send data every day seldom can significantly reduce power consumption, prolongs the battery altering cycle.
By a kind of ZigBee wireless senser power-saving method of the present invention; Adopt increment push-model data transferring method; Under the prerequisite that guarantees perceived accuracy and alarm response promptness; A large amount of transmission number of times that reduce repeating data and approximate data are saved battery electric power effectively, prolong the useful life of battery.
Description of drawings
Fig. 1 is a kind of ZigBee wireless senser schematic diagram of the present invention.
Fig. 2 is that a kind of ZigBee wireless senser of the present invention does not have the data transmitting period map of current.
Fig. 3 is that a kind of ZigBee wireless senser of the present invention has the data transmitting period map of current.
Fig. 4 is at certain IDC center monitoring building environment temperature data curve chart by a kind of ZigBee radio temperature sensor embodiment of the present invention.
Fig. 5 is the flow chart of a kind of ZigBee wireless senser power-saving method of the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is elaborated.
Referring to Fig. 5, the invention provides a kind of ZigBee wireless senser power-saving method, may further comprise the steps:
(1) initialization;
(2) when arriving sleep interval, wake MPU up;
(3) MPU reads the variable quantity of current data and calculating and previous delivery value from perception device;
(4) whether judge variable quantity more than or equal to threshold value, if, execution in step (5) then; If not, execution in step (6) then;
(5) connect the ZigBee power supply, set up link, send current image data, cut off the ZigBee power supply, revise and send data record, execution in step (8);
(6) whether the judgment data change direction changes, if, execution in step (7) then; If not, revise the current data record, then execution in step (8);
(7) connect the ZigBee power supply, set up link, send previous image data, cut off the ZigBee power supply, revise and send data record;
(8) MPU gets into dormancy, returns step (2).
Said step (1) is included in and transmits data register DATA in the ZigBee wireless senser MPU
SentPut 0, timestamp is the current time; Current data register DATA
Now0Put 0, timestamp is the current time; The delta threshold register is changed to set point Δ DATA
0The dormancy time register is changed to set point T
0, ZigBee wireless senser MPU gets into resting state, and the ZigBee chip is in off-position.
Said step (2) comprises arrival MPU dormancy time T
0, MPU is waken up.
Said step (3) comprises that MPU reads current perception data DATA through P1.0, P1.1 pin from SCL, the DADA pin of senser element
Now
Said step (4) comprises that MPU is with DATA
NowWith transmission data register DATA in the MPU
SentCompare, obtain increment Delta DATA.
Said step (5) comprises following substep:
(51) MPU sends instruction through the P1.3 pin, and the control power management chip is connected the VCC power supply of Zigbee chip, and the Zigbee chip gets into operating state;
(52) ZigBee and father node are set up data link;
(53) MPU sends into DATA through P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
Now
(54) the ZigBee chip is with DATA
NowSend through antenna;
(55) MPU through P3.5, P3.4 pin from the DOUT of ZigBee chip, the data validation information that the DIN pin receives the ZigBee father node;
(56) DATA
NowCharge to and transmit data register DATA
SentWith current data register DATA
Now0
(57) MPU sends instruction through the P1.3 pin, and the control power management chip cuts off the VCC power supply of Zigbee chip;
(58) execution in step (8).
Said step (7) comprises following substep:
(71) MPU sends instruction through the P1.3 pin, and the control power management chip is connected the VCC power supply of Zigbee chip, and the Zigbee chip gets into operating state;
(72) ZigBee and father node are set up data link;
(73) MPU sends into current data register DATA through P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
Now0Value;
(74) the ZigBee chip is with DATA
Now0Send through antenna;
(75) MPU through P3.5, P3.4 pin from the DOUT of ZigBee chip, the data validation information that the DIN pin receives the ZigBee father node;
(76) DATA
Now0Charge to and transmit data register DATA
Sent, DATA
NowCharge to current data register DATA
Now0
(77) MPU sends instruction through the P1.3 pin, and the control power management chip cuts off the VCC power supply of Zigbee chip;
(78) execution in step (8).
Said step (8) comprises the MPU entering dormancy that draws oneself up, and the self-clocking of MPU internal clock arrives sleep interval T
0The time, repeat from the step of step (2) beginning.
The increment push-model data transferring method that the present invention adopts is: the ZigBee wireless senser is provided with delta threshold register, dormancy time register, current data register, transmits data register.When transducer is waken up at every turn; Gather current data; And with transmit the last time delivery value that writes down in the data register relatively, if the absolute value of variable quantity more than or equal to the increment threshold values, is then set up the ZigBee communication link; Transmit this point data and charge to transmission data register and current data register, get into dormancy; If the absolute value of variable quantity changes less than delta threshold and data direction; Then set up the ZigBee communication link; Transmit the last point data that writes down in the current data register and these data are charged to the transmission data register, current data is charged to the current data register, get into dormancy; If the absolute value of variable quantity does not change less than delta threshold and data direction, then do not transmit, current data is charged to the current data register, get into dormancy.
Certainty of measurement is depended in the selection of delta threshold, and the response time requirement to alarm event is depended in the selection of dormancy time.
When the ZigBee wireless senser is used to monitor inertia perception amount; Since slow by the perception quantitative changeization, need the long period that the variation of threshold value could take place once to reach, adopt increment push-model data transferring method; Data during this period of time all will not transmit, and can save lot of data and transmit power consumption.Sampled data is stable more, and economize on electricity and extending battery life effect are remarkable more.
Narration ZigBee wireless senser principle analysis below.
1, ZigBee wireless senser principle
The initial condition of Fig. 1 (A is dormancy 60S, and electric current 0.23mA, B are work 10mS, electric current 0.397mA): the senser element chip is in running order, and the monitored amount of real-time perception also converts data into.The MPU chip is in resting state.The ZigBee chip is in off-position.Power management chip is in running order, and battery is given each chip power supply through power management chip.The MPU chip transmits and writes down the perception data DATA of sending out through ZigBee last time in the data register
SentThe perception data DATA that record was last time gathered in (containing timestamp), the current data register
Now0(containing timestamp), delta threshold register record is by perception amount delta threshold Δ DATA
0, dormancy time register record dormancy time T
0
By perception amount delta threshold Δ DATA
0Require to be provided with according to monitoring accuracy,, generally get 0.5 ℃ as to the building environment temperature.
Dormancy time T
0According to response time requirement setting,,, generally got 60 seconds for guaranteeing the promptness of alarm response as for real-time monitoring system to alarm event.
Be in the MPU self-clocking of resting state, arrive dormancy time T
0The time, wake oneself up and get into operating state.MPU reads current perception data DATA through P1.0, P1.1 pin from SCL, the DADA pin of senser element
Now, MPU is with DATA
NowWith the DATA that transmits in the data register
SentCompare, obtain Δ DATA, carry out three kinds of different processing according to Δ DATA:
Δ DATA is more than or equal to Δ DATA
0MPU connects the P1.3 pin and sends instruction, and the control power management chip is connected the VCC power supply of ZigBee chip, and the ZigBee chip gets into operating state, and ZigBee and father node are set up data link (needing 30mS approximately).MPU sends into DATA through P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
NowThe ZigBee chip is with DATA
NowSend (needing 20mS approximately) through antenna.After MPU received the data validation information of ZigBee father node through P3.5, P3.4 pin, MPU used DATA
NowThe value replacement transmits DATA in the data register
SentDATA in value and the current data register
Now0Send instruction through the P1.3 pin, the control power management chip cuts off the VCC power supply of Zigbee chip; The MPU entering dormancy that draws oneself up.This is the work period that has data to send.
Δ DATA is less than Δ DATA
0But the data variation direction has changed.This shows to be measured by perception and has showed the variation flex point, needs to transmit the previous collection value DATA that writes down in the current data register
Now0The course of work is with aforementioned paragraph, and difference is that the data of at this moment sending through ZigBee are DATA
Now0, use DATA
Now0The value replacement transmits DATA in the data register
Sent
Δ DATA is less than Δ DATA
0, and the data variation direction does not change.Do not transmit data, MPU uses DATA
NowDATA in the replacement current data register
Now0, get into dormancy.This is the work period that does not have data to send.
2, monocycle energy consumption analysis
Go out the power consumption situation of single work period of ZigBee wireless senser according to the data computation of data and actual measurement.
The MPU chip adopts super low power consuming single chip processor MSP430, quiescent current 0.0001mA, operating state power consumption 0.167mA.
ZigBee chip holding state power consumption 15mA, accepting state power consumption 45mA, emission state power consumption 295mA.
Not having data to send the work period analyzes:
Dormancy section duration is 60S among Fig. 2; Power consumption comprises parts such as MPU, senser element, power management chip; ZigBee is in not power consumption of off-position, and wherein MPU quiescent current 0.0001mA, senser element electric current 0.1mA, power management chip electric current 0.13mA add up to 0.23mA.Fig. 2 active section duration is 0.01S (10mS), and the difference of power consumption and dormancy section is that MPU transfers operating state to, and power consumption becomes 0.167mA, and total power consumption is 0.397mA.
Q
1=∑ Q
T=Q
Dormancy+ Q
Work
=0.23mA×60S+0.397mA×0.01S
=13.8mAS+0.00397mAS
=13.80397mAS
≈0.003834mAH
The data transmitting period analysis is arranged:
Dormancy section power consumption analysis is identical with Fig. 2 among Fig. 3.
The active section duration is that MPU gathers and analyze data time 10mS, ZigeBee sets up data link time 30mS, ZigBee transmission data time 20mS among Fig. 3, amounts to 60mS.Wherein be all 0.23mA mutually among MPU, senser element, power management chip power consumption current value and Fig. 2, difference is that the power consumption time is 60mS.After the ZigBee energized, the data link that gets into 30mS is set up the phase, mainly is in the standby power consumption state during this, and of short duration link setup signal transmitting and receiving is arranged, and average current is about 30mA; ZigBee data transmitting time is about 20mS, and electric current is 295mA.A work period power consumption is calculated as follows:
Q
2=∑ Q
T=Q
Dormancy+ Q
Work
=Q
Dormancy+ (Q
MPU work+ Q
The ZigBee link setup+ Q
The ZigBee emission)
=0.23mA×60S+0.397mA×(0.01S+0.03S+0.02S)+30mA×0.03S+295mA×0.02S
=13.8mAS+0.02382mAS+0.9mAS+5.9mAS
=0.6382mAS
≈0.005729mAH
Battery is analyzed service time:
To use common No. 5 batteries, capacity is that 1000mAH is an example, and per minute ZigBee wireless senser wakes up once, carries out data acquisition and transmission.
When traditional not employing increment push-model data mode, each data of gathering are all sent, and each work period is 60.06S, are to calculate in 60 seconds according to each work period, send every day 1440 times, and each power consumption is Q
2The replacement cycle of battery is: 1000mAH/ (0.005729mAH * 1440) ≈ 121 days.
When adopting increment push-model data transferring method, owing to be slowly to change or seldom change by the perception amount, the work period quantity that need send data every day seldom can significantly reduce power consumption, prolongs the battery altering cycle.
Is example with the ZigBee radio temperature sensor in certain IDC center monitoring building environment temperature, and intraday building environment temperature curve such as Fig. 4 are by perception quantitative change metered valve value Δ DATA
0Get 0.5 ℃, have only 12 data transmitting period in one day.The battery altering cycle is: 1000mAH/ (0.005729mAH * 12+0.003834mAH * 1428) ≈ 180 days.
Fig. 4 is the intraday transmission data of example ZigBee radio temperature sensor.The rhombus icon is the transmission data (real data is than also intensive among the figure) of no increment push-model, and 1440 points are arranged every day approximately.Square icon is the data that have the increment push-model to transmit, and has only 12 points in one day.From figure, find out that the data repeatability of dual mode is fine, has guaranteed monitoring accuracy preferably, has reflected the actual change of monitored amount, can guarantee promptness the alarm response.
The foregoing description shows, adopts increment push-model data transferring method guaranteeing under data precision and the alarm promptness situation, when the battery altering cycle is no increment push-model data transmission 1.49 times, and power savings is obvious.
The embodiment of a kind of ZigBee wireless senser power-saving method of the present invention is following:
(1) initialization.In ZigBee wireless senser MPU, transmit data register DATA
SentPut 0, timestamp is the current time; Current data register DATA
Now0Put 0, timestamp is the current time; The delta threshold register is changed to set point Δ DATA
0The dormancy time register is changed to set point T
0ZigBee wireless senser MPU gets into resting state, and the ZigBee chip is in off-position.
(2) arrive MPU dormancy time T
0, MPU is waken up.
(3) MPU reads current perception data DATA through P1.0, P1.1 pin from SCL, the DADA pin of senser element
Now
(4) MPU is with DATA
NowWith transmission data register DATA in the MPU
SentCompare, obtain increment Delta DATA.
(5) if Δ DATA more than or equal to delta threshold Δ DATA
0:
(51) MPU sends instruction through the P1.3 pin, and the control power management chip is connected the VCC power supply of Zigbee chip, and the Zigbee chip gets into operating state;
(52) ZigBee and father node are set up data link;
(53) MPU sends into DATA through P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
Now
(54) the ZigBee chip is with DATA
NowSend through antenna;
(55) MPU through P3.5, P3.4 pin from the DOUT of ZigBee chip, the data validation information that the DIN pin receives the ZigBee father node;
(56) DATA
NowCharge to and transmit data register DATA
SentWith current data register DATA
Now0
(57) MPU sends instruction through the P1.3 pin, and the control power management chip cuts off the VCC power supply of Zigbee chip;
(58) forward (8) to.
(6) if Δ DATA less than delta threshold Δ DATA
0, and the data variation direction changes:
(61) MPU sends instruction through the P1.3 pin, and the control power management chip is connected the VCC power supply of Zigbee chip, and the Zigbee chip gets into operating state;
(62) ZigBee and father node are set up data link;
(63) MPU sends into current data register DATA through P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
Now0Value;
(64) the ZigBee chip is with DATA
Now0Send through antenna;
(65) MPU through P3.5, P3.4 pin from the DOUT of ZigBee chip, the data validation information that the DIN pin receives the ZigBee father node;
(66) DATA
Now0Charge to and transmit data register DATA
Sent, DATA
NowCharge to current data register DATA
Now0
(67) MPU sends instruction through the P1.3 pin, and the control power management chip cuts off the VCC power supply of Zigbee chip;
(68) forward (8) to.
(7) if Δ DATA less than delta threshold Δ DATA
0, and the data variation direction does not have change, then DATA
NowCharge to current data register DATA
Now0
(8) the MPU entering dormancy that draws oneself up.
(9) MPU internal clock self-clocking arrives sleep interval T
0The time, repeat from the step of step (2) beginning.
In sum; By a kind of ZigBee wireless senser power-saving method of the present invention; Adopt increment push-model data transferring method, under the prerequisite that guarantees perceived accuracy and alarm response promptness, reduce the transmission number of times of repeating data and approximate data in a large number; Save battery electric power effectively, prolong the useful life of battery.
Certainly; Those skilled in the art in the present technique field will be appreciated that; The foregoing description only is to be used for explaining the present invention; And be not with opposing qualification of the present invention, as long as in connotation scope of the present invention, all will drop in the scope of claim of the present invention the variation of the foregoing description, modification etc.
Claims (8)
1. a ZigBee wireless senser power-saving method is characterized in that, may further comprise the steps:
(1) initialization;
(2) when arriving sleep interval, wake MPU up;
(3) MPU is from the variable quantity of calculating of perception device reading of data and previous delivery value;
(4) whether judge variable quantity more than or equal to threshold value, if, execution in step (5) then; If not, execution in step (6) then;
(5) connect the ZigBee power supply, set up link, send current image data, cut off the ZigBee power supply, revise and send data record, execution in step (8);
(6) whether the judgment data change direction changes, if, execution in step (7) then; If not, revise the current data record, then execution in step (8);
(7) connect the ZigBee power supply, set up link, send previous image data, cut off the ZigBee power supply, revise and send data record;
(8) MPU gets into dormancy, returns step (2).
2. ZigBee wireless senser power-saving method as claimed in claim 1 is characterized in that: said step (1) comprising: in ZigBee wireless senser MPU, transmit data register DATA
SentPut 0, timestamp is the current time; Current data register DATA
Now0Put 0, timestamp is the current time; The delta threshold register is changed to set point Δ DATA
0The dormancy time register is changed to set point T
0, ZigBee wireless senser MPU gets into resting state, and the ZigBee chip is in off-position.
3. ZigBee wireless senser power-saving method as claimed in claim 1 is characterized in that: said step (2) comprises arrival MPU dormancy time T
0, MPU is waken up.
4. ZigBee wireless senser power-saving method as claimed in claim 1 is characterized in that: said step (3) comprises that MPU reads current perception data DATA through P1.0, P1.1 pin from SCL, the DADA pin of senser element
Now
5. ZigBee wireless senser power-saving method as claimed in claim 1 is characterized in that: said step (4) comprises that MPU is with DATA
NowWith transmission data register DATA in the MPU
SentCompare, obtain increment Delta DATA.
6. ZigBee wireless senser power-saving method as claimed in claim 1 is characterized in that: said step (5) comprises following substep:
(51) MPU sends instruction through the P1.3 pin, and the control power management chip is connected the VCC power supply of Zigbee chip, and the Zigbee chip gets into operating state;
(52) ZigBee and father node are set up data link;
(53) MPU sends into DATA through P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
Now
(54) the ZigBee chip is with DATA
NowSend through antenna;
(55) MPU through P3.5, P3.4 pin from the DOUT of ZigBee chip, the data validation information that the DIN pin receives the ZigBee father node;
(56) DATA
NowCharge to and transmit data register DATA
SentWith current data register DATA
Now0
(57) MPU sends instruction through the P1.3 pin, and the control power management chip cuts off the VCC power supply of Zigbee chip;
(58) execution in step (8).
7. ZigBee wireless senser power-saving method as claimed in claim 1 is characterized in that: said step (7) comprises following substep:
(71) MPU sends instruction through the P1.3 pin, and the control power management chip is connected the VCC power supply of Zigbee chip, and the Zigbee chip gets into operating state;
(72) ZigBee and father node are set up data link;
(73) MPU sends into current data register DATA through P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
Now0Value;
(74) the ZigBee chip is with DATA
Now0Send through antenna;
(75) MPU through P3.5, P3.4 pin from the DOUT of ZigBee chip, the data validation information that the DIN pin receives the ZigBee father node;
(76) DATA
Now0Charge to and transmit data register DATA
Sent, DATA
NowCharge to current data register DATA
Now0
(77) MPU sends instruction through the P1.3 pin, and the control power management chip cuts off the VCC power supply of Zigbee chip;
(78) execution in step (8).
8. ZigBee wireless senser power-saving method as claimed in claim 1 is characterized in that: said step (8) comprises the MPU entering dormancy that draws oneself up, and the self-clocking of MPU internal clock arrives sleep interval T
0The time, repeat from the step of step (2) beginning.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110423815.7A CN102395183B (en) | 2011-12-18 | 2011-12-18 | ZigBee wireless sensor electricity saving method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110423815.7A CN102395183B (en) | 2011-12-18 | 2011-12-18 | ZigBee wireless sensor electricity saving method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102395183A true CN102395183A (en) | 2012-03-28 |
CN102395183B CN102395183B (en) | 2014-08-13 |
Family
ID=45862366
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110423815.7A Expired - Fee Related CN102395183B (en) | 2011-12-18 | 2011-12-18 | ZigBee wireless sensor electricity saving method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102395183B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102843718A (en) * | 2012-09-17 | 2012-12-26 | 无锡创灵科技有限公司 | System and method for realizing data acquisition of terminal |
CN102892184A (en) * | 2012-06-29 | 2013-01-23 | 北京博力恒昌科技有限公司 | Device and method for realizing single-live wire or battery power supply of Zigbee module |
CN102984791A (en) * | 2012-12-11 | 2013-03-20 | 清华大学 | Energy-saving method for wireless sensor node |
WO2014114205A1 (en) * | 2013-01-25 | 2014-07-31 | 华为技术有限公司 | Method and device for waking inactive link |
CN105025556A (en) * | 2014-04-29 | 2015-11-04 | 昆山双桥传感器测控技术有限公司 | Wind load sensing node device and operating state control method thereof |
CN105356916A (en) * | 2015-12-11 | 2016-02-24 | 中南大学 | Adaptive Bluetooth transmission method for wearable intelligent equipment |
CN106713124A (en) * | 2017-01-24 | 2017-05-24 | 深圳市启仑智能科技有限公司 | Message push method and system based on MQTT and MYSQL |
CN106895925A (en) * | 2015-12-18 | 2017-06-27 | 阿基米德自动控制公司 | Battery powered wireless long-life temperature and moisture sensors module |
CN107219765A (en) * | 2016-03-21 | 2017-09-29 | 美的集团股份有限公司 | The control device and control method of intelligent home device |
CN108732972A (en) * | 2018-06-08 | 2018-11-02 | 深圳大图科创技术开发有限公司 | Intelligent data acqusition system for multirobot |
US11570685B2 (en) | 2018-10-24 | 2023-01-31 | Carrier Corporation | Power savings for wireless sensors |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101267446A (en) * | 2007-12-29 | 2008-09-17 | 中国科学院计算技术研究所 | Time domain data amalgamation method for wireless sensor network |
CN101893865A (en) * | 2009-05-19 | 2010-11-24 | 北京时代凌宇科技有限公司 | Data transmission method for industrial detection system |
-
2011
- 2011-12-18 CN CN201110423815.7A patent/CN102395183B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101267446A (en) * | 2007-12-29 | 2008-09-17 | 中国科学院计算技术研究所 | Time domain data amalgamation method for wireless sensor network |
CN101893865A (en) * | 2009-05-19 | 2010-11-24 | 北京时代凌宇科技有限公司 | Data transmission method for industrial detection system |
Non-Patent Citations (1)
Title |
---|
回春立等: "无线传感器网络中的数据融合及其能效评估", 《计算机应用研究》, vol. 25, no. 2, 29 February 2008 (2008-02-29), pages 546 - 550 * |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102892184A (en) * | 2012-06-29 | 2013-01-23 | 北京博力恒昌科技有限公司 | Device and method for realizing single-live wire or battery power supply of Zigbee module |
CN102892184B (en) * | 2012-06-29 | 2016-04-20 | 北京博力恒昌科技有限公司 | One realizes Zigbee module list live wire or battery powered apparatus and method |
CN102843718A (en) * | 2012-09-17 | 2012-12-26 | 无锡创灵科技有限公司 | System and method for realizing data acquisition of terminal |
CN102984791A (en) * | 2012-12-11 | 2013-03-20 | 清华大学 | Energy-saving method for wireless sensor node |
CN102984791B (en) * | 2012-12-11 | 2016-01-13 | 清华大学 | A kind of power-economizing method of wireless sensor node |
US9847886B2 (en) | 2013-01-25 | 2017-12-19 | Huawei Technologies Co., Ltd. | Sleeping link waking method and apparatus |
WO2014114205A1 (en) * | 2013-01-25 | 2014-07-31 | 华为技术有限公司 | Method and device for waking inactive link |
CN105025556A (en) * | 2014-04-29 | 2015-11-04 | 昆山双桥传感器测控技术有限公司 | Wind load sensing node device and operating state control method thereof |
CN105025556B (en) * | 2014-04-29 | 2019-01-08 | 昆山双桥传感器测控技术有限公司 | Wind load sensing node device and its working condition management-control method |
CN105356916B (en) * | 2015-12-11 | 2018-02-16 | 中南大学 | A kind of adaptive blue-tooth transmission method of wearable smart machine |
CN105356916A (en) * | 2015-12-11 | 2016-02-24 | 中南大学 | Adaptive Bluetooth transmission method for wearable intelligent equipment |
CN106895925A (en) * | 2015-12-18 | 2017-06-27 | 阿基米德自动控制公司 | Battery powered wireless long-life temperature and moisture sensors module |
CN107219765A (en) * | 2016-03-21 | 2017-09-29 | 美的集团股份有限公司 | The control device and control method of intelligent home device |
CN107219765B (en) * | 2016-03-21 | 2020-12-04 | 美的集团股份有限公司 | Control device and control method of intelligent household equipment |
CN106713124A (en) * | 2017-01-24 | 2017-05-24 | 深圳市启仑智能科技有限公司 | Message push method and system based on MQTT and MYSQL |
CN108732972A (en) * | 2018-06-08 | 2018-11-02 | 深圳大图科创技术开发有限公司 | Intelligent data acqusition system for multirobot |
US11570685B2 (en) | 2018-10-24 | 2023-01-31 | Carrier Corporation | Power savings for wireless sensors |
Also Published As
Publication number | Publication date |
---|---|
CN102395183B (en) | 2014-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102395183B (en) | ZigBee wireless sensor electricity saving method | |
Magno et al. | WULoRa: An energy efficient IoT end-node for energy harvesting and heterogeneous communication | |
CN1960365B (en) | Low power module and user workstation | |
CN103906210B (en) | A kind of distribution type photovoltaic power generation device sensor network nodes dormancy dispatching method | |
CN106900042B (en) | Sensor node of tree-type sensor network ad hoc network | |
CN103338142A (en) | A wireless self-organizing networking system based on the IEEE 802.15.4g and a working method | |
CN103983987B (en) | A kind of location equipment, wearable device and alignment system | |
CN110049128B (en) | Outdoor lighting control system based on Internet of things | |
Li et al. | Closed-loop drip irrigation control using a hybrid wireless sensor and actuator network | |
EP3861799B1 (en) | Cellular modem for low power applications | |
CN104122508A (en) | Online monitoring method for backup power supply system of intelligent power distribution terminal | |
CN102625425A (en) | Event adaptive sensor node | |
CN102571573B (en) | Router, wireless sensing network and method for monitoring terminal node | |
CN113543059A (en) | Building health state monitoring system | |
Ouadjaout et al. | DZ50: Energy-efficient wireless sensor mote platform for low data rate applications | |
CN106875661B (en) | Meter communication method with multiple working modes | |
CN103983992B (en) | A kind of location equipment and wearable equipment | |
CN207216362U (en) | A kind of power management module and Internet of Things gas meter controller based on NB IoT communications | |
CN102547938B (en) | Router, wireless sensor network and method for monitoring terminal nodes | |
Chen | Energy efficiency strategy for a general real-time wireless sensor platform | |
CN110012444B (en) | Working method of individual wireless monitoring system for precious plant protection | |
CN204270483U (en) | A kind of intensive warren wireless sensor network monitoring system | |
CN104881018B (en) | Water paddy irrigation Water application rate for miniature irrigation area tests system and test method | |
CN204044143U (en) | A kind of water quality monitoring node based on WSN | |
CN103327581A (en) | Communication method and device for greenhouse wireless monitoring |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140813 |
|
CF01 | Termination of patent right due to non-payment of annual fee |