WO2012058897A1 - Device for compensating clock delay and synchronization method for clock delay compensation - Google Patents
Device for compensating clock delay and synchronization method for clock delay compensation Download PDFInfo
- Publication number
- WO2012058897A1 WO2012058897A1 PCT/CN2011/072196 CN2011072196W WO2012058897A1 WO 2012058897 A1 WO2012058897 A1 WO 2012058897A1 CN 2011072196 W CN2011072196 W CN 2011072196W WO 2012058897 A1 WO2012058897 A1 WO 2012058897A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- clock
- circuit
- signal
- compensation
- synchronization
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G7/00—Synchronisation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
- G06F1/10—Distribution of clock signals, e.g. skew
Definitions
- the present invention relates to the field of clock synchronization in a sub-master clock system, and more particularly to an apparatus for realizing clock push compensation and a clock post-compensation synchronization method.
- the single-item comparison method is an important method for clock synchronization in a sub-master clock system.
- the clock synchronization process is as follows:
- the first step at T.
- the standard clock transmits a clock synchronization signal to the calibrated clock through the communication system.
- the calibrated clock receives the clock synchronization signal and records the reception time stamp, wherein the actual time of the clock synchronization signal received by the calibrated clock is ⁇ but the time of recording and reception is ⁇ 2 , A time stamp error t is generated in the step.
- the calibrated clock performs signal processing such as decoding, filtering, and verification, and a signal processing time t ' is generated in this step.
- the technical problem to be solved by the present invention is to provide a synchronous time precision high clock post-compensation device and a method for performing clock post-compensation synchronization using the device.
- the technical solution of the clock post-compensation device is as follows: including a first trigger circuit, a push-back compensation circuit, a second trigger circuit, a crystal oscillator, and a time output circuit;
- the body oscillator is respectively connected to the time output circuit and the push-back compensation circuit, and the push-back compensation circuit is further connected to the first trigger circuit and the second trigger circuit, respectively, and the second trigger circuit further Connected to the time output circuit;
- the crystal oscillator is configured to provide a stable clock frequency to the time output circuit and the push-back compensation circuit;
- the first trigger circuit is configured to receive a synchronization signal sent by a standard clock, and reduce a pulse width of the synchronization signal to trigger the push-back compensation circuit;
- the push-back compensation circuit is configured to count the post-reduction compensation time T d of the synchronization signal
- the second trigger circuit is configured to receive a signal output by the push-back compensation circuit, and reduce a pulse width of the signal, and trigger the time output circuit;
- the time output circuit is configured to output the compensated synchronization signal.
- the clock post-compensation device further includes a filter circuit, and the filter circuit is connected to the first trigger circuit.
- the filtering circuit is configured to receive a synchronization signal sent by the standard clock, filter the interference signal, and send the signal to the first trigger circuit.
- a clock post-compensation synchronization method wherein the clock is synchronized by the following steps:
- Step 1 preset the post-push compensation time T d ;
- Step 2 determining whether a synchronization signal is received: if received, starting the post-push compensation circuit inside the calibrated clock, and then performing step 3; otherwise, continuing to monitor reception;
- Step 3 The calibrated clock performs signal processing
- Step 4 Determine whether the T d is reached : if it has arrived, perform step 5; otherwise, continue to monitor and judge;
- Step 5 Adjust the synchronization time of the clock to be calibrated according to the T d to complete clock synchronization. Further, the T d is not less than the time when the step 3 performs signal processing. Further, while the calibrated clock performs signal processing, it also determines whether the signal triggering the push-back compensation circuit is an interference signal:
- the interference signal is then to be adjusted by the synchronization time T of the calibration according to the clock d T d after arrival.
- the interference signal is judged by the pulse width ratio comparison method: if the pulse width value of the signal for triggering the push-back compensation circuit is greater than the preset pulse width value, it is an interference signal; otherwise, the synchronization signal is.
- FIG. 1 is a schematic structural view of a clock post-compensation device according to the present invention
- FIG. 2 is another schematic structural diagram of a clock post-compensation device according to the present invention.
- FIG. 3 is a schematic flow chart of a clock post-compensation synchronization method according to the present invention.
- FIG. 4 is a schematic flow chart of another method for clock post-compensation synchronization according to the present invention.
- FIG. 5 is a timing diagram of a process of a clock synchronization method according to the present invention.
- the clock post-compensation device includes a first flip-flop circuit 100, a post-push compensation circuit 200, a second flip-flop circuit 300, a crystal oscillator 400, and a time output circuit 500.
- the crystal oscillator 400 is connected to the time output circuit 500 and the post-compensation circuit 200, respectively, and the post-compensation circuit 200 is also connected to the first trigger circuit 100 and the second trigger circuit 300, respectively.
- the second trigger circuit 300 is also coupled to the time output circuit 500.
- the crystal oscillator 400 is configured to provide a stable clock frequency to the time output circuit 500 and the post-compensation circuit 200.
- the first trigger circuit 100 is configured to receive the synchronization signal sent by the standard clock, and reduce the pulse width of the synchronization signal.
- the post-push compensation circuit 200 is triggered; the post-compensation circuit 200 is configured to count the post-compensation time T d of the synchronization signal; and the second trigger circuit 300 is configured to receive the signal output by the post-compensation circuit 200 and reduce the signal.
- the clock post-compensation device further includes a filter circuit 600 connected to the first flip-flop circuit 100.
- the filter circuit 600 is configured to receive the synchronization signal sent by the standard clock, filter the interference signal, and send the signal to the first trigger circuit 100.
- a clock post-compensation synchronization method is further provided.
- the clock of the calibrated clock of the clock post-compensation device is installed according to the following steps, as shown in FIG. 3: Step 1: Pre-suppressed Compensation time T d ;
- Step 2 Determine whether a synchronization signal is received: If received, start the post-compensation circuit inside the calibrated clock, and then perform step 3; otherwise, continue to monitor reception;
- Step 3 The signal is processed by the calibrated clock
- Step 4 Determine whether T d is reached : If it has arrived, proceed to step 5; otherwise, continue to monitor and judge;
- Step 5 Adjust the synchronization time of the clock to be calibrated according to T d to complete the clock synchronization.
- T d should be no less than the time for signal processing in step 3.
- the post-reduction compensation time T d can be set by the following method: 1.
- the synchronization signal input to the clock post-compensation device is a general signal
- T d lT.
- the power supply or the transmission line inside the calibrated clock while the calibrated clock performs the signal processing of step 3, it may further determine whether the signal triggering the post-compensation circuit is the above-mentioned interference signal. : if the interference signal, until after T d continues to wait for arrival returns to the step 2 receives the synchronization signal; if T d is based on the time alignment adjustment is synchronized clock signal after the interference, the T d until arrival.
- the interference signal can be judged by the pulse width ratio method: if the pulse width value of the signal of the triggering compensation circuit is greater than the preset pulse width value, it is an interference signal; otherwise, it is a synchronization signal.
- the Global Navigation Positioning System is equipped with four high-precision atomic clocks per satellite. It is not only a precise positioning system, but also transmits high-precision time information.
- the GPS signal solving device receives different navigation satellite signals through the GPS antenna, and solves these signals to obtain time information such as year, month, and day, and PPS signals, and sends them to the user, that is, the clock to be calibrated.
- the PPS signal is a pulse signal, Its edge is aligned with the whole second, which is an important signal to ensure the accuracy of clock synchronization.
- the clock post-compensation device receives the PPS signal, because the signal may have interference pulse noise after being transmitted over a long distance.
- the filter circuit 600 first filters out the clutter and eliminates Interference, the time for filtering processing here is T.
- the falling edge can stop the trigger.
- the pulse width is too large, the high-level signal will continuously trigger the push-back compensation circuit 200, so the first step is required. the trigger circuit PPS signal into a narrow pulse output sharp, precise compensation circuit 200 is triggered, pushing the push compensation time counted after the PPS signal T d.
- the calibrated clock performs signal processing steps such as decoding, filtering, and verifying; at the same time, the calibrated clock further verifies the signal triggering the post-compensation circuit to prevent the interfering signal from impersonating the PPS signal. Specifically, it can be performed by: setting a counter, starting from the rising edge of the signal to start counting, and stopping the counting on the falling edge, then the pulse width of the signal is saved in the counter, if the pulse width value is not greater than the preset pulse width value , it is considered to be a PPS signal.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
- Electric Clocks (AREA)
Abstract
Description
时钟推后补偿装置及时钟推后补偿同步方法 Clock post-compensation device and clock post-compensation synchronization method
技术领域 本发明涉及子母钟系统中的时钟同步领域,尤其涉及一种可实现时钟推 后补偿的装置及时钟推后补偿同步方法。 背景技术 单项比较法是目前子母钟系统中进行时钟同步的重要方法, 时钟同步过 程如下: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the field of clock synchronization in a sub-master clock system, and more particularly to an apparatus for realizing clock push compensation and a clock post-compensation synchronization method. BACKGROUND OF THE INVENTION The single-item comparison method is an important method for clock synchronization in a sub-master clock system. The clock synchronization process is as follows:
第一步, 在 T。时刻, 标准时钟通过通信系统向被校准时钟发送时钟同步 信号。 第二步, 经传输延迟 d后, 被校准时钟接收上述时钟同步信号, 并记 录接收时间戳, 其中, 被校准时钟接收时钟同步信号的实际时间为 τ 但记 录接收的时间为 τ2, 故本步骤中会产生一个时间戳误差 t。 第三步, 被校准 时钟进行解码、 滤波、 校验等信号处理, 则在本步骤中会产生一个信号处理 时间 t '。 第四步, 调整被校准时钟的同步时间 T3=T。+d; 其中, 传输延迟 d 已知, 但时间戳误差 t、 信号处理时间 都 ^艮难测量和估算, 故由本时钟 同步方法获得的同步时间精度差, 参见图 5。 这样被校准时钟与标准时钟之 间的误差较大, 不适用于核电、 高铁、 车站、 机场等对时钟精确性要求较高 的场所。 发明内容 本发明所要解决的技术问题是提供一种同步时间精度高时钟推后补偿 装置及利用该装置进行时钟推后补偿同步的方法。 The first step, at T. At the moment, the standard clock transmits a clock synchronization signal to the calibrated clock through the communication system. In the second step, after the transmission delay d, the calibrated clock receives the clock synchronization signal and records the reception time stamp, wherein the actual time of the clock synchronization signal received by the calibrated clock is τ but the time of recording and reception is τ 2 , A time stamp error t is generated in the step. In the third step, the calibrated clock performs signal processing such as decoding, filtering, and verification, and a signal processing time t ' is generated in this step. In the fourth step, the synchronization time of the calibrated clock is adjusted to T 3 =T. +d; where the transmission delay d is known, but the time stamp error t and the signal processing time are both difficult to measure and estimate, so the synchronization time accuracy obtained by the clock synchronization method is poor, see FIG. The error between the calibrated clock and the standard clock is large, and it is not suitable for places with high clock accuracy requirements such as nuclear power, high-speed rail, stations, and airports. SUMMARY OF THE INVENTION The technical problem to be solved by the present invention is to provide a synchronous time precision high clock post-compensation device and a method for performing clock post-compensation synchronization using the device.
作为本发明的一方面, 时钟推后补偿装置技术方案如下: 包括第一触发 电路、 推后补偿电路、 第二触发电路、 晶体振荡器、 时间输出电路; 所述晶 体振荡器分别与所述时间输出电路、 所述推后补偿电路相连, 所述推后补偿 电路还分别与所述第一触发电路、 所述第二触发电路相连, 所述第二触发电 路还与所述时间输出电路相连; 其中, As an aspect of the present invention, the technical solution of the clock post-compensation device is as follows: including a first trigger circuit, a push-back compensation circuit, a second trigger circuit, a crystal oscillator, and a time output circuit; The body oscillator is respectively connected to the time output circuit and the push-back compensation circuit, and the push-back compensation circuit is further connected to the first trigger circuit and the second trigger circuit, respectively, and the second trigger circuit further Connected to the time output circuit; wherein
所述晶体振荡器,用于向所述时间输出电路和所述推后补偿电路提供稳 定时钟频率; The crystal oscillator is configured to provide a stable clock frequency to the time output circuit and the push-back compensation circuit;
所述第一触发电路, 用于接收标准时钟发送来的同步信号, 并减小所述 同步信号的脉宽, 触发所述推后补偿电路; The first trigger circuit is configured to receive a synchronization signal sent by a standard clock, and reduce a pulse width of the synchronization signal to trigger the push-back compensation circuit;
所述推后补偿电路, 用于计数所述同步信号的推后补偿时间 Td; The push-back compensation circuit is configured to count the post-reduction compensation time T d of the synchronization signal;
所述第二触发电路, 用于接收所述推后补偿电路输出的信号, 并减小该 信号的脉宽, 触发所述时间输出电路; The second trigger circuit is configured to receive a signal output by the push-back compensation circuit, and reduce a pulse width of the signal, and trigger the time output circuit;
所述时间输出电路, 用于输出补偿后的同步信号。 The time output circuit is configured to output the compensated synchronization signal.
进一步地, 所述时钟推后补偿装置还包括滤波电路, 所述滤波电路与所述第 一触发电路相连, Further, the clock post-compensation device further includes a filter circuit, and the filter circuit is connected to the first trigger circuit.
所述滤波电路, 用于接收所述标准时钟发送来的同步信号, 滤除干扰信 号后发送至所述第一触发电路。 The filtering circuit is configured to receive a synchronization signal sent by the standard clock, filter the interference signal, and send the signal to the first trigger circuit.
作为本发明的另一方面, 还提供一种时钟推后补偿同步方法, 被校准时 钟按照以下步骤实现时钟同步: As another aspect of the present invention, there is also provided a clock post-compensation synchronization method, wherein the clock is synchronized by the following steps:
步骤 1 : 预设推后补偿时间 Td; Step 1: preset the post-push compensation time T d ;
步骤 2 : 判断是否接收到同步信号: 若接收到, 则启动所述被校准时钟 内部的推后补偿电路, 然后执行步骤 3 ; 否则继续监测接收; Step 2: determining whether a synchronization signal is received: if received, starting the post-push compensation circuit inside the calibrated clock, and then performing step 3; otherwise, continuing to monitor reception;
步骤 3 : 所述被校准时钟进行信号处理; Step 3: The calibrated clock performs signal processing;
步骤 4 : 判断是否到达所述 Td: 若已到达, 则执行步骤 5 ; 否则继续监 测判断; Step 4: Determine whether the T d is reached : if it has arrived, perform step 5; otherwise, continue to monitor and judge;
步骤 5 : 根据所述 Td调整被校准时钟的同步时间, 完成时钟同步。 进一步地, 所述 Td不小于所述步骤 3进行信号处理的时间。 进一步地, 所述被校准时钟进行信号处理的同时, 还判断触发所述推后 补偿电路的信号是否为干扰信号: Step 5: Adjust the synchronization time of the clock to be calibrated according to the T d to complete clock synchronization. Further, the T d is not less than the time when the step 3 performs signal processing. Further, while the calibrated clock performs signal processing, it also determines whether the signal triggering the push-back compensation circuit is an interference signal:
若是干扰信号,则待所述 Td到达后返回所述步骤 2继续等待接收所述同 步信号; If it is an interference signal, return to the step 2 after the T d arrives and continue to wait for receiving the synchronization signal;
若不是干扰信号,则待所述 Td到达后依据所述 Td调整所述被校准时钟的 同步时间。 If the interference signal is then to be adjusted by the synchronization time T of the calibration according to the clock d T d after arrival.
进一步地, 通过脉宽比对法进行干扰信号判断: 若触发所述推后补偿电 路的信号的脉宽值大于预设脉宽值则为干扰信号; 否则为所述同步信号。 Further, the interference signal is judged by the pulse width ratio comparison method: if the pulse width value of the signal for triggering the push-back compensation circuit is greater than the preset pulse width value, it is an interference signal; otherwise, the synchronization signal is.
本发明的有益效果是: 提供一种时钟推后补偿装置以及利用该装置进行 时钟推后补偿同步的方法,本发明技术方案的时钟同步精度高,适用于核电、 高铁、 车站、 机场等对时钟精确性要求较高的场所。 附图说明 图 1为本发明时钟推后补偿装置的结构示意图; The invention has the beneficial effects of providing a clock post-compensation device and a method for performing clock post-compensation synchronization by using the device. The clock synchronization precision of the technical solution of the invention is high, and is suitable for clocks of nuclear power, high-speed rail, station, airport, etc. A place with high precision requirements. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic structural view of a clock post-compensation device according to the present invention;
图 2 为本发明时钟推后补偿装置的另一种结构示意图; 2 is another schematic structural diagram of a clock post-compensation device according to the present invention;
图 3为本发明时钟推后补偿同步方法的流程示意图; 3 is a schematic flow chart of a clock post-compensation synchronization method according to the present invention;
图 4为本发明时钟推后补偿同步方法的另一种流程示意图; 4 is a schematic flow chart of another method for clock post-compensation synchronization according to the present invention;
图 5为本发明的时钟同步方法处理过程的时序示意图。 具体实施方式 以下结合附图对本发明的原理和特征进行描述, 所举实例只用于解释本 发明, 并非用于限定本发明的范围。 FIG. 5 is a timing diagram of a process of a clock synchronization method according to the present invention. The principles and features of the present invention are described below in conjunction with the accompanying drawings, which are intended to illustrate the invention and not to limit the scope of the invention.
作为本发明的一方面, 如图 1所示, 时钟推后补偿装置包括第一触发电 路 100、 推后补偿电路 200、 第二触发电路 300、 晶体振荡器 400、 时间输出 电路 500。 晶体振荡器 400分别与时间输出电路 500、 推后补偿电路 200相 连,推后补偿电路 200还分别与第一触发电路 100、第二触发电路 300相连, 第二触发电路 300还与时间输出电路 500相连。 其中, 晶体振荡器 400 , 用 于向时间输出电路 500和推后补偿电路 200提供稳定时钟频率; 第一触发电 路 100 , 用于接收标准时钟发送来的同步信号, 并减小同步信号的脉宽, 触 发推后补偿电路 200; 推后补偿电路 200 , 用于计数同步信号的推后补偿时 间 Td; 第二触发电路 300 , 用于接收推后补偿电路 200输出的信号, 并减小 该信号的脉宽, 触发时间输出电路 500; 时间输出电路 500 , 用于输出补偿 后的同步信号。 As an aspect of the present invention, as shown in FIG. 1, the clock post-compensation device includes a first flip-flop circuit 100, a post-push compensation circuit 200, a second flip-flop circuit 300, a crystal oscillator 400, and a time output circuit 500. The crystal oscillator 400 is connected to the time output circuit 500 and the post-compensation circuit 200, respectively, and the post-compensation circuit 200 is also connected to the first trigger circuit 100 and the second trigger circuit 300, respectively. The second trigger circuit 300 is also coupled to the time output circuit 500. The crystal oscillator 400 is configured to provide a stable clock frequency to the time output circuit 500 and the post-compensation circuit 200. The first trigger circuit 100 is configured to receive the synchronization signal sent by the standard clock, and reduce the pulse width of the synchronization signal. The post-push compensation circuit 200 is triggered; the post-compensation circuit 200 is configured to count the post-compensation time T d of the synchronization signal; and the second trigger circuit 300 is configured to receive the signal output by the post-compensation circuit 200 and reduce the signal. The pulse width, the trigger time output circuit 500; the time output circuit 500, for outputting the compensated synchronization signal.
如图 2所示, 时钟推后补偿装置还包括滤波电路 600 , 滤波电路 600与 第一触发电路 100相连。 其中, 滤波电路 600 , 用于接收标准时钟发送来的 同步信号, 滤除干扰信号后发送至第一触发电路 100。 As shown in FIG. 2, the clock post-compensation device further includes a filter circuit 600 connected to the first flip-flop circuit 100. The filter circuit 600 is configured to receive the synchronization signal sent by the standard clock, filter the interference signal, and send the signal to the first trigger circuit 100.
作为本发明的另一方面, 还提供一种时钟推后补偿同步方法, 安装上述 时钟推后补偿装置的被校准时钟按照以下步骤实现时钟同步, 如图 3所示: 步骤 1 : 预设推后补偿时间 Td; As another aspect of the present invention, a clock post-compensation synchronization method is further provided. The clock of the calibrated clock of the clock post-compensation device is installed according to the following steps, as shown in FIG. 3: Step 1: Pre-suppressed Compensation time T d ;
步骤 2: 判断是否接收到同步信号: 若接收到, 则启动被校准时钟内部 的推后补偿电路, 然后执行步骤 3; 否则继续监测接收; Step 2: Determine whether a synchronization signal is received: If received, start the post-compensation circuit inside the calibrated clock, and then perform step 3; otherwise, continue to monitor reception;
步骤 3: 被校准时钟进行信号处理; Step 3: The signal is processed by the calibrated clock;
步骤 4: 判断是否到达 Td: 若已到达, 则执行步骤 5 ; 否则继续监测判 断; Step 4: Determine whether T d is reached : If it has arrived, proceed to step 5; otherwise, continue to monitor and judge;
步骤 5 : 根据 Td调整被校准时钟的同步时间, 完成时钟同步。 Step 5: Adjust the synchronization time of the clock to be calibrated according to T d to complete the clock synchronization.
因为在实际应用中, 时间戳误差 t、 信号处理时间 都很难测量和估 算, 本发明通过设定一可知的推后补偿时间 Td来消除同步过程中的时钟误 差, T3=T0+d+Td, 参见图 5。 Since in the practical application, the time stamp error t and the signal processing time are difficult to measure and estimate, the present invention eliminates the clock error in the synchronization process by setting a known post-reduction compensation time T d , T 3 =T 0 + d+T d , see Figure 5.
进一步地, 为保证时钟同步的精确性, Td应不小于步骤 3进行信号处理 的时间。 Further, in order to ensure the accuracy of clock synchronization, T d should be no less than the time for signal processing in step 3.
在本发明技术方案中, 可通过以下方法设定推后补偿时间 Td: 1.输入到时钟推后补偿装置的同步信号为一般信号时, 则首先估算本被 校准时钟进行信号解码、 滤波、 验证等信号处理的时间 T ' , 推后补偿时间 Td只要满足 Td> T '即可, 为了提高可靠性, 可将 Td与 T '二者之差设置的稍 大些。 In the technical solution of the present invention, the post-reduction compensation time T d can be set by the following method: 1. When the synchronization signal input to the clock post-compensation device is a general signal, first estimate the time T′ of the signal processing such as signal decoding, filtering, and verification of the clock to be calibrated, and the post-reduction compensation time T d is satisfied as long as T d > T 'Yes, in order to improve the reliability, the difference between T d and T ' can be set slightly larger.
2.输入到时钟推后补偿装置的同步信号为 PPS信号时, 则只测量 PPS信 号进行滤波处理的时间 T即可, Td为整秒与滤波处理时间 T之差,即 Td=l-T。 2. When the synchronization signal input to the clock post-compensation device is the PPS signal, only the time T of the PPS signal for filtering processing can be measured, and T d is the difference between the whole second and the filter processing time T, that is, T d = lT.
此外, 为了消除被校准时钟内部的元器件、 电源或者传输线上产生的尖 脉沖干扰, 在被校准时钟进行步骤 3信号处理的同时, 还可进一步判断触发 推后补偿电路的信号是否为上述干扰信号: 若是干扰信号, 则待 Td到达后返 回步骤 2继续等待接收同步信号; 若不是干扰信号, 则待 Td到达后依据 Td 调整被校准时钟的同步时间。 In addition, in order to eliminate the spike interference generated by the components, the power supply or the transmission line inside the calibrated clock, while the calibrated clock performs the signal processing of step 3, it may further determine whether the signal triggering the post-compensation circuit is the above-mentioned interference signal. : if the interference signal, until after T d continues to wait for arrival returns to the step 2 receives the synchronization signal; if T d is based on the time alignment adjustment is synchronized clock signal after the interference, the T d until arrival.
因同步信号在传输过程中延迟时间的不确定性而导致推后补偿电路的 启动时间不确定,故被校准时钟只要接收到触发信号即启动推后补偿电路开 始倒计时,为了提高同步准确性,同时还要验证该触发信号是否为同步信号。 若是同步信号, 则待推后补偿电路计时完成后, 调整 T3=T。+d+Td; 若是干扰 信号, 则待推后补偿电路计时完成后, 丟弃信号处理结果, 重新等待接收同 步信号。 Due to the uncertainty of the delay time of the synchronization signal during transmission, the start-up time of the post-compensation circuit is uncertain. Therefore, the calibrated clock starts the post-push compensation circuit to start counting down as soon as the trigger signal is received, in order to improve the synchronization accuracy. Also verify that the trigger signal is a sync signal. If it is a synchronization signal, adjust T 3 =T after the timing of the post-push compensation circuit is completed. +d+T d ; If it is an interference signal, after the timing of the post-push compensation circuit is completed, the signal processing result is discarded, and the synchronization signal is re-waited.
上述验证触发信号步骤中可通过脉宽比对法进行干扰信号判断: 若触发 推后补偿电路的信号的脉宽值大于预设脉宽值则为干扰信号; 否则为同步信 号。 In the above step of verifying the trigger signal, the interference signal can be judged by the pulse width ratio method: if the pulse width value of the signal of the triggering compensation circuit is greater than the preset pulse width value, it is an interference signal; otherwise, it is a synchronization signal.
下面以 PPS信号为例, 对本发明技术方案进行详细描述。 The technical solution of the present invention will be described in detail below by taking the PPS signal as an example.
全球导航定位系统( GPS )每颗卫星装有 4台高精度原子钟,其不但是一 个精确定位系统,同时还能传递高精密时间信息。 GPS信号解算装置通过 GPS 天线接受不同导航卫星信号, 对这些信号进行解算, 得出年月日等时间信息 和 PPS信号, 并发送给用户, 即被校准时钟。 其中, PPS信号是个脉沖信号, 它的边沿对齐整秒时刻, 是保证时钟同步精度的重要信号。 本发明技术方案 进行时钟同步的步骤如下: The Global Navigation Positioning System (GPS) is equipped with four high-precision atomic clocks per satellite. It is not only a precise positioning system, but also transmits high-precision time information. The GPS signal solving device receives different navigation satellite signals through the GPS antenna, and solves these signals to obtain time information such as year, month, and day, and PPS signals, and sends them to the user, that is, the clock to be calibrated. Wherein, the PPS signal is a pulse signal, Its edge is aligned with the whole second, which is an important signal to ensure the accuracy of clock synchronization. The steps of the technical solution of the present invention for clock synchronization are as follows:
第一步, 时钟推后补偿装置接收 PPS信号, 因该信号在经过远距离传输 后可能存在干扰脉沖噪声, 为了避免该噪声对时钟同步精度的影响, 先由滤 波电路 600滤除杂波, 消除干扰, 此处进行滤波处理的时间为 T。 In the first step, the clock post-compensation device receives the PPS signal, because the signal may have interference pulse noise after being transmitted over a long distance. In order to avoid the influence of the noise on the clock synchronization accuracy, the filter circuit 600 first filters out the clutter and eliminates Interference, the time for filtering processing here is T.
第二步, 由于 PPS信号的上升沿可触发推后补偿电路 200 , 下降沿可停 止触发, 在脉宽过大时高电平信号会不断地触发推后补偿电路 200 , 故需通 过第一处触发电路将 PPS信号转化为窄的尖脉沖输出, 以精确触发推后补偿 电路 200来计数 PPS信号的推后补偿时间 Td。 In the second step, since the rising edge of the PPS signal can trigger the push-back compensation circuit 200, the falling edge can stop the trigger. When the pulse width is too large, the high-level signal will continuously trigger the push-back compensation circuit 200, so the first step is required. the trigger circuit PPS signal into a narrow pulse output sharp, precise compensation circuit 200 is triggered, pushing the push compensation time counted after the PPS signal T d.
第三步, 时间输出电路 500被第二触发电路 300输出的窄脉沖触发后, 输出补偿后的 PPS信号, 触发推后补偿电路依据 Td ( Td=l -T )进行延迟倒计 时。 In the third step, after the time output circuit 500 is triggered by the narrow pulse outputted by the second trigger circuit 300, the compensated PPS signal is output, and the trigger post-compensation circuit performs a delay countdown according to T d (T d = l - T ).
第四步,被校准时钟进行解码、 滤波、校验等信号处理步骤; 与此同时, 被校准时钟还对触发推后补偿电路的信号进一步验证, 以防止干扰信号冒充 PPS信号。 具体可通过以下方法进行: 设置一计数器, 由信号上升沿启动其 开始计数, 下降沿停止计数, 则计数器内保存的即为该信号的脉宽, 若该脉 宽值不大于预设脉宽值, 则认为其为 PPS信号。 In the fourth step, the calibrated clock performs signal processing steps such as decoding, filtering, and verifying; at the same time, the calibrated clock further verifies the signal triggering the post-compensation circuit to prevent the interfering signal from impersonating the PPS signal. Specifically, it can be performed by: setting a counter, starting from the rising edge of the signal to start counting, and stopping the counting on the falling edge, then the pulse width of the signal is saved in the counter, if the pulse width value is not greater than the preset pulse width value , it is considered to be a PPS signal.
第五步, 在 Td计数完成后, 调整待校准时钟的同步时间为 T3=T。+d+Td, 从而提高利用本发明技术方案进行时钟同步的时钟的同步精度。 In the fifth step, after the T d counting is completed, the synchronization time of the clock to be calibrated is adjusted to be T 3 =T. +d+T d , thereby improving the synchronization precision of the clock for clock synchronization using the technical solution of the present invention.
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明 的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发 明的保护范围之内。 The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 201010530210 CN101986218B (en) | 2010-11-03 | 2010-11-03 | Clock delay compensation device and clock delay compensation synchronization method |
| CN201010530210.3 | 2010-11-03 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2012058897A1 true WO2012058897A1 (en) | 2012-05-10 |
Family
ID=43710570
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2011/072196 Ceased WO2012058897A1 (en) | 2010-11-03 | 2011-03-29 | Device for compensating clock delay and synchronization method for clock delay compensation |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN101986218B (en) |
| WO (1) | WO2012058897A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101986218B (en) * | 2010-11-03 | 2011-12-28 | 烟台持久钟表集团有限公司 | Clock delay compensation device and clock delay compensation synchronization method |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6646929B1 (en) * | 2001-12-05 | 2003-11-11 | Lsi Logic Corporation | Methods and structure for read data synchronization with minimal latency |
| CN1855219A (en) * | 2005-04-20 | 2006-11-01 | 宏芯科技股份有限公司 | How to Adjust Synchronization in Digital Displays |
| CN1933581A (en) * | 2005-09-16 | 2007-03-21 | 上海乐金广电电子有限公司 | Synchronous signal compensating device |
| CN101986218A (en) * | 2010-11-03 | 2011-03-16 | 烟台持久钟表集团有限公司 | Clock delay compensation device and clock delay compensation synchronization method |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100396785B1 (en) * | 2001-10-19 | 2003-09-02 | 엘지전자 주식회사 | Apparatus and method for compensating time error of gsm terminal |
| CN1385769A (en) * | 2002-06-26 | 2002-12-18 | 宁波天安(集团)股份有限公司 | MCU controlled and run clock circuit error correction method |
| JP4492295B2 (en) * | 2004-10-22 | 2010-06-30 | セイコーエプソン株式会社 | Time synchronization system |
| WO2006092832A1 (en) * | 2005-02-28 | 2006-09-08 | Fujitsu Limited | Time stamp device, time calibration method, and time calibration program |
| CN101039455A (en) * | 2006-03-14 | 2007-09-19 | 中兴通讯股份有限公司 | Method for correcting system time of network side |
| US7924104B2 (en) * | 2008-08-21 | 2011-04-12 | Mediatek Inc. | Methods and apparatus for compensating a clock bias in a GNSS receiver |
| CN101799658A (en) * | 2010-02-24 | 2010-08-11 | 华中科技大学 | Backup clock calibrated by GPS |
| CN201837850U (en) * | 2010-11-03 | 2011-05-18 | 烟台持久钟表集团有限公司 | Clock delay compensation device |
-
2010
- 2010-11-03 CN CN 201010530210 patent/CN101986218B/en active Active
-
2011
- 2011-03-29 WO PCT/CN2011/072196 patent/WO2012058897A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6646929B1 (en) * | 2001-12-05 | 2003-11-11 | Lsi Logic Corporation | Methods and structure for read data synchronization with minimal latency |
| CN1855219A (en) * | 2005-04-20 | 2006-11-01 | 宏芯科技股份有限公司 | How to Adjust Synchronization in Digital Displays |
| CN1933581A (en) * | 2005-09-16 | 2007-03-21 | 上海乐金广电电子有限公司 | Synchronous signal compensating device |
| CN101986218A (en) * | 2010-11-03 | 2011-03-16 | 烟台持久钟表集团有限公司 | Clock delay compensation device and clock delay compensation synchronization method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101986218B (en) | 2011-12-28 |
| CN101986218A (en) | 2011-03-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104330966B (en) | Multi-mode high-precision time and frequency standard equipment | |
| CN106656451B (en) | Time keeping and time service precision testing device and method based on satellite time service system | |
| CN103199949B (en) | Zero base line in fake satellite positioning system is from closed loop star ground method for synchronizing time | |
| CN112672415A (en) | Multi-sensor time synchronization method, device, system, electronic device and medium | |
| CN102882586A (en) | Satellite time synchronization system | |
| CN102830405B (en) | High-precision synchronous time service method of multi-point positioning system | |
| CN103269262B (en) | A kind of punctual method of time synchronism apparatus | |
| CN102004441B (en) | Adaptive crystal oscillator frequency timekeeping method | |
| CN102291169A (en) | Onboard high-accuracy time synchronization method for satellite | |
| WO2018205811A1 (en) | Clock synchronization method, time reference source device and clock reproduction device | |
| CN107505832A (en) | A kind of high-precision time dissemination system | |
| CN119012333B (en) | Dual-antenna clock synchronization time service method, system, equipment and medium based on UWB technology | |
| CN108535772A (en) | A kind of compensation method and device for underground multinode acquisition system time synchronization | |
| CN101488802B (en) | A kind of receiving and sending synchronization method for wireless channel absolute time delay test | |
| JP2015206639A (en) | Time synchronization system, time generation device, and program | |
| CN110632843B (en) | High-precision timing information generation system for remote sensing cameras | |
| CN102540866B (en) | Multimode multi-machine X-channel programmable pulse synchronization control method and device | |
| CN201837850U (en) | Clock delay compensation device | |
| CN103048919B (en) | Channel delay test-based satellite clock self-adjusting method | |
| WO2012058897A1 (en) | Device for compensating clock delay and synchronization method for clock delay compensation | |
| CN201185428Y (en) | Time synthesis measuring instrument | |
| CN110908272B (en) | 1pps pulse signal timing method | |
| CN113015175B (en) | Method and device for any-duty-cycle synchronous networking of high-frequency ground wave radar | |
| Berns et al. | GPS time synchronization in school-network cosmic ray detectors | |
| CN111190344B (en) | Design method of satellite navigation military code time service equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11837427 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 11837427 Country of ref document: EP Kind code of ref document: A1 |