CN114640346A - Multi-level digital precision time delay control method and system for optical fiber time transfer - Google Patents
Multi-level digital precision time delay control method and system for optical fiber time transfer Download PDFInfo
- Publication number
- CN114640346A CN114640346A CN202210190401.2A CN202210190401A CN114640346A CN 114640346 A CN114640346 A CN 114640346A CN 202210190401 A CN202210190401 A CN 202210190401A CN 114640346 A CN114640346 A CN 114640346A
- Authority
- CN
- China
- Prior art keywords
- delay control
- value
- time delay
- fpga
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/08—Details of the phase-locked loop
- H03L7/081—Details of the phase-locked loop provided with an additional controlled phase shifter
- H03L7/0812—Details of the phase-locked loop provided with an additional controlled phase shifter and where no voltage or current controlled oscillator is used
- H03L7/0818—Details of the phase-locked loop provided with an additional controlled phase shifter and where no voltage or current controlled oscillator is used the controlled phase shifter comprising coarse and fine delay or phase-shifting means
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
本发明公开了一种用于光纤时间传递的多级数字精密时延控制方法及系统,所述方法包括:步骤1,获取初始时延控制量;步骤2,基于初始时延控制量获得FPGA移相的整数倍时钟周期,根据FPGA移相的整数倍时钟周期进行补偿;步骤3,判断更新时延控制量是否处于预设阈值范围内;若否则跳转执行步骤4,若是则跳转执行步骤5;步骤4,基于更新时延控制量获得FPGA移相的整数倍时钟周期,根据FPGA移相的整数倍时钟周期进行补偿,并跳转执行步骤3;步骤5,根据更新时延控制量采用DPLL进行移相。本发明通过FPGA技术和DPLL移相技术的结合,能够实现相位时延的粗调和细调,可实现大范围时延的多级数字精密时延控制。
The invention discloses a multi-level digital precision time delay control method and system for optical fiber time transfer. The method includes: step 1, obtaining an initial delay control amount; step 2, obtaining an FPGA shift based on the initial delay control amount The integer multiple clock cycle of the phase is compensated according to the integer multiple clock cycle of the FPGA phase shift; Step 3, determine whether the update delay control amount is within the preset threshold range; 5; Step 4, obtain the integer multiple clock cycle of the FPGA phase shift based on the update delay control amount, perform compensation according to the integer multiple clock cycle of the FPGA phase shift, and jump to perform step 3; Step 5, according to the update delay control amount Adopt The DPLL performs phase shifting. Through the combination of FPGA technology and DPLL phase shifting technology, the invention can realize the coarse adjustment and fine adjustment of the phase delay, and can realize the multi-level digital precise delay control of the large-scale delay.
Description
技术领域technical field
本发明属于光纤时间传递技术领域,特别涉及一种用于光纤时间传递的多级数字精密时延控制方法及系统。The invention belongs to the technical field of optical fiber time transfer, and in particular relates to a multi-stage digital precise time delay control method and system for optical fiber time transfer.
背景技术Background technique
光纤时间传递以其传输介质稳定、损耗低、抗电磁干扰、受环境干扰较小、路径单一等明显的稳定性与安全性优势,逐渐成为国内外高精度时间传递的重要方式;在光纤时间传递系统中,往往是先通过估算或实测等方法获得两地之间的传输时延,再对传输时延进行补偿,从而实现时间的传递同步。Optical fiber time transfer has gradually become an important method of high-precision time transfer at home and abroad due to its obvious stability and security advantages such as stable transmission medium, low loss, anti-electromagnetic interference, less environmental interference, and single path. In the system, the transmission delay between the two places is often obtained by estimation or actual measurement, and then the transmission delay is compensated, so as to realize the transmission synchronization of time.
当前应用于光纤时间传递的时延控制技术,主要包括:移相器,利用移相器产生稳定的相位差;该技术可能存在信号间断,且控制范围极窄,一般为10ns;可编程延迟线,虽然分辨率高,但一样难以实现大范围的时延控制,一般仅为几十ns一下;FPGA(现场可编程门阵列),利用FPGA实现相位移动,由于FPGA的移相的分辨率取决于FPGA的时钟频率,极大地限制了其分辨率;两段式调节,采用FPGA粗调和PLL移相细调相结合的方式进行大范围精密时延控制,此方式主要采用模拟电路进行实现,对硬件电路中的选品、加工及调试要求较高且不能查看补偿中间状态。The delay control technology currently used in optical fiber time transfer mainly includes: phase shifter, which uses phase shifter to generate stable phase difference; this technology may have signal discontinuity, and the control range is extremely narrow, generally 10ns; programmable delay line , although the resolution is high, it is also difficult to achieve large-scale delay control, generally only a few tens of ns; FPGA (field programmable gate array), using FPGA to achieve phase shift, because the resolution of FPGA phase shift depends on The clock frequency of the FPGA greatly limits its resolution; the two-stage adjustment uses a combination of FPGA coarse adjustment and PLL phase shift fine adjustment to control a wide range of precise time delays. This method is mainly implemented by analog circuits, and the hardware The selection, processing and debugging requirements in the circuit are relatively high, and the intermediate state of compensation cannot be checked.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于提供一种用于光纤时间传递的多级数字精密时延控制方法及系统,以解决上述存在的一个或多个技术问题。本发明提供的多级数字精密时延控制方法,通过FPGA技术和DPLL移相技术的结合,能够实现相位时延的粗调和细调,可实现大范围时延的多级数字精密时延控制。The purpose of the present invention is to provide a multi-stage digital precision time delay control method and system for optical fiber time transfer, so as to solve one or more of the above-mentioned technical problems. The multi-stage digital precision time delay control method provided by the invention can realize the coarse adjustment and fine adjustment of the phase time delay through the combination of the FPGA technology and the DPLL phase shift technology, and can realize the multi-stage digital precision time delay control of the large-scale time delay.
为达到上述目的,本发明采用以下技术方案:To achieve the above object, the present invention adopts the following technical solutions:
本发明的一种用于光纤时间传递的多级数字精密时延控制方法,包括以下步骤:A multi-stage digital precision time delay control method for optical fiber time transfer of the present invention comprises the following steps:
步骤1,获取本地端与远程端的初始时延控制量;Step 1, obtain the initial delay control amount of the local end and the remote end;
步骤2,基于所述初始时延控制量获得FPGA移相的整数倍时钟周期,根据FPGA移相的整数倍时钟周期进行补偿,获取补偿后的更新时延控制量;Step 2, obtaining an integer multiple clock cycle of the FPGA phase shift based on the initial delay control amount, performing compensation according to the integer multiple clock cycle of the FPGA phase shifting, and obtaining an updated delay control amount after compensation;
步骤3,判断所述更新时延控制量是否处于预设阈值范围内;若否则跳转执行步骤4,若是则跳转执行步骤5;Step 3, judging whether the update delay control amount is within the preset threshold range; if otherwise, skip to step 4, and if so, skip to step 5;
步骤4,基于更新时延控制量获得FPGA移相的整数倍时钟周期,根据FPGA移相的整数倍时钟周期进行补偿,获取补偿后的更新时延控制量,并跳转执行步骤3;Step 4: Obtain the integer multiple clock cycle of the FPGA phase-shift based on the update delay control amount, perform compensation according to the integer multiple clock cycle of the FPGA phase shift, obtain the compensated update delay control amount, and jump to execute step 3;
步骤5,根据更新时延控制量采用DPLL进行移相,完成多级数字精密时延控制。Step 5, adopting DPLL to perform phase shifting according to the update delay control amount, and completing multi-stage digital precision delay control.
本发明方法的进一步改进在于,步骤1具体包括:A further improvement of the method of the present invention is that step 1 specifically includes:
由测量单元测得光纤链路传递来的外部1PPS信号与FPGA生成的1PPS信号的实际时延量作为初始时延控制量。The actual delay between the external 1PPS signal transmitted by the optical fiber link and the 1PPS signal generated by the FPGA measured by the measurement unit as the initial delay control amount.
本发明方法的进一步改进在于,步骤2具体包括:A further improvement of the method of the present invention is that step 2 specifically includes:
确定FPGA的时钟周期为T,按照公式处理初始时延控制量后,设定整周期移相的周期数N,FPGA延迟N个周期后输出1PPS信号。Determine the clock cycle of the FPGA as T, according to After the formula processes the initial delay control quantity, set the cycle number N of the whole cycle phase shift, and the FPGA outputs a 1PPS signal after delaying N cycles.
本发明方法的进一步改进在于,步骤3具体包括:A further improvement of the method of the present invention is that step 3 specifically includes:
判断所述更新时延控制量是否处于正负150ns之间;若否则跳转执行步骤4,若是则跳转执行步骤5。Determine whether the update delay control amount is between plus and minus 150ns; if otherwise, skip to step 4, and if so, skip to step 5.
本发明方法的进一步改进在于,步骤5具体包括:A further improvement of the method of the present invention is that step 5 specifically includes:
步骤5.1,配置数控振荡器内部相位累加器的最大阈值ξmax、相位累加器最小阈值ξmin以及频率控制字中心值取ξm,ξm=2n-1,n为数控振荡器内部相位累加器的位数;粗调相位累加器最大阈值ξmax、相位累加器最小阈值ξmin以及根据收发两端时间间隔测量值配置粗调频率控制字值ξ,β为相位累加器与频率控制字的比例因子;判定粗调频率控制字值ξ是否大于最大阈值ξmax或者小于最小阈值ξmin;若否则按照初设值配置粗调频率控制字值ξ,若是则按照最大阈值ξmax或者最小阈值ξmin配置粗调频率控制字值ξ;Step 5.1, configure the maximum threshold ξ max of the internal phase accumulator of the numerical control oscillator, the minimum threshold value of the phase accumulator ξ min and the center value of the frequency control word ξ m , ξ m =2 n-1 , n is the internal phase accumulation of the numerical control oscillator The maximum threshold value of the coarse phase accumulator ξ max , the minimum threshold value of the phase accumulator ξ min and the coarse adjustment frequency control word value ξ according to the measured value of the time interval between the sending and receiving ends, β is the proportional factor between the phase accumulator and the frequency control word; determine whether the coarse adjustment frequency control word value ξ is greater than the maximum threshold ξ max or less than the minimum threshold ξ min ; otherwise, configure the coarse adjustment frequency control word value ξ according to the initial value, if Then configure the coarse frequency control word value ξ according to the maximum threshold ξ max or the minimum threshold ξ min ;
步骤5.2,判定收发两端时间间隔测量值是否在正负300ps之间,若否则跳转执行步骤5.1,若是则跳转执行步骤5.3;Step 5.2, determine the measured value of the time interval between the sending and receiving ends Whether it is between plus and minus 300ps, if otherwise, jump to step 5.1, if so, jump to step 5.3;
步骤5.3,由数控振荡器输出的10MHz与外部输入10MHz进行鉴相,并根据鉴相数值配置频率控制字值改变最小步长值δ,按照最小步长值δ正向或者反向精密改变频率控制字值ξ,ξ=ξ±δ;Step 5.3, perform phase detection between the 10MHz output from the numerically controlled oscillator and the external input 10MHz, and configure the frequency control word value to change the minimum step value δ according to the phase detection value, and change the frequency control precisely in the forward or reverse direction according to the minimum step value δ Word value ξ, ξ=ξ±δ;
步骤5.4,判定收发两端时间间隔测量值是否在正负30ps之间;若否则跳转执行步骤5.3,若是则完成多级数字精密时延控制。Step 5.4, determine the measured value of the time interval between the sending and receiving ends Whether it is between plus and minus 30ps; if not, skip to step 5.3, if so, complete multi-level digital precision delay control.
本发明提供的一种用于光纤时间传递的多级数字精密时延控制系统,包括:A multi-stage digital precision time delay control system for optical fiber time transfer provided by the present invention includes:
测量获取模块,用于获取本地端与远程端的初始时延控制量;The measurement acquisition module is used to acquire the initial delay control amount of the local end and the remote end;
补偿模块,用于基于所述初始时延控制量获得FPGA移相的整数倍时钟周期,根据FPGA移相的整数倍时钟周期进行补偿,获取补偿后的更新时延控制量;a compensation module, configured to obtain an integer multiple clock period of the FPGA phase-shift based on the initial delay control amount, perform compensation according to the integer multiple clock period of the FPGA phase shift, and obtain an updated delay control amount after compensation;
判断模块,用于判断所述更新时延控制量是否处于预设阈值范围内;若否则跳转执行迭代模块的步骤,若是则跳转执行移相模块的步骤;a judging module for judging whether the update delay control amount is within a preset threshold range; if otherwise, skip to the step of executing the iteration module, and if so, skip to the step of executing the phase-shifting module;
迭代模块,用于基于更新时延控制量获得FPGA移相的整数倍时钟周期,根据FPGA移相的整数倍时钟周期进行补偿,获取补偿后的更新时延控制量,并跳转执行判断模块的步骤;The iterative module is used to obtain the integer multiple clock cycle of the FPGA phase shift based on the update delay control amount, perform compensation according to the integer multiple clock cycle of the FPGA phase shift, obtain the compensated update delay control amount, and jump to execute the judgment module. step;
移相模块,用于根据更新时延控制量采用DPLL进行移相,完成多级数字精密时延控制。The phase-shifting module is used to perform phase-shifting with DPLL according to the update delay control quantity, and complete multi-level digital precision delay control.
本发明系统的进一步改进在于,测量获取模块执行的步骤具体包括:A further improvement of the system of the present invention is that the steps performed by the measurement acquisition module specifically include:
由测量单元测得光纤链路传递来的外部1PPS信号与FPGA生成的1PPS信号的实际时延量作为初始时延控制量。The actual delay between the external 1PPS signal transmitted by the optical fiber link and the 1PPS signal generated by the FPGA measured by the measurement unit as the initial delay control amount.
本发明系统的进一步改进在于,补偿模块执行的步骤具体包括:A further improvement of the system of the present invention is that the steps performed by the compensation module specifically include:
确定FPGA的时钟周期为T,按照公式处理初始时延控制量后,设定整周期移相的周期数N,FPGA延迟N个周期后输出1PPS信号。Determine the clock cycle of the FPGA as T, according to After the formula processes the initial delay control quantity, set the cycle number N of the whole cycle phase shift, and the FPGA outputs a 1PPS signal after delaying N cycles.
本发明系统的进一步改进在于,判断模块执行的步骤具体包括:A further improvement of the system of the present invention is that the steps performed by the judgment module specifically include:
判断所述更新时延控制量是否处于正负150ns之间;若否则跳转执行迭代模块的步骤,若是则跳转执行移相模块的步骤。It is judged whether the update delay control amount is between plus and minus 150ns; if otherwise, the step of executing the iteration module is skipped, and if so, the step of executing the phase-shifting module is skipped.
本发明系统的进一步改进在于,移相模块执行的步骤具体包括:A further improvement of the system of the present invention is that the steps performed by the phase shifting module specifically include:
步骤5.1,配置数控振荡器内部相位累加器的最大阈值ξmax、相位累加器最小阈值ξmin以及频率控制字中心值取ξm,ξm=2n-1,n为数控振荡器内部相位累加器的位数;粗调相位累加器最大阈值ξmax、相位累加器最小阈值ξmin以及根据收发两端时间间隔测量值配置粗调频率控制字值ξ,β为相位累加器与频率控制字的比例因子;判定粗调频率控制字值ξ是否大于最大阈值ξmax或者小于最小阈值ξmin;若否则按照初设值配置粗调频率控制字值ξ,若是则按照最大阈值ξmax或者最小阈值ξmin配置粗调频率控制字值ξ;Step 5.1, configure the maximum threshold ξ max of the internal phase accumulator of the numerical control oscillator, the minimum threshold value of the phase accumulator ξ min and the center value of the frequency control word ξ m , ξ m =2 n-1 , n is the internal phase accumulation of the numerical control oscillator The maximum threshold value of the coarse phase accumulator ξ max , the minimum threshold value of the phase accumulator ξ min and the coarse adjustment frequency control word value ξ according to the measured value of the time interval between the sending and receiving ends, β is the proportional factor between the phase accumulator and the frequency control word; determine whether the coarse adjustment frequency control word value ξ is greater than the maximum threshold ξ max or less than the minimum threshold ξ min ; otherwise, configure the coarse adjustment frequency control word value ξ according to the initial value, if Then configure the coarse frequency control word value ξ according to the maximum threshold ξ max or the minimum threshold ξ min ;
步骤5.2,判定收发两端时间间隔测量值是否在正负300ps之间,若否则跳转执行步骤5.1,若是则跳转执行步骤5.3;Step 5.2, determine the measured value of the time interval between the sending and receiving ends Whether it is between plus and minus 300ps, if otherwise, jump to step 5.1, if so, jump to step 5.3;
步骤5.3,由数控振荡器输出的10MHz与外部输入10MHz进行鉴相,并根据鉴相数值配置频率控制字值改变最小步长值δ,按照最小步长值δ正向或者反向精密改变频率控制字值ξ,ξ=ξ±δ;Step 5.3, perform phase detection between the 10MHz output from the numerically controlled oscillator and the external input 10MHz, and configure the frequency control word value to change the minimum step value δ according to the phase detection value, and change the frequency control precisely in the forward or reverse direction according to the minimum step value δ Word value ξ, ξ=ξ±δ;
步骤5.4,判定收发两端时间间隔测量值是否在正负30ps之间;若否则跳转执行步骤5.3,若是则完成多级数字精密时延控制。Step 5.4, determine the measured value of the time interval between the sending and receiving ends Whether it is between plus and minus 30ps; if not, skip to step 5.3, if so, complete multi-level digital precision delay control.
与现有技术相比,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:
本发明通过FPGA和DPLL移相技术的应用实现了一种应用于光纤时间传递的多级数字精密时延控制方法。本发明依托于高精度的光纤时间传递,为其提供了一种可对大范围时延量进行多级数字精密控制的方式。该发明可以通过调取数据,查看当前工作进度状态,在设备故障时,可提高问题定位效率,利于规范化、集成化生产以及智能化推广。具体示例性的,本发明可实现应用于光纤时间传递的多级数字精密时延控制,时延控制准确度优于30ps。The invention realizes a multi-level digital precise time delay control method applied to optical fiber time transfer through the application of FPGA and DPLL phase shifting technology. Relying on the high-precision optical fiber time transfer, the present invention provides a multi-level digital precise control method for a wide range of time delays. The invention can check the current work progress status by retrieving data, and can improve the problem location efficiency when the equipment fails, which is beneficial to standardization, integrated production and intelligent promotion. Specifically, the present invention can realize multi-level digital precision delay control applied to optical fiber time transfer, and the delay control accuracy is better than 30ps.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面对实施例或现有技术描述中所需要使用的附图做简单的介绍;显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来说,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings used in the description of the embodiments or the prior art; obviously, the accompanying drawings in the following description are For some embodiments of the present invention, for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative efforts.
图1是本发明实施例的一种用于光纤时间传递的多级数字精密时延控制方法的流程示意图;1 is a schematic flowchart of a multi-stage digital precision time delay control method for optical fiber time transfer according to an embodiment of the present invention;
图2是本发明实施例的一种用于光纤时间传递的多级数字精密时延控制系统的示意图。FIG. 2 is a schematic diagram of a multi-stage digital precision time delay control system for optical fiber time transfer according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to make those skilled in the art better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Embodiments are part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.
下面结合附图对本发明做进一步详细描述:Below in conjunction with accompanying drawing, the present invention is described in further detail:
本发明实施例的一种用于光纤时间传递的多级数字精密时延控制方法,包括以下步骤:A multi-stage digital precision time delay control method for optical fiber time transfer according to an embodiment of the present invention includes the following steps:
步骤1,获取本地端与远程端的初始时延控制量;Step 1, obtain the initial delay control amount of the local end and the remote end;
步骤2,基于所述初始时延控制量获得FPGA移相的整数倍时钟周期,根据FPGA移相的整数倍时钟周期进行一级补偿,获取一级补偿后的更新时延控制量;Step 2, obtaining an integer multiple clock cycle of the FPGA phase-shifting based on the initial delay control amount, performing primary compensation according to the integer multiple clock cycle of the FPGA phase shifting, and obtaining an updated delay control amount after the first-level compensation;
步骤3,判断所述更新时延控制量是否处于预设阈值范围内;若不在,则跳转执行步骤4,若在,则跳转执行步骤5;Step 3, judging whether the update delay control amount is within the preset threshold range; if not, then jump to step 4, if it is, then jump to step 5;
步骤4,基于更新时延控制量获得FPGA移相的整数倍时钟周期,根据FPGA移相的整数倍时钟周期进行一级补偿,获取一级补偿后的更新时延控制量,并跳转执行步骤3;Step 4: Obtain the integer multiple clock cycle of the FPGA phase shift based on the update delay control amount, perform first-level compensation according to the integer multiple clock cycle of the FPGA phase shift, obtain the update delay control amount after the first-level compensation, and jump to the execution step 3;
步骤5,根据更新时延控制量采用DPLL进行移相,完成多级数字精密时延控制。Step 5, adopting DPLL to perform phase shifting according to the update delay control amount, and completing multi-stage digital precision delay control.
本发明实施例基于FPGA和DPLL移相技术公开了一种应用于光纤时间传递的多级数字精密时延控制方法,依托于高精度的光纤时间传递可对大范围时延量进行多级数字精密控制,可通过调取数据查看当前工作进度状态,在设备故障时可提高问题定位效率,利于规范化、集成化生产以及智能化推广。The embodiment of the present invention discloses a multi-level digital precision time delay control method applied to optical fiber time transfer based on FPGA and DPLL phase-shifting technology. Relying on high-precision optical fiber time transfer, multi-level digital precision can be performed on a wide range of time delays. Control, the current work progress status can be viewed by fetching data, which can improve the efficiency of problem location when equipment fails, which is conducive to standardized, integrated production and intelligent promotion.
请参阅图1,本发明实施例的一种用于光纤时间传递的多级数字精密时延控制方法,包括以下步骤:Referring to FIG. 1, a multi-level digital precision time delay control method for optical fiber time transfer according to an embodiment of the present invention includes the following steps:
1、由测量单元测得光纤链路传递来的外部1PPS信号与FPGA生成的1PPS信号的实际时延量作为一个时延控制量。1. The actual delay between the external 1PPS signal transmitted by the optical fiber link and the 1PPS signal generated by the FPGA is measured by the measurement unit as a delay control quantity.
2、将步骤1所述该时延控制量送给控制单元处理,控制单元将其中为时钟周期整数倍的时延控制量发送给FPGA,开始第一级时延补偿,进入状态A并锁定。2. The delay control amount described in step 1 It is sent to the control unit for processing, and the control unit sends the delay control amount, which is an integer multiple of the clock period, to the FPGA, starts the first-stage delay compensation, enters state A and locks.
3、在步骤2所述状态A锁定后,确定FPGA的时钟周期为T,控制芯片收集收发两端时间间隔,按照公式处理测量数据后,设定整周期移相的周期数N,FPGA延迟N个周期后输出1PPS信号,进入状态B。3. After the state A described in step 2 is locked, determine that the clock cycle of the FPGA is T, and the control chip collects the time interval between the sending and receiving ends, according to After the formula processes the measurement data, set the cycle number N of the whole cycle phase shift, and the FPGA outputs a 1PPS signal after delaying N cycles, and enters state B.
4、由步骤2所述主控单元判定收发两端时间间隔测量值是否在正负150ns之间,不符合判定条件则返回到状态A,符合判定条件则状态B锁定。4. The main control unit in step 2 determines the measured value of the time interval between the two ends of the sending and receiving Whether it is between plus and minus 150ns, if it does not meet the judgment conditions, it will return to state A, and if it meets the judgment conditions, state B will be locked.
5、由步骤2所述主控单元开始配置NCO内部相位累加器的最大阈值ξmax和相位累加器最小阈值ξmin,频率控制字中心值取ξm(ξm=2n-1,n为NCO内部相位累加器的位数)、粗调相位累加器最大阈值ξmax和相位累加器最小阈值ξmin以及根据收发两端时间间隔测量值配置粗调频率控制字值β为相位累加器与频率控制字的比例因子)。主控单元判定粗调的频率控制字值ξ是否大于最大阈值ξmax或者小于最小阈值ξmin,如果在两者之间,则NCO按照初设值配置粗调频率控制字值ξ,若不在两者之间,则按照最大阈值ξmax或者最小阈值ξmin配置粗调频率控制字值ξ,进入状态C。5. The main control unit described in step 2 begins to configure the maximum threshold ξ max of the NCO internal phase accumulator and the minimum threshold ξ min of the phase accumulator, and the center value of the frequency control word is ξ m (ξ m =2 n-1 , where n is The number of bits of the internal phase accumulator of the NCO), the maximum threshold value of the coarse phase accumulator ξ max and the minimum threshold value of the phase accumulator ξ min , and the coarse adjustment frequency control word value is configured according to the measured value of the time interval at both ends of the transmission and reception. β is the scale factor of the phase accumulator and the frequency control word). The main control unit determines whether the coarse frequency control word value ξ is greater than the maximum threshold ξ max or smaller than the minimum threshold ξ min , if it is between the two, the NCO configures the coarse frequency control word value ξ according to the initial value, if it is not between the two. Between them, configure the coarse adjustment frequency control word value ξ according to the maximum threshold ξ max or the minimum threshold ξ min , and enter state C.
6、由步骤2所述主控单元进一步判定收发两端时间间隔测量值是否在正负300ps之间,不符合判定条件则返回到状态B,符合判定条件则状态C锁定;6. The main control unit described in step 2 further determines the measured value of the time interval at both ends of the transceiver Whether it is between plus and minus 300ps, if it does not meet the judgment conditions, it will return to state B, and if the judgment conditions are met, state C will be locked;
7、此时时延量已控制在300ps之内,需由NCO输出的10MHz与外部输入10MHz进行鉴相,并将鉴相数值反馈至由步骤2所述主控单元,进一步配置频率控制字值改变最小步长值δ,NCO按照改变最小步长值δ正向或者反向精密改变频率控制字值ξ(ξ=ξ±δ),进入状态D。7. At this time, the delay amount has been controlled within 300ps. It is necessary to perform phase detection between the 10MHz output from the NCO and the external input 10MHz, and feed back the phase detection value to the main control unit described in step 2, and further configure the frequency control word value to change. The minimum step value δ, the NCO precisely changes the frequency control word value ξ (ξ=ξ±δ) according to the change of the minimum step value δ forward or reverse, and enters the state D.
8、由步骤2所述主控单元最终判定收发两端时间间隔测量值是否在正负30ps之间,如果是则进入最终锁定状态即状态D锁定,不满足判定条件则跳转至状态C继续调整时延,最终将时延控制在30ps之内,进行状态D的锁定。8. The main control unit described in step 2 finally determines the measured value of the time interval between the sending and receiving ends Whether it is between plus and minus 30ps, if so, it will enter the final locking state, that is, state D is locked. If the judgment condition is not met, it will jump to state C to continue adjusting the delay, and finally control the delay within 30ps and lock state D. .
至此实现了应用于光纤时间传递的多级数字精密时延控制,时延控制准确度优于30ps。So far, the multi-level digital precision delay control applied to optical fiber time transfer has been realized, and the delay control accuracy is better than 30ps.
下述为本发明的装置实施例,可以用于执行本发明方法实施例。对于装置实施例中未纰漏的细节,请参照本发明方法实施例。The following are apparatus embodiments of the present invention, which can be used to execute method embodiments of the present invention. For details that are not omitted in the device embodiments, please refer to the method embodiments of the present invention.
请参阅图2,本发明实施例的一种用于光纤时间传递的多级数字精密时延控制系统,包括:测量单元、主控单元、FPGA、NCO(数控振荡器)、DPD(数字鉴相鉴频器)、DLF(数字环路滤波器)组成,其中由NCO、DPD、DLF构成DPLL移相环。本地端通过光纤链路传递来的外部1PPS信号、外部10MHz和FPGA输出的1PPS信号作为输入信号,输出信号是经过延时的时间信号。Referring to FIG. 2, a multi-stage digital precision time delay control system for optical fiber time transfer according to an embodiment of the present invention includes: a measurement unit, a main control unit, an FPGA, an NCO (Numerically Controlled Oscillator), and a DPD (Digital Phase Detection) Frequency discriminator), DLF (digital loop filter), which is composed of NCO, DPD, DLF to form a DPLL phase shift loop. The external 1PPS signal transmitted by the local end through the optical fiber link, the external 10MHz and the 1PPS signal output by the FPGA are used as input signals, and the output signal is a delayed time signal.
本发明实施例针对当前技术的不足,以FPGA粗调与PLL移相细调为基础提出了一种应用于光纤时间传递的多级数字精密时延控制方法,从而实现了大范围时延的多级数字精密时延控制。此种方式可对内部时延控制状态,锁定状态有更直观的数字标识状态,可以通过调取数据,查看当前工作进度状态,利于规范化、集成化生产以及智能化推广;具体优点包括:1.该系统具有很高的时延控制分辨率,采用DPLL(数字锁相环)移相技术实现高分辨率的时延控制。2、采用FPGA进行整周期移相,进入第一级状态,来进行粗调时延,可将大范围时延控制在一个FPGA时钟周期之内。3、进入下一级状态,针对一个FPGA时钟周期内的时延误差,采用多段循环式数字调节,直至控制时延在精密范围内,即进入最终锁定状态。Aiming at the deficiencies of the current technology, the embodiment of the present invention proposes a multi-stage digital precise time delay control method applied to optical fiber time transfer based on FPGA coarse adjustment and PLL phase shift fine adjustment, so as to realize the multi-level delay in a wide range. Advanced digital precision delay control. This method can have a more intuitive digital identification status for the internal delay control status and lock status, and you can view the current work progress status by retrieving data, which is conducive to standardization, integrated production and intelligent promotion; specific advantages include: 1. The system has high time delay control resolution and adopts DPLL (Digital Phase Locked Loop) phase shifting technology to realize high resolution time delay control. 2. The FPGA is used to perform a full-cycle phase shift and enter the first-level state to perform rough adjustment of the delay, which can control the large-scale delay within one FPGA clock cycle. 3. Enter the next-level state. For the delay error in one FPGA clock cycle, use multi-stage cyclic digital adjustment until the control delay is within the precise range, that is, enter the final locked state.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
最后应当说明的是:以上实施例仅用以说明本发明的技术方案而非对其限制,尽管参照上述实施例对本发明进行了详细的说明,所属领域的普通技术人员应当理解:依然可以对本发明的具体实施方式进行修改或者等同替换,而未脱离本发明精神和范围的任何修改或者等同替换,其均应涵盖在本发明的权利要求保护范围之内。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: the present invention can still be Modifications or equivalent replacements are made to the specific embodiments of the present invention, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention shall be included within the protection scope of the claims of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210190401.2A CN114640346B (en) | 2022-02-28 | Multi-stage digital precision delay control method and system for optical fiber time transfer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210190401.2A CN114640346B (en) | 2022-02-28 | Multi-stage digital precision delay control method and system for optical fiber time transfer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114640346A true CN114640346A (en) | 2022-06-17 |
| CN114640346B CN114640346B (en) | 2025-10-10 |
Family
ID=
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050052252A1 (en) * | 2003-07-15 | 2005-03-10 | Galibois Joseph F. | Synchronizing unit for redundant system clocks |
| US8890591B1 (en) * | 2013-12-24 | 2014-11-18 | Liming Xiu | Circuit and method of using time-average-frequency direct period syntheszier for improving crystal-less frequency generator frequency stability |
| US9209963B1 (en) * | 2014-09-10 | 2015-12-08 | Hughes Network Systems, Llc | Numerically controlled oscillator with fine timing adjustment |
| CN106443711A (en) * | 2016-11-30 | 2017-02-22 | 中国电子科技集团公司第五十四研究所 | Adjustment Method of Transmit Channel Delay in Satellite Navigation Digital Multi-beam System |
| CN111443367A (en) * | 2020-05-19 | 2020-07-24 | 中国人民解放军空军工程大学航空机务士官学校 | A simulation device for parameter testing of airborne GPS navigation equipment |
| CN113014315A (en) * | 2021-01-29 | 2021-06-22 | 中国科学院国家授时中心 | Optical fiber time transmission system and method based on source end compensation |
| CN114039826A (en) * | 2021-11-25 | 2022-02-11 | 成都金诺信高科技有限公司 | Wide-width high-precision time delay device and time delay method based on photoelectric hybrid phase modulation |
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050052252A1 (en) * | 2003-07-15 | 2005-03-10 | Galibois Joseph F. | Synchronizing unit for redundant system clocks |
| US8890591B1 (en) * | 2013-12-24 | 2014-11-18 | Liming Xiu | Circuit and method of using time-average-frequency direct period syntheszier for improving crystal-less frequency generator frequency stability |
| US9209963B1 (en) * | 2014-09-10 | 2015-12-08 | Hughes Network Systems, Llc | Numerically controlled oscillator with fine timing adjustment |
| CN106443711A (en) * | 2016-11-30 | 2017-02-22 | 中国电子科技集团公司第五十四研究所 | Adjustment Method of Transmit Channel Delay in Satellite Navigation Digital Multi-beam System |
| CN111443367A (en) * | 2020-05-19 | 2020-07-24 | 中国人民解放军空军工程大学航空机务士官学校 | A simulation device for parameter testing of airborne GPS navigation equipment |
| CN113014315A (en) * | 2021-01-29 | 2021-06-22 | 中国科学院国家授时中心 | Optical fiber time transmission system and method based on source end compensation |
| CN114039826A (en) * | 2021-11-25 | 2022-02-11 | 成都金诺信高科技有限公司 | Wide-width high-precision time delay device and time delay method based on photoelectric hybrid phase modulation |
Non-Patent Citations (1)
| Title |
|---|
| 才滢;崔保健;赵海鹰;: "GPS授时信号同步方法研究与应用", 计测技术, no. 1, 1 June 2013 (2013-06-01) * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102386926B (en) | Sequential Circuit and Method of Controlling Signal Sequence | |
| US12113539B1 (en) | Field programmable gate array with external phase-locked loop | |
| Da Dalt | Markov chains-based derivation of the phase detector gain in bang-bang PLLs | |
| US12107587B1 (en) | Field programmable gate array with internal phase-locked loop | |
| US7884751B2 (en) | Time-to-digital converter | |
| US6157690A (en) | Digital PLL circuit | |
| US7323915B2 (en) | Delay locked loop with selectable delay | |
| CN103905038B (en) | Periodical precomputation and skew compensation circuit and method for delaying locking loop in FPGA chip thereof | |
| EP3320645B1 (en) | Clock recovery circuit | |
| CN104506190A (en) | Digital FNPLL (Fractional-N Phase-Locked Loop) control method and PLL (Phase-Locked Loop) | |
| CN104753499B (en) | Duty ratio calibrating circuit | |
| WO2004025417A2 (en) | Clock recovery method for bursty communications | |
| CN103840830A (en) | Time-to-digit converter and digital phase-locked loop | |
| US20140354262A1 (en) | Lock detector for digital phase-locked loop | |
| US20120206176A1 (en) | Coarse lock detector and delay-locked loop including the same | |
| CN103795408A (en) | Bitwidth reduction in loop filters used for digital PLL | |
| US11641208B2 (en) | Frequency locking method and circuit for phase-locked loop | |
| CN102882516A (en) | Delay locked loop system and method for automatically resetting delay locked loop | |
| CN114640346A (en) | Multi-level digital precision time delay control method and system for optical fiber time transfer | |
| CN103051336A (en) | Frequency synthesizer and frequency synthesizing method | |
| CN114640346B (en) | Multi-stage digital precision delay control method and system for optical fiber time transfer | |
| KR20250141134A (en) | Phase-locked loop (PLL) including digitally controlled oscillator (DCO) gain correction circuit and related method | |
| US20110248757A1 (en) | Digital calibration device and method for high speed digital systems | |
| US7764088B2 (en) | Frequency detection circuit and detection method for clock data recovery circuit | |
| CN109194334B (en) | Synchronous system applied to multichannel high-speed digital-to-analog converter |
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 | ||
| GR01 | Patent grant |