Interface compensation parameter setting method and communication board
By automatically detecting and adjusting the interface compensation parameters of optical communication equipment by the communication board, the poor compensation effect caused by equipment differences in signal transmission of optical communication equipment is solved, and the signal transmission quality and fault positioning efficiency are improved.
Patent Information
- Application Number
- CN202211372412.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-31
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2042-10-31
AI Technical Summary
During the signal transmission process, existing optical communication equipment cannot accurately adapt the compensation parameter configuration due to equipment differences during signal transmission, resulting in poor signal compensation effect and difficulty in positioning the fault.
Automatically detect the identity of the external access object through the communication board, generate test signals and adjust interface compensation parameters, calculate the bit error rate to set the best compensation parameters, and ensure the accuracy and stability of the electrical signal transmission between the communication board and the optical module. sex.
The signal transmission quality of optical communication terminal equipment is improved, the parameter setting process is simplified, the fault positioning efficiency is improved, and the overall transmission quality of the communication system is ensured.
Smart Images

Figure CN115801118B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of optical communication technology, and in particular to an interface compensation parameter setting method and a communication single board. Background Art
[0002] When optical communication equipment is transmitting signals, the signals may be damaged during the transmission process, resulting in bit errors. Therefore, it is necessary to compensate for the damaged signals.
[0003] At present, related technologies usually configure compensation parameters for optical communication equipment based on past data. However, there are often certain differences between different optical communication equipment during the production and assembly processes. Therefore, the compensation parameters configured based on past data cannot be accurately adapted to each optical communication device, resulting in an inability to better compensate for the transmission signal. Summary of the invention
[0004] The inventors found that even if the parameters of the optical module are adjusted according to the signal transmission results in the actual application scenario, there are still some shortcomings: 1. The implementation of this method needs to be carried out in the actual application scenario, the implementation conditions are not easy to meet, and the implementation process is cumbersome. 2. Since the optical communication terminal equipment and the optical module are connected through an electrical signal interface, the optical module converts the electrical signal sent by the optical communication terminal equipment into an optical signal and transmits it to the optical communication terminal equipment at the receiving end through the optical fiber transmission system. The entire communication process involves the adjustment of the electrical signal interface and the optical interface parameters. When there is a problem in the test line, it is difficult to accurately locate the fault point.
[0005] In order to at least partially solve the technical problems existing in the prior art, the inventor has made the present invention, and through specific implementation methods, the technical solutions provided are as follows:
[0006] In a first aspect, an embodiment of the present invention provides a method for setting a terminal of an optical communication device, including a communication board and an optical module, the method comprising the following steps:
[0007] After the communication board detects that its electrical interface is connected to the external test board, a first test signal is generated, wherein the input end and the output end of the external test board are directly connected by a PCB board transmission line, and the first test signal is sent to the input end of the external test board via the communication board, and then returned to the communication board via the output end of the external test board;
[0008] The communication board adjusts the interface compensation parameter values of the communication board one by one within the preset interface parameter range, calculates the bit error rate of the first test signal each time the adjustment is made, and sets the interface compensation parameter value corresponding to the minimum bit error rate of the first test signal as the communication board interface compensation parameter value;
[0009] The communication board is in the communication board interface compensation parameter value state, and when it is detected that its electrical interface is connected to the optical module, the optical module is configured to be in electrical self-loopback mode to generate a second test signal, wherein the second test signal is sent to the electrical input end of the optical module through the communication board, and then returned to the communication board through the electrical output end of the optical module;
[0010] The communication board sends a parameter adjustment signal to the optical module, adjusts the interface compensation parameter value of the optical module one by one within the preset interface parameter range, calculates the bit error rate of the second test signal each time the adjustment is made, and sets the interface compensation parameter value corresponding to the minimum bit error rate of the second test signal as the optical module interface compensation parameter value.
[0011] Further, after the communication board detects that its electrical interface is connected to the external test board, it generates a first test signal, which specifically includes:
[0012] When the communication board receives the identity information from the external test board, it determines that the electrical interface of the communication board is connected to the external test board, and generates a first test signal.
[0013] Further, when the communication board is in the communication board interface compensation parameter value state and it is detected that it is connected with the optical module, the optical module is configured to be in the electrical self-loopback mode, specifically including:
[0014] The communication board is in the communication board interface compensation parameter value state. When the communication board receives the identity information from the optical module, it is determined that the communication board electrical interface is connected to the optical module, and the optical module is configured to be in electrical self-loopback mode.
[0015] Furthermore, the optical module is configured to be in electrical self-loopback mode, specifically including:
[0016] An electrical self-loopback configuration instruction is sent to the control unit of the optical module, and the control unit of the optical module sets the unit of the optical module corresponding to the electrical self-loopback function to enter the electrical self-loopback mode.
[0017] Furthermore, two pairs of differential signal lines are provided on the external test board, wherein the first pair of differential signal lines are correspondingly connected to the second pair of differential signal lines, the free ends of the first pair of differential signal lines are used to connect to the electrical input interface of the communication board, and the free ends of the second pair of differential signal lines are used to connect to the electrical output interface of the communication board.
[0018] Further, the interface compensation parameter includes a first interface compensation parameter and a second interface compensation parameter, the preset interface parameter range includes a preset first interface parameter range and a preset second interface parameter range, and the communication board interface compensation parameter value includes a communication board first interface compensation parameter value and a communication board second interface compensation parameter value;
[0019] The communication board adjusts the interface compensation parameter values of the communication board one by one within the preset interface parameter range, calculates the bit error rate of the first test signal each time the adjustment is made, and sets the interface compensation parameter value corresponding to the minimum bit error rate of the first test signal as the communication board interface compensation parameter value, specifically including:
[0020] The communication board adjusts the first interface compensation parameter values of the communication board one by one within the preset first interface parameter range, calculates the bit error rate of the first test signal each time the adjustment is made, and sets the first interface compensation parameter value corresponding to the minimum bit error rate of the first test signal as the first interface compensation parameter value of the communication board;
[0021] When the communication board is in the first interface compensation parameter value state of the communication board, the second interface compensation parameter values of the communication board are adjusted one by one within the preset second interface parameter range, the bit error rate of the first test signal is calculated each time the adjustment is made, and the second interface compensation parameter value corresponding to the minimum bit error rate of the first test signal is set as the second interface compensation parameter value of the communication board.
[0022] Further, the optical module interface compensation parameter value includes an optical module first interface compensation parameter value and an optical module second interface compensation parameter value;
[0023] The communication board sends a parameter adjustment signal to the optical module, adjusts the interface compensation parameter value of the optical module one by one within the preset interface parameter range, calculates the bit error rate of the second test signal each time the adjustment is made, and sets the interface compensation parameter value corresponding to the minimum bit error rate of the second test signal as the interface compensation parameter value of the optical module, specifically including:
[0024] The communication board sends a parameter adjustment signal to the optical module, adjusts the first interface compensation parameter value of the optical module one by one within the preset first interface parameter range, calculates the bit error rate of the second test signal each time the adjustment is made, and sets the first interface compensation parameter value corresponding to the minimum bit error rate of the second test signal as the first interface compensation parameter value of the optical module;
[0025] When the optical module is in the state of the first interface compensation parameter value of the optical module, the second interface compensation parameter value of the optical module is adjusted one by one within the preset second interface parameter range, the bit error rate of the second test signal is calculated each time the adjustment is made, and the second interface compensation parameter value corresponding to the minimum bit error rate of the second test signal is set as the second interface compensation parameter value of the optical module.
[0026] Furthermore, if the minimum bit error rate of the first test signal corresponds to multiple interface compensation parameter values, or the minimum bit error rate of the second test signal corresponds to multiple interface compensation parameter values, the middle interface compensation parameter value of the multiple interface compensation parameter values is set as the communication board interface compensation parameter value or the optical module interface compensation parameter value.
[0027] Furthermore, the communication board is provided with an alarm indication unit, and when the minimum bit error rate of the first test signal or the minimum bit error rate of the second test signal is greater than a preset bit error rate threshold, the alarm indication unit issues an alarm.
[0028] In a second aspect, an embodiment of the present invention provides a communication board, including a processor, a serial deserializer chip and a communication interface, wherein:
[0029] Communication interface, used to connect to external test board or optical module;
[0030] A serial deserializer chip, used to generate a first test signal or a second test signal under the control of the processor and output it to an external test board or an optical module, and also used to receive the first test signal returned after passing through the external test board or the second test signal returned after passing through the optical module, and calculate the bit error rate of the first test signal or the second test signal;
[0031] A processor is used to identify the identity of an external test board or an optical module connected to a communication board; and is also used to control a serial deserializer chip to generate a first test signal and output it to the external test board after identifying that the external test board is connected, and adjust the interface compensation parameter values of the communication board one by one within a preset interface parameter range, and select the communication board interface compensation parameter value corresponding to the minimum bit error rate of the first test signal according to the first test signal bit error rate calculated by the serial deserializer chip under the state of each interface compensation parameter value of the communication board and set it as the communication board interface compensation parameter value; and is also used to configure the optical module to an electrical self-loopback mode after identifying that the optical module is connected, control the serial deserializer chip to generate a second test signal and output it to the external test board, and adjust the interface compensation parameter values of the optical module one by one within the preset interface parameter range, and select the optical module interface compensation parameter value corresponding to the minimum bit error rate of the second test signal according to the second test signal bit error rate calculated by the serial deserializer chip under the state of each interface compensation parameter value of the optical module and set it as the optical module interface compensation parameter value.
[0032] Furthermore, the communication board also includes an alarm indication unit. If the processor determines that the minimum bit error rate of the first test signal or the minimum bit error rate of the second test signal is greater than a preset bit error rate threshold, the alarm indication unit is controlled to issue an alarm.
[0033] The beneficial effects of the above technical solution provided by the embodiment of the present invention include at least:
[0034] The present invention utilizes a communication board to automatically detect the identity of an external access object. When the communication board detects that a test board is accessed, a first test signal is generated, the interface compensation parameter value of the communication board is adjusted, and a loopback bit error rate of the first test signal is calculated to obtain the interface compensation parameter value of the communication board, and the communication board is set accordingly. After the communication board is set, when the communication board detects that an optical module is accessed, the optical module is configured to an electrical self-loopback mode, a second test signal is generated, the interface compensation parameter value of the optical module is adjusted, and a loopback bit error rate of the second test signal is calculated to obtain the interface compensation parameter value of the optical module, and the optical module is set accordingly.
[0035] Compared with the prior art, the present invention can ensure the accuracy and stability of electrical signal transmission between the communication board itself and between the communication board and the optical module, so that the signal transmission effect in the optical communication terminal equipment is achieved, thereby improving the overall transmission quality of the communication system; and, when the communication terminal equipment is applied to an actual communication system, if a fault is found in the communication system, it is generally possible to first rule out the problem of the communication terminal equipment, which can improve the efficiency of locating the communication fault point; and, the present invention can realize the automatic setting of compensation parameters of the communication board and the optical module interface, making the parameter setting process convenient and efficient, saving manpower and material resources.
[0036] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0037] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0039] Figure 1a This is an application scenario diagram of an interface compensation parameter setting method in an embodiment of the present invention;
[0040] Figure 1b for Figure 1a , another application scenario diagram of the interface compensation parameter setting method;
[0041] Figure 2 A schematic diagram of a flow chart of a method for setting interface compensation parameters in an embodiment of the present invention;
[0042] Figure 3a This is an application scenario diagram of another method for setting interface compensation parameters in an embodiment of the present invention;
[0043] Figure 3b for Figure 3a , another application scenario diagram of the interface compensation parameter setting method;
[0044] Figure 4 A schematic diagram of a flow chart of another method for setting interface compensation parameters in an embodiment of the present invention;
[0045] Figure 5 A schematic diagram of a flow chart of another method for setting interface compensation parameters in an embodiment of the present invention;
[0046] Figure 6 A schematic diagram of a flow chart of another method for setting interface compensation parameters in an embodiment of the present invention;
[0047] Figure 7 A schematic diagram of a flow chart of another method for setting interface compensation parameters in an embodiment of the present invention;
[0048] Figure 8 This is a structural block diagram of a communication board in an embodiment of the present invention;
[0049] Fig. 9 This is a structural block diagram of another communication board in an embodiment of the present invention. DETAILED DESCRIPTION
[0050] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0051] When optical fiber communication equipment is transmitting signals, the higher the signal rate, the more likely it is to produce skin effect and transmission line dielectric loss, causing the signal to be severely damaged during transmission and causing problems such as bit errors. In order to obtain a better waveform at the optical communication terminal receiving the signal, it is necessary to compensate for the damaged signal. Common compensation technologies include adjusting emphasis parameters (divided into pre-emphasis and over-emphasis) and equalization parameters.
[0052] In one example, damaged signals are often compensated by setting parameters of the optical module that connects the optical communication terminal to the communication board. The set parameter values are generally fixed values summarized based on experience. Since there are certain differences between the optical modules during the production and assembly processes, it cannot be guaranteed that the fixed parameter values can be accurately applied to each optical module. Therefore, it is difficult to ensure the adaptability of each optical module when connected to the optical communication terminal equipment, and the signal may not be well compensated in actual applications.
[0053] In another example, the parameters of the optical module are adjusted by detecting the signal transmission results of the communication board and the optical module of the optical communication terminal in the actual application scenario, that is, the signal emitted by the communication board of the optical communication output terminal is transmitted to the optical communication receiving terminal via the optical module, returned to the optical module after the optical communication receiving terminal, and finally returned to the communication board of the optical communication output terminal. The optical module parameters are set according to the bit error rate between the output signal of the communication board of the optical communication output terminal and the received return signal, so that the bit error rate between the output signal and the return signal is minimized.
[0054] In view of this, combined with Figure 1a , Figure 1b and Figure 2 As shown, this embodiment discloses a method for setting interface compensation parameters, the method comprising the steps of:
[0055] S101, after the communication board 1 detects that its own electrical interface is connected with the external test board 3, it generates a first test signal, wherein the input end and the output end of the external test board 3 are directly connected by the transmission line on the PCB board, and the first test signal is sent to the input end of the external test board 3 via the communication board 1, and then returned to the communication board 1 via the output end of the external test board 3.
[0056] Specifically, the communication board 1 can be arranged in an optical communication terminal device. The external test board 3 includes a PCB board, and the input end and the output end of the external test board 3 are directly connected by a transmission line on the PCB board. When the electrical signal input end of the communication board 1 is connected to the output end of the external test board 3, and the electrical signal output end is connected to the input end of the external test board 3, the SerDes (SERializer / DESerializer) chip of the communication board 1 generates a first test signal for testing the communication board 1 for the external test board 3 under the control of the processor of the communication board 1. The first test signal is output to the external test board 3 through the electrical signal output port of the communication board 1, and returns to the electrical signal input end of the communication board 1 after passing through the external test board 3, and is received by the SerDes chip.
[0057] In some embodiments, the electrical input and output interfaces of some communication boards 1 used for high-speed signal transmission are composed of two pairs of differential interfaces. Correspondingly, two pairs of differential signal lines are provided on the external test board 3, wherein the first pair of differential signal lines are correspondingly connected to the second pair of differential signal lines, the free ends of the first pair of differential signal lines are used to connect to the electrical input interface of the communication board 1, and the free ends of the second pair of differential signal lines are used to connect to the electrical output interface of the communication board 1, so that the differential signal output by the communication board 1 is looped back to the communication board 1.
[0058] S102, the communication board 1 adjusts the interface compensation parameter values of the communication board 1 one by one within the preset interface parameter range, calculates the bit error rate of the first test signal each time the adjustment is made, and sets the interface compensation parameter value corresponding to the minimum bit error rate of the first test signal as the communication board interface compensation parameter value.
[0059] Specifically, the storage in the processor of the communication board 1 is preset with multiple different interface compensation parameter values within a certain numerical range. The processor of the communication board 1 writes an interface compensation parameter value in the SerDes chip of the communication board 1 in turn. Each time a value is written, the processor of the communication board 1 controls the SerDes chip to output a first test signal to the external test board 3. The first test signal returns to the SerDes chip of the communication board 1 after passing through the external test board 3. The SerDes chip analyzes the difference rate between the output test signal and the returned test signal, and calculates the bit error rate of the first test signal. After the interface compensation parameters of different communication boards have been tested, the processor of the communication board 1 selects the interface compensation parameter value corresponding to the minimum bit error rate as the optical module interface compensation parameter value and writes it into the SerDes chip of the communication board 1.
[0060] S103, when the communication board 1 is in the communication board interface compensation parameter value state, when it is detected that its electrical interface is connected with the optical module 2, the optical module 2 is configured to the electrical self-loopback mode to generate a second test signal, wherein the second test signal is sent to the electrical input end of the optical module 2 via the communication board 1, and then returned to the communication board 1 via the electrical output end of the optical module 2.
[0061] Specifically, when the communication board 1 is already in the communication board interface compensation parameter value state, the communication board 1 is connected to the optical module 2. When the electrical signal input end of the communication board 1 is connected to the electrical signal output end of the optical module 2, and the electrical signal output end is connected to the electrical signal input end of the optical module 2, the processor of the communication board 1 generates an instruction for the optical module 2 to configure the optical module 2 to the electrical self-loopback mode. For example, the electrical loopback configuration instruction can be sent to the MCU (Microcontroller Unit) of the optical module 2 through the IIC (Inter-Integrated Circuit) of the optical module 2, and the MCU of the optical module 2 sets the register in the laser driver chip of the optical module 2 to make the optical module 2 enter the electrical self-loopback mode. In addition, the SerDes chip of the communication board 1 generates a second test signal for testing the optical module 2 under the control of the processor of the communication board 1. The second test signal is output to the electrical signal input end of the optical module 2 through the electrical signal output port of the communication board 1, and returns to the electrical signal input end of the communication board 1 after the electrical self-loopback of the optical module 2, and is received by the SerDes chip.
[0062] It can be understood that before the communication board 1 is connected to the optical module 2 , the previously connected external test board 3 has been removed.
[0063] S104, the communication board 1 sends a parameter adjustment signal to the optical module 2, and adjusts the interface compensation parameter value of the optical module 2 one by one within the preset interface parameter range. The bit error rate of the second test signal is calculated each time the adjustment is made, and the interface compensation parameter value corresponding to the minimum bit error rate of the second test signal is set as the optical module interface compensation parameter value.
[0064] Specifically, the storage in the processor of the communication board 1 is preset with multiple different interface compensation parameter values within a certain numerical range. The processor of the communication board 1 writes an interface compensation parameter value in the control register corresponding to the interface parameter in the CDR (clock data recovery) chip of the optical module 2 in turn. Each time a value is written, the processor of the communication board 1 controls the SerDes chip to output a second test signal to the optical module 2. The second test signal is returned to the SerDes chip of the communication board 1 after being electrically looped back by the optical module 2. The SerDes chip analyzes the difference rate between the output test signal and the returned test signal, and calculates the bit error rate of the second test signal. After the interface compensation parameters of different optical modules have been tested, the processor of the communication board 1 selects the interface compensation parameter value corresponding to the minimum bit error rate as the optical module interface compensation parameter value and writes it into the control register in the CDR chip of the optical module 2.
[0065] It is understandable that the generation of the test signal and the analysis of the bit error rate can be completed by the SerDes chip of the communication board 1. When the communication board 1 detects that it is connected to the external test board 3 or the optical module 2, the processor of the communication board 1 controls the SerDes chip of the communication board 1 to encode and output the test signal to the external test board 3 or the optical module 2, and then returns to the communication board 1 after passing through the external test board 3 or the optical module 2, and then the processor controls the SerDes chip to decode and calculate the returned signal. Therefore, this solution does not need to add additional auxiliary equipment, and only needs to set the corresponding program in the processor of the board to achieve it.
[0066] This embodiment utilizes a communication board to automatically detect the identity of an external access object. When the communication board detects that a test board is connected, it generates a first test signal, adjusts its own interface compensation parameter value, and calculates the loopback bit error rate of the first test signal, obtains the communication board interface compensation parameter value, and sets the communication board accordingly. After the communication board is set, when the communication board detects that an optical module is connected, it configures the optical module to an electrical self-loopback mode, generates a second test signal, adjusts the optical module interface compensation parameter value, and calculates the loopback bit error rate of the second test signal, obtains the optical module interface compensation parameter value, and sets the optical module accordingly. Compared with the prior art, this embodiment can ensure the accuracy and stability of electrical signal transmission between the communication board itself and between the communication board and the optical module, so that the signal transmission effect in the optical communication terminal equipment is optimized, thereby improving the overall transmission quality of the communication system; and, when the communication terminal equipment is applied to an actual communication system, if a fault is found in the communication system, it is generally possible to first rule out the problem of the communication terminal equipment, which can improve the efficiency of locating the communication fault point; and, this embodiment can realize the automatic setting of compensation parameters of the communication board and the optical module interface, making the parameter setting process convenient and efficient, saving manpower and material resources.
[0067] In some embodiments, Figure 4 As shown, step S101 specifically includes:
[0068] S1011, when the communication board 1 receives the identity information from the external test board 3, it determines that the electrical interface of the communication board 1 is connected to the external test board 3, and generates a first test signal, wherein the input end and the output end of the external test board 3 are directly connected by the PCB board transmission line, and the first test signal is sent to the input end of the external test board 3 via the communication board 1, and then returned to the communication board 1 via the output end of the external test board 3.
[0069] Step S103 specifically includes:
[0070] S1031, communication board 1 is in the communication board interface compensation parameter value state. When communication board 1 receives the identity information from optical module 2, it is determined that the electrical interface of communication board 1 is connected to optical module 2, and optical module 2 is configured to be in electrical self-loopback mode, and a second test signal is generated, wherein the second test signal is sent to the electrical input end of optical module 2 via communication board 1, and then returned to communication board 1 via the electrical output end of optical module 2.
[0071] Specifically, Figure 3aAs shown, the external test board 3 includes an external test board identification unit 31, which is used to store the identity information of the external test board 3, for example, the identity information of the external test board 3 is stored as 01. In practical applications, the external test board 3 identity unit 31 can be an EEPROM (Electrically Erasable Programmable read only memory), and the identity information of the external test board 3 is stored in a preset address of the EEPROM.
[0072] Similar, such as Figure 3b As shown, the optical module 2 includes an optical module identification unit 21, which is used to store the identity information of the optical module 2, for example, the identity information of the optical module 2 is stored as 02. The optical module identification unit 21 can be a ROM (Read-Only Memory) or FLASH (Flash Memory) of the MCU of the optical module 2, and the identity information of the optical module 2 is stored in a preset address of the ROM or FLASH.
[0073] It is understandable that in actual applications, an in-position pin can be set in the electrical output pin of the communication board 1. When no external module is connected, the in-position pin is at a high level, and when an external module is connected, the in-position pin becomes a low level. The processor of the communication board 1 continuously reads the level of the in-position pin. If a low level is read, it is determined that an external module is connected, and the identity information of the external module is read through the IIC interface, and the identity is identified according to the pre-stored identity list, and the corresponding setting program is started according to the identified identity.
[0074] In this embodiment, an external test board identity identification unit 31 is set on the external test board 3, an optical module identity identification unit 21 is set on the optical module 2, and a corresponding communication protocol is set in the processor of the communication board 1, so that the communication board 1 can automatically identify the identity of the access module when the external test board 3 or the optical module 2 is connected, thereby starting the corresponding setting process to realize automatic identification of the identity of the external access module, and automatically start the corresponding setting program based on the identified access module identity.
[0075] It is understandable that the interface compensation parameters of the communication board 1 and the optical module 2 often include more than one type of parameters, usually including equalization parameters and emphasis parameters (including pre-emphasis parameters and over-emphasis parameters), etc. When actually executing the interface compensation parameter setting method, the equalization and emphasis parameters can be tested and selected one by one.
[0076] In some embodiments, the interface compensation parameter includes a first interface compensation parameter and a second interface compensation parameter, the preset interface parameter range includes a preset first interface parameter range and a preset second interface parameter range, the communication board interface compensation parameter value includes a communication board first interface compensation parameter value and a communication board second interface compensation parameter value, and the optical module interface compensation parameter value includes an optical module first interface compensation parameter value and an optical module second interface compensation parameter value. Among them, the first interface compensation parameter can be an equalization parameter, and the second interface compensation parameter can be a pre-emphasis parameter, or the former can be a pre-emphasis parameter and the latter can be an equalization parameter, and the order is not limited.
[0077] For example, the first interface compensation parameter is a pre-emphasis parameter, and its parameter range is set to 0dB to 12dB, with a total of 16 gears of interface compensation parameter values, namely 0dB, 1dB, 2dB, 3dB, 4dB, 5dB, 6dB, 7dB, 8dB, 9dB, 9.5dB, 10dB, 10.5dB, 11dB, 11.5dB, and 12dB; the second interface compensation parameter is an equalization parameter, and its parameter range is set to 0dB to 6.5dB, with a total of 16 gears of interface compensation parameter values, namely 0dB, 0.4dB, 0.7dB, 1dB, 1.2dB, 1.5dB, 2dB, 2.5dB, 3dB, 3.5dB, 4dB, 4.5dB, 5dB, 5.5dB, 6dB, and 6.5dB.
[0078] Correspondingly, such as Figure 5 As shown, step S102 specifically includes:
[0079] S1021, the communication board 1 adjusts the first interface compensation parameter value of the communication board 1 one by one within the preset first interface parameter range, calculates the bit error rate of the first test signal each time the adjustment is made, and sets the first interface compensation parameter value corresponding to the minimum bit error rate of the first test signal as the first interface compensation parameter value of the communication board.
[0080] S1022, when the communication board 1 is in the first interface compensation parameter value state of the communication board, the second interface compensation parameter values of the communication board 1 are adjusted one by one within the preset second interface parameter range, and the bit error rate of the first test signal is calculated each time the adjustment is made, and the second interface compensation parameter value corresponding to the minimum bit error rate of the first test signal is set as the second interface compensation parameter value of the communication board.
[0081] At this time, the communication board 1 stores preset adjustment ranges of two interface compensation parameters. First, one interface compensation parameter of the communication board 1 is tested and adjusted, and its optimal value is set. Then, the other interface compensation parameter is tested and adjusted and its optimal value is set.
[0082] Step S104 specifically includes:
[0083] S1041, the communication board 1 sends a parameter adjustment signal to the optical module 2, and adjusts the first interface compensation parameter value of the optical module 2 one by one within the preset first interface parameter range. The bit error rate of the second test signal is calculated each time the adjustment is made, and the first interface compensation parameter value corresponding to the minimum bit error rate of the second test signal is set as the first interface compensation parameter value of the optical module.
[0084] S1042, when the optical module 2 is in the state of the first interface compensation parameter value of the optical module, the communication board 1 adjusts the second interface compensation parameter values of the optical module 2 one by one within the preset second interface parameter range, calculates the bit error rate of the second test signal each time the adjustment is made, and sets the second interface compensation parameter value corresponding to the minimum bit error rate of the second test signal as the second interface compensation parameter value of the optical module.
[0085] In this solution, one interface compensation parameter of the optical module 2 is first tested and adjusted, and after setting the optimal value thereof, another interface compensation parameter thereof is tested and adjusted and set the optimal value thereof.
[0086] In this embodiment, two interface compensation parameters of the communication board 1 and the optical module 2 are set respectively, and the setting of the second interface parameter is performed on the premise that the first interface parameter has been set, so that the compensation parameters of the communication board 1 and the optical module 2 can be set more reasonably and the transmission effect can be better.
[0087] It should be noted that this embodiment takes two compensation parameters as an example. If the above test adjustment procedure is performed on more parameters, it also belongs to the solution of this embodiment.
[0088] In actual applications, when the communication board 1 is tested using the first test signal, there may be more than one communication board interface compensation parameter value corresponding to the minimum bit error rate. In this case, it is necessary to select the communication board interface compensation parameter value from multiple corresponding communication board interface compensation parameter values to set the communication board 1; when the optical module 2 is tested using the second test signal, there may also be more than one optical module interface compensation parameter value corresponding to the minimum bit error rate. In this case, it is necessary to select the optical module interface compensation parameter value from multiple corresponding optical module interface compensation parameter values to set the optical module 2. It is understandable that the components and lines of the optical communication equipment terminal may be affected by temperature changes, causing their actual parameters to drift. Considering the influence of such temperature drift, the component parameter value should be selected in the middle of the reference range.
[0089] In some embodiments, Figure 6 As shown, step S102 specifically includes:
[0090] S1021', the communication board 1 adjusts the interface compensation parameter values of the communication board 1 one by one within the preset interface parameter range, and calculates the bit error rate of the first test signal each time the adjustment is made.
[0091] S1022', determine whether the minimum bit error rate of the first test signal corresponds to multiple interface compensation parameter values; if so, set the middle interface compensation parameter value of the multiple interface compensation parameter values as the communication board interface compensation parameter value; if not, set the interface compensation parameter value corresponding to the minimum bit error rate of the first test signal as the communication board interface compensation parameter value.
[0092] Specifically, after executing step S1021', if a same test signal bit error rate is obtained under multiple different interface compensation parameter value states of the communication board 1 and the bit error rate is the minimum bit error rate, the processor of the communication board 1 selects an intermediate value as the communication board interface compensation parameter value to set the communication board 1 within the interval formed by the multiple different interface compensation parameter values.
[0093] Step S104 specifically includes:
[0094] S1041', the communication board 1 sends a parameter adjustment signal to the optical module 2, adjusts the interface compensation parameter values of the optical module 2 one by one within the preset interface parameter range, and calculates the bit error rate of the second test signal each time the adjustment is made.
[0095] S1042', determine whether the minimum bit error rate of the second test signal corresponds to multiple interface compensation parameter values; if so, set the middle interface compensation parameter value of the multiple interface compensation parameter values as the optical module interface compensation parameter value; if not, set the interface compensation parameter value corresponding to the minimum bit error rate of the second test signal as the optical module interface compensation parameter value.
[0096] Specifically, after executing step S1041', if a same test signal bit error rate is obtained under multiple different interface compensation parameter value states of the optical module 2 and the bit error rate is the minimum bit error rate, the processor of the communication board 1 selects the middle value as the optical module interface compensation parameter value to set the optical module 2 within the interval formed by the multiple different interface compensation parameter values.
[0097] In this embodiment, when there is a range of optical module interface compensation parameter values, a middle value in the range is selected as the optimal parameter value, which can reduce the influence of temperature drift on actual parameters of components and lines to a certain extent.
[0098] In some embodiments, Figure 3a , Figure 3b As shown, the communication board 1 is provided with an alarm indication unit 11, which is connected to the processor of the communication board 1 and is used to receive an alarm instruction from the processor and issue an alarm when the minimum bit error rate detected by the processor does not meet the preset requirements.
[0099] Correspondingly, such as Figure 7As shown, this embodiment provides another method for setting interface compensation parameters, comprising the following steps:
[0100] S201, after the communication board 1 detects that its own electrical interface is connected with the external test board 3, it generates a first test signal, wherein the input end and the output end of the external test board 3 are directly connected by the transmission line on the PCB board, and the first test signal is sent to the input end of the external test board 3 via the communication board 1, and then returned to the communication board 1 via the output end of the external test board 3.
[0101] S202, the communication board 1 adjusts the interface compensation parameter values of the communication board 1 one by one within the preset interface parameter range, calculates the bit error rate of the first test signal each time the adjustment is made, and sets the interface compensation parameter value corresponding to the minimum bit error rate of the first test signal as the communication board interface compensation parameter value.
[0102] S203, determine whether the minimum bit error rate of the first test signal is greater than a preset bit error rate threshold; if so, execute step S207; if not, execute step S204.
[0103] S204, when the communication board 1 is in the communication board interface compensation parameter value state, when it is detected that its electrical interface is connected to the optical module 2, the optical module 2 is configured to the electrical self-loopback mode to generate a second test signal, wherein the second test signal is sent to the electrical input end of the optical module 2 via the communication board 1, and then returned to the communication board 1 via the electrical output end of the optical module 2.
[0104] S205, the communication board 1 sends a parameter adjustment signal to the optical module 2, adjusts the interface compensation parameter value of the optical module 2 one by one within the preset interface parameter range, calculates the bit error rate of the second test signal each time the adjustment is made, and sets the interface compensation parameter value corresponding to the minimum bit error rate of the second test signal as the optical module interface compensation parameter value.
[0105] S206, determine whether the minimum bit error rate of the second test signal is greater than a preset bit error rate threshold; if so, execute step S207.
[0106] S207, the alarm indicating unit 11 issues an alarm, and the process ends.
[0107] It should be noted that the implementation methods of steps S201, S202, S204, and S205 in this embodiment are respectively the same as those in Figure 2 The implementation methods of steps S101, S102, S103, and S104 in the illustrated embodiment are similar and will not be described in detail here.
[0108] It is understandable that the communication board 1 or the optical module 2 itself may have defects, so that the minimum bit error rate obtained in the process of executing the interface compensation parameter setting method is high. In this embodiment, an alarm indication unit 11 connected to the processor is set on the communication board 1, and a bit error rate threshold is preset. When the minimum bit error rate of the first test signal or the minimum bit error rate of the second test signal during the test is greater than this threshold, the communication board 1 processor sends an alarm instruction to the alarm indication unit 11, and the alarm indication unit 11 sends an alarm signal to remind the management personnel to handle it, so as to eliminate unqualified boards or optical modules.
[0109] Based on the same inventive concept, the embodiment of the present invention also provides a communication board, such as Figure 8 As shown, the communication board includes a processor 410, a serial deserializer chip 420 and a communication interface 430, wherein:
[0110] The communication interface 430 is used to connect to an external test board or an optical module.
[0111] The serial deserializer chip 420 is used to generate a first test signal or a second test signal under the control of the processor 410 and output it to an external test board or an optical module. It is also used to receive the first test signal returned after passing through the external test board or the second test signal returned after passing through the optical module, and calculate the bit error rate of the first test signal or the second test signal.
[0112] The processor 410 is used to identify the identity of an external test board or an optical module connected to a communication board; it is also used to control the serial deserializer chip 420 to generate a first test signal and output it to the external test board after identifying that the external test board is connected, and adjust the interface compensation parameter values of the communication board one by one within the preset interface parameter range, and select the communication board interface compensation parameter value corresponding to the minimum bit error rate of the first test signal according to the first test signal bit error rate calculated by the serial deserializer chip 420 when the compensation parameter values of each interface of the communication board are in the state of the communication board interface compensation parameter value as the communication board interface compensation parameter value; it is also used to configure the optical module to an electrical self-loopback mode after identifying that the optical module is connected, control the serial deserializer chip 420 to generate a second test signal and output it to the external test board, and adjust the interface compensation parameter values of the optical module one by one within the preset interface parameter range, and select the optical module interface compensation parameter value corresponding to the minimum bit error rate of the second test signal according to the second test signal bit error rate calculated by the serial deserializer chip 420 when the compensation parameter values of each interface of the optical module are in the state of the optical module interface compensation parameter value as the optical module interface compensation parameter value.
[0113] For example, Fig. 9As shown, the communication board also includes an alarm indication unit 440. If the processor 410 determines that the minimum bit error rate of the first test signal or the minimum bit error rate of the second test signal is greater than a preset bit error rate threshold, the alarm indication unit is controlled to issue an alarm.
[0114] Since the principle of the problem solved by the communication board is similar to the aforementioned interface compensation parameter setting method, the implementation of the communication board can refer to the implementation of the aforementioned method, and the repeated parts will not be repeated.
[0115] An embodiment of the present invention further provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by a processor of a communication board, the communication board can execute the above-mentioned interface compensation parameter setting method.
[0116] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0117] The present invention is described with reference to the flowchart and / or block diagram of the method, device (system), and computer program product according to the embodiment of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the process and / or box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0118] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0119] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0120] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for setting interface compensation parameters, characterized in that: The method comprises the following steps: After the communication board detects that its electrical interface is connected to the external test board, a first test signal is generated, wherein the input end and the output end of the external test board are directly connected by a PCB board transmission line, and the first test signal is sent to the input end of the external test board via the communication board, and then returned to the communication board via the output end of the external test board; The communication board adjusts the interface compensation parameter values of the communication board one by one within the preset interface parameter range, calculates the bit error rate of the first test signal each time the adjustment is made, and sets the interface compensation parameter value corresponding to the minimum bit error rate of the first test signal as the communication board interface compensation parameter value; When the communication board is in the optimal communication board interface compensation parameter value state, when it is detected that its electrical interface is connected to the optical module, the optical module is configured to be in electrical self-loopback mode to generate a second test signal, wherein the second test signal is sent to the electrical input end of the optical module via the communication board, and then returned to the communication board via the electrical output end of the optical module; The communication board sends a parameter adjustment signal to the optical module, adjusts the interface compensation parameter value of the optical module one by one within the preset interface parameter range, calculates the bit error rate of the second test signal each time the adjustment is made, and sets the interface compensation parameter value corresponding to the minimum bit error rate of the second test signal as the interface compensation parameter value of the optical module; The interface compensation parameter includes a first interface compensation parameter and a second interface compensation parameter, the preset interface parameter range includes a preset first interface parameter range and a preset second interface parameter range, and the communication board interface compensation parameter value includes a communication board first interface compensation parameter value and a communication board second interface compensation parameter value; The communication board adjusts the interface compensation parameter values of the communication board one by one within the preset interface parameter range, calculates the bit error rate of the first test signal each time the adjustment is made, and sets the interface compensation parameter value corresponding to the minimum bit error rate of the first test signal as the communication board interface compensation parameter value, specifically including: The communication board adjusts the first interface compensation parameter values of the communication board one by one within the preset first interface parameter range, calculates the bit error rate of the first test signal each time the adjustment is made, and sets the first interface compensation parameter value corresponding to the minimum bit error rate of the first test signal as the first interface compensation parameter value of the communication board; The communication board is in the first interface compensation parameter value state of the communication board, and the second interface compensation parameter values of the communication board are adjusted one by one within the preset second interface parameter range. The bit error rate of the first test signal is calculated each time the adjustment is made, and the second interface compensation parameter value corresponding to the minimum bit error rate of the first test signal is set as the second interface compensation parameter value of the communication board.
2. The method for setting interface compensation parameters according to claim 1, characterized in that: After the communication board detects that its electrical interface is connected to the external test board, generating a first test signal specifically includes: When the communication board receives the identity information from the external test board, it is determined that the electrical interface of the communication board is connected to the external test board, and a first test signal is generated.
3. The method for setting interface compensation parameters according to claim 1, characterized in that: When the communication board is in the communication board interface compensation parameter value state and detects that it is connected with the optical module, the optical module is configured to be in an electrical self-loopback mode, specifically including: The communication board is in a communication board interface compensation parameter value state. When the communication board receives identity information from the optical module, it is determined that the communication board electrical interface is connected to the optical module, and the optical module is configured to be in electrical self-loopback mode.
4. The method for setting interface compensation parameters according to claim 1, characterized in that: Two pairs of differential signal lines are provided on the external test board, wherein the first pair of differential signal lines are correspondingly connected to the second pair of differential signal lines, the free ends of the first pair of differential signal lines are used to connect to the electrical input interface of the communication board, and the free ends of the second pair of differential signal lines are used to connect to the electrical output interface of the communication board.
5. The method for setting interface compensation parameters according to claim 2, characterized in that: The optical module interface compensation parameter value includes an optical module first interface compensation parameter value and an optical module second interface compensation parameter value; The communication board sends a parameter adjustment signal to the optical module, adjusts the interface compensation parameter values of the optical module one by one within a preset interface parameter range, calculates the bit error rate of the second test signal each time the adjustment is made, and sets the interface compensation parameter value corresponding to the minimum bit error rate of the second test signal as the interface compensation parameter value of the optical module, specifically including: The communication board sends a parameter adjustment signal to the optical module, adjusts the first interface compensation parameter values of the optical module one by one within the preset first interface parameter range, calculates the bit error rate of the second test signal each time the adjustment is made, and sets the first interface compensation parameter value corresponding to the minimum bit error rate of the second test signal as the first interface compensation parameter value of the optical module; When the optical module is in the state of the first interface compensation parameter value of the optical module, the communication board adjusts the second interface compensation parameter values of the optical module one by one within the preset second interface parameter range, calculates the bit error rate of the second test signal each time the adjustment is made, and sets the second interface compensation parameter value corresponding to the minimum bit error rate of the second test signal as the second interface compensation parameter value of the optical module.
6. The method for setting interface compensation parameters according to claim 1, characterized in that: If the minimum bit error rate of the first test signal corresponds to multiple interface compensation parameter values, or the minimum bit error rate of the second test signal corresponds to multiple interface compensation parameter values, the middle interface compensation parameter value of the multiple interface compensation parameter values is set as the communication board interface compensation parameter value or the optical module interface compensation parameter value.
7. The method for setting interface compensation parameters according to claim 1, characterized in that: The communication board is provided with an alarm indicating unit, and when the minimum bit error rate of the first test signal or the minimum bit error rate of the second test signal is greater than a preset bit error rate threshold, the alarm indicating unit issues an alarm.
8. A communication board, characterized in that: It includes a processor, a serial deserializer chip and a communication interface, wherein: The communication interface is used to access an external test board or an optical module; The serial deserializer chip is used to generate a first test signal or a second test signal under the control of the processor and output it to the external test board or the optical module, and is also used to receive the first test signal returned after passing through the external test board or the second test signal returned after passing through the optical module, and calculate the bit error rate of the first test signal or the second test signal; The processor is used to identify the identity of the external test board or optical module connected to the communication board; and is also used to control the serial deserializer chip to generate a first test signal and output it to the external test board after identifying that the external test board is connected, and adjust the interface compensation parameter values of the communication board one by one within the preset interface parameter range, and select the communication board interface compensation parameter value corresponding to the minimum bit error rate of the first test signal according to the first test signal bit error rate calculated by the serial deserializer chip under the state of each interface compensation parameter value of the communication board, and set it as the communication board interface compensation parameter value; and is also used to configure the optical module to an electrical self-loopback mode after identifying that the optical module is connected, control the serial deserializer chip to generate a second test signal and output it to the optical module, and adjust the interface compensation parameter values of the optical module one by one within the preset interface parameter range, and select the optical module interface compensation parameter value corresponding to the minimum bit error rate of the second test signal according to the second test signal bit error rate calculated by the serial deserializer chip under the state of each interface compensation parameter value of the optical module, and set it as the optical module interface compensation parameter value; The interface compensation parameter includes a first interface compensation parameter and a second interface compensation parameter, the preset interface parameter range includes a preset first interface parameter range and a preset second interface parameter range, and the communication board interface compensation parameter value includes a communication board first interface compensation parameter value and a communication board second interface compensation parameter value; The processor is specifically used to adjust the first interface compensation parameter values of the communication board one by one within a preset first interface parameter range, calculate the bit error rate of the first test signal each time the adjustment is made, and set the first interface compensation parameter value corresponding to the minimum bit error rate of the first test signal as the first interface compensation parameter value of the communication board; and when the communication board is in the first interface compensation parameter value state of the communication board, adjust the second interface compensation parameter values of the communication board one by one within a preset second interface parameter range, calculate the bit error rate of the first test signal each time the adjustment is made, and set the second interface compensation parameter value corresponding to the minimum bit error rate of the first test signal as the second interface compensation parameter value of the communication board.
9. The communication board according to claim 8, characterized in that: It also includes an alarm indication unit. If the processor determines that the minimum bit error rate of the first test signal or the minimum bit error rate of the second test signal is greater than a preset bit error rate threshold, the alarm indication unit is controlled to issue an alarm.
