CN104300969A - A high-precision synchronous clock realization method based on an all-digital phase-locked loop - Google Patents

A high-precision synchronous clock realization method based on an all-digital phase-locked loop Download PDF

Info

Publication number
CN104300969A
CN104300969A CN201410196230.XA CN201410196230A CN104300969A CN 104300969 A CN104300969 A CN 104300969A CN 201410196230 A CN201410196230 A CN 201410196230A CN 104300969 A CN104300969 A CN 104300969A
Authority
CN
China
Prior art keywords
frequency division
clock
output
signal
phase
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410196230.XA
Other languages
Chinese (zh)
Other versions
CN104300969B (en
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.)
Changsha University of Science and Technology
Original Assignee
Changsha University of Science and Technology
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 Changsha University of Science and Technology filed Critical Changsha University of Science and Technology
Priority to CN201410196230.XA priority Critical patent/CN104300969B/en
Publication of CN104300969A publication Critical patent/CN104300969A/en
Application granted granted Critical
Publication of CN104300969B publication Critical patent/CN104300969B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

The invention discloses a high-precision synchronization clock realization method based on a full digital phase-locked loop. The method comprises the following steps: a phase discriminator makes a comparison between the phases of an input satellite source clock signal and an output synchronization clock signal and a phase difference signal is generated through a digital filter; a clock source state monitor monitors the work state of a satellite clock online; when the satellite clock is in a normal working mode, a pulse increase and decrease controller generates frequency division control coefficients of a frequency divider according to the phase difference output by the digital filter; when the satellite clock is in an out-of-step working mode, a self-correction controller generates frequency division control coefficients by utilizing the frequency division control coefficients before the failure of the satellite clock, current environment temperature and noise parameters; and the frequency divider generates high-precision synchronization clock output signals according to the frequency division control coefficients. The synchronization clock signal produced with the method has the advantages of small random errors and small accumulative errors, and can still keep high time service precision for a period after the failure of the satellite clock, and can provide accurate time synchronization second pulse signals for an electric system.

Description

一种基于全数字锁相环的高精度同步时钟实现方法A high-precision synchronous clock realization method based on an all-digital phase-locked loop

技术领域 technical field

本发明涉及一种同步时钟实现方法,特别涉及一种基于全数字锁相环的高精度同步时钟实现方法。 The invention relates to a method for realizing a synchronous clock, in particular to a method for realizing a high-precision synchronous clock based on an all-digital phase-locked loop.

背景技术 Background technique

国产北斗卫星导航系统和美国全球定位系统等多种卫星授时系统(下文统称卫星时钟)可提供全天候授时信号,授时精度高,且具有广域时间同步性能好、不受地理和气候等条件限制、应用简单等优点,在电力系统广域测量、故障行波定位等方向得到了越来越多的应用,基于卫星时钟的精确时间同步技术受到广泛关注。 Domestic Beidou satellite navigation system and American global positioning system and other satellite timing systems (hereinafter collectively referred to as satellite clocks) can provide all-weather timing signals with high timing accuracy, and have good wide-area time synchronization performance, and are not restricted by geographical and climatic conditions. With the advantages of simple application and other advantages, it has been more and more applied in the fields of power system wide-area measurement and fault traveling wave location. The precise time synchronization technology based on satellite clock has attracted extensive attention.

但在卫星失锁等情况下,秒脉冲误差可达几十微秒甚至上百微秒;同时卫星时钟信号在传播过程中会受到各种电磁干扰,严重时可能导致信号中断;其精度与稳定性难以满足保护监控等领域的时间同步要求。所以在利用卫星时钟作为广域时间同步源时,要考虑卫星时钟信号的可靠性问题,特别是卫星时钟失效后的时间同步精度。 However, when the satellite is out of lock, the second pulse error can reach tens of microseconds or even hundreds of microseconds; at the same time, the satellite clock signal will be subject to various electromagnetic interference during the propagation process, which may cause signal interruption in severe cases; its accuracy and stability It is difficult to meet the time synchronization requirements in protection monitoring and other fields. Therefore, when using the satellite clock as a wide-area time synchronization source, the reliability of the satellite clock signal must be considered, especially the time synchronization accuracy after the satellite clock fails.

晶振时钟具有较大的累积误差与较小的随机误差,而卫星时钟的误差特性则正好相反,两种时钟的授时误差特性互补。为了保证时间同步系统的精度与稳定性,专家学者提出了多种基于卫星时钟与晶振时钟误差互补的授时方案,如采用卫星时钟信号在线修正晶振秒脉冲的累积误差以及利用高精度晶振监测修正卫星时钟随机误差等,有效提高了卫星时钟的精度和稳定性,但现有各方案均存在不足:样本数据量大、忽略了晶振的频率漂移、补偿方案计算复杂等。 The crystal oscillator clock has a large cumulative error and a small random error, while the error characteristics of the satellite clock are just the opposite, and the timing error characteristics of the two clocks are complementary. In order to ensure the accuracy and stability of the time synchronization system, experts and scholars have proposed a variety of timing schemes based on the complementary errors of satellite clocks and crystal oscillator clocks, such as using satellite clock signals to correct the cumulative error of crystal oscillator second pulses online and using high-precision crystal oscillators to monitor and correct satellites. Clock random errors, etc., have effectively improved the accuracy and stability of satellite clocks, but all existing solutions have shortcomings: large sample data, ignoring the frequency drift of the crystal oscillator, and complex calculations for compensation schemes.

近年来,锁相环技术得到了快速发展,锁相环的输出信号可自动跟踪输入信号相位,实现系统的闭环自动控制。全数字锁相环由于具有可靠性高、抗干扰能力强、体积小、价格低、易于集成、外围电路简单等优点外,解决了很多模拟环难以解决的根本性难题,如直流零点漂移、器件饱和、对温度敏感、必须进行初始化校准等难题。全数字锁相环技术在电网相位频率测量方面应用成熟,已在电力系统领域得到了广泛应用。  In recent years, the phase-locked loop technology has been developed rapidly. The output signal of the phase-locked loop can automatically track the phase of the input signal to realize the closed-loop automatic control of the system. Due to the advantages of high reliability, strong anti-interference ability, small size, low price, easy integration, and simple peripheral circuits, the all-digital phase-locked loop solves many fundamental problems that are difficult to solve for analog loops, such as DC zero drift, device Saturation, sensitivity to temperature, necessary initial calibration, etc. The all-digital phase-locked loop technology is mature in the phase frequency measurement of the power grid, and has been widely used in the field of power systems. the

发明内容 Contents of the invention

为满足电力系统保护控制领域的高精度时间同步需求,实现在卫星时钟有效和失步情况下均保持较高的稳定性和同步性,本发明提供了一种基于全数字锁相环的高精度同步时钟实现新方法。本发明利用全数字锁相环的相位跟踪优势,基于卫星时钟与晶振时钟误差互补的特点,提出了卫星时钟失效后的授时方案;本发明能有效提高输出时钟的稳定性。 In order to meet the high-precision time synchronization requirements in the field of power system protection and control, and to maintain high stability and synchronization under the condition of effective and out-of-synchronization satellite clocks, the present invention provides a high-precision time synchronization based on an all-digital phase-locked loop. New method for synchronizing clocks. The invention utilizes the phase tracking advantage of the all-digital phase-locked loop, and based on the characteristics of complementary errors between the satellite clock and the crystal oscillator clock, proposes a timing scheme after the satellite clock fails; the invention can effectively improve the stability of the output clock.

本发明解决上述技术问题的技术方案包括以下步骤: The technical scheme that the present invention solves the problems of the technologies described above comprises the following steps:

(1)在卫星时钟工作正常时,鉴相器对输入卫星时钟信号和输出同步时钟信号的相位进行比较,产生能够表征两者相位超前与滞后关系的输出信号; (1) When the satellite clock is working normally, the phase detector compares the phases of the input satellite clock signal and the output synchronous clock signal, and generates an output signal that can represent the phase lead and lag relationship between the two;

(2)数字滤波器对鉴相器的输出信号进行滤噪处理,并根据相位超前与滞后情况产生相位差输出信号:卫星时钟信号相位超前时,输出相位差信号up,卫星时钟信号相位滞后时,输出相位差信号down; (2) The digital filter performs noise filtering on the output signal of the phase detector, and generates a phase difference output signal according to the phase lead and lag: when the phase of the satellite clock signal is ahead, the output phase difference signal is up, and when the phase of the satellite clock signal is lagging , output phase difference signal down;

(3)时钟源状态监测器在线监测卫星时钟的工作状态,接收正常时,选择正常工作模式,否则,选择失步工作模式; (3) The clock source status monitor monitors the working status of the satellite clock online. When the reception is normal, select the normal working mode, otherwise, select the out-of-synchronization working mode;

(4)正常工作模式时,脉冲增减控制器根据数字滤波器输出的相位差产生分频器的分频控制系数N; (4) In normal working mode, the pulse increase and decrease controller generates the frequency division control coefficient N of the frequency divider according to the phase difference output by the digital filter;

(5)失步工作模式时,自校正控制器利用卫星时钟失效前的分频控制系数、当前的环境温度以及噪声参数产生分频控制系数N; (5) In the out-of-step working mode, the self-calibration controller uses the frequency division control coefficient before the satellite clock fails, the current ambient temperature and noise parameters to generate the frequency division control coefficient N;

(6)分频器根据分频控制系数N对晶振信号进行分频,产生高精度同步时钟输出信号。 (6) The frequency divider divides the frequency of the crystal oscillator signal according to the frequency division control coefficient N to generate a high-precision synchronous clock output signal.

上述的全数字锁相环高精度同步时钟方法,步骤(4)中脉冲增减控制器根据数字滤波器输出的相位差产生分频器的分频控制系数N,具体方法为: In the above-mentioned all-digital phase-locked loop high-precision synchronous clock method, in step (4), the pulse increase and decrease controller generates the frequency division control coefficient N of the frequency divider according to the phase difference output by the digital filter. The specific method is:

脉冲增减控制器将相位差信号up调制成有效的减脉冲,相位差信号down调制成有效的增脉冲;当增脉冲有效时,如果前一个分频系数Ni-1≤Nclk(Nclk为标准秒时钟对应的分频系数,其数值等于晶振频率),则Ni=Ni-1+1,对下一个输出同步时钟信号实现滞后校正;如果前一个分频系数Ni-1>Nclk,则Ni=Ni-1,对下一个输出同步时钟信号不进行校正;当减脉冲有效时,如果前一个分频系数Ni-1≥Nclk,则Ni=Ni-1-1,对下一个输出同步时钟信号实现超前校正;如果前一个分频系数Ni-1<Nclk,则Ni=Ni-1,对下一个输出同步时钟信号不进行校正;将判别结果Ni锁存,并作为下一秒的分频控制系数输出给分频器。 The pulse increase/decrease controller modulates the phase difference signal up into an effective down pulse, and the phase difference signal down into an effective up pulse; when the up pulse is valid, if the previous frequency division coefficient N i-1 ≤ N clk (N clk is the frequency division coefficient corresponding to the standard second clock, and its value is equal to the crystal oscillator frequency), then N i =N i-1 +1, and implements lag correction for the next output synchronous clock signal; if the previous frequency division coefficient N i-1 > N clk , then N i =N i-1 , no correction will be made to the next output synchronous clock signal; when the down pulse is valid, if the previous frequency division coefficient N i-1 ≥ N clk , then N i =N i- 1 -1, implement advanced correction for the next output synchronous clock signal; if the previous frequency division coefficient N i-1 <N clk , then N i =N i-1 , do not correct the next output synchronous clock signal; The judgment result N i is latched and output to the frequency divider as the frequency division control coefficient for the next second.

上述的全数字锁相环高精度同步时钟方法,步骤(5)中根据温度变化情况和时间变化实时调整分频系数,以消除累积误差对输出同步时钟信号的影响,并利用自适应预测模型算法预测产生分频控制系数N。晶振累积误差(μ(t))表示输出同步时钟信号与输入卫星时钟信号从开始时刻到测量时刻累积的时间误差。tk时刻的晶振累积误差可表示为: In the above-mentioned all-digital phase-locked loop high-precision synchronous clock method, in step (5), the frequency division coefficient is adjusted in real time according to temperature changes and time changes to eliminate the influence of accumulated errors on the output synchronous clock signal, and the self-adaptive prediction model algorithm is used to Prediction produces frequency division control coefficient N. The cumulative error of the crystal oscillator (μ(t)) represents the time error accumulated between the output synchronous clock signal and the input satellite clock signal from the start time to the measurement time. The cumulative error of the crystal oscillator at time t k can be expressed as:

                                                                                                 (1) (1)

晶振的老化时间、测量噪声及温度会对频率稳定性产生影响,由于晶振的老化速率对频率稳定性影响非常小,为了简化模型,将其影响并入噪声影响中。用α表示晶振频率稳定度的温度敏感度,u(k)表示tk时刻温度传感器测量的晶振温度,y(k)表示tk时刻的校正信号,v(k)表示tk时刻的噪声。则tk时刻增加的累积误差可表示为: The aging time of the crystal oscillator, measurement noise and temperature will affect the frequency stability. Since the aging rate of the crystal oscillator has very little effect on the frequency stability, in order to simplify the model, its influence is incorporated into the noise effect. Use α to represent the temperature sensitivity of crystal frequency stability, u(k) represents the crystal temperature measured by the temperature sensor at time t k , y(k) represents the correction signal at time t k , and v(k) represents the noise at time t k . Then the cumulative error increased at time t k can be expressed as:

                      (2) (2)

将式(2)代入式(1)得: Substitute formula (2) into formula (1) to get:

                           (3) (3)

假设μ(t0)=0,则卫星时钟失效后tk时刻的分频控制系数N为: Assuming μ(t 0 )=0, the frequency division control coefficient N at time t k after the satellite clock fails is:

                     (4) (4)

本发明的技术效果是:根据卫星时钟累积误差小及晶振时钟随机误差小的特点,提出了一种基于全数字锁相环的电力系统高精度同步时钟实现新方法。该方法在卫星时钟工作正常时,利用全数字锁相环使晶振时钟跟踪卫星时钟秒脉冲的相位波动,实时消除晶振时钟的累积误差;当卫星时钟失效时,利用卫星时钟失效前的分频控制系数、当前的环境温度以及噪声参数,预测修正晶振时钟的累积误差。仿真实验结果表明,该方法产生的同步时钟同时具有随机误差小且累积误差小的优点,在卫星时钟失效一段时间内仍可保持较高的授时精度,可为电力系统提供精确时间同步秒脉冲信号。 The technical effect of the present invention is: according to the characteristics of small cumulative errors of satellite clocks and small random errors of crystal oscillator clocks, a new method for realizing high-precision synchronous clocks in power systems based on all-digital phase-locked loops is proposed. In this method, when the satellite clock is working normally, the full digital phase-locked loop is used to make the crystal oscillator clock track the phase fluctuation of the second pulse of the satellite clock, and the cumulative error of the crystal oscillator clock is eliminated in real time; when the satellite clock fails, the frequency division control before the satellite clock fails is used Coefficients, current ambient temperature, and noise parameters, predict and correct cumulative error of the crystal oscillator clock. Simulation results show that the synchronous clock generated by this method has the advantages of small random error and small cumulative error. It can still maintain high timing accuracy during a period of time when the satellite clock fails, and can provide accurate time synchronization second pulse signals for power systems. .

下面结合附图对本发明作进一步的说明。 The present invention will be further described below in conjunction with the accompanying drawings.

附图说明 Description of drawings

图1是全数字锁相环同步时钟原理框图; Fig. 1 is a functional block diagram of an all-digital phase-locked loop synchronous clock;

图2是卫星时钟正常时的时钟误差; Figure 2 is the clock error when the satellite clock is normal;

图3是卫星时钟失效后的时钟误差。 Fig. 3 is the clock error after the satellite clock fails.

具体实施方式 Detailed ways

图1是全数字锁相环同步时钟原理框图。参见图1,在卫星时钟工作正常时,采用鉴相器对输入卫星时钟信号和输出同步时钟反馈信号的相位进行比较,产生能够表征两者相位超前与滞后关系的输出信号;数字滤波器对鉴相器输出信号进行滤噪处理,并产生相位差输出信号;时钟源状态监测器在线监测卫星时钟的工作状态,接收正常时,选择正常工作模式,否则,选择失步工作模式;脉冲增减控制器对数字滤波器输出的相位差大小进行判别,产生分频器的分频控制系数N;自校正控制器在失步工作模式时,利用卫星时钟失效前的分频控制系数、当前的环境温度以及噪声参数产生分频控制系数N;分频器根据控制系数N对晶振信号进行分频,产生输出高精度同步时钟信号。 Figure 1 is a functional block diagram of an all-digital phase-locked loop synchronous clock. Referring to Figure 1, when the satellite clock is working normally, a phase detector is used to compare the phases of the input satellite clock signal and the output synchronous clock feedback signal to generate an output signal that can represent the phase lead and lag relationship between the two; The output signal of the phase device is processed by noise filtering, and a phase difference output signal is generated; the clock source status monitor monitors the working status of the satellite clock online, and when the reception is normal, select the normal working mode; otherwise, select the out-of-step working mode; The device judges the phase difference output by the digital filter to generate the frequency division control coefficient N of the frequency divider; when the self-calibration controller is in the out-of-step working mode, it uses the frequency division control coefficient before the satellite clock fails, the current ambient temperature And the noise parameter generates a frequency division control coefficient N; the frequency divider divides the frequency of the crystal oscillator signal according to the control coefficient N to generate and output a high-precision synchronous clock signal.

为了验证本发明所描述的一种基于全数字锁相环的高精度同步时钟实现方法的可行性,使用MATLAB进行仿真实验验证,为提高实验的准确度,仿真中采用的时钟尽量与实际时钟吻合,其中卫星时钟的随机误差服从均值为零的正态分布,σ=50ns;晶振频率为500MHz,频率精度10-9,频率稳定度10-11(实际应用时可选用25MHz高精度晶振,经过FPGA倍频到500MHz),假定晶振温度恒定为50℃,并采用高频脉冲信号模拟噪声干扰。利用此500MHz的晶振作为本地时钟,卫星时钟作为输入时钟,利用上述步骤可得到精确稳定的输出时钟。 In order to verify the feasibility of a high-precision synchronous clock implementation method based on an all-digital phase-locked loop described in the present invention, use MATLAB to carry out simulation experiment verification, in order to improve the accuracy of the experiment, the clock used in the simulation is consistent with the actual clock as far as possible , where the random error of the satellite clock obeys a normal distribution with a mean value of zero, σ=50ns; the crystal oscillator frequency is 500MHz, the frequency accuracy is 10 -9 , and the frequency stability is 10 -11 (in practical applications, a 25MHz high-precision crystal oscillator can be selected, and after FPGA multiplied to 500MHz), assuming that the crystal oscillator temperature is constant at 50°C, and using high-frequency pulse signals to simulate noise interference. Use this 500MHz crystal oscillator as the local clock, and the satellite clock as the input clock, and use the above steps to get an accurate and stable output clock.

实验开始时,卫星时钟工作正常,采用脉冲增减控制器输出的分频系数产生输出时钟,结果如图2所示;两小时时,卫星时钟失效,采用自校正控制器计算的分频系数产生输出时钟,结果如图3所示。 At the beginning of the experiment, the satellite clock was working normally, and the output clock was generated by using the frequency division coefficient output by the pulse increase and decrease controller. Output clock, the result is shown in Figure 3.

图2中μt为卫星时钟随机误差值,μt 为自校正控制器模拟产生的输出时钟误差。从图中可以看出,误差估计值曲线逼近真实值曲线,估计效果良好,证明了上述数学模型的正确性。从图3可以看出,输出时钟的误差逐渐累积增大。 In Figure 2, μ t is the random error value of the satellite clock, and μ t ' is the output clock error generated by the self-calibration controller simulation. It can be seen from the figure that the error estimated value curve is close to the real value curve, and the estimation effect is good, which proves the correctness of the above mathematical model. It can be seen from Figure 3 that the errors of the output clock gradually accumulate and increase.

由仿真结果可知,本专利所述方法能够综合利用卫星时钟和晶振时钟的优点,产生累积误差和随机误差均小的高精度同步时钟。在实际应用中为提高卫星时钟失效后的时钟精度,应尽可能保证环境温度恒定,使高精度晶振有足够的长期稳定度。 It can be seen from the simulation results that the method described in this patent can comprehensively utilize the advantages of satellite clocks and crystal oscillator clocks to generate high-precision synchronous clocks with small cumulative errors and small random errors. In practical applications, in order to improve the clock accuracy after the satellite clock fails, the ambient temperature should be kept constant as much as possible so that the high-precision crystal oscillator has sufficient long-term stability.

Claims (3)

1.一种基于全数字锁相环的高精度同步时钟实现方法,包括如下步骤: 1. A method for realizing a high-precision synchronous clock based on an all-digital phase-locked loop, comprising the steps of: (1)在卫星时钟工作正常时,鉴相器对输入卫星时钟信号和输出同步时钟信号的相位进行比较,产生能够表征两者相位超前与滞后关系的输出信号; (1) When the satellite clock is working normally, the phase detector compares the phases of the input satellite clock signal and the output synchronous clock signal, and generates an output signal that can represent the phase lead and lag relationship between the two; (2)数字滤波器对鉴相器的输出信号进行滤噪处理,并根据相位超前与滞后情况产生相位差输出信号:卫星时钟信号相位超前时,输出相位差信号up,卫星时钟信号相位滞后时,输出相位差信号down; (2) The digital filter performs noise filtering on the output signal of the phase detector, and generates a phase difference output signal according to the phase lead and lag: when the phase of the satellite clock signal is ahead, the output phase difference signal is up, and when the phase of the satellite clock signal is lagging , output phase difference signal down; (3)时钟源状态监测器在线监测卫星时钟的工作状态,接收正常时,选择正常工作模式,否则,选择失步工作模式;  (3) The clock source status monitor monitors the working status of the satellite clock online. When the reception is normal, select the normal working mode, otherwise, select the out-of-synchronization working mode; (4)正常工作模式时,脉冲增减控制器根据数字滤波器输出的相位差产生分频器的分频控制系数N; (4) In normal working mode, the pulse increase and decrease controller generates the frequency division control coefficient N of the frequency divider according to the phase difference output by the digital filter; (5)失步工作模式时,自校正控制器利用卫星时钟失效前的分频控制系数、当前的环境温度以及噪声参数产生分频控制系数N; (5) In the out-of-step working mode, the self-calibration controller uses the frequency division control coefficient before the satellite clock fails, the current ambient temperature and noise parameters to generate the frequency division control coefficient N; (6)分频器根据分频控制系数N对晶振信号进行分频,产生高精度同步时钟输出信号。 (6) The frequency divider divides the frequency of the crystal oscillator signal according to the frequency division control coefficient N to generate a high-precision synchronous clock output signal. 2.根据权利要求1所述的全数字锁相环高精度同步时钟方法,步骤(4)中脉冲增减控制器根据数字滤波器输出的相位差产生分频器的分频控制系数N,具体方法为: 2. According to the all-digital phase-locked loop high-precision synchronous clock method according to claim 1, in step (4), the pulse increase and decrease controller generates the frequency division control coefficient N of the frequency divider according to the phase difference output by the digital filter, specifically The method is: 脉冲增减控制器将相位差信号up调制成有效的减脉冲,相位差信号down调制成有效的增脉冲;当增脉冲有效时,如果前一个分频系数Ni-1≤Nclk(Nclk为标准秒时钟对应的分频系数,其数值等于晶振频率),则Ni=Ni-1+1,对下一个输出同步时钟信号实现滞后校正;如果前一个分频系数Ni-1>Nclk,则Ni=Ni-1,对下一个输出同步时钟信号不进行校正;当减脉冲有效时,如果前一个分频系数Ni-1≥Nclk,则Ni=Ni-1-1,对下一个输出同步时钟信号实现超前校正;如果前一个分频系数Ni-1<Nclk,则Ni=Ni-1,对下一个输出同步时钟信号不进行校正;将判别结果Ni锁存,并作为下一秒的分频控制系数输出给分频器。 The pulse increase/decrease controller modulates the phase difference signal up into an effective down pulse, and the phase difference signal down into an effective up pulse; when the up pulse is valid, if the previous frequency division coefficient N i-1 ≤ N clk (N clk is the frequency division coefficient corresponding to the standard second clock, and its value is equal to the crystal oscillator frequency), then N i =N i-1 +1, and implements lag correction for the next output synchronous clock signal; if the previous frequency division coefficient N i-1 > N clk , then N i =N i-1 , no correction will be made to the next output synchronous clock signal; when the down pulse is valid, if the previous frequency division coefficient N i-1 ≥ N clk , then N i =N i- 1 -1, implement advanced correction for the next output synchronous clock signal; if the previous frequency division coefficient N i-1 <N clk , then N i =N i-1 , do not correct the next output synchronous clock signal; The judgment result N i is latched and output to the frequency divider as the frequency division control coefficient for the next second. 3.根据权利要求1所述的全数字锁相环高精度同步时钟方法,步骤(5)中自校正控制器利用卫星时钟失效前的分频控制系数、当前的环境温度以及噪声参数产生分频控制系数N;具体方法为:用α表示晶振频率稳定度的温度敏感度,u(k)表示tk时刻温度传感器测量的晶振温度,y(k)表示tk时刻的校正信号,v(k)表示tk时刻的噪声;卫星时钟失效后tk时刻的分频控制系数N为:                                               3. The full digital phase-locked loop high-precision synchronous clock method according to claim 1, in step (5), the self-calibration controller uses the frequency division control coefficient before the satellite clock fails, the current ambient temperature and noise parameters to generate frequency division Control coefficient N; the specific method is: use α to represent the temperature sensitivity of crystal oscillator frequency stability, u(k) represents the crystal oscillator temperature measured by the temperature sensor at t k , y(k) represents the correction signal at t k , v(k ) represents the noise at time t k ; the frequency division control coefficient N at time t k after the satellite clock fails is: .
CN201410196230.XA 2014-05-12 2014-05-12 A kind of high-precise synchronization clock implementation method based on all-digital phase-locked loop Active CN104300969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410196230.XA CN104300969B (en) 2014-05-12 2014-05-12 A kind of high-precise synchronization clock implementation method based on all-digital phase-locked loop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410196230.XA CN104300969B (en) 2014-05-12 2014-05-12 A kind of high-precise synchronization clock implementation method based on all-digital phase-locked loop

Publications (2)

Publication Number Publication Date
CN104300969A true CN104300969A (en) 2015-01-21
CN104300969B CN104300969B (en) 2017-12-08

Family

ID=52320567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410196230.XA Active CN104300969B (en) 2014-05-12 2014-05-12 A kind of high-precise synchronization clock implementation method based on all-digital phase-locked loop

Country Status (1)

Country Link
CN (1) CN104300969B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299496A (en) * 2018-07-26 2019-02-01 国网湖南省电力有限公司 A high-precision synchronous clock generation method
CN110133998A (en) * 2019-05-17 2019-08-16 长沙理工大学 A Method Against Duration Synchronization Attack
CN110262343A (en) * 2019-06-21 2019-09-20 新里程医用加速器(无锡)有限公司 Real-time communication network for clinac control system
CN110531380A (en) * 2019-08-30 2019-12-03 长沙理工大学 The device and method of satellite clock source low amplitude persistent anomaly for identification
CN111130538A (en) * 2020-02-27 2020-05-08 北京和德宇航技术有限公司 Frequency calibration system and frequency instrument
CN111562595A (en) * 2020-05-19 2020-08-21 中国科学院微小卫星创新研究院 Satellite autonomous positioning and time synchronization system and method
CN111665377A (en) * 2020-06-05 2020-09-15 国网福建省电力有限公司 Remote phase-locking synchronous standard source
WO2022179309A1 (en) * 2021-02-25 2022-09-01 乐鑫信息科技(上海)股份有限公司 Clock management apparatus, clock frequency division module and system-on-chip

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19947095A1 (en) * 1999-09-30 2001-05-03 Siemens Ag Frame clock synchronisation arrangement in data transmission system
CN101079687A (en) * 2006-05-25 2007-11-28 上海欣泰通信技术有限公司 A clock adjustment algorithm based on minimum two multiplexing model
CN102611516A (en) * 2012-01-17 2012-07-25 成都府河电力自动化成套设备有限责任公司 Method and device for generating high-precision synchronous clock
CN202759413U (en) * 2012-09-17 2013-02-27 南京澳德思电气有限公司 An on-line time error correcting system based on a satellite and a constant temperature crystal oscillator
CN103152155A (en) * 2012-10-22 2013-06-12 杭州开鼎科技有限公司 Method for fast clock data recovery

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
李泽文等: "基于数字锁相原理的GPS高精度同步时钟产生新方法", 《电力系统自动化》 *
杨其岚等: "《基于GPS的电力系统高精度同步时钟》", 《湖南电力》 *
蒋陆萍等: "基于GPS实现电力系统高精度同步时钟", 《电网技术》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299496A (en) * 2018-07-26 2019-02-01 国网湖南省电力有限公司 A high-precision synchronous clock generation method
CN110133998A (en) * 2019-05-17 2019-08-16 长沙理工大学 A Method Against Duration Synchronization Attack
CN110262343A (en) * 2019-06-21 2019-09-20 新里程医用加速器(无锡)有限公司 Real-time communication network for clinac control system
CN110531380A (en) * 2019-08-30 2019-12-03 长沙理工大学 The device and method of satellite clock source low amplitude persistent anomaly for identification
CN111130538A (en) * 2020-02-27 2020-05-08 北京和德宇航技术有限公司 Frequency calibration system and frequency instrument
CN111562595A (en) * 2020-05-19 2020-08-21 中国科学院微小卫星创新研究院 Satellite autonomous positioning and time synchronization system and method
CN111665377A (en) * 2020-06-05 2020-09-15 国网福建省电力有限公司 Remote phase-locking synchronous standard source
CN111665377B (en) * 2020-06-05 2023-05-05 国网福建省电力有限公司 A remote phase-locked synchronization standard source
WO2022179309A1 (en) * 2021-02-25 2022-09-01 乐鑫信息科技(上海)股份有限公司 Clock management apparatus, clock frequency division module and system-on-chip

Also Published As

Publication number Publication date
CN104300969B (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN104300969B (en) A kind of high-precise synchronization clock implementation method based on all-digital phase-locked loop
CN203164620U (en) High precision time synchronization device
CN109299496B (en) High-precision synchronous clock generation method
RU2680711C2 (en) Method and device for processing radio-navigation signals for atmospheric monitoring
CN104199278B (en) The anti-high-precise synchronization clock system for blocking and its synchronous method based on many navigation system
US9425652B2 (en) Adaptive holdover timing error estimation and correction
CN103795522B (en) The punctual compensation circuit of pulse per second (PPS) and method
CN104485948B (en) The control method and time standard device of a kind of time standard equipment
CN105676627A (en) Time keeping system primary and standby main clock seamless switching system and method
CN204631463U (en) A GPS Clock Synchronization System for Radiation Source Monitoring and Positioning
CN104460311A (en) Time calibration method and device
CN109085616B (en) Satellite time service method, device and storage medium
CN110531380A (en) The device and method of satellite clock source low amplitude persistent anomaly for identification
CN105675953B (en) The plesiochronous measurement method of power transmission line both-end instantaneous voltage based on zero passage detection
CN103970008A (en) Timekeeping method based on crystal oscillator error compensation
Akkaya et al. Model-based evaluation of GPS spoofing attacks on power grid sensors
CN103454905A (en) Method for synchronizing time
CN106527113A (en) High-precision clock online frequency calibration and timing method based on GPS
CN106154822A (en) The method for synchronizing time of satellite locking rubidium atomic clock and localizer station
CN106772472A (en) A kind of derivation doppler measurement building method for taking the jump of GNSS receiver clock into account
CN107086901A (en) A method for establishing BDT and a method for establishing UTC (NTSC)
CN103338036B (en) Based on the frequency signal link control method of atomic clock of phase group process
CN104808480A (en) Pulse per second (PPS) generating method and device
CN104460313A (en) GPS time service device for providing high-precision large-step time synchronizing signals
CN103001632A (en) CPLD-based (complex programmable logic device-based) GPS (global positioning system) synchronous sampling circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant