CN108111245A - Optical fiber transport channel clock system and its method - Google Patents
Optical fiber transport channel clock system and its method Download PDFInfo
- Publication number
- CN108111245A CN108111245A CN201710831407.2A CN201710831407A CN108111245A CN 108111245 A CN108111245 A CN 108111245A CN 201710831407 A CN201710831407 A CN 201710831407A CN 108111245 A CN108111245 A CN 108111245A
- Authority
- CN
- China
- Prior art keywords
- clock
- module
- sync
- 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
Links
- 239000013307 optical fiber Substances 0.000 title claims abstract description 99
- 238000000034 method Methods 0.000 title claims abstract description 11
- 238000005259 measurement Methods 0.000 claims abstract description 93
- 238000009826 distribution Methods 0.000 claims abstract description 72
- 230000005540 biological transmission Effects 0.000 claims abstract description 43
- 238000012952 Resampling Methods 0.000 claims abstract description 22
- 230000003287 optical effect Effects 0.000 claims abstract description 21
- 230000008054 signal transmission Effects 0.000 claims abstract description 16
- 238000012545 processing Methods 0.000 claims abstract description 10
- 238000006243 chemical reaction Methods 0.000 claims abstract description 4
- 230000000630 rising effect Effects 0.000 claims description 16
- 230000000694 effects Effects 0.000 claims description 6
- 230000001360 synchronised effect Effects 0.000 claims description 6
- 239000000835 fiber Substances 0.000 claims description 4
- 230000005611 electricity Effects 0.000 claims 4
- 241000208340 Araliaceae Species 0.000 claims 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims 1
- 235000003140 Panax quinquefolius Nutrition 0.000 claims 1
- 235000008434 ginseng Nutrition 0.000 claims 1
- 230000002035 prolonged effect Effects 0.000 claims 1
- 238000005070 sampling Methods 0.000 abstract description 2
- 230000001105 regulatory effect Effects 0.000 abstract 1
- 230000001934 delay Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 3
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 230000010363 phase shift Effects 0.000 description 2
- 230000003460 anti-nuclear Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 229910052802 copper Inorganic materials 0.000 description 1
- 239000010949 copper Substances 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000002542 deteriorative effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/16—Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
- H04J3/1605—Fixed allocated frame structures
- H04J3/1611—Synchronous digital hierarchy [SDH] or SONET
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/16—Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
- H04J3/1605—Fixed allocated frame structures
- H04J3/1652—Optical Transport Network [OTN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0075—Arrangements for synchronising receiver with transmitter with photonic or optical means
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/02—Speed or phase control by the received code signals, the signals containing no special synchronisation information
- H04L7/033—Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Optical Communication System (AREA)
Abstract
一种光纤传输通道时钟同步系统,包括:为不同远端节点分发时钟和SYNC信号的时钟与SYNC处理子系统、用于完成信号的光/电、电/光转换及传输的信号传输子系统、用于实时调节时钟相位的时钟相位调节子系统、用于完成时钟和SYNC的相位重对齐的SYNC重采样子系统。其中,所述的时钟与SYNC处理子系统包括时钟周期延迟分发模块、SYNC分发和接收模块;所述的信号传输子系统包括电转光模块、光纤传输模块、光转电模块;所述的时钟相位调节子系统包括锁相环模块、可变相位延迟模块。本发明还包括使用光纤传输通道时钟同步系统的方法。本发明能够有效完成所有远端测量节点与本地数据处理中心的时钟同步、采样同步功能,可以适应不同长度的光纤,系统结构简单。
A clock synchronization system for an optical fiber transmission channel, including: a clock and SYNC processing subsystem for distributing clocks and SYNC signals to different remote nodes, a signal transmission subsystem for completing optical/electrical, electrical/optical conversion and transmission of signals, A clock phase adjustment subsystem for adjusting the clock phase in real time, and a SYNC resampling subsystem for completing the phase realignment of the clock and SYNC. Wherein, the clock and SYNC processing subsystem includes a clock cycle delay distribution module, SYNC distribution and receiving module; the signal transmission subsystem includes an electrical-to-optical module, an optical fiber transmission module, and an optical-to-electrical module; the clock phase The regulating subsystem includes a phase-locked loop module and a variable phase delay module. The present invention also includes a method of synchronizing a system using an optical fiber transport channel clock. The invention can effectively complete the clock synchronization and sampling synchronization functions of all remote measurement nodes and the local data processing center, can adapt to optical fibers of different lengths, and has a simple system structure.
Description
技术领域technical field
本发明涉及多路光纤传输通道的时钟同步方法和装置。The invention relates to a clock synchronization method and device for multi-channel optical fiber transmission channels.
背景技术Background technique
光纤作为一种新型的传输媒质,与传统的铜质电缆相比,具有许多明显的优点,如保密性好、抗电磁干扰、抗核辐射、尺寸小、重量轻等,使得光纤在民用和军用电子系统上得到了越来越多的应用。在雷达领域,作为相控阵雷达的一个重要发展方向,数字阵列雷达采用分布式发射与接收,收发节点数目多,传输数据量大,在工程上已经有利用光纤实现数字阵列雷达大容量数据传输的先例,但是由于采用等长光纤,使得应用范围大大缩小。采用不等长光纤作为数据传输通道,在工程上仍然存在许多问题需要解决。在电力系统领域,需要实时测定温度、电流等参数,如对高压变压器和大型电机的定子、转子温度的检测等,由于现场环境电磁干扰复杂,传统的铜导线数据传输效果差,将逐渐被光纤传输所替代,例如分布式光纤温度传感器就是近几年发展起来的一种用于实时测量空间温度场的高新技术。As a new type of transmission medium, optical fiber has many obvious advantages compared with traditional copper cables, such as good confidentiality, anti-electromagnetic interference, anti-nuclear radiation, small size, light weight, etc., making optical fiber widely used in civilian and military applications. There are more and more applications in electronic systems. In the field of radar, as an important development direction of phased array radar, digital array radar adopts distributed transmission and reception, the number of sending and receiving nodes is large, and the amount of transmitted data is large. In engineering, optical fiber has been used to realize large-capacity data transmission of digital array radar However, due to the use of equal-length optical fibers, the scope of application is greatly reduced. Using unequal-length optical fibers as data transmission channels still has many problems to be solved in engineering. In the field of power systems, it is necessary to measure parameters such as temperature and current in real time, such as the detection of the temperature of the stator and rotor of high-voltage transformers and large motors. Due to the complex electromagnetic interference in the field environment, the traditional copper wire data transmission effect is poor, and will gradually be replaced by optical fiber. Instead of transmission, for example, distributed optical fiber temperature sensor is a high-tech developed in recent years for real-time measurement of space temperature field.
由于光纤具有非常多的优点,使得诸如以上所述的分布式测控系统越来越多地采用光纤作为数据和时钟的传输媒介。所有测量节点在空间上彼此分离且相互之间无信息交互,所有测量节点与数据处理中心通过光纤进行物理连接。然而,分布式测控系统的各个传输通道存在光纤传输长度不等长、光纤性能对外部温湿度变化、机械振动非常敏感等诸多问题,使得分布式测控系统利用光纤实现大规模高速传输存在通道间的时钟不同步,时钟的不同步会导致测控节点之间无法做到同时发送和接收信号,恶化系统的整体性能,甚至导致系统无法正常工作。因此需要一套能够校正系统通道间时钟不一致性的校正方法和装置,但截至目前尚无可行的实现方案。Due to the many advantages of optical fiber, distributed measurement and control systems such as those mentioned above increasingly adopt optical fiber as the transmission medium of data and clock. All measurement nodes are separated from each other in space and have no information interaction with each other, and all measurement nodes are physically connected to the data processing center through optical fibers. However, there are many problems in the transmission channels of the distributed measurement and control system, such as unequal length of optical fiber transmission, and the performance of the optical fiber is very sensitive to external temperature and humidity changes, mechanical vibrations, etc., so that the distributed measurement and control system uses optical fibers to achieve large-scale high-speed transmission. The clocks are not synchronized, and the clocks are not synchronized, which will cause the measurement and control nodes to be unable to send and receive signals at the same time, deteriorating the overall performance of the system, and even causing the system to fail to work normally. Therefore, a set of correction method and device capable of correcting clock inconsistency between system channels is needed, but so far there is no feasible implementation scheme.
发明内容Contents of the invention
本发明要克服现有分布式测控系统利用光纤传输技术实现大规模数据传输时存在通道间时钟不一致性的问题,提出一种无需提前获取光纤长度,能自动测量并修正光纤传输通道时钟不一致性的光纤传输通道时钟同步系统和方法。The present invention overcomes the problem of clock inconsistency between channels when the existing distributed measurement and control system utilizes optical fiber transmission technology to realize large-scale data transmission, and proposes a method that can automatically measure and correct clock inconsistency in optical fiber transmission channels without obtaining the length of optical fiber in advance A fiber transport channel clock synchronization system and method.
本发明的上述目的可以通过下述技术方案予以实现:Above-mentioned purpose of the present invention can be achieved by following technical scheme:
一种光纤传输通道时钟同步系统,包括:为不同远端节点分发时钟和SYNC 信号的时钟与SYNC处理子系统、用于完成信号的光/电、电/光转换及传输的信号传输子系统、用于实时调节时钟相位的时钟相位调节子系统、用于完成时钟和SYNC的相位重对齐的SYNC重采样子系统。A clock synchronization system for an optical fiber transmission channel, including: a clock and SYNC processing subsystem for distributing clocks and SYNC signals to different remote nodes, a signal transmission subsystem for completing optical/electrical, electrical/optical conversion and transmission of signals, A clock phase adjustment subsystem for adjusting the clock phase in real time, and a SYNC resampling subsystem for completing the phase realignment of the clock and SYNC.
其中,所述的时钟与SYNC处理子系统包括:Wherein, the clock and SYNC processing subsystem includes:
时钟周期延迟分发模块,用于为每一个远端测量节点提供一路时钟信号。具有输出延迟粗调的相位失调选择功能,最小延迟步进等于输入时钟周期的一半。每个输出时钟都可以单独设置延迟量。该模块的输出延迟量的值由SYNC 分发和接收模块决定。The clock cycle delay distribution module is used to provide one clock signal for each remote measurement node. Phase offset selection with coarse output delay adjustment, with a minimum delay step equal to half the input clock period. The amount of delay can be set individually for each output clock. The value of the block's output delay amount is determined by the SYNC distribution and reception blocks.
SYNC分发和接收模块,用于为每一个远端测量节点提供一路SYNC信号,同时接收每一个远端测量节点回发的SYNC信号。该模块可以测量出发送和接收的SYNC信号所经历的时钟周期数,该值决定了时钟周期延迟分发模块每一路输出的延迟量。The SYNC distribution and receiving module is configured to provide one SYNC signal for each remote measurement node, and simultaneously receive the SYNC signal sent back by each remote measurement node. This module can measure the number of clock cycles experienced by the SYNC signal sent and received, and this value determines the delay amount of each output of the clock cycle delay distribution module.
所述的信号传输子系统包括:The signal transmission subsystem includes:
电转光模块,用于把以电信号形式存在的时钟信号、SYNC信号转化为光信号。The electrical-to-optical module is used to convert the clock signal and SYNC signal in the form of electrical signal into optical signal.
光纤传输模块,利用光纤,把时钟信号、SYNC信号从本地数据处理中心分发给不同的远端测量节点。The optical fiber transmission module uses optical fiber to distribute the clock signal and SYNC signal from the local data processing center to different remote measurement nodes.
光转电模块,用于接收光纤传输模块的光信号,并转换为电信号。The optical-to-electrical module is used to receive the optical signal of the optical fiber transmission module and convert it into an electrical signal.
所述的时钟相位调节子系统包括:The clock phase adjustment subsystem includes:
锁相环模块,用于比较发送的时钟、接收的时钟之间的相位差,输出与该相位差成正比的调节电压,控制可变相位延迟模块。The phase-locked loop module is used to compare the phase difference between the transmitted clock and the received clock, output an adjustment voltage proportional to the phase difference, and control the variable phase delay module.
可变相位延迟模块,在时钟发送链路和时钟接收链路上各有一个可变相位延迟模块,该模块受锁相环模块的调节电压的控制,对输入的时钟信号进行相位延迟。The variable phase delay module has a variable phase delay module on the clock sending link and the clock receiving link respectively, and the module is controlled by the regulation voltage of the phase locked loop module to delay the phase of the input clock signal.
所述的SYNC重采样子系统,存在于每一个远端测量节点上,接收本地数据处理中心发送过来的时钟信号和SYNC信号,并把SYNC信号与时钟信号进行相位对齐。输出新的SYNC信号回传给本地数据处理中心。The SYNC resampling subsystem exists on each remote measurement node, receives the clock signal and the SYNC signal sent by the local data processing center, and aligns the phases of the SYNC signal and the clock signal. Output a new SYNC signal and send it back to the local data processing center.
所有远端测量节点把接收到的SYNC信号作为触发事件,当触发事件发生时,远端测量节点开始执行相应的测控任务。系统对远端测量节点的数目没有限制,不同远端测量节点与本地数据处理中心的距离没有限制。每个远端测量节点都与本地数据处理中心形成时钟信号、SYNC信号的收发回路。每个远端测量节点之间没有数据交换。由本地数据处理中心完成所有远端测量节点之间的时钟和SYNC信号同步。All remote measurement nodes regard the received SYNC signal as a trigger event, and when the trigger event occurs, the remote measurement nodes start to execute corresponding measurement and control tasks. The system has no limit to the number of remote measurement nodes, and there is no limit to the distance between different remote measurement nodes and the local data processing center. Each remote measurement node forms a clock signal and SYNC signal sending and receiving loop with the local data processing center. There is no data exchange between each remote measurement node. The clock and SYNC signal synchronization between all remote measurement nodes is completed by the local data processing center.
进一步,所述SYNC分发和接收模块中,所述SYNC信号所经历的时钟周期数的测量方法为:在发送SYNC的同时,SYNC分发和接收模块把内部计数器清零,并在每个时钟信号的上升沿把计数器的值加1。当SYNC分发和接收模块接收到远端测量节点回发的SYNC信号时,计数器停止累加,把计数器的值发送给时钟周期延迟分发模块,对每一路时钟输出的周期延迟数进行调节。Further, in the SYNC distribution and receiving module, the measurement method of the number of clock cycles experienced by the SYNC signal is: while sending SYNC, the SYNC distribution and receiving module clears the internal counter, and at each clock signal A rising edge increments the counter by 1. When the SYNC distribution and receiving module receives the SYNC signal sent back by the remote measurement node, the counter stops accumulating, and sends the value of the counter to the clock cycle delay distribution module to adjust the cycle delay number of each clock output.
更进一步,所述的信号传输子系统中,共有4类信号需要通过光纤进行传输,即本地数据处理中心发送给远端测量节点的时钟信号、SYNC信号,远端测量节点回发给本地数据处理中心的时钟信号、SYNC信号。所述的光纤传输模块有两种物理实现方式,其一是利用波分复用技术,把这4个信号分别调制到不同波长的载波上,并在一根光纤上进行传输,结构较复杂,但是可以节省光纤数目;其二是把这4个信号调制到相同波长的载波上,分别在不同的光纤上进行传输,结构简单,但是需要保证4根光纤等长。Furthermore, in the signal transmission subsystem, a total of 4 types of signals need to be transmitted through optical fibers, that is, the clock signal and SYNC signal sent by the local data processing center to the remote measurement node, and the remote measurement node sends back to the local data processing Central clock signal, SYNC signal. The optical fiber transmission module has two physical implementations. One is to use wavelength division multiplexing technology to modulate the four signals onto carriers of different wavelengths and transmit them on an optical fiber. The structure is relatively complicated. But it can save the number of optical fibers; the second is to modulate the four signals to the same wavelength carrier and transmit them on different optical fibers respectively. The structure is simple, but it is necessary to ensure that the four optical fibers are of equal length.
最后,时钟与SYNC处理子系统运行在本地数据处理中心上,信号传输子系统运行在本地数据处理中心和远端测量节点上,时钟相位调节子系统运行在本地数据处理中心上,SYNC重采样子系统运行在远端测量节点上。Finally, the clock and SYNC processing subsystem runs on the local data processing center, the signal transmission subsystem runs on the local data processing center and remote measurement nodes, the clock phase adjustment subsystem runs on the local data processing center, and the SYNC resampling sub-system The system runs on remote measurement nodes.
适用于前述的光纤传输通道时钟同步系统的方法,包括如下步骤:The method applicable to the aforementioned optical fiber transmission channel clock synchronization system includes the following steps:
步骤1、整个系统复位上电后,全局参考时钟输入时钟周期延迟分发模块2。 SYNC分发和接收模块1把时钟周期延迟分发模块2的输出延迟量设置为0,时钟周期延迟分发模块2无延迟地输出每一路参考时钟,一路参考时钟进入SYNC 分发和接收模块1,一路参考时钟进入锁相环模块3、可变相位延迟模块4a。Step 1. After the entire system is reset and powered on, the global reference clock input clock cycle delays the distribution module 2 . SYNC distribution and receiving module 1 sets the output delay of clock cycle delay distribution module 2 to 0, and clock cycle delay distribution module 2 outputs each reference clock without delay, and one reference clock enters SYNC distribution and receiving module 1, and one reference clock Enter the phase-locked loop module 3 and the variable phase delay module 4a.
步骤2、进入可变相位延迟模块4a的参考时钟信号将通过电转光模块6a、光纤7a、光转电模块5a发送到远端测量节点。远端测量节点从光转电模块5a 的输出口获得参考时钟信号,并以此作为整个节点的参考时钟基准。该参考时钟此外还要分成两路,一路输入SYNC重采样模块8,另一路进入电转光模块 6b,并通过光纤回传给本地数据处理中心。Step 2. The reference clock signal entering the variable phase delay module 4a will be sent to the remote measurement node through the electrical-to-optical module 6a, the optical fiber 7a, and the optical-to-electrical module 5a. The remote measurement node obtains the reference clock signal from the output port of the optical-to-electrical module 5a, and uses it as the reference clock basis of the entire node. In addition, the reference clock is divided into two paths, one path is input to the SYNC resampling module 8, the other path is entered into the electrical-to-optical module 6b, and is sent back to the local data processing center through optical fiber.
步骤3、由于光纤长度的随机性,锁相环模块3的两个输入信号之间的相位差随机分布于0°~360°之间。锁相环模块3内部的鉴相器比较两个输入信号之间的相位差,产生一个与该相位差成比例的信号。随后锁相环模块3内部的环路滤波器将鉴相器输出的含有纹波成分的直流信号平均化,将此变化为交流成分较少的直流信号,范围为0~5V,锁相环模块的最后一级是运算放大器构成的有源环路滤波器。该结构有两种选择,反相拓扑结构和正相拓扑结构。反相拓扑结构的输入阻抗低,相当于给前一级增加了负载,改变了锁相环模块的环路特性;同相拓扑结构的输入阻抗高,不会使前级承受负载;但是使用反相拓扑结构时,锁相环模块中的鉴相器必须具有极性反转功能,以抵消反相拓扑结构带来的相位反转效应。以正确的极性驱动可变相位延迟模块4。有源环路滤波器将输入的0~5V直流信号放大为0~12V直流信号,同时输入两个可变相位延迟模块4a、4b。Step 3. Due to the randomness of the optical fiber length, the phase difference between the two input signals of the phase-locked loop module 3 is randomly distributed between 0° and 360°. The phase detector inside the phase locked loop module 3 compares the phase difference between the two input signals and generates a signal proportional to the phase difference. Subsequently, the loop filter inside the phase-locked loop module 3 averages the DC signal containing ripple components output by the phase detector, and changes this into a DC signal with less AC components, ranging from 0 to 5V, and the phase-locked loop module The final stage is an active loop filter formed by operational amplifiers. There are two options for this structure, inverting topology and non-inverting topology. The input impedance of the inverting topology is low, which is equivalent to adding a load to the previous stage, which changes the loop characteristics of the phase-locked loop module; the input impedance of the non-inverting topology is high, which will not make the previous stage bear the load; but using the inverting When the topology is used, the phase detector in the phase-locked loop module must have a polarity inversion function to offset the phase inversion effect brought by the inverting topology. Drive the variable phase delay block 4 with the correct polarity. The active loop filter amplifies the input DC signal of 0-5V into a DC signal of 0-12V, and simultaneously inputs the two variable phase delay modules 4a, 4b.
步骤4、可变相位延迟模块4a、4b根据输入的直流信号的大小改变相位延迟量,使可变相位延迟模块4a、4b的输出时钟相对于输入时钟产生0~180°范围内的相位延迟。当直流信号值为0V时,可变相位延迟模块4的相位延迟量为 0°,当直流信号值为12V时,可变相位延迟模块4的相位延迟量略大于180°;从本地数据处理中心到远端测量节点的路径有1个可变相位延迟模块4a,从远端测量节点到本地数据处理中心的路径上也有1个可变相位延迟模块4b,整个时钟传输回路上就包含两个可变相位延迟模块4a、4b,可以覆盖0~360°一个完整周期的时钟相位偏移量。Step 4: The variable phase delay modules 4a and 4b change the phase delay amount according to the magnitude of the input DC signal, so that the output clocks of the variable phase delay modules 4a and 4b have a phase delay in the range of 0-180° relative to the input clock. When the DC signal value is 0V, the phase delay of the variable phase delay module 4 is 0°, and when the DC signal value is 12V, the phase delay of the variable phase delay module 4 is slightly greater than 180°; from the local data processing center There is a variable phase delay module 4a on the path to the remote measurement node, and there is also a variable phase delay module 4b on the path from the remote measurement node to the local data processing center. The entire clock transmission loop contains two variable phase delay modules 4a The variable phase delay modules 4a and 4b can cover the clock phase offset of a complete cycle of 0-360°.
步骤5、当可变相位延迟模块4a、4b改变自身的相位延迟量时,远端测量节点上的参考时钟基准信号的相位也相应的发生变化。直到锁相环模块3的两个输入信号的相位差为0°,此时锁相环模块3的输出直流信号不再变化,可变相位延迟模块4a、4b的相位延迟量也不再变化,远端测量节点的参考时钟基准信号与时钟周期延迟分发模块2输出的参考时钟相位对齐。Step 5. When the variable phase delay modules 4a and 4b change their own phase delays, the phase of the reference clock reference signal on the remote measurement node also changes correspondingly. Until the phase difference of the two input signals of the phase-locked loop module 3 is 0°, the output DC signal of the phase-locked loop module 3 no longer changes, and the phase delays of the variable phase delay modules 4a, 4b also no longer change. The reference clock reference signal of the remote measurement node is phase-aligned with the reference clock output by the clock cycle delay distribution module 2 .
步骤6、由于光纤长度的不一致性,还会带来远端本地数据处理中心发送的 10MHz参考时钟需要在光纤上经历不同的时钟周期数才能到达每个远端测量节点。此时系统需要启动SYNC分发和接收模块1测量时钟周期数。SYNC分发和接收模块1在参考时钟的上升沿,将SYNC信号置高,同时启动内部的计数器,在每一个参考时钟的上升沿将计数器的值加1。电转光模块6c将该SYNC 信号转化为光信号,并通过光纤传输到远端测量节点,由光转电模块5c将SYNC 信号变为电信号,并送入SYNC重采样模块8。由于SYNC分发和接收模块1 发送的SYNC信号与参考时钟的上升沿是对齐的,发送参考时钟的链路比发送 SYNC的链路多了一个可变相位延迟模块4a,使得到达远端测量节点的参考时钟比SYNC信号滞后了0~180°范围内的随机相位,远端测量节点上的SYNC 重采样模块8作用是消除这个随机相位偏差,使得输出的SYNC信号重新实现与参考时钟的上升沿对齐,如附图5所示。SYNC再回传给本地数据处理中心的 SYNC分发和接收模块1,此时SYNC分发和接收模块1停止内部计数器,计数器的当前值即为参考时钟在单根光纤上经历的时钟周期数的两倍。Step 6. Due to the inconsistency of the optical fiber length, the 10MHz reference clock sent by the remote local data processing center needs to go through different clock cycles on the optical fiber to reach each remote measurement node. At this time, the system needs to start the SYNC distribution and reception module 1 to measure the number of clock cycles. The SYNC distribution and receiving module 1 sets the SYNC signal high at the rising edge of the reference clock, and starts an internal counter at the same time, and adds 1 to the value of the counter at each rising edge of the reference clock. The electrical-to-optical module 6c converts the SYNC signal into an optical signal, and transmits it to a remote measurement node through an optical fiber. The optical-to-electrical module 5c converts the SYNC signal into an electrical signal, and sends it to the SYNC resampling module 8 . Since the SYNC signal sent by the SYNC distribution and receiving module 1 is aligned with the rising edge of the reference clock, the link sending the reference clock has one more variable phase delay module 4a than the link sending SYNC, so that the The reference clock lags behind the SYNC signal by a random phase in the range of 0 to 180°. The function of the SYNC resampling module 8 on the remote measurement node is to eliminate this random phase deviation, so that the output SYNC signal is re-aligned with the rising edge of the reference clock. , as shown in Figure 5. SYNC is sent back to the SYNC distribution and receiving module 1 of the local data processing center. At this time, the SYNC distribution and receiving module 1 stops the internal counter, and the current value of the counter is twice the number of clock cycles experienced by the reference clock on a single optical fiber. .
步骤7、SYNC分发和接收模块1依据步骤6获得了所有远端测量节点与本地数据处理中心互连的光纤上经历的时钟周期数,计算出时钟周期延迟分发模块2每一个输出时钟端口相对于全局参考时钟的周期延迟数。例如当第一远端测量节点与本地数据处理中心互连的光纤长度为65米,第二远端测量节点与本地数据中心互连的光纤长度为85米时,SYNC分发和接收模块1测得的对应于第一远端测量节点的时钟周期延迟数为8,对应于第二远端测量节点的时钟周期延迟数为10。此时时钟周期延迟分发模块2设定每个输出端口的周期延迟数,补偿光纤带来的时钟周期延迟数的不一致性,若记时钟周期延迟分发模块2输出给第一远端测量节点的延迟数为N1,输出给第二远端测量节点的延迟数为N2,那么满足8+N1=10+N2。Step 7, SYNC distribution and receiving module 1 obtains the number of clock cycles experienced on the optical fiber interconnected between all remote measurement nodes and the local data processing center according to step 6, and calculates the clock cycle delay of each output clock port of the distribution module 2 relative to The number of cycle delays of the global reference clock. For example, when the length of the optical fiber interconnecting the first remote measurement node and the local data processing center is 65 meters, and the length of the optical fiber interconnecting the second remote measurement node and the local data center is 85 meters, the SYNC distribution and receiving module 1 measures The number of clock cycle delays corresponding to the first remote measurement node is 8, and the number of clock cycle delays corresponding to the second remote measurement node is 10. At this time, the clock cycle delay distribution module 2 sets the cycle delay number of each output port to compensate the inconsistency of the clock cycle delay number brought by the optical fiber. If the clock cycle delay distribution module 2 outputs the delay to the first remote measurement node The number is N1, and the delay number output to the second remote measurement node is N2, then 8+N1=10+N2 is satisfied.
本发明的有益效果主要表现在:The beneficial effects of the present invention are mainly manifested in:
1)本发明不需要增加额外的光纤传输通道,仅靠光纤时钟传输通道上的锁相环和可变相位延迟模块,就可以实现所有远端测量节点与本地数据处理中心的时钟信号的边沿对齐功能;1) The present invention does not need to add an additional optical fiber transmission channel, and only relies on the phase-locked loop and variable phase delay module on the optical fiber clock transmission channel to realize the edge alignment of all remote measurement nodes and the clock signal of the local data processing center Function;
2)仅利用SYNC信号和时钟信号就能完成所有远端测量节点之间的时钟周期不一致性校正功能;2) The clock cycle inconsistency correction function between all remote measurement nodes can be completed only by using the SYNC signal and the clock signal;
3)SYNC信号可以兼做所有远端测量节点的触发命令,完成所有节点的同步采样和输出功能;3) The SYNC signal can also be used as a trigger command for all remote measurement nodes to complete the synchronous sampling and output functions of all nodes;
4)本发明能适应各种长度的光纤传输通道,采用光纤作为传输媒介,抗电磁干扰和保密性强;各节点之间无需任何物理电气连接,系统结构简单,工程实现容易。4) The present invention can adapt to optical fiber transmission channels of various lengths, adopts optical fiber as the transmission medium, and has strong anti-electromagnetic interference and confidentiality; no physical electrical connection is required between nodes, the system structure is simple, and engineering implementation is easy.
附图说明Description of drawings
图1是本发明光纤传输通道时钟同步系统示意图。Fig. 1 is a schematic diagram of the optical fiber transmission channel clock synchronization system of the present invention.
图2是本发明校正模块布局及互连方式示意图,其中细实线代表时钟路径,细虚线代表SYNC路径。Fig. 2 is a schematic diagram of the layout and interconnection of the calibration module of the present invention, wherein the thin solid line represents the clock path, and the thin dotted line represents the SYNC path.
图3是本发明有源环路滤波器的反相拓扑结构。FIG. 3 is an inverting topology of the active loop filter of the present invention.
图4是本发明有源环路滤波器的正相拓扑结构。Fig. 4 is a non-inverting topology of the active loop filter of the present invention.
图5是本发明SYNC重采样模块功能示意图。Fig. 5 is a functional schematic diagram of the SYNC resampling module of the present invention.
图6是可控相位延迟模块控制电压与相位延迟量的关系。Fig. 6 is the relationship between the control voltage of the controllable phase delay module and the amount of phase delay.
具体实施方式Detailed ways
下面结合附图对发明进一步说明。The invention will be further described below in conjunction with the accompanying drawings.
本发明的一种常见应用场景如图1所示,系统存在多个离散分布的远端测量节点,它们分别通过不等长的光纤和本地数据处理中心进行互连。本地数据处理中心负责把时钟信号和作为触发事件的SYNC信号传送给所有的远端测量节点。系统要求到达所有远端测量节点的时钟保持相位一致性,同时所有SYNC 信号能在同一时刻到达所有的远端测量节点。A common application scenario of the present invention is shown in FIG. 1 . There are a plurality of discretely distributed remote measurement nodes in the system, and they are respectively interconnected with a local data processing center through optical fibers of unequal length. The local data processing center is responsible for transmitting the clock signal and the SYNC signal as a trigger event to all remote measurement nodes. The system requires that the clocks reaching all remote measurement nodes maintain phase consistency, and all SYNC signals can reach all remote measurement nodes at the same time.
参照图1和图2,一种光纤传输通道时钟同步系统,包括:为不同远端节点分发时钟和SYNC信号的时钟与SYNC处理子系统、用于完成信号的光/电、电 /光转换及传输的信号传输子系统、用于实时调节时钟相位的时钟相位调节子系统、用于完成时钟和SYNC的相位重对齐的SYNC重采样子系统。Referring to Fig. 1 and Fig. 2, a kind of optical fiber transmission channel clock synchronization system includes: clock and SYNC processing subsystem for distributing clock and SYNC signal for different remote nodes, optical/electrical, electrical/optical conversion and The signal transmission subsystem for transmission, the clock phase adjustment subsystem for adjusting the clock phase in real time, and the SYNC resampling subsystem for completing phase realignment of clock and SYNC.
其中时钟与SYNC处理子系统包括:时钟周期延迟分发模块1、SYNC分发和接收模块2;信号传输子系统包括:电转光模块6、光纤传输模块7、光转电模块5;时钟相位调节子系统包括:锁相环模块3、可变相位延迟模块4。The clock and SYNC processing subsystem includes: clock cycle delay distribution module 1, SYNC distribution and receiving module 2; signal transmission subsystem includes: electrical to optical module 6, optical fiber transmission module 7, optical to electrical module 5; clock phase adjustment subsystem It includes: a phase-locked loop module 3 and a variable phase delay module 4.
由于所有远端测量节点的结构是一样的,因此仅对一个远端测量节点进行阐述。方法同样适用于其他远端测量节点。Since the structures of all remote measurement nodes are the same, only one remote measurement node is described. The method is also applicable to other remote measurement nodes.
图2的时钟周期延迟分发模块2产生系统参考时钟信号,同时送给SYNC 分发和接收模块1的第一输入口、锁相环模块3的第一输入口、可变相位延迟模块4a的输入口;可变相位延迟模块4a输出的时钟信号在经过电转光模块6a、光纤传输通道7a、光转电模块5a之后到达远端测量节点;远端测量节点将CLK 信号分成3路,一路作为远端测量节点的参考时钟,一路进入SYNC重采样模块8的第一输入口,另一路经过电转光模块6b、光纤传输通道7b、光转电模块 5b、可变相位延迟模块4b后进入锁相环模块3的第二输入口;锁相环模块3通过比较第一输入口和第二输入口的时钟信号的相位差,输出与该相位差成正比的调节电压,控制两个可变相位延迟模块4a、4b,从而改变两个可变相位延迟模块4a、4b的相移量,直至锁相环模块3两个输入口的信号之间的相位差为0,整个回路处于动态平衡状态,可变相位延迟模块4a、4b的相移量不再变化,远端测量节点的参考时钟与本地数据处理中心的参考时钟的相位差为0;由于采用多组远端测量节点,不同测量节点使用不等长光纤和本地数据处理中心相连,上述方法可以保证每一个远端测量节点的参考时钟与本地数据处理中心的参考时钟的相位差为0,但是不等长光纤会导致从本地数据处理中心发送的同一个参考时钟要经历不同的参考时钟周期数到达不同的远端测量节点;当需要测量并校正该周期数时,由SYNC分发和接收模块1产生SYNC信号,该SYNC信号与参考时钟上升沿对齐;SYNC信号经过电转光模块6c、光纤传输通道7c、光转电模块5c后进入远端测量节点上的SYNC重采样模块8的第二输入口;SYNC 重采样模块8在第一输入口的参考时钟的上升沿对第二输入口的SYNC信号进行重采样,用以消除可变相位延迟模块4a带来的参考时钟与SYNC的相位差;SYNC重采样模块8输出新的SYNC信号分成两路,一路作为远端测量节点上的SYNC信号,另一路经过电转光模块6d、光纤传输通道7d、光转电模块5d 进入SYNC分发和接收模块1;SYNC分发和接收模块1通过记录发送SYNC 与接收SYNC之间的参考时钟数目,就可以知道本地数据处理中心与不同的远端测量节点之间的参考时钟周期数;SYNC分发和接收模块1控制时钟周期延迟分发模块2,使时钟周期延迟分发模块2针对不同的远端测量节点,补偿不一样的时钟周期延迟数,最终使得不同的远端测量节点相对于全局参考时钟9有一样的参考时钟周期延迟量。The clock cycle delay distribution module 2 of Fig. 2 produces a system reference clock signal, and simultaneously sends it to the first input port of the SYNC distribution and receiving module 1, the first input port of the phase-locked loop module 3, and the input port of the variable phase delay module 4a ; The clock signal output by the variable phase delay module 4a reaches the remote measurement node after passing through the electrical-to-optical module 6a, the optical fiber transmission channel 7a, and the optical-to-electrical module 5a; the remote measurement node divides the CLK signal into 3 paths, and one path is used as a remote The reference clock of the measurement node enters the first input port of the SYNC resampling module 8 one way, and the other way enters the phase-locked loop module after passing through the electrical-to-optical module 6b, the optical fiber transmission channel 7b, the optical-to-electrical module 5b, and the variable phase delay module 4b The second input port of 3; the phase-locked loop module 3 controls the two variable phase delay modules 4a by comparing the phase difference of the clock signal of the first input port and the second input port, outputting an adjustment voltage proportional to the phase difference , 4b, thereby changing the phase shift amount of the two variable phase delay modules 4a, 4b until the phase difference between the signals of the two input ports of the phase-locked loop module 3 is 0, and the whole loop is in a state of dynamic balance, and the variable phase The phase shift of the delay modules 4a and 4b no longer changes, and the phase difference between the reference clock of the remote measurement node and the reference clock of the local data processing center is 0; due to the use of multiple groups of remote measurement nodes, different measurement nodes use unequal lengths The optical fiber is connected to the local data processing center. The above method can ensure that the phase difference between the reference clock of each remote measurement node and the reference clock of the local data processing center is 0, but the unequal length of the optical fiber will lead to A reference clock needs to go through different numbers of reference clock cycles to reach different remote measurement nodes; when the number of cycles needs to be measured and corrected, the SYNC distribution and receiving module 1 generates a SYNC signal, which is aligned with the rising edge of the reference clock; The SYNC signal enters the second input port of the SYNC resampling module 8 on the far-end measurement node after passing through the electrical-to-optical module 6c, the optical fiber transmission channel 7c, and the optical-to-electrical module 5c; the reference clock of the SYNC resampling module 8 at the first input port The rising edge of the second input port SYNC signal is resampled to eliminate the phase difference between the reference clock and SYNC brought by the variable phase delay module 4a; the new SYNC signal output by the SYNC resampling module 8 is divided into two paths, one path As the SYNC signal on the remote measurement node, the other path enters the SYNC distribution and receiving module 1 through the electrical-to-optical module 6d, the optical fiber transmission channel 7d, and the optical-to-electrical module 5d; the SYNC distribution and receiving module 1 records the difference between sending SYNC and receiving SYNC The number of reference clocks between the local data processing center and different remote measurement nodes can be known; the SYNC distribution and receiving module 1 controls the clock cycle delay distribution module 2 to make the clock cycle delay distribution module 2 for Different remote measurement nodes compensate for different clock cycle delays, and finally make different remote measurement nodes relative to the global reference clock9 have the same amount of reference clock cycle delay.
参阅图1。在以下描述的实施例中,光纤传输通道时钟同步系统包括一个本地数据处理中心、多个远端测量节点,每个节点各使用一组4根光纤与本地数据处理中心进行时钟传输和SYNC控制。每组光纤之间不等长,每组光纤内部的4根光纤保证等长。本地数据处理中心需要将10MHz参考时钟传输到远端测量节点,由于与本地数据处理中心互连的光纤长度分布于60米~120米,光纤中的信号传输速率约为2×108m/s,故10MHz时钟波长约为2×108/(10× 106)m=20m,相当于光纤上有3~6个周期的时钟信号。即使本地数据处理中心在同一时刻将参考时钟分发给不同的远端测量节点,经过不等长光纤的作用,参考时钟也会在不同时刻到达不同的远端测量节点,从而导致不同的远端测量节点之间时钟不同步。同样的问题也存在于SYNC信号,由于SYNC信号用来向不同的远端测量节点发送同步信号,经过不等长光纤的作用,SYNC信号同样会在不同时刻到达不同的远端测量节点,导致不同的远端测量节点之间SYNC信号不同步。See Figure 1. In the embodiment described below, the optical fiber transmission channel clock synchronization system includes a local data processing center and multiple remote measurement nodes, and each node uses a group of 4 optical fibers to communicate with the local data processing center for clock transmission and SYNC control. The lengths of each group of optical fibers are not equal, and the 4 optical fibers inside each group of optical fibers are guaranteed to be of equal length. The local data processing center needs to transmit the 10MHz reference clock to the remote measurement node. Since the length of the optical fiber interconnected with the local data processing center is distributed from 60 meters to 120 meters, the signal transmission rate in the optical fiber is about 2×10 8 m/s , so the wavelength of the 10MHz clock is about 2×10 8 /(10×10 6 )m=20m, which is equivalent to a clock signal with 3 to 6 periods on the optical fiber. Even if the local data processing center distributes the reference clock to different remote measurement nodes at the same time, the reference clock will reach different remote measurement nodes at different times through the effect of unequal-length optical fibers, resulting in different remote measurement Clocks are not synchronized between nodes. The same problem also exists in the SYNC signal, because the SYNC signal is used to send synchronization signals to different remote measurement nodes. The SYNC signals between remote measurement nodes are not synchronized.
以第一远端测量节点和本地数据处理中心为例,参阅图2,具体实施步骤如下:Taking the first remote measurement node and the local data processing center as an example, referring to Figure 2, the specific implementation steps are as follows:
1、整个系统复位上电后,全局参考时钟输入时钟周期延迟分发模块2。SYNC 分发和接收模块1把时钟周期延迟分发模块2的输出延迟量设置为0,时钟周期延迟分发模块2无延迟地输出每一路参考时钟,一路参考时钟进入SYNC分发和接收模块1,一路参考时钟进入锁相环模块3、可变相位延迟模块4a。1. After the entire system is reset and powered on, the global reference clock input clock cycle delays the distribution module 2 . The SYNC distribution and receiving module 1 sets the output delay of the clock cycle delay distribution module 2 to 0, and the clock cycle delay distribution module 2 outputs each reference clock without delay, and one reference clock enters the SYNC distribution and receiving module 1, and one reference clock Enter the phase-locked loop module 3 and the variable phase delay module 4a.
2、进入可变相位延迟模块4a的参考时钟信号将通过电转光模块6a、光纤 7a、光转电模块5a发送到远端测量节点。远端测量节点从光转电模块5a的输出口获得参考时钟信号,并以此作为整个节点的参考时钟基准。该参考时钟此外还要分成两路,一路输入SYNC重采样模块8,另一路进入电转光模块6b,并通过光纤回传给本地数据处理中心。2. The reference clock signal entering the variable phase delay module 4a will be sent to the remote measurement node through the electrical-to-optical module 6a, the optical fiber 7a, and the optical-to-electrical module 5a. The remote measurement node obtains a reference clock signal from the output port of the optical-to-electrical module 5a, and uses it as a reference clock reference for the entire node. In addition, the reference clock is divided into two channels, one channel is input to the SYNC resampling module 8, and the other channel is input to the electrical-to-optical module 6b, and is sent back to the local data processing center through an optical fiber.
3、由于光纤长度的随机性,锁相环模块3的两个输入信号之间的相位差随机分布于0°~360°之间。锁相环模块3内部的鉴相器比较两个输入信号之间的相位差,产生一个与该相位差成比例的信号。随后锁相环模块3内部的环路滤波器将鉴相器输出的含有纹波成分的直流信号平均化,将此变化为交流成分较少的直流信号,范围为0~5V,锁相环模块的最后一级是运算放大器构成的有源环路滤波器。该结构有两种选择,反相拓扑结构和正相拓扑结构。反相拓扑结构的输入阻抗低,相当于给前一级增加了负载,改变了锁相环模块的环路特性,如附图3所示。同相拓扑结构的输入阻抗高,不会使前级承受负载,如附图4 所示。但是使用反相拓扑结构时,锁相环模块中的鉴相器必须具有极性反转功能,以抵消反相拓扑结构带来的相位反转效应。以正确的极性驱动可变相位延迟模块4。有源环路滤波器将输入的0~5V直流信号放大为0~12V直流信号,同时输入两个可变相位延迟模块4a、4b。3. Due to the randomness of the optical fiber length, the phase difference between the two input signals of the phase-locked loop module 3 is randomly distributed between 0° and 360°. The phase detector inside the phase locked loop module 3 compares the phase difference between the two input signals and generates a signal proportional to the phase difference. Subsequently, the loop filter inside the phase-locked loop module 3 averages the DC signal containing ripple components output by the phase detector, and changes this into a DC signal with less AC components, ranging from 0 to 5V, and the phase-locked loop module The final stage is an active loop filter formed by operational amplifiers. There are two options for this structure, inverting topology and non-inverting topology. The input impedance of the inverting topology is low, which is equivalent to adding a load to the previous stage and changing the loop characteristics of the phase-locked loop module, as shown in Figure 3. The input impedance of the non-inverting topology is high, which will not cause the pre-stage to bear the load, as shown in Figure 4. However, when an inverting topology is used, the phase detector in the phase-locked loop module must have a polarity inversion function to offset the phase inversion effect brought by the inverting topology. Drive the variable phase delay block 4 with the correct polarity. The active loop filter amplifies the input DC signal of 0-5V into a DC signal of 0-12V, and simultaneously inputs the two variable phase delay modules 4a and 4b.
4、可变相位延迟模块4a、4b根据输入的直流信号的大小改变相位延迟量,使可变相位延迟模块4a、4b的输出时钟相对于输入时钟产生0~180°范围内的相位延迟。当直流信号值为0V时,可变相位延迟模块4的相位延迟量为0°,当直流信号值为12V时,可变相位延迟模块4的相位延迟量略大于180°。可变相位延迟模块的控制电压与相位延迟量的关系如附图6所示。因为从本地数据处理中心到远端测量节点的路径有1个可变相位延迟模块4a,从远端测量节点到本地数据处理中心的路径上也有1个可变相位延迟模块4b,整个时钟传输回路上就包含两个可变相位延迟模块4a、4b,可以覆盖0~360°一个完整周期的时钟相位偏移量。4. The variable phase delay modules 4a, 4b change the phase delay amount according to the magnitude of the input DC signal, so that the output clock of the variable phase delay module 4a, 4b produces a phase delay in the range of 0-180° relative to the input clock. When the DC signal value is 0V, the phase delay of the variable phase delay module 4 is 0°, and when the DC signal value is 12V, the phase delay of the variable phase delay module 4 is slightly greater than 180°. The relationship between the control voltage of the variable phase delay module and the amount of phase delay is shown in Fig. 6 . Because there is a variable phase delay module 4a on the path from the local data processing center to the remote measurement node, and there is also a variable phase delay module 4b on the path from the remote measurement node to the local data processing center, the entire clock transmission loop It includes two variable phase delay modules 4a, 4b, which can cover the clock phase offset of a complete cycle of 0-360°.
5、当可变相位延迟模块4a、4b改变自身的相位延迟量时,远端测量节点上的参考时钟基准信号的相位也相应的发生变化。直到锁相环模块3的两个输入信号的相位差为0°,此时锁相环模块3的输出直流信号不再变化,可变相位延迟模块4a、4b的相位延迟量也不再变化,远端测量节点的参考时钟基准信号与时钟周期延迟分发模块2输出的参考时钟相位对齐。5. When the variable phase delay modules 4a and 4b change their own phase delays, the phase of the reference clock reference signal on the remote measurement node also changes correspondingly. Until the phase difference of the two input signals of the phase-locked loop module 3 is 0°, the output DC signal of the phase-locked loop module 3 no longer changes, and the phase delays of the variable phase delay modules 4a, 4b also no longer change. The reference clock reference signal of the remote measurement node is phase-aligned with the reference clock output by the clock cycle delay distribution module 2 .
6、由于光纤长度的不一致性,还会带来远端本地数据处理中心发送的 10MHz参考时钟需要在光纤上经历不同的时钟周期数才能到达每个远端测量节点。此时系统需要启动SYNC分发和接收模块1测量时钟周期数。SYNC分发和接收模块1在参考时钟的上升沿,将SYNC信号置高,同时启动内部的计数器,在每一个参考时钟的上升沿将计数器的值加1。电转光模块6c将该SYNC 信号转化为光信号,并通过光纤传输到远端测量节点,由光转电模块5c将SYNC 信号变为电信号,并送入SYNC重采样模块8。由于SYNC分发和接收模块1 发送的SYNC信号与参考时钟的上升沿是对齐的,发送参考时钟的链路比发送 SYNC的链路多了一个可变相位延迟模块4a,使得到达远端测量节点的参考时钟比SYNC信号滞后了0~180°范围内的随机相位,远端测量节点上的SYNC 重采样模块8作用是消除这个随机相位偏差,使得输出的SYNC信号重新实现与参考时钟的上升沿对齐,如附图5所示。SYNC再回传给本地数据处理中心的 SYNC分发和接收模块1,此时SYNC分发和接收模块1停止内部计数器,计数器的当前值即为参考时钟在单根光纤上经历的时钟周期数的两倍。6. Due to the inconsistency of the length of the optical fiber, the 10MHz reference clock sent by the remote local data processing center needs to go through different clock cycles on the optical fiber to reach each remote measurement node. At this time, the system needs to start the SYNC distribution and reception module 1 to measure the number of clock cycles. The SYNC distribution and receiving module 1 sets the SYNC signal high at the rising edge of the reference clock, and starts an internal counter at the same time, and adds 1 to the value of the counter at each rising edge of the reference clock. The electrical-to-optical module 6c converts the SYNC signal into an optical signal, and transmits it to a remote measurement node through an optical fiber. The optical-to-electrical module 5c converts the SYNC signal into an electrical signal, and sends it to the SYNC resampling module 8 . Since the SYNC signal sent by the SYNC distribution and receiving module 1 is aligned with the rising edge of the reference clock, the link sending the reference clock has one more variable phase delay module 4a than the link sending SYNC, so that the The reference clock lags behind the SYNC signal by a random phase in the range of 0 to 180°. The function of the SYNC resampling module 8 on the remote measurement node is to eliminate this random phase deviation, so that the output SYNC signal is re-aligned with the rising edge of the reference clock. , as shown in Figure 5. SYNC is sent back to the SYNC distribution and receiving module 1 of the local data processing center. At this time, the SYNC distribution and receiving module 1 stops the internal counter, and the current value of the counter is twice the number of clock cycles experienced by the reference clock on a single optical fiber. .
7、SYNC分发和接收模块1依据步骤6获得了所有远端测量节点与本地数据处理中心互连的光纤上经历的时钟周期数,计算出时钟周期延迟分发模块2 每一个输出时钟端口相对于全局参考时钟的周期延迟数。例如当第一远端测量节点与本地数据处理中心互连的光纤长度为65米,第二远端测量节点与本地数据中心互连的光纤长度为85米时,SYNC分发和接收模块1测得的对应于第一远端测量节点的时钟周期延迟数为8,对应于第二远端测量节点的时钟周期延迟数为10。此时时钟周期延迟分发模块2设定每个输出端口的周期延迟数,补偿光纤带来的时钟周期延迟数的不一致性,若记时钟周期延迟分发模块2输出给第一远端测量节点的延迟数为N1,输出给第二远端测量节点的延迟数为N2,那么满足8+N1=10+N2。7. According to step 6, SYNC distribution and receiving module 1 obtains the number of clock cycles experienced on the optical fiber interconnected between all remote measurement nodes and the local data processing center, and calculates the clock cycle delay of each output clock port of distribution module 2 relative to the global The number of cycle delays of the reference clock. For example, when the length of the optical fiber interconnecting the first remote measurement node and the local data processing center is 65 meters, and the length of the optical fiber interconnecting the second remote measurement node and the local data center is 85 meters, the SYNC distribution and receiving module 1 measures The number of clock cycle delays corresponding to the first remote measurement node is 8, and the number of clock cycle delays corresponding to the second remote measurement node is 10. At this time, the clock cycle delay distribution module 2 sets the cycle delay number of each output port to compensate the inconsistency of the clock cycle delay number brought by the optical fiber. If the clock cycle delay distribution module 2 outputs the delay to the first remote measurement node The number is N1, and the delay number output to the second remote measurement node is N2, then 8+N1=10+N2 is satisfied.
8、由于SYNC信号与参考信号所使用的光纤等长,SYNC信号与参考时钟在光纤上的传播时间一样,SYNC分发和接收模块1可以利用参考时钟信号在光纤上经历的时钟周期数,调节发送给不同的远端测量节点的SYNC信号发送间隔,使得所有SYNC信号可以在同一时间到达所有的远端测量节点。8. Since the optical fiber used by the SYNC signal and the reference signal is the same length, the propagation time of the SYNC signal and the reference clock on the optical fiber is the same, the SYNC distribution and receiving module 1 can use the number of clock cycles experienced by the reference clock signal on the optical fiber to adjust the transmission SYNC signals sent to different remote measurement nodes are sent at intervals so that all SYNC signals can reach all remote measurement nodes at the same time.
本说明书实施例所述的内容仅仅是对发明构思的实现形式的列举,本发明的保护范围不应当被视为仅限于实施例所陈述的具体形式,本发明的保护范围也及于本领域技术人员根据本发明构思所能够想到的等同技术手段。The content described in the embodiments of this specification is only an enumeration of the implementation forms of the inventive concept. The protection scope of the present invention should not be regarded as limited to the specific forms stated in the embodiments. Equivalent technical means that a person can think of based on the concept of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710831407.2A CN108111245B (en) | 2017-09-15 | 2017-09-15 | Optical fiber transmission channel clock synchronization system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710831407.2A CN108111245B (en) | 2017-09-15 | 2017-09-15 | Optical fiber transmission channel clock synchronization system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108111245A true CN108111245A (en) | 2018-06-01 |
CN108111245B CN108111245B (en) | 2019-05-07 |
Family
ID=62206673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710831407.2A Active CN108111245B (en) | 2017-09-15 | 2017-09-15 | Optical fiber transmission channel clock synchronization system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108111245B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108988858A (en) * | 2018-08-23 | 2018-12-11 | 上海联影医疗科技有限公司 | Clock distribution system and method |
CN109640389A (en) * | 2018-12-30 | 2019-04-16 | 广东大普通信技术有限公司 | A method and device for time delay compensation |
CN109683658A (en) * | 2018-12-30 | 2019-04-26 | 广东大普通信技术有限公司 | A kind of clock signal phase control device and method |
CN110543121A (en) * | 2019-08-30 | 2019-12-06 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Instruction synchronous distribution control device of full-digital phased array system |
CN110708133A (en) * | 2019-09-29 | 2020-01-17 | 杭州晨晓科技股份有限公司 | Method and device for clock synchronization and time synchronization in system based on FPGA |
CN110749865A (en) * | 2019-09-28 | 2020-02-04 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Method for reducing zero second delay fluctuation of coherent measurement equipment |
CN111654346A (en) * | 2020-04-17 | 2020-09-11 | 江苏艾科半导体有限公司 | Independent synchronous clock module based on optical serial port |
CN114353997A (en) * | 2021-12-14 | 2022-04-15 | 国网湖北省电力有限公司信息通信公司 | A distributed optical fiber temperature measurement system |
US20220124655A1 (en) * | 2018-12-28 | 2022-04-21 | Zte Corporation | Time synchronization method and electronic device |
CN114640327A (en) * | 2022-05-11 | 2022-06-17 | 上海燧原科技有限公司 | Clock phase control circuit and chip |
CN114650124A (en) * | 2020-12-18 | 2022-06-21 | 中国联合网络通信集团有限公司 | Synchronization method and device for data transmission |
CN115801175A (en) * | 2023-01-30 | 2023-03-14 | 国仪量子(合肥)技术有限公司 | Time frequency synchronization method, system, storage medium and electronic device |
CN116846530A (en) * | 2023-06-29 | 2023-10-03 | 北京邮电大学 | Optical switching network, data sending and receiving method based on network-wide clock frequency synchronization |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010068126A1 (en) * | 2008-12-12 | 2010-06-17 | Rafal Pietrak | A method of encoding and decoding of synchronous serial transmission, particularly for low power devices and fiber optics media |
CN102255665A (en) * | 2010-05-17 | 2011-11-23 | 福建先创通信有限公司 | Method and device for digital fiber clock recovery system |
CN104113740A (en) * | 2014-07-28 | 2014-10-22 | 中国科学院光电技术研究所 | Mixed format signal optical fiber transmission device |
CN106301659A (en) * | 2015-06-05 | 2017-01-04 | 华东师范大学 | A kind of magnetic resonance multi-channel digital transmission system and data transmission method thereof |
-
2017
- 2017-09-15 CN CN201710831407.2A patent/CN108111245B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010068126A1 (en) * | 2008-12-12 | 2010-06-17 | Rafal Pietrak | A method of encoding and decoding of synchronous serial transmission, particularly for low power devices and fiber optics media |
CN102255665A (en) * | 2010-05-17 | 2011-11-23 | 福建先创通信有限公司 | Method and device for digital fiber clock recovery system |
CN104113740A (en) * | 2014-07-28 | 2014-10-22 | 中国科学院光电技术研究所 | Mixed format signal optical fiber transmission device |
CN106301659A (en) * | 2015-06-05 | 2017-01-04 | 华东师范大学 | A kind of magnetic resonance multi-channel digital transmission system and data transmission method thereof |
Non-Patent Citations (1)
Title |
---|
刘田等: "微弱扩频信号捕获的积分时间延拓技术", 《电讯技术》 * |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108988858A (en) * | 2018-08-23 | 2018-12-11 | 上海联影医疗科技有限公司 | Clock distribution system and method |
CN108988858B (en) * | 2018-08-23 | 2022-11-18 | 上海联影医疗科技股份有限公司 | Clock distribution system and method |
US20220124655A1 (en) * | 2018-12-28 | 2022-04-21 | Zte Corporation | Time synchronization method and electronic device |
US11706730B2 (en) * | 2018-12-28 | 2023-07-18 | Zte Corporation | Time synchronization method and electronic device |
CN109683658A (en) * | 2018-12-30 | 2019-04-26 | 广东大普通信技术有限公司 | A kind of clock signal phase control device and method |
CN109640389A (en) * | 2018-12-30 | 2019-04-16 | 广东大普通信技术有限公司 | A method and device for time delay compensation |
CN110543121A (en) * | 2019-08-30 | 2019-12-06 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Instruction synchronous distribution control device of full-digital phased array system |
CN110749865B (en) * | 2019-09-28 | 2022-07-05 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Method for reducing zero second delay fluctuation of coherent measurement equipment |
CN110749865A (en) * | 2019-09-28 | 2020-02-04 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Method for reducing zero second delay fluctuation of coherent measurement equipment |
CN110708133A (en) * | 2019-09-29 | 2020-01-17 | 杭州晨晓科技股份有限公司 | Method and device for clock synchronization and time synchronization in system based on FPGA |
CN111654346A (en) * | 2020-04-17 | 2020-09-11 | 江苏艾科半导体有限公司 | Independent synchronous clock module based on optical serial port |
CN111654346B (en) * | 2020-04-17 | 2023-02-28 | 江苏艾科半导体有限公司 | Independent synchronous clock module based on optical serial port |
CN114650124A (en) * | 2020-12-18 | 2022-06-21 | 中国联合网络通信集团有限公司 | Synchronization method and device for data transmission |
CN114650124B (en) * | 2020-12-18 | 2023-10-03 | 中国联合网络通信集团有限公司 | Synchronization method and device for data transmission |
CN114353997A (en) * | 2021-12-14 | 2022-04-15 | 国网湖北省电力有限公司信息通信公司 | A distributed optical fiber temperature measurement system |
CN114640327A (en) * | 2022-05-11 | 2022-06-17 | 上海燧原科技有限公司 | Clock phase control circuit and chip |
CN115801175A (en) * | 2023-01-30 | 2023-03-14 | 国仪量子(合肥)技术有限公司 | Time frequency synchronization method, system, storage medium and electronic device |
CN116846530A (en) * | 2023-06-29 | 2023-10-03 | 北京邮电大学 | Optical switching network, data sending and receiving method based on network-wide clock frequency synchronization |
CN116846530B (en) * | 2023-06-29 | 2024-03-19 | 北京邮电大学 | Optical switching network based on whole network clock frequency synchronization, data transmitting and receiving method |
Also Published As
Publication number | Publication date |
---|---|
CN108111245B (en) | 2019-05-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108111245A (en) | Optical fiber transport channel clock system and its method | |
US8120935B2 (en) | Power converter with dual ring network control | |
US9590411B2 (en) | Systems and methods for time synchronization of IEDs via radio link | |
Idrees et al. | IEEE 1588 for clock synchronization in industrial IoT and related applications: A review on contributing technologies, protocols and enhancement methodologies | |
US10305495B2 (en) | Phase control of clock signal based on feedback | |
US20190149258A1 (en) | Transmission and reception apparatus, optical transmission apparatus and optimization method for pluggable interface | |
CN104365043A (en) | Ring based precise time data network clock phase adjustments | |
CN103532692A (en) | Double-passage double-mode redundant optical fiber longitudinal difference power distribution terminal data synchronization method | |
CN102916758B (en) | Ethernet time synchronism apparatus and the network equipment | |
GB2506135A (en) | Branch circuit monitor with onboard processing | |
Carstensen et al. | A converter control field bus protocol for power electronic systems with a synchronization accuracy of±5ns | |
CN115225187A (en) | Clock synchronization method, optical head end and optical terminal | |
CN101752901B (en) | Method, system, equipment and device for synchronizing data sampling at different places | |
CN105450320B (en) | A kind of intelligent substation whole process us class precisions wireless ethernet network sychronisation and method | |
CN108008676B (en) | A multi-processing unit relay protection system and synchronization method thereof | |
CN103873178A (en) | Concentrated inspection method for timing error of wide-area time synchronization system | |
WO2015090046A1 (en) | Digital current equalizing method and power supply module | |
CN103051386B (en) | A kind of communication implementation method for system for chain type energy storage and system | |
Grover | A new method for clock distribution | |
CN112929121B (en) | Clock synchronization network, clock trigger network and real-time trigger processing method | |
CN106301642B (en) | A kind of clock synchronizing method and device of passive optical network | |
CN116318500A (en) | Airborne optical fiber time-frequency transmission system and method | |
CN209088631U (en) | Secondary relay protection chip for smart substation | |
Smith Jr | Evaluation of IEEE 802.1 Time Sensitive Networking Performance for Microgrid and Smart Grid Power System Applications | |
Naito et al. | Performance of the timing system for KEKB |
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 | ||
GR01 | Patent grant |