CN101425887A - Time synchronization method used for wireless sensor network - Google Patents

Time synchronization method used for wireless sensor network Download PDF

Info

Publication number
CN101425887A
CN101425887A CNA2007100562371A CN200710056237A CN101425887A CN 101425887 A CN101425887 A CN 101425887A CN A2007100562371 A CNA2007100562371 A CN A2007100562371A CN 200710056237 A CN200710056237 A CN 200710056237A CN 101425887 A CN101425887 A CN 101425887A
Authority
CN
China
Prior art keywords
node
time
message
sending
wireless sensor
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.)
Pending
Application number
CNA2007100562371A
Other languages
Chinese (zh)
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.)
JINLIN MANBO SCIENCE AND TECHNOLOGY Co Ltd
Original Assignee
JINLIN MANBO SCIENCE AND TECHNOLOGY Co Ltd
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 JINLIN MANBO SCIENCE AND TECHNOLOGY Co Ltd filed Critical JINLIN MANBO SCIENCE AND TECHNOLOGY Co Ltd
Priority to CNA2007100562371A priority Critical patent/CN101425887A/en
Publication of CN101425887A publication Critical patent/CN101425887A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a time synchronization method for a wireless sensor network, which comprises the following steps: firstly, a time synchronization launching node which is recorded as a node A sends a time synchronization message to a time synchronization receiving node which is recorded as a node B; the node A catches the present crystal oscillator numeration of a node chip while sending the message, then the crystal oscillator numeration is conversed into the watch network time T1 of the node A according to the numeration; the node B catches the chip crystal oscillator numeration while receiving the synchronization message, and then the chip crystal oscillator numeration is conversed into the watch network time T2 of the node B according to the numeration; then, the node A sends a time synchronization message to the node B, and the message has the time T1; after the node B receives the message, the T1 is taken out, and time difference which is obtained by subtracting the T1 from the T2 is determined as DT; finally, the present watch network time of the node B is modified according to the DT so that the present watch network time is synchronized with the time of the node A. The optimal time synchronization method can provide reliable time synchronization guarantee for a system.

Description

A kind of method for synchronizing time that is used for wireless sensor network
Technical field
The present invention relates to the wireless sensor network field, the method for synchronizing time during particularly a kind of wireless sensor network is optimized.
Background technology
Wireless sensor network (Wireless Sensor Network, be called for short WSN) is considered to one of most important technology of 21 century, is the numerous transducer mode by radio communication, connects each other, handles, transmits the network of information.This network synthesis sensor technology, embedded computing technique, distributed information processing and the communication technology, the various environment in monitoring in real time, perception and the collection network distributed areas or the information of monitoring target, and these information are handled, send required user to.Wireless sensor network all has purposes widely in military affairs, industry, traffic, safety, medical treatment, detection and family and working environment etc. aspect a lot, its research, development and application, be related to each great aspects such as national security, economic development, caused in the world in recent years and paid attention to widely and drop into.
(Wireless Sensor Network, WSN) structure as shown in Figure 1 for wireless sensor network.Sensor node is distributed in the various piece of network, is used to collect data, and data are routed to information gathering node (Sink).Information gathering node and information processing node communicate by Wide Area Network (as Internet network or satellite network), thereby the data of collecting are handled.
Time synchronization technique is an essential important component in the wireless sensor network.In wireless sensor network (distributed system), each node all has its independently clock.The time unification that keeps whole wireless sensor network must apply to Time synchronization technique.
RBS and DMTS utilization is comparatively extensive in traditional method for synchronizing time.Wherein the RBS method for synchronizing time is comparatively simple in operation, but the message transmission is too much between the node in time synchronization process, and need to wait for idle channel before the transmission message, this can produce the time delay when sending, thereby the accuracy of time synchronized can't be guaranteed.And the DMTS method for synchronizing time, precision can access good assurance.But it requires directly the message that will send to be added a cover timestamp by hardware when sending synchronizing information.Yet general hardware but can't be finished this operation, makes the method use limitation very big.
Summary of the invention
The present invention is directed to the weak point of above-mentioned existing method for synchronizing time, proposed a kind of method for synchronizing time that is used for wireless sensor network of optimization.
The present invention is achieved in that
As Fig. 6, shown in Figure 7, a kind of method for synchronizing time that is used for wireless sensor network provided by the invention is made up of following process.
1. sending node sends a synchronization message to receiving node, and produces a change in electric on sending node, the time T when the sending node record produces the signal variation 1
2. receiving node also produces a change in electric when receiving first synchronizing information, and sending node is noted the time T when producing this change in electric 2
3. sending node sends a synchronization message once more to receiving node, the time T that when sending is specifically write down the first time 1Insert in the message body, and do not write down the time that this time sends;
4. after receiving node is received second synchronization message, take out T 1, calculate T 2Subtract T 1Time difference and preserve with Dt, receiving node is adjusted own local clock according to this time difference, makes own and sending node time synchronized.
The time synchronized new method that is used for wireless sensor network of the present invention can effectively address the above problem.At first synchronizing process is simple, only needs unidirectional twice message just can finish.Secondly, do not need first scan empty idle channel to send again when sending message, can not cause temporal delay like this, so the time synchronized accuracy is higher.Last this method need must not added a cover timestamp by hardware in the message that sends when sending message, it is more flexible to make the method use like this, has reduced limitation.
From technique scheme as can be seen, the method for synchronizing time that is used for wireless sensor network provided by the invention has important effect for the research and the product development of wireless sensor network technology, and major advantage is as follows:
1. the method synchronizing process is simple, only needs unidirectional twice message just can finish.
2. do not need first scan empty idle channel to send again when sending message, can not cause temporal delay like this, so the time synchronized accuracy is higher.
3. this method need must not added a cover timestamp by hardware in the message that sends when sending message, it is more flexible to make the method use like this, has reduced limitation.
Description of drawings
Fig. 1 is the wireless sensor network typical figure.
Fig. 2 sends first time synchronized message, adds a cover time stamp T for A node provided by the invention 1Schematic diagram.
Fig. 3 is B node time of receipt (T of R) synchronization message provided by the invention, adds a cover time stamp T 2Schematic diagram.
Fig. 4 has time stamp T for A node provided by the invention sends second 1Time synchronized message schematic diagram.
Fig. 5 is that B node provided by the invention is adjusted the local zone time schematic diagram according to Dt.
Fig. 6 is the time synchronized flow chart of sending node provided by the invention.
Fig. 7 is the time synchronized flow chart of receiving node provided by the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to accompanying drawing, the present invention is described in more detail.
Embodiment
The present invention has been applied in the actual wireless sensor network, and constructed wireless sensor network is to be made of a base station and plurality of nodes, is to be the tree topology of root with the base station.The program code of the inventive method is poured in advance in each node and (comprises the base station), starts all nodes then, and the program in each node is operation automatically.(be designated hereinafter simply as the A node) from the base station then and initiate time synchronized, at first the base station can find its first child node (being designated hereinafter simply as the B node) to carry out synchronously.Synchronizing process is as follows:
1. (as shown in Figure 2) A node sends a synchronization message to the B node, the variation that the A node can produce the signal of telecommunication when sending message, the time T when producing the signal variation under the A nodes records then 1
(as shown in Figure 3) B node receive first synchronizing information the time also can produce a signal of telecommunication variation, note that time T that produces this change in electric then 2
3. (as shown in Figure 4) A node can be sent out a synchronization message again, writing time no longer when sending specifically, but T writing time for the first time 1Insert in the message body, send to the B node.
4. after (as shown in Figure 5) B node is received message, take out T 1Calculate T then 2Subtract T 1, preserve the time difference Dt of gained with Dt.Adjust own local clock according to this time difference B node, make it and A node time synchronous.
After the B node was finished synchronously, its time can be adjusted into identical with A.Next the B node can carry out time synchronized in its each child node automatically, and such process is gone down up to leaf node always.And after A node and B node finish synchronously, the A node will continue to carry out time synchronized with its other child node.Like this, a whole set of process is got off, and the time of all nodes all will be identical with the time of base station, illustrates that the inventive method has effectively realized making the synchronous purpose of node time of a wireless sensor network.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (1)

1. time synchronized optimization method that is used for wireless sensor network, the step that this method comprises is:
(1) sending node sends a time synchronized message to receiving node, the variation that sending node can produce the signal of telecommunication when sending message, and sending node is noted the time T when producing the signal variation then 1
Also can produce the variation of a signal of telecommunication when (2) receiving node receives first synchronizing information, note that time T that produces this change in electric then 2
(3) sending node can be sent out a synchronization message again, writing time no longer when sending specifically, but T writing time for the first time 1Insert in the message body, send to the reception node;
(4) after receiving node is received message, take out T 1Calculate T then 2Subtract T 1, preserve the time difference of gained with Dt, adjust own local clock according to this time difference receiving node, make it and sending node time synchronized.
CNA2007100562371A 2007-10-29 2007-10-29 Time synchronization method used for wireless sensor network Pending CN101425887A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007100562371A CN101425887A (en) 2007-10-29 2007-10-29 Time synchronization method used for wireless sensor network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007100562371A CN101425887A (en) 2007-10-29 2007-10-29 Time synchronization method used for wireless sensor network

Publications (1)

Publication Number Publication Date
CN101425887A true CN101425887A (en) 2009-05-06

Family

ID=40616245

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007100562371A Pending CN101425887A (en) 2007-10-29 2007-10-29 Time synchronization method used for wireless sensor network

Country Status (1)

Country Link
CN (1) CN101425887A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902370A (en) * 2010-07-21 2010-12-01 中兴通讯股份有限公司 Device, system and method for measuring frame delay
CN101917759A (en) * 2010-07-20 2010-12-15 重庆康如来科技有限公司 Wireless sensor network time synchronization method based on linear fit
CN102421187A (en) * 2011-12-01 2012-04-18 北京航天测控技术有限公司 High-accuracy clock synchronization method of wireless sensor network
CN102647269A (en) * 2011-02-22 2012-08-22 中国石油集团长城钻探工程有限公司 Time synchronization method for downhole instrument
CN103221815A (en) * 2010-07-19 2013-07-24 奥卓电子有限公司 Acoustic structural integrity monitoring system and method
CN103516504A (en) * 2012-09-27 2014-01-15 深圳市友讯达科技发展有限公司 Network node clock synchronization method, nodes and system
CN103945525A (en) * 2014-04-30 2014-07-23 国家电网公司 Hierarchical structure based wireless sensor network time synchronization method
CN104247529A (en) * 2012-03-02 2014-12-24 富士通株式会社 Nodes, and communication control method
CN105794284A (en) * 2013-12-04 2016-07-20 三菱电机株式会社 Method for synchronizing node to data sink and node for forming wireless network
CN106068022A (en) * 2016-07-07 2016-11-02 福建师范大学福清分校 A kind of wireless sensor data synchronous method based on high-speed sampling reconfiguration waveform
CN106937369A (en) * 2015-12-31 2017-07-07 深圳友讯达科技股份有限公司 Low power consumption node synchronized wake-up method, node and system
CN111556559A (en) * 2020-05-09 2020-08-18 重庆邮电大学 Hybrid clock synchronization method based on timestamp-free interaction and one-way message propagation
CN112217589A (en) * 2019-07-09 2021-01-12 株式会社东芝 Sensor system, transmission terminal, time information processing device, and synchronization method
CN112235068A (en) * 2020-10-14 2021-01-15 许继集团有限公司 Master-slave machine synchronization method and device for distributed power system

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103221815A (en) * 2010-07-19 2013-07-24 奥卓电子有限公司 Acoustic structural integrity monitoring system and method
US9250117B2 (en) 2010-07-19 2016-02-02 Ultra Electronics Limited Acoustic structural integrity monitoring system and method
CN101917759A (en) * 2010-07-20 2010-12-15 重庆康如来科技有限公司 Wireless sensor network time synchronization method based on linear fit
CN101917759B (en) * 2010-07-20 2013-04-24 重庆康如来科技有限公司 Wireless sensor network time synchronization method based on linear fit
CN101902370A (en) * 2010-07-21 2010-12-01 中兴通讯股份有限公司 Device, system and method for measuring frame delay
WO2012009987A1 (en) * 2010-07-21 2012-01-26 中兴通讯股份有限公司 Device, system and method for frame delay measurement
CN102647269A (en) * 2011-02-22 2012-08-22 中国石油集团长城钻探工程有限公司 Time synchronization method for downhole instrument
CN102421187A (en) * 2011-12-01 2012-04-18 北京航天测控技术有限公司 High-accuracy clock synchronization method of wireless sensor network
CN102421187B (en) * 2011-12-01 2014-02-19 北京航天测控技术有限公司 High-accuracy clock synchronization method of wireless sensor network
CN104247529B (en) * 2012-03-02 2018-05-25 富士通株式会社 Node and communication control method
CN104247529A (en) * 2012-03-02 2014-12-24 富士通株式会社 Nodes, and communication control method
CN103516504A (en) * 2012-09-27 2014-01-15 深圳市友讯达科技发展有限公司 Network node clock synchronization method, nodes and system
CN105794284A (en) * 2013-12-04 2016-07-20 三菱电机株式会社 Method for synchronizing node to data sink and node for forming wireless network
CN105794284B (en) * 2013-12-04 2019-03-15 三菱电机株式会社 So that node is synchronized to the method for data sink and is used to form the node of wireless network
CN103945525A (en) * 2014-04-30 2014-07-23 国家电网公司 Hierarchical structure based wireless sensor network time synchronization method
CN106937369A (en) * 2015-12-31 2017-07-07 深圳友讯达科技股份有限公司 Low power consumption node synchronized wake-up method, node and system
CN106937369B (en) * 2015-12-31 2018-03-13 深圳友讯达科技股份有限公司 Low power consumption node synchronized wake-up method, node and system
CN106068022A (en) * 2016-07-07 2016-11-02 福建师范大学福清分校 A kind of wireless sensor data synchronous method based on high-speed sampling reconfiguration waveform
CN106068022B (en) * 2016-07-07 2019-06-25 福建师范大学福清分校 A kind of wireless sensor data synchronous method based on high-speed sampling reconfiguration waveform
CN112217589A (en) * 2019-07-09 2021-01-12 株式会社东芝 Sensor system, transmission terminal, time information processing device, and synchronization method
CN112217589B (en) * 2019-07-09 2024-04-05 株式会社东芝 Sensor system, transmitting terminal, time information processing device, and synchronization method
CN111556559A (en) * 2020-05-09 2020-08-18 重庆邮电大学 Hybrid clock synchronization method based on timestamp-free interaction and one-way message propagation
CN111556559B (en) * 2020-05-09 2021-11-26 重庆邮电大学 Hybrid clock synchronization method based on timestamp-free interaction and one-way message propagation
CN112235068A (en) * 2020-10-14 2021-01-15 许继集团有限公司 Master-slave machine synchronization method and device for distributed power system

Similar Documents

Publication Publication Date Title
CN101425887A (en) Time synchronization method used for wireless sensor network
CN101083523B (en) Method and device for realizing integrated time stamp clock synchronous phase-locked loop
CN104836630B (en) IEEE1588 clock synchronization system and implementation method therefor
CN109074723B (en) Time synchronization method, sensor embedded terminal and sensor network system
CN105228240B (en) A kind of time synchronization method, equipment and base station
CN103327586B (en) The synchronous method of wireless sensing net node suspend mode low power consumption protocol
CN101977104A (en) IEEE1588 based accurate clock synchronization protocol system and synchronization method thereof
CN108880727B (en) A kind of precision clock synchronization realizing method based on PTPd2 agreement
CN105532053A (en) Device synchronization over bluetooth
CN101466142A (en) Synchronization method for layered time comparative clock in wireless sensor network
CN106059698B (en) Method for synchronizing time and device based on the wireless time service of TD-LTE
CN103108388A (en) Method, device and system of wireless sensor network clock synchronization
CN107579793A (en) The optimization method of time synchronized, device and equipment between a kind of communication network device
CN109565772A (en) Method for synchronizing time, equipment and storage medium
CN101997714A (en) Time processing method, device and system
CN108039933A (en) A kind of local Internet of Things time precise synchronization method
CN109996325A (en) A kind of clock system and method for wireless sensor network
CN103647614A (en) Method for reliably improving time synchronization precision based on IEEE1588 protocol
CN110808807B (en) Clock synchronization method of equipment in local area network
CN108738127A (en) Remote Radio Unit, baseband processing unit, distributed base station and its synchronous method
CN100493047C (en) Method for synchronously implementing web tube total web clock
CN103235500A (en) Satellite time service method and timing device based on beidou
WO2018177320A1 (en) Clock processing method, access network device and terminal device
CN101765199A (en) Communication system and time synchronization method in system and OTN equipment
WO2015042955A1 (en) Synchronization method and apparatus

Legal Events

Date Code Title Description
C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Chen Yuhua

Document name: Notification to Make Rectification

C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090506