CN111107623A - System clock synchronization method - Google Patents
System clock synchronization method Download PDFInfo
- Publication number
- CN111107623A CN111107623A CN201911259951.XA CN201911259951A CN111107623A CN 111107623 A CN111107623 A CN 111107623A CN 201911259951 A CN201911259951 A CN 201911259951A CN 111107623 A CN111107623 A CN 111107623A
- Authority
- CN
- China
- Prior art keywords
- reference member
- member device
- time
- time point
- timing
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/001—Synchronization between nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/001—Synchronization between nodes
- H04W56/0015—Synchronization between nodes one node acting as a reference for the others
Abstract
The invention discloses a system clock synchronization method, which is used for clock synchronization between non-reference member equipment and reference member equipment in a system and comprises the following steps: the non-reference member device sends a query message to the reference member device at its assigned query time point t 1; after receiving the inquiry message at the time point t2, the reference member device transmits a response message to the non-reference member device at a response time point t3 assigned thereto; the non-reference member device receives the reply message at time point t 4; calculating a first time error according to the time point t1, the time point t2, the time point t3 and the time point t 4; and performing first timing on the non-reference member device according to the first time error so as to realize clock synchronization between the non-reference member device and the reference member device. The invention realizes the accurate synchronization of the clocks among the members in the system network by correcting the time errors of the non-reference member device and the reference member device twice.
Description
Technical Field
The invention relates to the technical field of radio digital communication, in particular to a system clock synchronization method.
Background
In a modern communication system, in a Time Division Multiple Access (TDMA) working mode system adopted for improving system communication and managing time efficiency, all members use a specific member in the system as time reference equipment to time other members or as a time calibration reference to unify the time base points of the system members to work. The system member clock will drift with time, when the clock drift exceeds a certain range, the clock synchronization can not be realized, the system member will be off-line and can not work synchronously, and the whole system will finally be paralyzed. Therefore, for a TDMA communication system which works in a TDMA working mode, particularly in a networking mode, how to perform time calibration on system members is particularly important to ensure that system member clocks are accurately synchronized with system time reference clocks.
Disclosure of Invention
The invention mainly solves the technical problem of how to realize the clock synchronization among all member devices in the system with high precision.
The invention provides a system clock synchronization method, which is used for clock synchronization between non-reference member equipment and reference member equipment in a system and comprises the following steps:
the non-reference member device sends a query message to the reference member device at its assigned query time point t 1;
after receiving the inquiry message at the time point t2, the reference member device transmits a response message to the non-reference member device at a response time point t3 assigned thereto;
the non-reference member device receives the reply message at time point t 4;
calculating a first time error Δ t1 according to the time point t1, the time point t2, the time point t3 and the time point t 4;
and performing first timing on the non-reference member device according to the first time error delta t1 to realize clock synchronization between the non-reference member device and the reference member device.
Further, the first time error Δ t1 is calculated by the equation one:
where, T1 is T2, T2 is T4-T1, and Td is the interval between sending the query message and sending the response message.
Further, still include:
constructing a timing model according to the time error delta T and a preset timing period T1;
obtaining a second time error delta t2 according to the timing model;
a second comparison is made to the non-reference member device after the first timing end time T2 based on the second time error at 2.
Further, the timing model is as follows:
Δ T2 ═ kt + T equation two
Where T is a first timing cycle of the non-reference member device, k is a clock drift per unit time, and T is a delay time.
Further, the first timing period is 200-300 ms.
Further, the delay time T is the sum of the delay time of the system transmitting channel, the delay time of the receiving channel and the delay time of the pseudo code synchronization pulse.
Further, the time T2 is less than the first timing period of the non-reference member device.
Compared with the prior art, the invention has the beneficial effects that:
in the system time correction time, active time correction is not carried out, clock drift errors of the non-reference member devices are pre-corrected in advance according to a certain rule, and the time errors of the non-reference member devices and the reference member devices are corrected twice, so that the accurate synchronization of clocks among members in a system network is realized.
Drawings
FIG. 1 is a flow chart of a method of system clock synchronization;
FIG. 2 is a schematic diagram of system clock synchronization according to an embodiment;
FIG. 3 is a block diagram of a process for measuring the delay time of a transmit channel according to an embodiment;
FIG. 4 is a block diagram of a process for measuring the delay time of a receive channel according to one embodiment;
fig. 5 is a flowchart of measuring the delay time of the pseudo code sync pulse according to an embodiment.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings. Wherein like elements in different embodiments are numbered with like associated elements. In the following description, numerous details are set forth in order to provide a better understanding of the present application. However, those skilled in the art will readily recognize that some of the features may be omitted or replaced with other elements, materials, methods in different instances. In some instances, certain operations related to the present application have not been shown or described in detail in order to avoid obscuring the core of the present application from excessive description, and it is not necessary for those skilled in the art to describe these operations in detail, so that they may be fully understood from the description in the specification and the general knowledge in the art.
The first embodiment is as follows:
referring to fig. 1, the present embodiment provides a system clock synchronization method for clock synchronization between a non-reference member device and a reference member device in a system, including:
104, calculating a first time error delta t1 according to the time point t1, the time point t2, the time point t3 and the time point t 4;
and 105, performing first timing on the non-reference member device according to the first time error delta t1 to realize clock synchronization between the non-reference member device and the reference member device.
As can be seen from fig. 2, there is a first time error Δ t1 between the non-reference member device and the reference member device, which is obtained by the way that the non-reference member device sends the inquiry message and the reference member device sends the response message after receiving the inquiry message.
The first time error Δ t1 is calculated by the equation one:
where, T1 is T2, T2 is T4-T1, and Td is the interval between sending the query message and sending the response message.
Through the first time error delta t1 obtained by the active timing, the non-reference member device realizes clock synchronization with the reference member device. The non-reference member equipment can finish the accurate synchronization of the clock once by performing the active timing once, and in each first timing cycle (time element), each non-reference member equipment can be ensured to finish the accurate synchronization of the equipment clock by performing the active timing at least once.
Example two:
because each non-reference member device in the system generally performs timing only once in the corresponding first timing period, and the timing accuracy is poor, this embodiment further includes, on the basis of the first embodiment:
constructing a timing model according to the time error and a preset timing period T1;
obtaining a second time error delta t2 according to the timing model;
a second comparison is made to the non-reference member device after the first timing end time T2 based on the second time error at 2.
In this embodiment, the timing model is as follows:
Δ T2 ═ kt + T equation two
Where T is a first timing cycle of the non-reference member device, k is a clock drift per unit time, and T is a delay time.
In one embodiment, the first timing period is 200-300 ms.
The delay time T is the sum of the delay time of a system transmitting channel, the delay time of a receiving channel and the delay time of a pseudo code synchronous pulse. The delay time is basically a fixed value under the condition that the hardware design is consistent, and the delay time T can be obtained through measurement of a plurality of samples and probability statistical analysis.
For example, the delay time of the transmission channel can be obtained by the method shown in fig. 3, which generates a radio frequency signal by a radio frequency signal generator, obtains a radio frequency signal coupling detection after the radio frequency signal passes through the transmission channel, and obtains the delay time of the transmission channel by starting/stopping a timer.
The delay time of the receiving channel can be obtained by the method shown in fig. 4, which generates a radio frequency signal by a radio frequency signal generator, generates a pseudo code synchronous timing pulse after the radio frequency signal passes through the receiving channel, and obtains the delay time of the receiving transmitting channel by starting/stopping a timer for timing.
The pseudo code synchronization pulse delay time can be obtained by the method shown in fig. 5, after the pseudo code digital baseband is generated, the digital demodulator generates a pseudo code synchronization signal, and then the start/stop timer is used for timing to obtain the pseudo code synchronization pulse delay time of the receiving transmission channel.
Time T2 is less than the first timing period of the non-reference member device. In one embodiment, time T2 is less than 10ns to 20 ns.
The present invention has been described in terms of specific examples, which are provided to aid understanding of the invention and are not intended to be limiting. For a person skilled in the art to which the invention pertains, several simple deductions, modifications or substitutions may be made according to the idea of the invention.
Claims (7)
1. A system clock synchronization method for clock synchronization between a non-reference member device and a reference member device in a system, comprising:
the non-reference member device sends a query message to the reference member device at its assigned query time point t 1;
after receiving the inquiry message at the time point t2, the reference member device transmits a response message to the non-reference member device at a response time point t3 assigned thereto;
the non-reference member device receives the reply message at time point t 4;
calculating a first time error Δ t1 according to the time point t1, the time point t2, the time point t3 and the time point t 4;
and performing first timing on the non-reference member device according to the first time error delta t1 to realize clock synchronization between the non-reference member device and the reference member device.
3. The method for synchronizing system clocks according to claim 1, further comprising:
constructing a timing model according to the time error delta T and a preset timing period T1;
obtaining a second time error delta t2 according to the timing model;
a second comparison is made to the non-reference member device after the first timing end time T2 based on the second time error at 2.
4. The method for synchronizing system clocks according to claim 3, wherein said timing model has the equation two:
Δ T2 ═ kt + T equation two
Where T is a first timing cycle of the non-reference member device, k is a clock drift per unit time, and T is a delay time.
5. The method for synchronizing system clocks according to claim 4, wherein the first timing period is 200-300 ms.
6. The method for synchronizing system clocks according to claim 4, wherein said delay time T is the sum of the system transmission channel delay time, the reception channel delay time and the pseudo code synchronization pulse delay time.
7. The method of system clock synchronization of claim 4, wherein the time T2 is less than a first timing period of a non-reference member device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911259951.XA CN111107623A (en) | 2019-12-10 | 2019-12-10 | System clock synchronization method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911259951.XA CN111107623A (en) | 2019-12-10 | 2019-12-10 | System clock synchronization method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111107623A true CN111107623A (en) | 2020-05-05 |
Family
ID=70422849
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911259951.XA Pending CN111107623A (en) | 2019-12-10 | 2019-12-10 | System clock synchronization method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111107623A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112019290A (en) * | 2020-08-30 | 2020-12-01 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Multi-antenna system time synchronization method |
CN113891451A (en) * | 2021-10-28 | 2022-01-04 | 安徽奇智科技有限公司 | High-precision clock synchronization method between base stations |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101330374A (en) * | 2007-06-18 | 2008-12-24 | 大唐移动通信设备有限公司 | Method and system for synchronizing clock of transmission network as well as subordinate clock side entity |
CN101655686A (en) * | 2008-08-21 | 2010-02-24 | 联发科技股份有限公司 | Method and apparatus for compensating clock bias |
CN102738573A (en) * | 2012-06-09 | 2012-10-17 | 陕西凌云电器集团有限公司 | Airborne navigation antenna |
CN103138828A (en) * | 2013-02-07 | 2013-06-05 | 航天恒星科技有限公司 | Network node clock synchronization method and clock synchronization network |
CN104079364A (en) * | 2014-06-19 | 2014-10-01 | 北京航空航天大学 | Distributed real-time test system clock synchronization method |
CN104170480A (en) * | 2012-03-16 | 2014-11-26 | 高通股份有限公司 | Access point synchronization with cooperative mobile devices |
CN104468072A (en) * | 2014-12-04 | 2015-03-25 | 中国航空工业集团公司第六三一研究所 | IMA platform clock synchronization method |
CN104507156A (en) * | 2014-12-17 | 2015-04-08 | 西南大学 | Improved method for time synchronization based on IEEE 1588 PTP mechanism for wireless network |
CN104918319A (en) * | 2014-03-13 | 2015-09-16 | 北方工业大学 | Clock synchronization simplified information exchange method applied to wireless sensor network |
CN108111510A (en) * | 2017-12-20 | 2018-06-01 | 北京航空航天大学 | A kind of in-vehicle network intrusion detection method and system |
WO2019109270A1 (en) * | 2017-12-06 | 2019-06-13 | 南通朗恒通信技术有限公司 | Method and apparatus in communication node in wireless communications |
CN110324889A (en) * | 2018-03-30 | 2019-10-11 | 华为技术有限公司 | Clock synchronizing method, communication device and communication equipment |
-
2019
- 2019-12-10 CN CN201911259951.XA patent/CN111107623A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101330374A (en) * | 2007-06-18 | 2008-12-24 | 大唐移动通信设备有限公司 | Method and system for synchronizing clock of transmission network as well as subordinate clock side entity |
CN101655686A (en) * | 2008-08-21 | 2010-02-24 | 联发科技股份有限公司 | Method and apparatus for compensating clock bias |
CN104170480A (en) * | 2012-03-16 | 2014-11-26 | 高通股份有限公司 | Access point synchronization with cooperative mobile devices |
CN102738573A (en) * | 2012-06-09 | 2012-10-17 | 陕西凌云电器集团有限公司 | Airborne navigation antenna |
CN103138828A (en) * | 2013-02-07 | 2013-06-05 | 航天恒星科技有限公司 | Network node clock synchronization method and clock synchronization network |
CN104918319A (en) * | 2014-03-13 | 2015-09-16 | 北方工业大学 | Clock synchronization simplified information exchange method applied to wireless sensor network |
CN104079364A (en) * | 2014-06-19 | 2014-10-01 | 北京航空航天大学 | Distributed real-time test system clock synchronization method |
CN104468072A (en) * | 2014-12-04 | 2015-03-25 | 中国航空工业集团公司第六三一研究所 | IMA platform clock synchronization method |
CN104507156A (en) * | 2014-12-17 | 2015-04-08 | 西南大学 | Improved method for time synchronization based on IEEE 1588 PTP mechanism for wireless network |
WO2019109270A1 (en) * | 2017-12-06 | 2019-06-13 | 南通朗恒通信技术有限公司 | Method and apparatus in communication node in wireless communications |
CN108111510A (en) * | 2017-12-20 | 2018-06-01 | 北京航空航天大学 | A kind of in-vehicle network intrusion detection method and system |
CN110324889A (en) * | 2018-03-30 | 2019-10-11 | 华为技术有限公司 | Clock synchronizing method, communication device and communication equipment |
Non-Patent Citations (1)
Title |
---|
范扬发 等: "减少高频部分EMI低噪声电路设计", 《科技论坛》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112019290A (en) * | 2020-08-30 | 2020-12-01 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Multi-antenna system time synchronization method |
CN112019290B (en) * | 2020-08-30 | 2022-07-08 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Multi-antenna system time synchronization method |
CN113891451A (en) * | 2021-10-28 | 2022-01-04 | 安徽奇智科技有限公司 | High-precision clock synchronization method between base stations |
CN113891451B (en) * | 2021-10-28 | 2023-10-13 | 安徽奇智科技有限公司 | High-precision clock synchronization method between base stations |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2952046B1 (en) | Frequency offset compensation for wifi ranging | |
KR101749202B1 (en) | Method, apparatus, and system for generating timestamp | |
US8335173B2 (en) | Inserting time of departure information in frames to support multi-channel location techniques | |
US7492316B1 (en) | Wireless time reference system and method | |
KR102188552B1 (en) | Wireless communication system, wireless terminal and time synchronization method | |
US6658025B2 (en) | Synchronization in packet-switched telecommunications system | |
CN107257579B (en) | Time synchronization method of UWB high-precision positioning system | |
US20040093435A1 (en) | Method for synchronizing a first clock to a second clock, processing unit and synchronization system | |
EP1992964A2 (en) | Method for reducing errors in two-way ranging between two transceivers due to a clock frequency offset | |
US11153838B1 (en) | Time synchronization enhancements for integrated 5G-TSN networking | |
US10440598B2 (en) | Methods and apparatus for clock drift mitigation with snoop-based ranging | |
US11252687B2 (en) | Remote signal synchronization | |
CN111711948B (en) | Method and system for acquiring high-precision time from 5G base station through air interface | |
WO2017054554A1 (en) | Clock synchronization method, device, and communication apparatus | |
CN106572528B (en) | Clock synchronization method and device | |
CN111107623A (en) | System clock synchronization method | |
WO2016177090A1 (en) | Clock synchronization method and device | |
CN107483136A (en) | A kind of clock synchronizing method between fixed communication apparatus | |
CN103684358A (en) | Sampling pulse generation method and device | |
WO2022021010A1 (en) | Method and apparatus for clock synchronization in wireless network | |
CN104780602A (en) | Clock self-synchronizing method in wireless communication network | |
CN105960820A (en) | Synchronization device and method | |
KR20200122291A (en) | How to determine the distance between two nodes | |
KR102064575B1 (en) | Method, apparatus, system and computer program for enhancing the accuracy of Time Synchronization between devices | |
CN114885414A (en) | Algorithm for increasing time synchronization precision |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200505 |
|
RJ01 | Rejection of invention patent application after publication |