A method and device for automatically compensating asymmetric delay of optical fiber in medium and long distance transmission

By obtaining the dispersion average of the optical fiber, calculating the fiber length ratio, and automatically compensate the time delay in the 1588 protocol, it solves the problem of reducing time synchronization accuracy caused by the asymmetric delay of the optical fiber in medium and long-distance transmission, and realizes high-precision time synchronization and simplification compensation process.

CN113852418BActive Publication Date: 2024-11-12ZTE CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202010599063.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-28
Publication Date
2024-11-12
Estimated Expiration
2040-06-28

AI Technical Summary

Technical Problem

In medium and long-distance transmission, the fiber asymmetric delay leads to a reduced time synchronization accuracy of the 1588 protocol, and the existing solutions are cumbersome and cannot adapt to transmission path changes in real time.

Method used

By obtaining the dispersion average of the collected fiber and the emitting fiber, the fiber length ratio is calculated, and the time delay error in the 1588 protocol is automatically compensated to achieve automatic adjustment of the asymmetric delay of the optical fiber.

Benefits of technology

It effectively reduces the time error introduced by asymmetric delay in the 1588 protocol, improves the time synchronization accuracy, adapts to transmission path changes, and simplifies the compensation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113852418B_ABST
    Figure CN113852418B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for automatically compensating for asymmetric delay of optical fiber in medium and long distance transmission. The method of the present invention comprises: obtaining a mean value of dispersion of receiving optical fiber #imgabs0# and a mean value of dispersion of transmitting optical fiber #imgabs1# at the local end, and automatically compensating for the error of synchronization protocol calculation caused by asymmetric delay of transmitting and receiving optical fiber according to the obtained mean value of dispersion of receiving optical fiber #imgabs2# and the mean value of dispersion of transmitting optical fiber #imgabs3#.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a clock time synchronization system, in particular to an automatic compensation method and device for optical fiber asymmetric delay in medium and long distance transmission. Background Art

[0002] As distributed systems are increasingly used in communications and network applications, collaboration among multiple vendors can only be achieved under a unified standard protocol. However, the traditional NTP protocol can only achieve ms-level time synchronization, and satellite synchronization methods such as GPS have many limitations, which cannot meet the increasing number of high-precision time synchronization requirements. Therefore, the 1588 protocol came into being. Its full name is "Precision Clock Synchronization Protocol Standard for Network Measurement and Control Systems". Its basic function is to synchronize the most accurate clock in a distributed network with other clocks. It defines a precision time protocol PTP (Precision Time Protocol) for sub-microsecond synchronization of clocks in sensors, actuators, and other terminal devices in standard Ethernet or other distributed bus systems using multicast technology.

[0003] To achieve time synchronization, the transmission delay and frequency error between two points must be considered. The 1588 standard uses a time synchronization algorithm, which can calculate the line transmission delay between two points through some special messages between two points, thereby achieving synchronization. The methods for achieving synchronization are as follows: Figure 1 As shown, including:

[0004] The node with standard time, called Master, generates a message, called Synch message, which is sent at Master time t1. It notifies the slave node to start the synchronization process. The delay of the message passing through the line is t-ms. The moment when the Slave node receives the message is the Slave node's own time t2.

[0005] After that, the Master sends another message to the Slave, which is a Follow up message. This message records the sending time t1 of the previous Synch message. Through this message, the Slave can know the value of t1.

[0006] The Slave then sends a Delay_req message to the Master, and records the sending time of the message as t3 and the line transmission time of the message as tsm. The Master then records the receiving time of the message as t4.

[0007] The Master then sends a Delay_resp message to the Slave to tell the Slave node the value of t4.

[0008] According to the above information, if the time error between the two points is set to tΔ, then the following equation can be obtained based on the above transfer relationship:

[0009] t2=t1+tms+tΔ

[0010] t4=t3+tsm-tΔ

[0011] If we assume that tms = tsm, we can solve the above equation to find the values ​​of tms and tΔ. The Slave can know the standard time value of the Master based on tΔ.

[0012] This process is the algorithm of 1588 standard. It can be used for time synchronization between two remote points. Through the calculation process, we can know that to achieve the high accuracy of 1588 standard, two conditions must be met: one is that tms and tsm are equal, that is, the path is symmetrical; the other is that the time deviation of the two nodes is stable and no change is allowed. If any of these two conditions is not met, it will cause a large deviation in the synchronization accuracy.

[0013] In practical applications, it is relatively easy to keep the time deviation of time nodes stable, which can be achieved through frequency synchronization. However, the symmetry of the path is often not guaranteed. The internal delay of the equipment can be compensated by pre-measurement, but when transmitting through optical fiber, the asymmetry caused by inconsistent optical fiber length is often difficult to obtain accurately. Therefore, when implementing 1588 time synchronization, as long as conditions permit, it is generally achieved through a single-fiber bidirectional method.

[0014] However, in medium and long-distance transmission, the transmitting and receiving optical fibers are often still separated, which leads to that TMS and TSM are generally not equal in the actual calculation process. The general solution is to use the instrument to calibrate the time, calculate the time that needs to be compensated based on the result, and add it to the algorithm as a fixed parameter. This method is relatively cumbersome and requires the cooperation of instruments. In addition, once the intermediate path changes, it may be necessary to re-measure and calibrate. As the transmission delay of the optical fiber, TMS and TSM are proportional to the length of the optical fiber. Therefore, if the length of the transmitting and receiving optical fiber or the corresponding proportional relationship is known, TMS and TSM can be corrected according to the corresponding parameters.

[0015] In the current medium and long-distance transmission of OTN networks, light of a specific wavelength is generally used to transmit signals. However, due to the characteristics of optical transmission, different frequency components or different mode components of the optical signal (pulse) transmitted in the optical fiber propagate at different speeds. After reaching a certain distance, signal distortion (pulse broadening) will inevitably occur. This phenomenon is called optical fiber dispersion. Dispersion causes optical pulses to broaden. When the dispersion is severe, the optical pulses will overlap each other, causing inter-symbol interference and increasing the bit error rate. To solve this problem, the optical modules currently used for long-distance transmission all have dispersion compensation functions to compensate for the dispersion generated during optical fiber transmission and ensure the correctness of data reception. Dispersion, as an inherent property of optical fiber, is proportional to the transmission distance, and the corresponding relationship is the dispersion coefficient. Different types of optical fibers have different dispersion coefficients, but generally follow the same rules. Summary of the invention

[0016] The purpose of the present invention is to provide a method and device for automatically compensating for optical fiber asymmetric delay in medium and long distance transmission, so as to automatically compensate for optical fiber asymmetry when using the high-precision clock time 1588 protocol in medium and long distance transmission.

[0017] According to a first aspect of the present invention, there is provided a method for automatically compensating for asymmetric optical fiber delay in medium and long-distance transmission, comprising:

[0018] The local end obtains the average dispersion value of the receiving fiber Hefa fiber dispersion average

[0019] The local end obtains the average dispersion value of the receiving optical fiber according to the obtained Hefa fiber dispersion average Automatically compensate for the errors in synchronization protocol calculation caused by asymmetric delays in the transmitting and receiving optical fibers.

[0020] Preferably, the local end obtains the average dispersion value of the receiving optical fiber Hefa fiber dispersion average Specifically:

[0021] The local end obtains the receiving fiber dispersion value Dms and the transmitting fiber dispersion value Dsm in real time;

[0022] The local end performs average processing on the real-time received optical fiber dispersion value Dms to obtain the received optical fiber dispersion average value.

[0023] The local end performs mean processing on the real-time obtained transmission fiber dispersion value Dsm to obtain the transmission fiber dispersion mean value.

[0024] Preferably, the local end obtains the average dispersion value of the receiving optical fiber Hefa fiber dispersion average Specifically:

[0025] The local end obtains the receiving optical fiber dispersion value Dms in real time, performs average processing on the real-time obtained receiving optical fiber dispersion value Dms, and obtains the receiving optical fiber dispersion average value

[0026] The local end receives the average dispersion value of the optical fiber sent by the peer end. Obtain the average dispersion value of the transmitting fiber

[0027] Preferably, the local end is a slave, the opposite end is a master, and the synchronization protocol is a 1588 protocol.

[0028] Preferably, this end obtains the receiving fiber dispersion value Dms calculated in real time by the coherent optical module of this end through the 1588 clock time protocol processing module of this end; this end receives in real time the transmitting fiber dispersion value Dsm transmitted by the other end through signaling, and the transmitting fiber dispersion value Dsm is the dispersion value calculated by the coherent optical module of the other end and obtained by the 1588 clock time protocol processing module of the other end.

[0029] Preferably, the local end uses the average dispersion value of the receiving optical fiber to Hefa fiber dispersion average Automatic compensation for errors in 1588 protocol calculations caused by asymmetric delays in the transmitting and receiving fibers includes:

[0030] According to the and stated and preset parameters including the fiber model and the wavelength used by the coherent optical module to determine the and stated The appropriate ratio of the length of the transmitting and receiving optical fibers is Lms / Lsm;

[0031] By using the determined equal relationship between the ratio of the length of the transmitting and receiving optical fibers Lms / Lsm and the ratio of the delay of the message transmitted through the transmitting and receiving optical fibers tms / tsm, the error in the 1588 protocol calculation caused by the asymmetric delay of the transmitting and receiving optical fibers is automatically compensated.

[0032] Preferably, the automatic compensation for the error in the 1588 protocol calculation caused by the asymmetric delay of the transmitting and receiving optical fibers is specifically: substituting the Lms / Lsm into the 1588 protocol calculation formula to calculate the time error t△ between the local end and the opposite end.

[0033] Preferably, the Lms / Lsm is substituted into the 1588 protocol calculation formula to calculate the time error t△ between the local end and the opposite end. Specifically, the time error t△ between the local end and the opposite end is obtained by solving the following equation group:

[0034] t2=t1+tms+tΔ

[0035] t4=t3+tsm-tΔ

[0036] tms / tsm=Lms / Lsm;

[0037] Among them, t1 is the time when the peer sends a synchronization message; t2 is the time when the local end receives the synchronization message; t3 is the time when the local end sends a delayed response message after receiving the synchronization message from the peer end; t4 is the time when the peer end receives the delayed response message.

[0038] Preferably, the local end obtains the t1, t2, t3 and t4 by collecting 1588 protocol messages.

[0039] According to a second aspect of the present invention, there is provided an automatic compensation device for asymmetric optical fiber delay in medium and long distance transmission, comprising:

[0040] Dispersion value acquisition module, used to obtain the average dispersion value of the receiving fiber Hefa fiber dispersion average

[0041] The automatic compensation module is used to compensate the average dispersion value of the receiving optical fiber according to the average dispersion value of the receiving optical fiber. Hefa fiber dispersion average Automatically compensate for the errors in synchronization protocol calculation caused by asymmetric delays in the transmitting and receiving optical fibers.

[0042] In one embodiment of the present invention, the dispersion value acquisition module includes: a transmission fiber dispersion mean value The acquisition module is used to perform mean processing on the real-time obtained emission fiber dispersion value Dsm to obtain the emission fiber dispersion mean value. Receive fiber dispersion average The acquisition module is used to perform mean processing on the real-time received optical fiber dispersion value Dms to obtain the received optical fiber dispersion mean value.

[0043] In another embodiment of the present invention, the dispersion value acquisition module includes: The acquisition module is used to obtain the average dispersion value of the optical fiber sent by the other end. Receive fiber dispersion average The acquisition module is used to obtain the receiving fiber dispersion value Dms in real time, and perform mean processing on the receiving fiber dispersion value Dms obtained in real time to obtain the receiving fiber dispersion mean value.

[0044] Preferably, the automatic compensation module is a 1588 clock time protocol processing module.

[0045] Compared with the prior art, the beneficial technical effect of the present invention is that by obtaining the dispersion value measured and calculated by the coherent optical module during long-distance transmission, and combining it with relevant parameters to estimate the optical fiber asymmetric delay, the time error introduced by the asymmetric delay in the 1588 dispersion adjustment process can be effectively and automatically reduced, especially when the line may be switched, resulting in changes in the transmission path, and it is impossible to fully compensate according to the pre-set time compensation parameters, the optical fiber asymmetry compensation can be automatically achieved.

[0046] The specific implementation modes of the present invention are described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is the clock time measurement principle of the prior art;

[0048] Figure 2A It is a schematic diagram of an automatic compensation method for optical fiber asymmetric delay in medium and long-distance transmission of the present invention;

[0049] Figure 2B It is a schematic diagram of obtaining the dispersion value at the local end in clock time measurement of the present invention;

[0050] Figure 3 It is a flow chart of the internal logic algorithm of the local clock time protocol processing module of the present invention. DETAILED DESCRIPTION

[0051] Figure 1 The present invention shows an automatic compensation method for asymmetric optical fiber delay in medium and long-distance transmission, such as Figure 1 As shown, the method includes: the local end obtains the receiving fiber dispersion value Dms and the transmitting fiber dispersion value Dsm in real time; the local end performs average processing on the real-time obtained receiving fiber dispersion value Dms to obtain the receiving fiber dispersion average value The local end performs average processing on the real-time obtained transmission fiber dispersion value Dsm to obtain the transmission fiber dispersion mean value. The local end uses the average dispersion value of the receiving optical fiber according to Hefa fiber dispersion average Automatically compensate for the errors in synchronization protocol calculation caused by asymmetric delays in the transmitting and receiving optical fibers.

[0052] In the above method of the present invention, the local end is a slave, the opposite end is a master, and the synchronization protocol is the 1588 protocol.

[0053] In the above method of the present invention, the local end obtains the receiving fiber dispersion value Dms calculated in real time by the coherent optical module of the local end through the 1588 clock time protocol processing module of the local end; the local end receives in real time the transmitting fiber dispersion value Dsm transmitted by the opposite end through signaling, and the transmitting fiber dispersion value Dsm is the dispersion value calculated by the coherent optical module of the opposite end and obtained by the 1588 clock time protocol processing module of the opposite end.

[0054] In the above method of the present invention, the terminal according to the and stated and preset parameters including the fiber model and the wavelength used by the coherent optical module to determine the and stated Adapt the ratio of the length of the transmitting and receiving optical fibers Lms / Lsm; this end uses the determined ratio of the length of the transmitting and receiving optical fibers Lms / Lsm to be equal to the ratio of the delay of the message transmitted through the transmitting and receiving optical fibers tms / tsm to automatically compensate for the error in the 1588 protocol calculation caused by the asymmetric delay of the transmitting and receiving optical fibers.

[0055] In the above method of the present invention, the synchronization time error t△ between the local end and the opposite end is calculated by substituting the Lms / Lsm into the 1588 protocol calculation formula, that is, the time error t△ between the local end and the opposite end is obtained by solving the following equation group:

[0056] t2=t1+tms+tΔ

[0057] t4=t3+tsm-tΔ

[0058] tms / tsm=Lms / Lsm;

[0059] Among them, t1 is the time when the peer sends a synchronization message; t2 is the time when the local end receives the synchronization message; t3 is the time when the local end sends a delayed response message after receiving the synchronization message from the peer end; t4 is the time when the peer end receives the delayed response message. The local end can obtain t1, t2, t3 and t4 by collecting 1588 protocol messages.

[0060] In a specific example of the present invention, a communication relationship can be established between the original 1588 clock time protocol processing module and the local coherent optical module (hereinafter referred to as optical module) to obtain the dispersion value calculated by the local optical module in real time.

[0061] Next, the local end and the other end can complete the configuration of known related parameters in advance, such as the type of optical fiber used, the wavelength used by the optical module, whether there is a relay node, etc., as considerations for the proportional relationship between the lengths of the transmitting and receiving optical fibers Lms and Lsm.

[0062] After the peer device operates normally, it will also collect the dispersion value of the optical module connected to the local end after locking, and transmit it to the local end through overhead or message.

[0063] After obtaining the dispersion values ​​at both ends, the clock time protocol processing module at this end can calculate the dispersion mean values ​​at both ends according to a certain algorithm (there may be multiple estimation algorithms, such as simply calculating the average value or calculating the minimum mean square error, etc.). The mean value needs to be averaged over a sufficiently long time.

[0064] According to the calculated dispersion mean and Referring to the pre-configured preset parameters including the model of optical fiber used, the wavelength used by the optical module and whether there is a relay node, the proportional relationship between the lengths of the transmitting and receiving optical fibers Lms and Lsm is calculated. The specific calculation method belongs to the prior art and will not be repeated in the present invention.

[0065] Then, the Lms / Lsm is substituted into the 1588 protocol calculation formula to obtain the above-mentioned synchronization time error tΔ, thereby achieving time synchronization between the local end and the opposite end.

[0066] By calculating the long-term statistical mean of dispersion and estimating the asymmetric delay of the transmitting and receiving optical fibers, the error in the 1588 protocol calculation can be automatically compensated to improve the timing accuracy.

[0067] Figure 2B The present invention shows an automatic compensation device for optical fiber asymmetric delay in medium and long distance transmission, which can be set in the local end or the opposite end. The following description takes the local end as an example.

[0068] The automatic compensation device of the present invention comprises:

[0069] Dispersion value acquisition module, used to obtain the average dispersion value of the receiving fiber Hefa fiber dispersion average

[0070] The automatic compensation module is used to compensate the average dispersion value of the receiving optical fiber according to the average dispersion value of the receiving optical fiber. Hefa fiber dispersion average Automatically compensate for the errors in synchronization protocol calculation caused by asymmetric delays in the transmitting and receiving optical fibers.

[0071] In one embodiment of the present invention, the dispersion value acquisition module includes: a transmission fiber dispersion mean value The acquisition module is used to perform mean processing on the real-time obtained emission fiber dispersion value Dsm to obtain the emission fiber dispersion mean value. Receive fiber dispersion average The acquisition module is used to perform mean processing on the real-time received optical fiber dispersion value Dms to obtain the received optical fiber dispersion mean value. In this example, the average dispersion of the receiving fiber is The acquisition module can be integrated in the local optical module or the local processor to generate the fiber dispersion mean value. The acquisition module can be integrated into the local processor.

[0072] In another embodiment of the present invention, the dispersion value acquisition module includes: The acquisition module is used to obtain the average dispersion value of the optical fiber sent by the other end. Receive fiber dispersion average The acquisition module is used to obtain the receiving fiber dispersion value Dms in real time, and perform mean processing on the receiving fiber dispersion value Dms obtained in real time to obtain the receiving fiber dispersion mean value. In this example, the average dispersion of the receiving fiber is The acquisition module can be integrated in the local optical module or the local processor; the average value of the optical fiber dispersion The acquisition module can be a receiving module, which receives the average dispersion value of the transmitting fiber It is handed over to the automatic compensation module for use.

[0073] The optical module is a coherent optical module that supports monochromatic light sources and is used for long-distance transmission. It can internally implement the dispersion compensation function during transmission and provide accurate dispersion compensation results for query and application by the clock time protocol processing unit.

[0074] The automatic compensation module of the present invention is a 1588 clock time protocol processing module. The clock time protocol processing unit, as the clock time function processing core, is used to send and receive 1588 protocol messages, extract timestamps, extract the dispersion measurement value of the local optical module, obtain the dispersion measurement value of the opposite optical module, and estimate the average dispersion value of both ends through an algorithm, and finally calculate the asymmetric relationship of the delay on the receiving and transmitting optical fiber in combination with the network configuration information, and finally calculate the time difference between the local end and the opposite end according to the 1588 protocol formula to achieve time synchronization.

[0075] The preset parameters of the present invention are issued by the gateway configuration unit.

[0076] In one embodiment of the present invention, the clock time protocol processing unit needs to know the asymmetry of the line. To put it simply, in addition to the parameters that can be known in advance (such as the fiber model, the internal delay of the device, etc.), it is hoped to know the length of the fiber or the length ratio of the bidirectional fiber. Without loss of generality, the dispersion compensation performance is also a parameter positively correlated with the fiber length under the known fiber type. Therefore, it is considered to estimate the fiber length or the transmission delay through the dispersion compensation value that can be directly measured to achieve automatic compensation.

[0077] Figure 3The flow of the internal logic algorithm of the local clock time protocol processing module is displayed, which is used for asymmetric compensation processing. The specific flow includes:

[0078] In step S201, the clock time protocol processing unit is first initialized and set to the initial state

[0079] In step S202, consistent with the existing 1588 time protocol processing, the relevant timestamp parameters t1, t2, t3, t4 required for synchronization are obtained through message transmission.

[0080] In steps S203-S207, a fixed compensation value required for calculating the delay is set according to preset parameters, such as the optical fiber type, known internal delay of the device and other parameters.

[0081] In steps S208-S209, when the module is locked, the dispersion compensation value provided by the local module and the dispersion compensation value of the corresponding line transmitted by the other end through the message or overhead are obtained, and the corresponding dispersion compensation average value on the transceiver line is obtained through the statistical average algorithm, which is used as the asymmetric parameter ratio of the transmission delay on the transceiver line.

[0082] In step S210, the clock time protocol processing unit estimates the time difference between the local end and the opposite end according to the known parameters, the basic formula and the compensation algorithm, and completes the time calibration.

[0083] exist Figure 3 In the control process, the method for obtaining the fixed compensation value can be implemented by referring to the existing technology, and can also be considered to be extended to other influencing parameters such as different wavelengths, whether there is a dispersion fixed compensation device, etc., all of which can be added to the algorithm in the form of fixed compensation values.

[0084] Compared with the prior art, the present invention uses the dispersion compensation function of the coherent optical module used for medium and long-distance transmission to estimate the optical fiber asymmetry compensation value, and combines it with the existing 1588 clock time synchronization algorithm to realize automatic compensation of the asymmetry in the optical fiber line, thereby achieving the purpose of improving the intelligence of the existing optical network.

[0085] Specifically, in Figure 1 When measuring traditional clock time, it is assumed that the transmission delay of the optical fiber in both directions is equal, so that the transmission delay on the line and the time difference between the two ends can be solved according to the timestamps t1, t2, t3, and t4 at both ends. However, this assumption is not valid in most cases. Different internal delays of the equipment, asymmetric optical fiber lengths, including the influence of wavelength, etc. may cause asymmetry of the two-way delay, which will eventually affect the calculation results. The previous method mainly used manual measurement through instruments, and the measured asymmetric delay was added to the algorithm as a fixed value for compensation.

[0086] The present invention achieves transmission delay compensation of optical fiber in two directions by directly measuring the dispersion compensation value and utilizing the corresponding relationship between the dispersion compensation value and the optical fiber length. That is, the time error t△ is obtained by utilizing the ratio of the asymmetric optical fiber length instead of utilizing the transmission delay of the optical fiber in two directions, thereby solving the above-mentioned defects of the prior art.

[0087] The above content is a further detailed description of the present invention in combination with specific preferred embodiments, but this is only an example for ease of understanding, and the specific implementation of the present invention should not be considered to be limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, various possible equivalent changes or substitutions can be made without departing from the concept of the present invention, and these changes or substitutions should all fall within the scope of protection of the present invention.

Claims

1. A method for automatically compensating asymmetric optical fiber delay in medium and long-distance transmission, characterized in that: include: The local end obtains the average dispersion value of the receiving fiber Hefa fiber dispersion average The local end obtains the average dispersion value of the receiving optical fiber according to the obtained Hefa fiber dispersion average Automatically compensate for the errors in synchronization protocol calculation caused by asymmetric delays in the transmitting and receiving optical fibers; The local end obtains the average dispersion value of the receiving optical fiber according to the obtained Hefa fiber dispersion average Automatically compensate for the error in synchronization protocol calculation caused by asymmetric delay of the transmitting and receiving optical fibers, including: and stated and preset parameters including the fiber model and the wavelength used by the coherent optical module to determine the and stated Adapt the ratio of the length of the transmitting and receiving optical fibers Lms / Lsm; using the determined ratio of the length of the transmitting and receiving optical fibers Lms / Lsm and the ratio of the delay of the message transmitted through the transmitting and receiving optical fibers tms / tsm, the error in the calculation of the 1588 protocol caused by the asymmetric delay of the transmitting and receiving optical fibers is automatically compensated; The automatic compensation of the error in the 1588 protocol calculation caused by the asymmetric delay of the transmitting and receiving optical fibers is specifically as follows: substituting the Lms / Lsm into the 1588 protocol calculation formula to calculate the time error t△ between the local end and the opposite end; Substituting Lms / Lsm into the 1588 protocol calculation formula, the time error t△ between the local end and the remote end is calculated. Specifically, the time error t△ between the local end and the remote end is obtained by solving the following equation group: t2=t1+tms+tΔ; t4 = t3 + tsm - tΔ; tms / tsm=Lms / Lsm; Among them, t1 is the time when the peer sends a synchronization message; t2 is the time when the local end receives the synchronization message; t3 is the time when the local end sends a delayed response message after receiving the synchronization message from the peer end; t4 is the time when the peer end receives the delayed response message.

2. The automatic compensation method according to claim 1, characterized in that: The local end obtains the average dispersion value of the receiving fiber Hefa fiber dispersion average Specifically: The local end obtains the receiving fiber dispersion value Dms and the transmitting fiber dispersion value Dsm in real time; The local end performs mean processing on the real-time received optical fiber dispersion value Dms to obtain the received optical fiber dispersion mean value. The local end performs mean processing on the real-time obtained transmission fiber dispersion value Dsm to obtain the transmission fiber dispersion mean value 3. The automatic compensation method according to claim 1, characterized in that: The local end obtains the average dispersion value of the receiving fiber Hefa fiber dispersion average Specifically: The local end obtains the receiving optical fiber dispersion value Dms in real time, performs average processing on the real-time obtained receiving optical fiber dispersion value Dms, and obtains the receiving optical fiber dispersion average value The local end receives the average dispersion value of the optical fiber sent by the peer end. Obtain the average dispersion value of the transmitting fiber 4. The automatic compensation method according to claim 2, characterized in that: The local end obtains the receiving fiber dispersion value Dms calculated in real time by the local coherent optical module through the local 1588 protocol processing module; the local end receives in real time the transmitting fiber dispersion value Dsm transmitted by the opposite end through signaling, and the transmitting fiber dispersion value Dsm is the dispersion value calculated by the opposite end coherent optical module and obtained by the opposite end 1588 protocol processing module.

5. The automatic compensation method according to claim 1, characterized in that: The local end obtains the t1, t2, t3 and t4 by collecting 1588 protocol messages.

6. An automatic compensation device for asymmetric optical fiber delay in medium and long distance transmission, characterized in that: include: Dispersion value acquisition module, used to obtain the average dispersion value of the receiving fiber Hefa fiber dispersion average The automatic compensation module is used to compensate the average dispersion value of the receiving optical fiber according to the average dispersion value of the receiving optical fiber. Hefa fiber dispersion average Automatically compensate for the errors in synchronization protocol calculation caused by asymmetric delays in the transmitting and receiving optical fibers; The automatic compensation module is used to obtain the average dispersion value of the receiving optical fiber in the following manner: Hefa fiber dispersion average Automatically compensate for the error in synchronization protocol calculation caused by asymmetric delay of the transmitting and receiving optical fibers: and stated and preset parameters including the fiber model and the wavelength used by the coherent optical module to determine the and stated Adapt the ratio of the length of the transmitting and receiving optical fibers Lms / Lsm; using the determined ratio of the length of the transmitting and receiving optical fibers Lms / Lsm and the ratio of the delay of the message transmitted through the transmitting and receiving optical fibers tms / tsm, the error in the calculation of the 1588 protocol caused by the asymmetric delay of the transmitting and receiving optical fibers is automatically compensated; The automatic compensation module is used to automatically compensate for the error in the 1588 protocol calculation caused by the asymmetric delay of the transmitting and receiving optical fibers in the following manner: substituting the Lms / Lsm into the 1588 protocol calculation formula to calculate the time error t△ between the local end and the opposite end; The automatic compensation module is used to substitute the Lms / Lsm into the 1588 protocol calculation formula in the following manner to calculate the time error t△ between the local end and the opposite end: The time error t△ between the local end and the opposite end is obtained by solving the following set of equations: t2=t1+tms+tΔ; t4 = t3 + tsm - tΔ; tms / tsm=Lms / Lsm; Among them, t1 is the time when the peer sends a synchronization message; t2 is the time when the local end receives the synchronization message; t3 is the time when the local end sends a delayed response message after receiving the synchronization message from the peer end; t4 is the time when the peer end receives the delayed response message.

7. The automatic compensation device according to claim 6, characterized in that: The dispersion value acquisition module includes: Average dispersion of transmitting fiber The acquisition module is used to perform mean processing on the real-time obtained emission fiber dispersion value Dsm to obtain the emission fiber dispersion mean value. Receive fiber dispersion average The acquisition module is used to perform mean processing on the real-time received optical fiber dispersion value Dms to obtain the received optical fiber dispersion mean value.

8. The automatic compensation device according to claim 7, characterized in that: The dispersion value acquisition module includes: Average dispersion of transmitting fiber The acquisition module is used to obtain the average dispersion value of the optical fiber sent by the other end. Receive fiber dispersion average The acquisition module is used to obtain the receiving fiber dispersion value Dms in real time, and perform mean processing on the receiving fiber dispersion value Dms obtained in real time to obtain the receiving fiber dispersion mean value.

Citation Information

Patent Citations

  • Time synchronization device and method for automatically detecting optical fiber asymmetry

    CN103840877A

  • Asymmetric fiber link transmission delay measuring method

    CN105933085A

  • Deep reinforcement learning-based post-5G forward network transmission time synchronization method and device

    CN110113793A

  • Optic fiber connection method utilized in long-distance transmission

    CN1447137A

  • Optical fiber communication system using optical phase conjugation, device applicable to the system, and its manufacturing method

    JP2004004870A