CN102395183B - ZigBee wireless sensor electricity saving method - Google Patents
ZigBee wireless sensor electricity saving method Download PDFInfo
- Publication number
- CN102395183B CN102395183B CN201110423815.7A CN201110423815A CN102395183B CN 102395183 B CN102395183 B CN 102395183B CN 201110423815 A CN201110423815 A CN 201110423815A CN 102395183 B CN102395183 B CN 102395183B
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 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 16
- 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
- 230000005540 biological transmission Effects 0.000 abstract description 12
- 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 7
- 238000004458 analytical method Methods 0.000 description 6
- 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
- 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
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 wireless senser field, particularly a kind of method that adopts increment push-model transmission data to realize the economize on electricity of ZigBee wireless senser.
Background technology
The wireless senser that adopts ZigBee technology, utilizes the low-power consumption of ZigBee, can make battery have longer useful life, becomes the wireless senser with practical value.In the time that ZigBee wireless senser is applied in real-time monitoring system, for ensureing the promptness of alarm response, need to carry out the intensive data perception collection (as once per minute) of high duty ratio.Traditional method is that each data that gather all transmit, and this,, by battery electric powers a large amount of cost, seriously shortens battery, needs the frequent battery of changing, and even makes ZigBee wireless senser lose use value.In the time that perceived amount belongs to the moment of inertia (as room temperature) of slow variation, there are a large amount of repeating datas or approximate data to be sent out along time shaft, for this kind of application, data value can only send variable quantity and reach a delta threshold time, ensureing under the prerequisite of perceived accuracy and alarm response promptness, a large amount of transmission times that reduce repeating data and approximate data, effectively save battery electric power, in the useful life that extends battery, seeking a kind of ZigBee wireless senser power-saving method becomes pursuing a goal of these those skilled in the art.
Summary of the invention
Task of the present invention is to provide a kind of ZigBee wireless senser power-saving method, adopt increment push-model data transferring method, ensureing under the prerequisite of perceived accuracy and alarm response promptness, a large amount of transmission times that reduce repeating data and approximate data, effectively save battery electric power, extend the useful life of battery.
Technical solution of the present invention is as follows:
A kind of ZigBee wireless senser power-saving method, comprises the following steps:
(1) initialization;
(2) in the time arriving sleep interval, wake MPU up;
(3) MPU is from the variable quantity of the calculating of perception device reading out data and previous delivery value;
(4) judge whether variable quantity is more than or equal to threshold value, if so, perform step (5); If not, perform step (6);
(5) connect ZigBee power supply, set up link, send current image data, cut off ZigBee power supply, amendment sends data record, execution step (8);
(6) judge whether data variation direction changes, if so, perform step (7); If not, amendment current data record, execution step (8);
(7) connect ZigBee power supply, set up link, send previous image data, cut off ZigBee power supply, amendment sends data record;
(8) MPU enters dormancy, returns to step (2).
Described step (1) comprising: in ZigBee wireless senser MPU, transmit data register DATA
sentset to 0, timestamp is current time; Current data register DATA
now0set to 0, timestamp is current time; Delta threshold register is set to set point Δ DATA
0; Dormancy time register is set to set point T
0, ZigBee wireless senser MPU enters resting state, and ZigBee chip is in off-position.
Described step (2) comprises arrival MPU dormancy time T
0, MPU is waken up.
Described step (3) comprises that MPU reads current perception data DATA by P1.0, P1.1 pin from SCL, the DADA pin of senser element
now.
Described step (4) comprises that MPU is by DATA
nowwith in MPU, transmit data register DATA
sentcompare, obtain increment Delta DATA.
Described step (5) comprises following sub-step:
(51) MPU sends instruction by P1.3 pin, controls the VCC power supply of power management chip connection Zigbee chip, and Zigbee chip enters operating state;
(52) ZigBee and father node are set up data link;
(53) MPU sends into DATA by P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
now;
(54) ZigBee chip is by DATA
nowsend by antenna;
(55) MPU by P3.5, P3.4 pin from the DOUT of ZigBee chip, the data validation information that DIN pin receives ZigBee father node;
(56) DATA
nowcharge to and transmit data register DATA
sentwith current data register DATA
now0;
(57) MPU sends instruction by P1.3 pin, controls the VCC power supply of power management chip cut-out Zigbee chip;
(58) execution step (8).
Described step (7) comprises following sub-step:
(71) MPU sends instruction by P1.3 pin, controls the VCC power supply of power management chip connection Zigbee chip, and Zigbee chip enters operating state;
(72) ZigBee and father node are set up data link;
(73) MPU sends into current data register DATA by P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
now0value;
(74) ZigBee chip is by DATA
now0send by antenna;
(75) MPU by P3.5, P3.4 pin from the DOUT of ZigBee chip, the data validation information that DIN pin receives 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 by P1.3 pin, controls the VCC power supply of power management chip cut-out Zigbee chip;
(78) execution step (8).
Described step (8) comprises that MPU draws oneself up and enters dormancy, and the self-clocking of MPU internal clock arrives sleep interval T
0time, repeat the step starting from step (2).
The present invention is owing to having adopted above technical scheme, compared with prior art, ZigBee wireless senser power-saving method of the present invention is because perceived amount is slowly to change or seldom change, the work period quantity that need to send data every day is little, can significantly reduce power consumption, extend 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, ensureing under the prerequisite of perceived accuracy and alarm response promptness, a large amount of transmission times that reduce repeating data and approximate data, effectively save battery electric power, extend the useful life of battery.
Brief description of the 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 data transmitting period map of current.
Fig. 3 is that a kind of ZigBee wireless senser of the present invention has 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 drawings and Examples, the present invention is elaborated.
Referring to Fig. 5, the invention provides a kind of ZigBee wireless senser power-saving method, comprise the following steps:
(1) initialization;
(2) in the time arriving sleep interval, wake MPU up;
(3) MPU reads the variable quantity of current data calculating and previous delivery value from perception device;
(4) judge whether variable quantity is more than or equal to threshold value, if so, perform step (5); If not, perform step (6);
(5) connect ZigBee power supply, set up link, send current image data, cut off ZigBee power supply, amendment sends data record, execution step (8);
(6) judge whether data variation direction changes, if so, perform step (7); If not, amendment current data record, execution step (8);
(7) connect ZigBee power supply, set up link, send previous image data, cut off ZigBee power supply, amendment sends data record;
(8) MPU enters dormancy, returns to step (2).
Described step (1) is included in transmission data register DATA in ZigBee wireless senser MPU
sentset to 0, timestamp is current time; Current data register DATA
now0set to 0, timestamp is current time; Delta threshold register is set to set point Δ DATA
0; Dormancy time register is set to set point T
0, ZigBee wireless senser MPU enters resting state, and ZigBee chip is in off-position.
Described step (2) comprises arrival MPU dormancy time T
0, MPU is waken up.
Described step (3) comprises that MPU reads current perception data DATA by P1.0, P1.1 pin from SCL, the DADA pin of senser element
now.
Described step (4) comprises that MPU is by DATA
nowwith in MPU, transmit data register DATA
sentcompare, obtain increment Delta DATA.
Described step (5) comprises following sub-step:
(51) MPU sends instruction by P1.3 pin, controls the VCC power supply of power management chip connection Zigbee chip, and Zigbee chip enters operating state;
(52) ZigBee and father node are set up data link;
(53) MPU sends into DATA by P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
now;
(54) ZigBee chip is by DATA
nowsend by antenna;
(55) MPU by P3.5, P3.4 pin from the DOUT of ZigBee chip, the data validation information that DIN pin receives ZigBee father node;
(56) DATA
nowcharge to and transmit data register DATA
sentwith current data register DATA
now0;
(57) MPU sends instruction by P1.3 pin, controls the VCC power supply of power management chip cut-out Zigbee chip;
(58) execution step (8).
Described step (7) comprises following sub-step:
(71) MPU sends instruction by P1.3 pin, controls the VCC power supply of power management chip connection Zigbee chip, and Zigbee chip enters operating state;
(72) ZigBee and father node are set up data link;
(73) MPU sends into current data register DATA by P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
now0value;
(74) ZigBee chip is by DATA
now0send by antenna;
(75) MPU by P3.5, P3.4 pin from the DOUT of ZigBee chip, the data validation information that DIN pin receives 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 by P1.3 pin, controls the VCC power supply of power management chip cut-out Zigbee chip;
(78) execution step (8).
Described step (8) comprises that MPU draws oneself up and enters dormancy, and the self-clocking of MPU internal clock arrives sleep interval T
0time, repeat the step starting from step (2).
The increment push-model data transferring method that the present invention adopts is: ZigBee wireless senser arranges 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 comparison of recording in data register, if the absolute value of variable quantity is more than or equal to increment threshold values, set up ZigBee communication link, transmit these data and charge to and transmit data register and current data register, entering dormancy; If the absolute value of variable quantity is less than delta threshold and data direction changes, set up ZigBee communication link, transmit last some data that record in current data register and these data are charged to transmission data register, current data is charged to current data register, entering dormancy; If the absolute value of variable quantity is less than delta threshold and data direction does not change, do not transmit, current data is charged to current data register, enter 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 ZigBee wireless senser is used for monitoring inertia perception amount, because perceived quantitative changeization is slow, need the long period that the variation of threshold value could occur once to reach, adopt increment push-model data transferring method, data during this period of time all will not transmit, and can save a large amount of data and transmit power consumption.Sampled data is more stable, and economize on electricity extending battery life effect are more remarkable.
Narrate the principle analysis of ZigBee wireless senser below.
1, ZigBee wireless senser principle
The initial condition of Fig. 1 (A is dormancy 60S, electric current 0.23mA, B is work 10mS, electric current 0.397mA): senser element chip is in running order, and the monitored amount of real-time perception is also converted to data.MPU chip is in resting state.ZigBee chip is in off-position.Power management chip is in running order, and battery is given each chip power supply by power management chip.MPU chip transmits in data register and records the perception data DATA sending out by ZigBee last time
sentthe perception data DATA that in (containing timestamp), current data register, record last time gathered
now0(containing timestamp), delta threshold register record perceived amount delta threshold Δ DATA
0, dormancy time register records dormancy time T
0.
Perceived amount delta threshold Δ DATA
0require to arrange according to monitoring accuracy, as to building environment temperature, generally get 0.5 DEG C.
Dormancy time T
0according to the response time requirement setting to alarm event, as for real-time monitoring system, for ensureing the promptness of alarm response, generally get 60 seconds.
In the MPU of resting state self-clocking, arrive dormancy time T
0time, wake oneself up and enter operating state.MPU reads current perception data DATA by P1.0, P1.1 pin from SCL, the DADA pin of senser element
now, MPU is by DATA
nowwith the DATA transmitting in data register
sentcompare, obtain Δ DATA, carry out three kinds of different processing according to Δ DATA:
Δ DATA is more than or equal to Δ DATA
0.MPU connects P1.3 pin and sends instruction, controls the VCC power supply of power management chip connection ZigBee chip, and ZigBee chip enters operating state, and ZigBee and father node are set up data link (approximately needing 30mS).MPU sends into DATA by P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
now; ZigBee chip is by DATA
nowsend (approximately needing 20mS) by antenna.MPU receives by P3.5, P3.4 pin after the data validation information of ZigBee father node, MPU DATA
nowvalue is replaced and is transmitted DATA in data register
sentdATA in value and current data register
now0; Send instruction by P1.3 pin, control the VCC power supply of power management chip cut-out Zigbee chip; MPU draws oneself up and enters dormancy.This is the work period that has data to send.
Δ DATA is less than Δ DATA
0but data variation direction has changed.This shows that variation flex point has appearred in perceived amount, need to transmit the previous collection value DATA recording in current data register
now0.The same aforementioned paragraphs of the course of work, difference is that the data of at this moment sending by ZigBee are DATA
now0, use DATA
now0value is replaced and is transmitted DATA in data register
sent.
Δ DATA is less than Δ DATA
0, and data variation direction does not change.Do not transmit data, MPU DATA
nowreplace the DATA in current data register
now0, enter dormancy.This is the work period that does not have data to send.
2, monocycle energy consumption analysis
Calculate the power consumption situation of single work period of ZigBee wireless senser according to the data of data and actual measurement.
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.
Do not have data to send work period analysis:
In Fig. 2, dormancy section duration is 60S, power consumption comprises the 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), 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
There is data transmitting period analysis:
In Fig. 3, dormancy section power consumption analysis is identical with Fig. 2.
In Fig. 3, active section duration is that MPU gathers and analysis data time 10mS, ZigeBee set up DL time 30mS, ZigBee and send data time 20mS, amounts to 60mS.Wherein MPU, senser element, power management chip power consumption current value and be all mutually 0.23mA in Fig. 2, difference is that the power consumption time is 60mS.After ZigBee switches on power, enter the data link setup phase of 30mS, during this, mainly in standby power consumption state, have of short duration link setup signal transmitting and receiving, 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
zigBee link setup+ Q
zigBee transmitting)
=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
Service time of battery is analyzed:
To use common No. 5 batteries, capacity is that 1000mAH is example, and ZigBee wireless senser per minute wakes up once, carries out data acquisition and transmission.
In the time of traditional not employing increment push-model data mode, each data that gather all send, and each work period is 60.06S, are to calculate for 60 seconds according to each work period, send every day 1440 times, and each power consumption is Q
2.The replacement cycle of battery is: 1000mAH/(0.005729mAH × 1440) ≈ 121 days.
In the time adopting increment push-model data transferring method, because perceived amount is slowly to change or seldom change, the work period quantity that need to send data every day is little, can significantly reduce power consumption, extends the battery altering cycle.
Taking ZigBee radio temperature sensor in certain IDC center monitoring building environment temperature as example, intraday building environment temperature curve is as Fig. 4, perceived amount variable quantity threshold values Δ DATA
0get 0.5 DEG C, in one day, only have 12 data transmitting period.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.Rhombus icon is the transmission data (real data is than also intensive in figure) without increment push-model, approximately has 1440 points every day.Square icon is the data that have increment push-model to transmit, and only has 12 points in one day.As seen from the figure, the data repeatability of two kinds of modes is fine, has ensured preferably monitoring accuracy, has reflected the actual change of monitored amount, can ensure the promptness to alarm response.
Above-described embodiment shows, adopts increment push-model data transferring method ensureing in data precision and alarm promptness situation, and the battery altering cycle is 1.49 times while transmitting without increment push-model data, and power savings is obvious.
The embodiment of a kind of ZigBee wireless senser power-saving method of the present invention is as follows:
(1) initialization.In ZigBee wireless senser MPU, transmit data register DATA
sentset to 0, timestamp is current time; Current data register DATA
now0set to 0, timestamp is current time; Delta threshold register is set to set point Δ DATA
0; Dormancy time register is set to set point T
0.ZigBee wireless senser MPU enters resting state, and ZigBee chip is in off-position.
(2) arrive MPU dormancy time T
0, MPU is waken up.
(3) MPU reads current perception data DATA by P1.0, P1.1 pin from SCL, the DADA pin of senser element
now.
(4) MPU is by DATA
nowwith in MPU, transmit data register DATA
sentcompare, obtain increment Delta DATA.
(5) if Δ DATA is more than or equal to delta threshold Δ DATA
0:
(51) MPU sends instruction by P1.3 pin, controls the VCC power supply of power management chip connection Zigbee chip, and Zigbee chip enters operating state;
(52) ZigBee and father node are set up data link;
(53) MPU sends into DATA by P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
now;
(54) ZigBee chip is by DATA
nowsend by antenna;
(55) MPU by P3.5, P3.4 pin from the DOUT of ZigBee chip, the data validation information that DIN pin receives ZigBee father node;
(56) DATA
nowcharge to and transmit data register DATA
sentwith current data register DATA
now0;
(57) MPU sends instruction by P1.3 pin, controls the VCC power supply of power management chip cut-out Zigbee chip;
(58) forward (8) to.
(6) if Δ DATA is less than delta threshold Δ DATA
0, and data variation direction changes:
(61) MPU sends instruction by P1.3 pin, controls the VCC power supply of power management chip connection Zigbee chip, and Zigbee chip enters operating state;
(62) ZigBee and father node are set up data link;
(63) MPU sends into current data register DATA by P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
now0value;
(64) ZigBee chip is by DATA
now0send by antenna;
(65) MPU by P3.5, P3.4 pin from the DOUT of ZigBee chip, the data validation information that DIN pin receives 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 by P1.3 pin, controls the VCC power supply of power management chip cut-out Zigbee chip;
(68) forward (8) to.
(7) if Δ DATA is less than delta threshold Δ DATA
0, and data variation direction do not change, DATA
nowcharge to current data register DATA
now0.
(8) MPU draws oneself up and enters dormancy.
(9) MPU internal clock self-clocking, arrives sleep interval T
0time, repeat the step starting from step (2).
In sum, by a kind of ZigBee wireless senser power-saving method of the present invention, adopt increment push-model data transferring method, ensureing under the prerequisite of perceived accuracy and alarm response promptness, a large amount of transmission times that reduce repeating data and approximate data, effectively save battery electric power, extend the useful life of battery.
Certainly, those skilled in the art in the art will be appreciated that, above-described embodiment is only for the present invention is described, and not as limitation of the invention, as long as within the scope of connotation of the present invention, variation, the modification etc. of above-described embodiment all will be dropped in the scope of the claims in the present invention.
Claims (5)
1. a ZigBee wireless senser power-saving method, is characterized in that, comprises the following steps:
(1) initialization; In ZigBee wireless senser MPU, transmit data register DATA
sentset to 0, timestamp is current time; Current data register DATA
now0set to 0, timestamp is current time; Delta threshold register is set to set point Δ DATA
0; Dormancy time register is set to set point T
0, ZigBee wireless senser MPU enters resting state, and ZigBee chip is in off-position;
(2) in the time arriving sleep interval, wake MPU up; Be specially: arrive MPU dormancy time T
0, MPU is waken up;
(3) MPU is from the variable quantity of the calculating of perception device reading out data and previous delivery value;
(4) judge whether variable quantity is more than or equal to threshold value, if so, perform step (5); If not, perform step (6);
(5) connect ZigBee power supply, set up link, send current image data, cut off ZigBee power supply, amendment sends data record, execution step (8);
(6) judge whether data variation direction changes, if so, perform step (7); If not, amendment current data record, execution step (8);
(7) connect ZigBee power supply, set up link, send previous image data, cut off ZigBee power supply, amendment sends data record;
(8) MPU enters dormancy, returns to step (2);
Described step (8) comprises that MPU draws oneself up and enters dormancy, and the self-clocking of MPU internal clock arrives sleep interval T
0time, repeat the step starting from step (2).
2. ZigBee wireless senser power-saving method as claimed in claim 1, is characterized in that: described step (3) comprises that MPU reads current perception data DATA by P1.0, P1.1 pin from SCL, the DADA pin of senser element
now.
3. ZigBee wireless senser power-saving method as claimed in claim 1, is characterized in that: described step (4) comprises that MPU is by current perception data DATA
nowwith in MPU, transmit data register DATA
sentcompare, obtain increment Delta DATA.
4. ZigBee wireless senser power-saving method as claimed in claim 1, is characterized in that: described step (5) comprises following sub-step:
(51) MPU sends instruction by P1.3 pin, controls the VCC power supply of power management chip connection ZigBee chip, and ZigBee chip enters operating state;
(52) ZigBee and father node are set up data link;
(53) MPU sends into DATA by P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
now;
(54) ZigBee chip is by DATA
nowsend by antenna;
(55) MPU by P3.5, P3.4 pin from the DOUT of ZigBee chip, the data validation information that DIN pin receives ZigBee father node;
(56) DATA
nowcharge to and transmit data register DATA
sentwith current data register DATA
now0;
(57) MPU sends instruction by P1.3 pin, controls the VCC power supply of power management chip cut-out ZigBee chip;
(58) execution step (8).
5. ZigBee wireless senser power-saving method as claimed in claim 1, is characterized in that: described step (7) comprises following sub-step:
(71) MPU sends instruction by P1.3 pin, controls the VCC power supply of power management chip connection ZigBee chip, and ZigBee chip enters operating state;
(72) ZigBee and father node are set up data link;
(73) MPU sends into current data register DATA by P3.5, P3.4 pin to DOUT, the DIN pin of ZigBee chip
now0value;
(74) ZigBee chip is by DATA
now0send by antenna;
(75) MPU by P3.5, P3.4 pin from the DOUT of ZigBee chip, the data validation information that DIN pin receives 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 by P1.3 pin, controls the VCC power supply of power management chip cut-out ZigBee chip;
(78) execution step (8).
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 CN102395183A (en) | 2012-03-28 |
CN102395183B true 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) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN102984791B (en) * | 2012-12-11 | 2016-01-13 | 清华大学 | A kind of power-economizing method of wireless sensor node |
CN103973466B (en) | 2013-01-25 | 2019-02-12 | 华为技术有限公司 | A kind of method and device waking up suspend mode link |
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 |
CN106895925A (en) * | 2015-12-18 | 2017-06-27 | 阿基米德自动控制公司 | Battery powered wireless long-life temperature and moisture sensors module |
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 |
CN108732972B (en) * | 2018-06-08 | 2020-12-11 | 山东鲁商创新发展有限公司 | Intelligent data acquisition system for multiple robots |
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 (2)
Title |
---|
回春立等.无线传感器网络中的数据融合及其能效评估.《计算机应用研究》.2008,第25卷(第2期),第546-550页. |
无线传感器网络中的数据融合及其能效评估;回春立等;《计算机应用研究》;20080229;第25卷(第2期);第546-550页 * |
Also Published As
Publication number | Publication date |
---|---|
CN102395183A (en) | 2012-03-28 |
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 | |
Yan et al. | Energy-aware sensor node design with its application in wireless sensor networks | |
CN1960365B (en) | Low power module and user workstation | |
US20080049700A1 (en) | Reduced power network association in a wireless sensor network | |
CN106900042B (en) | Sensor node of tree-type sensor network ad hoc network | |
CN109803224B (en) | Low-power-consumption positioning method and system, positioning terminal, service platform and control terminal | |
CN101483908A (en) | Wireless sensor network node | |
CN111031595A (en) | Wireless dormancy control system and method | |
CN103338142A (en) | A wireless self-organizing networking system based on the IEEE 802.15.4g and a working method | |
CN203012943U (en) | Sensing node with low power consumption and wireless controllable awakening function | |
CN103983987B (en) | A kind of location equipment, wearable device and alignment system | |
CN106507271A (en) | A kind of industrial machinery vibration signals collecting method | |
WO2023103549A1 (en) | Wireless communication method and related apparatus | |
CN110996379A (en) | Wake-up method, terminal node, transmission source node, and storage medium | |
CN103298087B (en) | Based on the wireless sensor network node low power consumption method of state machine | |
CN102571573B (en) | Router, wireless sensing network and method for monitoring terminal node | |
CN202856992U (en) | Low-power-consumption wireless sensor network system | |
Shelke et al. | Energy management in wireless sensor network | |
Bogliolo et al. | Towards a true energetically sustainable WSN: A case study with prediction-based data collection and a wake-up receiver | |
CN103983992B (en) | A kind of location equipment and wearable equipment | |
CN106875661B (en) | Meter communication method with multiple working modes | |
CN202190412U (en) | Energy consumption control device and mobile terminal equipment comprising same | |
CN102547938B (en) | Router, wireless sensor network and method for monitoring terminal nodes | |
CN104916102A (en) | Intelligent gas meter wireless communication and control method |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140813 |