A method for realizing automatic detection and setting of dispersion compensation of optical fiber link

By using PRBS signals and TDCM line cards in the DWDM optical communication system to automatically adjust the dispersion compensation value, the problem of insufficient dispersion compensation accuracy in high-speed optical fiber links is solved, fast and accurate optical fiber link dispersion compensation is achieved, and the System engineering quality and efficiency.

CN114499659BActive Publication Date: 2024-09-13EOPTOLINK TECH INC LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210203004.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-02
Publication Date
2024-09-13
Estimated Expiration
2042-03-02

AI Technical Summary

Technical Problem

Existing technology is difficult to achieve accurate optical fiber link dispersion compensation in high-speed DWDM optical communication systems. Especially in the case of single-wavelength 100Gbit/s transmission, fixed dispersion compensation equipment cannot meet the accuracy requirements within 1 km, resulting in transmission The tolerance distance decreases rapidly and the bit error rate increases.

Method used

By configuring optical module A and optical module B, using the PRBS signal for one-way transmission in the optical fiber link, adjusting the dispersion compensation value of the TDCM line card, calculating the bit error rate set Xn and Yn, and selecting the dispersion compensation value of the minimum bit error rate point As the optimal setting value, the dispersion compensation and setting of the optical fiber link are automatically detected.

Benefits of technology

It achieves fast and accurate detection of optimal dispersion compensation parameters of optical fiber links, improves the engineering quality and work efficiency of high-speed DWDM systems, supports real-time dispersion compensation optimization, and meets the accuracy requirements for dispersion compensation of single-wavelength 100Gbit/s optical signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114499659B
    Figure CN114499659B
Patent Text Reader

Abstract

The invention relates to the technical field of optical fiber communication, and discloses a method for realizing automatic detection of dispersion compensation and setting of an optical fiber link, comprising: step S1. configuring an optical module A and an optical module B, and inserting TDCM line cards A and B; step S2. unidirectionally transmitting a PRBS signal between a PRBS generator of the optical module A and a PRBS detector of the optical module B through an optical fiber link, and when the PRBS signal is transmitted from the optical module A to the optical module B, a bit error rate set is calculated by adjusting the dispersion compensation value of the TDCM line card B, and when the PRBS signal is transmitted from the optical module B to the optical module A, a bit error rate set is calculated by adjusting the dispersion compensation value of the TDCM line card A; and step S3. judging the communication quality of optical signals in different directions according to the bit error rate set, selecting the dispersion compensation value of the TDCM line card corresponding to the minimum bit error rate point as the optimal setting value, and realizing automatic detection of dispersion compensation and setting of the optical fiber link.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of optical fiber communication technology, and more specifically, to a method for automatically detecting and setting dispersion compensation of an optical fiber link, which is used for automatically detecting and configuring optimal parameters of dispersion compensation for a DWDM optical communication system that requires high-precision optical fiber dispersion compensation. After confirming the parameters and completing the configuration, a method can also be provided to realize real-time dynamic adjustment of dispersion compensation parameters of an optical fiber link according to user needs. Background Art

[0002] Dense Wavelength Division Multiplexing (DWDM) optical fiber communication technology can combine optical signals of many wavelengths and transmit them with one optical fiber, greatly improving the utilization rate of optical fiber resources. At present, the zero dispersion point of G.652 optical fiber used in most optical fiber lines is located near the wavelength of 1310nm. For the 1550nm band where DWDM is located, this optical fiber has a large dispersion coefficient, such as: 17ps / nm / km. After the optical signal is transmitted in the optical fiber, the optical pulse signal will be broadened due to the accumulation of dispersion. When this broadening effect is comparable to the width of the optical pulse itself, it will cause inter-symbol crosstalk and generate bit errors. When the optical signal is transmitted in the optical fiber, the transmission tolerance distance limited by the dispersion effect is inversely proportional to the square of the optical signal rate. Therefore, when the optical signal rate exceeds 10 gigabits (10Gbit / s), the transmission tolerance distance caused by dispersion decreases rapidly. When the optical signal reaches a single-wavelength 100Gbit / s, for the incoherent DWDM transmission system, its tolerance distance is only about 2 kilometers. For non-coherent DWDM systems with a rate greater than 10Gbit / s, when the transmission distance is greater than the dispersion tolerance distance, dispersion compensation equipment needs to be deployed in the optical fiber line to compensate for the optical fiber dispersion during transmission. Dispersion compensation is usually achieved by deploying dispersion compensating optical fiber, fixed dispersion compensation modules, and adjustable dispersion compensation modules. Currently, when deploying dispersion compensation equipment, engineers usually estimate the required dispersion compensation value of the line based on the estimated optical fiber length on site and the dispersion experience value of the corresponding optical fiber type, for example: the dispersion coefficient of G.652 optical fiber is 17ps / nm / km. Usually, this estimated dispersion value may have an error of several kilometers from the actual dispersion value of the optical fiber link.

[0003] If dispersion compensation is performed using dispersion compensating fiber (DCF) or fixed dispersion compensation module (DCM), in order to meet production costs and actual engineering requirements, the dispersion value is usually rated at a conventional value, such as 10 km, 20 km, 40 km, 80 km, etc. In other words, the compensation accuracy is around 10 km. Even if the production and engineering costs are increased and 1 km or 2 km of subdivided DCF / DCM is used, the above-mentioned estimated dispersion value itself will have an error of several kilometers, plus the impact of order delivery time, etc., the subdivided fixed DCF / DCM has no practical application value. For DWDM optical signals with a single wavelength rate of 25Gbit / s or less, the dispersion compensation accuracy within 10 km can usually meet the engineering design requirements. However, with the emergence of higher-speed incoherent DWDM optical transmission devices, such as single-wavelength 100Gbit / s DWDM QSFP28 optical modules, the accuracy of dispersion compensation is required to be within 1 km, and the adjustment accuracy of dispersion compensation is required to be within 0.5 km, so fixed dispersion compensation is not applicable.

[0004] Therefore, in order to solve the problem of how to set dispersion compensation for a single-wavelength 100Gbit / s DWDM QSFP28 optical module and control the accuracy of dispersion compensation within 1 km, the present invention provides a method for automatically detecting and setting dispersion compensation of an optical fiber link. Summary of the invention

[0005] The purpose of the present invention is to provide a method for automatically detecting and setting dispersion compensation of an optical fiber link, which realizes the function of quickly and accurately detecting the optimal dispersion compensation parameters of the optical fiber link, and has the effect of significantly helping to improve the quality of the start-up of a high-speed DWDM system project and improve work efficiency.

[0006] The present invention is implemented by the following technical solution: A method for automatically detecting and setting dispersion compensation of an optical fiber link, comprising the following steps:

[0007] Step S1. Configure optical module A and optical module B, insert optical module A into TDCM line card A, insert optical module B into TDCM line card B, and when the TDCM line card recognizes that the optical module is inserted, turn on the PRBS generator and PRBS detector of the optical module;

[0008] Step S2. The PRBS generator of optical module A and the PRBS detector of optical module B transmit the PRBS signal unidirectionally through the optical fiber link. When the PRBS signal is transmitted from optical module A to optical module B, the bit error rate set Xn is calculated by adjusting the dispersion compensation value of TDCM line card B, where n=1, 2, 3, ..., and when the PRBS signal is transmitted from optical module B to optical module A, the bit error rate set Yn is calculated by adjusting the dispersion compensation value of TDCM line card A, where n=1, 2, 3, ...;

[0009] Step S3. Determine the communication quality of optical signals in different directions according to the bit error rate set Xn or Yn, select the dispersion compensation value of the TDCM line card corresponding to the minimum bit error rate point as the optimal setting value, and realize automatic detection of dispersion compensation and setting of the optical fiber link.

[0010] In order to better realize the present invention, further, step S1 includes: After optical module A is inserted into TDCM line card A, TDCM line card A identifies optical module A, automatically configures optical module A to the working mode of sending and receiving PRBS signals, and turns on the PRBS generator and PRBS detector of optical module A; After optical module B is inserted into TDCM line card B, TDCM line card B identifies optical module B, automatically configures optical module B to the working mode of sending and receiving PRBS signals, and turns on the PRBS generator and PRBS detector of optical module B.

[0011] In order to better implement the present invention, further, step S1 also includes:

[0012] The optical module A and the optical module B are 100G DWDM QSFP28 optical modules.

[0013] In order to better implement the present invention, further, in step S2, when the PRBS signal is transmitted from the optical module A to the optical module B, the following steps are further included:

[0014] Optical module A sends the PRBS signal to optical module B through the optical fiber link, calculates the dispersion compensation value setting range according to the optical fiber link, adjusts the dispersion compensation value of TDCM line card B with the step size, and reads back the bit error rate corresponding to each dispersion compensation value calculated by optical module B to form a bit error rate set Xn, where n = 1, 2, 3, ...

[0015] In order to better implement the present invention, further, in step S2, when the PRBS signal is transmitted from the optical module B to the optical module A, the following steps are further included:

[0016] Optical module B sends the PRBS signal to optical module A through the optical fiber link, calculates the dispersion compensation value setting range according to the optical fiber link conditions, adjusts the dispersion compensation value of TDCM line card A with the optical step length, and reads back the bit error rate corresponding to each dispersion compensation value calculated by optical module A to form a bit error rate set Yn, where n = 1, 2, 3, ...

[0017] In order to better implement the present invention, further, the method for the TDCM line card to identify the optical module includes:

[0018] Optical module A and TDCM line card A form device A;

[0019] Optical module B and TDCM line card B form device B;

[0020] The TDCM line card recognizes that an optical module is inserted and sets a specific address of the optical module through the SFF8636 I2C interface to make the optical module work in the PRBS signal working mode;

[0021] Access the specific address of the optical module through the I2C interface to obtain the current bit error rate of the signal received by the optical module.

[0022] In order to better implement the present invention, further, the DWDM PRBS signal sent by the QSFP28 optical module of the TDCM line card A is combined with other DWDM service signals through the DWDM combiner disk, and then transmitted through the optical fiber link and first connected to the device B;

[0023] On device B, the DWDM PRBS signal is dispersion compensated by the TDCM module of TDCM line card B, and then de-de ...

[0024] After receiving the PRBS signal, the QSFP28 optical module of TDCM line card B calculates the current bit error rate.

[0025] In order to better implement the present invention, further, a method for calculating the current bit error rate includes: bit error rate=error data count / total received data.

[0026] In order to better implement the present invention, further, the method of adjusting the dispersion compensation value of the TDCM line card in step S3 to obtain the optimal dispersion compensation setting value includes:

[0027] The optical signal communication quality corresponding to different dispersion compensation values ​​is judged according to the bit error rate set Xn or Yn, and the dispersion compensation value of the TDCM line card corresponding to the minimum bit error rate point is selected as the optimal setting value.

[0028] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0029] (1) The present invention combines the TDCM module and PRBS test function into a TDCM function line card. Through the cooperation of the optical module, the function of quickly and accurately detecting the optimal dispersion compensation parameters of the optical fiber link is realized, which is of great help to improve the quality of the start-up of high-speed DWDM system engineering and improve work efficiency;

[0030] (2) The DWDM optical module used in the present invention is still a standard optical module. It is only temporarily used for related dispersion compensation adjustment work when the optical fiber link is opened. After the dispersion compensation is set, it can be unplugged and reused for normal business communications. Finally, this method does not need to rely on any other optical communication equipment or instruments to complete, saving optical fiber dispersion test instruments, which is an innovative and efficient implementation method;

[0031] (3) The present invention also supports real-time dispersion compensation optimization and automatic adjustment. For lines that are sensitive to dispersion, real-time dispersion tuning can be continuously performed. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The present invention is further described in conjunction with the following drawings and embodiments, and all the concepts and innovations of the present invention should be regarded as the disclosed contents and the protection scope of the present invention.

[0033] Figure 1 A structural diagram of the linkage relationship between device A and device B in a method for automatically detecting optical fiber link dispersion compensation and setting provided by the present invention.

[0034] Figure 2 This is a diagram of the internal structure of an optical module in a method for automatically detecting optical fiber link dispersion compensation and setting provided by the present invention. DETAILED DESCRIPTION

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. It should be understood that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, and therefore should not be regarded as limiting the scope of protection. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technical personnel in this field without making creative work are within the scope of protection of the present invention.

[0036] In DWDM transmission systems, in order to compensate for the insertion loss of optical fibers and various optical devices in the optical fiber link, it is usually necessary to add an optical fiber amplifier (EDFA) to the optical fiber link. To simplify the description, Figure 1 The optical fiber amplifier is not included in the invention. However, the optical fiber link with the optical amplifier also falls within the scope of protection of the present invention.

[0037] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "disposed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0038] Embodiment 1:

[0039] A method for automatically detecting and setting dispersion compensation of an optical fiber link in this embodiment is as follows: Figure 1-Figure 2 As shown, the following steps are included:

[0040] Step S1. Configure optical module A and optical module B, insert optical module A into TDCM line card A, insert optical module B into TDCM line card B, and when the TDCM line card recognizes that the optical module is inserted, turn on the PRBS generator and PRBS detector of the optical module;

[0041] Step S2. The PRBS generator of optical module A and the PRBS detector of optical module B transmit the PRBS signal unidirectionally through the optical fiber link. When the PRBS signal is transmitted from optical module A to optical module B, the bit error rate set Xn is calculated by adjusting the dispersion compensation value of TDCM line card B, where n=1, 2, 3, ..., and when the PRBS signal is transmitted from optical module B to optical module A, the bit error rate set Yn is calculated by adjusting the dispersion compensation value of TDCM line card A, where n=1, 2, 3, ...;

[0042] Step S3. Determine the communication quality of optical signals in different directions according to the bit error rate set Xn or Yn, select the dispersion compensation value of the TDCM line card corresponding to the minimum bit error rate point as the optimal setting value, and realize automatic detection of dispersion compensation and setting of the optical fiber link.

[0043] In this embodiment, the function of the optical module is expanded to be used as a fiber optic network signal quality detector. The detection principle of the fiber optic network signal quality is as follows: Figure 2As shown in the figure below, the PRBS signal generator of optical module A sends the PRBS signal to optical module B through the optical network. After receiving the PRBS signal, optical module B sends the PRBS signal to the PRBS detector to calculate the corresponding bit error rate. Similarly, the PRBS detector of optical module A also receives the PRBS signal sent by optical module B and calculates the corresponding bit error rate. The size of the bit error rate can directly reflect the quality of the communication of the optical fiber channel. Under normal circumstances, the PRBS generator and PRBS detector functions inside the optical module are not turned on. And the SFF protocol does not stipulate that the QSFP28 optical module must support this function. Therefore, the protocol does not formulate a unified software command interface definition for turning on PRBS detection. In the implementation of the present invention, the functions of the PRBS generator and PRBS detector are implemented inside the optical module, and on the basis of following the SFF-8636 protocol, the related command interfaces for turning on / off the PRBS generator and PRBS detector, and reading the current PRBS bit error rate are expanded. When the optical module is inserted into this device, the device detects the module and automatically sends related instructions to turn on the PRBS generator and PRBS detector, and after adjusting the TDCM settings, reads back the corresponding bit error rate from the optical module to determine the fiber channel communication quality corresponding to the settings.

[0044] In particular, when there is only a communication signal from device A to device B on the line, the relevant processing from device B to device A in step S2 can obviously be omitted. The processing in this case is also within the protection scope of this patent.

[0045] The present invention provides a method for realizing a PRBS working mode by a specific configuration of a TDCM line card and a DWDM optical module and a method for obtaining a bit error rate of a DWDM optical module. In the present invention, a method for automatically detecting an optimal dispersion compensation setting by a TDCM module and a DWDM optical module is provided, and dispersion compensation is performed on an optical fiber line in real time according to the optimal dispersion compensation setting value.

[0046] Embodiment 2:

[0047] This embodiment is further optimized on the basis of embodiment 1, and step S1 includes:

[0048] After optical module A is inserted into TDCM line card A, TDCM line card A identifies optical module A, automatically configures optical module A to work in the mode of sending and receiving PRBS signals, and turns on the PRBS generator and PRBS detector of optical module A;

[0049] After optical module B is inserted into TDCM line card B, TDCM line card B identifies optical module B, automatically configures optical module B to work in the mode of sending and receiving PRBS signals, and turns on the PRBS generator and PRBS detector of optical module B.

[0050] In this embodiment, Figure 1 and Figure 2 It is a schematic diagram of the transmission path of the PRBS signal from optical module A to optical module B of the present invention. Because the PRBS signal is transmitted unidirectionally between the PRBS generator of optical module A and the PRBS detector of optical module B through an optical fiber link, the PRBS signal can be transmitted from optical module A to optical module B or from optical module B to optical module A. Therefore, the transmission path schematic diagram from optical module B to optical module A is a schematic diagram with arrows in opposite transmission directions that can be imagined, and it is no longer provided here.

[0051] It should be emphasized that TDCM line card B is set to turn on the PRBS generator of optical module B to send the PRBS signal to optical module A through the optical fiber network. After the PRBS detector in optical module A is turned on and receives the PRBS signal transmitted by optical module B, the dispersion compensation value of the TDCM line card is adjusted, and the bit error rate Yn corresponding to each dispersion compensation value is calculated, where n=1, 2, 3, ..., and it is not necessary to turn them on at the same time. The same is true for obtaining Xn, where n=1, 2, 3, ..., and finally the optical signal communication quality will be judged according to the bit error rate Xn and the bit error rate Yn, and the dispersion compensation value of the TDCM line card corresponding to the minimum bit error rate point is selected as the optimal setting value. The other parts of this embodiment are the same as those in embodiment 1, so they will not be repeated.

[0052] Embodiment 3:

[0053] This embodiment is further optimized on the basis of the above-mentioned embodiment 1 or 2. In this embodiment, optical module A and optical module B are 100G DWDM QSFP28 optical modules. The QSFP28 optical module is a small-package optical module designed in accordance with the standards SFF-8024, SFF-8636, SFF-8679 and the like formulated by the SFF committee. The electrical interface on the system side of the QSFP28 optical module can simultaneously transmit four signals up to 28Gbaud / s. It is widely used in 40G and 100G Ethernet transmissions, and is also widely used in 5G networks. The main function of the optical module is to complete the signal conversion between light and electricity. One end of the optical module is an electrical interface, which is usually connected to a switch or other dedicated communication equipment. The other end of the optical module is an optical interface, which is usually connected to an external optical fiber network. The conversion between optical signals and electrical signals can be completed through the optical module. The QSFP28 optical module in this embodiment is a 100G DWDM QSFP28 optical module that our device can actually support and use. This optical module can actually transmit a single-wavelength 100Gbit / s optical signal. The device can access the optical module through the software interface defined by the SFF-8636 protocol.

[0054] In this embodiment, the dispersion compensation value range is estimated according to the optical fiber link conditions, and the dispersion compensation value of the TDCM line card B is adjusted accordingly with a certain step size, such as 1010ps / nm (which can be adjusted according to the required accuracy). The step size is a common adjustment unit in the art and will not be described in detail here.

[0055] The other parts of this embodiment are the same as those of the above-mentioned embodiment 1 or 2, and thus will not be described in detail.

[0056] Embodiment 4:

[0057] This embodiment is further optimized on the basis of any one of the above embodiments 1-3, and when the PRBS signal is transmitted from optical module A to optical module B, it includes:

[0058] Optical module A sends the PRBS signal to optical module B through the optical fiber link, calculates the dispersion compensation value setting range according to the optical fiber link, adjusts the dispersion compensation value of TDCM line card B with a step size, and reads back the bit error rate corresponding to each dispersion compensation value calculated from optical module B to form a bit error rate set Xn, where n=1, 2, 3, ... The optical signal communication quality can be judged based on the bit error rate set Xn, and the dispersion compensation value of the TDCM line card corresponding to the minimum bit error rate point is selected as the optimal setting value, realizing automatic detection of dispersion compensation and setting of the optical fiber link.

[0059] In this embodiment, the DWDM PRBS signal sent by the QSFP28 optical module of the TDCM line card A is combined with other DWDM service signals through the DWDM combiner disk, and then transmitted through the optical fiber link and first connected to the device B;

[0060] On device B, the DWDM PRBS signal is dispersion compensated by the TDCM module of TDCM line card B, and then de-de ...

[0061] After receiving the PRBS signal, the QSFP28 optical module of TDCM line card B calculates the current bit error rate.

[0062] The TDCM line card of the device can adjust the dispersion compensation parameter configuration through the TDCM module on the line card. Therefore, the following method can be used to quickly determine which dispersion compensation configuration is the best:

[0063] The maximum value, the minimum value and the adjustment step size of each step of the adjustable dispersion compensation value are set according to the estimated dispersion range.

[0064] Within the range of the maximum and minimum values ​​of the adjustable dispersion compensation value, set the dispersion compensation value in sequence with the specified step size, and record the PRBS bit error rate corresponding to each setting value. The dispersion compensation value corresponding to the minimum bit error rate is the optimal setting. After obtaining the optimal dispersion compensation value through the automatic detection function of the dispersion compensation optimization parameter, the optimal dispersion compensation value can be solidified into the line card configuration through the command provided by the line card. The dispersion compensation value adjustment accuracy of the TDCM module is within 0.5 kilometers. After automatic detection of the dispersion compensation optimization parameters, the dispersion compensation accuracy can reach within 1 kilometer, meeting the dispersion compensation requirements of single-wavelength 100Gbit / s incoherent DWDM optical signals.

[0065] Usually, users only need to perform an automatic detection of dispersion compensation optimization parameters at the beginning of the game. After the current optimal dispersion compensation value is solidified, it will no longer change. Then, the 100G DWDM QSFP28 optical module inserted in the line card can be unplugged for the transmission of ordinary services, which greatly saves the user's usage costs. If the engineering design margin of the optical fiber link is tight, and the requirements for dispersion compensation are sensitive, it is necessary to continuously track and optimize the dispersion compensation configuration in real time. The TDCM line card also provides real-time dispersion compensation optimization and automatic adjustment function. The topology link is the same as the above figure, and the implementation method is as follows:

[0066] Step 1. Read the current dispersion compensation value S0 of the TDCM module, define the detection range R0, and the detection step length P0;

[0067] Step 2. From the dispersion compensation value S0 to (S0+R0), P0 is the step length, and the corresponding bit error rate after each step setting is recorded;

[0068] Step 3. From the dispersion compensation value S0 to (S0-R0), P0 is the step length, and the corresponding bit error rate after each step setting is recorded;

[0069] Step 4. Compare all bit error rates in steps 2 and 3, find the dispersion compensation value corresponding to the optimal bit error rate, and update and set it in the line card in real time;

[0070] Step 5. Delay for time T0 and execute step 1.

[0071] The other parts of this embodiment are the same as any one of the above embodiments 1-3, so they are not repeated here.

[0072] Embodiment 5:

[0073] This embodiment is further optimized on the basis of any one of the above embodiments 1-4, and when the PRBS signal is transmitted from the optical module B to the optical module A, it includes:

[0074] Optical module B sends the PRBS signal to optical module A through an optical fiber link, calculates the dispersion compensation value setting range according to the optical fiber link, adjusts the dispersion compensation value of TDCM line card A with the optical step length, and reads back the bit error rate corresponding to each dispersion compensation value calculated from optical module A to form a bit error rate set Yn, where n=1, 2, 3, .... The rest of this embodiment is the same as embodiment 4, so it is not repeated here.

[0075] Embodiment 6:

[0076] This embodiment is further optimized based on any one of the above embodiments 1-5.

[0077] In this embodiment, the QSFP28 slots of device A: TDCM line card and device B: TDCM line card are respectively inserted with our self-developed 100G DWDM QSFP28 optical modules. After the line cards recognize the modules, they automatically configure the modules to work in the mode of sending and receiving PRBS signals. The configuration method is as follows:

[0078] The line card recognizes that a module has been inserted and sets a module-specific address through a software interface based on the SFF8636 protocol extension, so that the module works in PRBS mode.

[0079] Access the module-specific address through the software interface based on the SFF8636 protocol extension to obtain the current bit error rate of the module's receiving signal.

[0080] Device A: The DWDM PRBS signal sent by the QSFP28 optical module of the TDCM line card is combined with other DWDM service signals through the DWDM combiner, and then transmitted through the optical fiber link to device B. On device B, the DWDM PRBS signal is dispersion compensated by the TDCM module of TDCM line card B, and then demultiplexed by the DWDM demultiplexer and transmitted to the QSFP28 receiving end of the TDCM line card in device B.

[0081] Device B: After the QSFP28 optical module of the TDCM line card receives the PRBS signal, it can calculate the current bit error rate. The value of the bit error rate can directly reflect the quality of the current optical fiber link transmission.

[0082] The other parts of this embodiment are the same as any one of the above embodiments 1-5, so they are not repeated here.

[0083] Embodiment 7:

[0084] This embodiment is further optimized on the basis of any one of the above embodiments 1-6. The method of adjusting the TDCM line card to obtain the optimal setting value in step S3 includes:

[0085] The maximum value, the minimum value and the adjustment step length of each step of the adjustable dispersion compensation value are set according to the estimated dispersion range;

[0086] Taking a 40-kilometer optical fiber line as an example, the theoretical dispersion compensation value is:

[0087] 40Km*-16.5ps / nm*km=-660ps / nm.

[0088] Therefore, the maximum dispersion compensation value can be set to -700ps / nm and the minimum dispersion compensation value can be set to -600ps / nm. Within the range of the maximum value of the adjustable dispersion compensation value -600ps / nm and the minimum value -700ps / nm, set the dispersion compensation value in sequence with the specified step size, and record the bit error rate read back from the QSFP28 optical module corresponding to each dispersion compensation setting value. The dispersion compensation value corresponding to the minimum bit error rate is the optimal setting value. This is because the size of the bit error rate directly reflects the quality of the link communication. Setting different dispersion compensation values ​​will cause the link communication quality to change. The smaller the bit error rate value, the better the link communication quality, which means that the corresponding dispersion compensation value is better.

[0089] In this embodiment, an adjustable dispersion compensation module (TDCM) is used to avoid the problem of insufficient precision of fixed dispersion compensation. However, engineers are required to carefully try one by one within a certain parameter range, which is time-consuming and laborious. In addition, due to the lack of very accurate reference values, for example, it can only be checked whether there is packet loss at the switch port, but in fact, within a certain setting value range, there may be no packet loss at the switch port, and it is impossible to determine which value is the best. In many cases, the setting is not the optimal value.

[0090] The other parts of this embodiment are the same as any of the above embodiments 1-6, so they are not repeated here.

[0091] Embodiment 8:

[0092] This embodiment is further optimized on the basis of any one of the above embodiments 1-7, and the method for calculating the current bit error rate includes: bit error rate = error data count / total received data. In this embodiment, after the PRBS signal is received, the bit error rate in the corresponding direction is calculated. Set TDCM and modify the dispersion compensation value. If the dispersion compensation setting value is not changed, the bit error rate detected will not change significantly. By modifying the TDCM dispersion compensation value and querying the corresponding bit error rate, and then comparing which dispersion compensation setting value is optimal, the purpose of finding the optimal dispersion compensation setting value is achieved.

[0093] The other parts of this embodiment are the same as any one of the above embodiments 1-7, so they are not repeated here.

[0094] Embodiment 9:

[0095] This embodiment is further optimized on the basis of any one of the above embodiments 1-8. The method for adjusting the dispersion compensation value of the TDCM line card in step S3 to obtain the optimal dispersion compensation setting value includes:

[0096] The optical signal communication quality corresponding to different dispersion compensation values ​​is judged according to the bit error rate set Xn or Yn, and the dispersion compensation value of the TDCM line card corresponding to the minimum bit error rate point is selected as the optimal setting value.

[0097] In this embodiment, after obtaining the optimal dispersion compensation value through the dispersion compensation optimization parameter automatic detection function, the optimal dispersion compensation value is fixed to the line card configuration through the command provided by the line card to realize automatic detection and setting of the dispersion compensation of the optical fiber link. Figure 1As shown, automatic detection of dispersion compensation optimization parameters: This function is completed by using the TDCM line card in the device and our self-developed 100G DWDM QSFP28 optical module. When inserted into other communication devices with standard QSFP28 slots, our self-developed 100G DWDM optical module will work as a standard optical module, but when inserted into our TDCM line card, the line card will configure the working mode of the 100G DWDM optical module to a specific PRBS signal mode through a custom command. The specific link topology is shown below. Here, the business from "Device A: TDCM line card" to "Device B: TDCM line card" is shown to illustrate the basic principle of automatic detection of dispersion compensation optimization parameters.

[0098] The above-mentioned custom commands refer to the expansion of custom access pages (Page) and corresponding high 128-byte addresses inside the QSFP28 optical module based on the SFF-8636 protocol framework. By sending specified data to specific pages and addresses, data interaction between the TDCM board and the QSFP28 optical module can be realized, and extended functions such as modifying the working mode of the optical module and reading bit error rate information can be completed.

[0099] The other parts of this embodiment are the same as any one of the above embodiments 1-8, so they are not repeated here.

[0100] It should be noted that what is proposed in the present invention is that the PRBS signal needs to be transmitted from optical module A to optical module B, and also needs to be transmitted from optical module B to optical module A, so optical module A and optical module B are respectively inserted into TDCM line card A and TDCM line card B, and the TDCM line card is needed to read back the QSFP28 optical module, but when the PRBS signal only needs to be transmitted unidirectionally from optical module A to optical module B, TDCM line card A does not need to read back. At this time, the use of other devices that achieve the same or better functions as TDCM line card A also falls within the protection scope of the present invention.

[0101] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any simple modification or equivalent change made to the above embodiment based on the technical essence of the present invention shall fall within the protection scope of the present invention.

Claims

1. A method for automatically detecting and setting dispersion compensation of an optical fiber link, characterized in that: The following steps are involved: Step S1. Configure optical module A and optical module B, insert optical module A into TDCM line card A, insert optical module B into TDCM line card B, and when the TDCM line card recognizes that the optical module is inserted, turn on the PRBS generator and PRBS detector of the optical module; The method for the TDCM line card to identify the optical module includes: the optical module A and the TDCM line card A form a device A; the optical module B and the TDCM line card B form a device B; the TDCM line card identifies that the optical module is inserted, sets a specific address of the optical module through the SFF8636 I2C interface, and makes the optical module work in a PRBS signal working mode; accesses the specific address of the optical module through the I2C interface, and obtains the current bit error rate of the optical module receiving signal; The optical module A and the optical module B are 100G DWDM QSFP28 optical modules; Step S2. The PRBS signal is transmitted unidirectionally between the PRBS generator of optical module A and the PRBS detector of optical module B through an optical fiber link. When the PRBS signal is transmitted from optical module A to optical module B, the DWDM PRBS signal sent by the QSFP28 optical module of TDCM line card A is combined with other DWDM service signals through the DWDM combiner disk, and then transmitted through the optical fiber link and first connected to device B; on device B, the DWDM PRBS signal is dispersion compensated by the TDCM module of TDCM line card B, and then de-de ... Step S3. Determine the communication quality of optical signals in different directions according to the bit error rate set Xn or Yn, select the dispersion compensation value of the TDCM line card corresponding to the minimum bit error rate point as the optimal setting value, and realize automatic detection of dispersion compensation and setting of the optical fiber link.

2. A method for realizing automatic detection and setting of optical fiber link dispersion compensation according to claim 1, characterized in that: The step S1 includes: After optical module A is inserted into TDCM line card A, TDCM line card A identifies optical module A, automatically configures optical module A to a PRBS signal transmitting and receiving working mode, and turns on the PRBS generator and PRBS detector of optical module A; After optical module B is inserted into TDCM line card B, TDCM line card B identifies optical module B, automatically configures optical module B to a PRBS signal transmitting and receiving working mode, and turns on the PRBS generator and PRBS detector of optical module B.

3. A method for realizing automatic detection and setting of optical fiber link dispersion compensation according to claim 1, characterized in that: In the step S2, when the PRBS signal is transmitted from optical module A to optical module B, it includes: optical module A sends the PRBS signal to optical module B through the optical fiber link, calculates the dispersion compensation value setting range according to the situation of the optical fiber link, adjusts the dispersion compensation value of the TDCM line card B in steps, and reads back the bit error rate corresponding to each dispersion compensation value calculated by optical module B to form a bit error rate set Xn.

4. A method for realizing automatic detection and setting of optical fiber link dispersion compensation according to claim 1, characterized in that: In the step S2, when the PRBS signal is transmitted from the optical module B to the optical module A, the optical module B sends the PRBS signal to the optical module A through the optical fiber link, calculates the dispersion compensation value setting range according to the condition of the optical fiber link, adjusts the dispersion compensation value of the TDCM line card A with the optical step length, and reads back the bit error rate corresponding to each dispersion compensation value calculated by the optical module A to form a bit error rate set Yn.

5. A method for realizing automatic detection and setting of dispersion compensation of optical fiber link according to claim 4, characterized in that: Methods for calculating the current bit error rate include: bit error rate = error data count / total received data.

6. A method for realizing automatic detection and setting of optical fiber link dispersion compensation according to claim 1, characterized in that: The method for adjusting the dispersion compensation value of the TDCM line card in step S3 to obtain the optimal dispersion compensation setting value includes: judging the optical signal communication quality corresponding to different dispersion compensation values ​​according to the bit error rate set Xn or Yn, and selecting the dispersion compensation value of the TDCM line card corresponding to the minimum bit error rate point as the optimal setting value.