Method, device and system for tuning parameters of equalizer
By downsampling the equalizer parameters in the communication system and gradual tuning of electrical signal quality guidance, the computing resource and time consumption problems caused by parameter coupling in high-speed interconnection scenarios are solved, and fast and efficient equalization parameter tuning is achieved.
Patent Information
- Application Number
- CN202410179132.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-08
- Publication Date
- 2025-08-08
AI Technical Summary
In high-speed interconnection scenarios, the equalizer parameters to be configured in the communication system are coupled to each other. The existing joint tuning method of full scanning requires a large amount of computing resources and time, making it difficult to quickly find the global optimal solution.
By downsampling the equalizer parameters in the communication system, the first generation of tuning values of important parameters are obtained, and gradually adjust them based on the electrical signal quality information until the tuning cut-off conditions are met, and fast and convenient joint tuning is achieved.
There is no need to perform full traversal scanning of all parameters. Only by downsampling and bias tuning of important parameters can we quickly lock the optimal combination of equalization parameters, reducing computing resource consumption and time cost.
Smart Images

Figure CN120454879A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device, and system for tuning parameters of an equalizer. Background Art
[0002] For some high-speed interconnection scenarios, the communication system needs to configure the parameters of the equalizer to achieve better balancing effects in the communication system. Since the parameters of the equalizers to be configured in the communication system are coupled with each other, joint tuning is required to obtain the values of each parameter for better balancing effects. Currently, the joint tuning process requires a full scan (also known as a brute force scan) of the parameters to be configured to obtain a tuning result that achieves better balancing effects. However, as the number of parameters of the equalizers to be configured continues to increase, the full scan joint tuning method requires more computing resources and processing time. Summary of the Invention
[0003] Based on this, the present application provides a method, device and system for tuning the parameters of an equalizer, which can not only converge quickly but also consume less computing resources when jointly tuning multiple parameters to be configured of the equalizer.
[0004] In a first aspect, the present application provides a method for tuning parameters of an equalizer, wherein the equalizer belongs to a communication system, and the communication system may include a physical layer (PHY). The method can be applied to the PHY. The method may include, for example: first, downsampling a first parameter to obtain first downsampled data of the first parameter; determining a first-generation tuning value for the first parameter based on the first downsampled data and first quality information of an electrical signal in the PHY, wherein the first parameter belongs to a first parameter set, which is an important parameter set among parameters of the equalizer; the first quality information is used to characterize the quality of the electrical signal corresponding to the first downsampled data; and the first-generation tuning value is used to configure the equalizer; then, based on the first-generation tuning value of the first parameter and a first deviation range of the first parameter, obtaining first candidate data for the first parameter; and determining, based on the first candidate data and second quality information of the electrical signal in the PHY, a second-generation tuning value for the first parameter, wherein the first candidate data is a number of values of the first parameter corresponding to the first deviation range, centered around the first-generation tuning value of the first parameter; the second quality information is used to characterize the quality of the electrical signal corresponding to the first candidate data; and the second-generation tuning value is used to update the first-generation tuning value to configure the equalizer. In this way, the second-generation tuning values of each parameter in the important parameter set are obtained, and the corresponding parameters in the equalizer are configured with the second-generation tuning values. There is no need to perform a full traversal scan of all the equalization parameters to be configured. Only the important parameters in the configured equalization parameters need to be downsampled and deviation tuned. By scanning fewer parameters a small number of times and taking the quality of the corresponding electrical signals as the basis, the tuning results of the joint tuning of all the equalization parameters to be configured can be determined, thereby realizing fast and convenient joint tuning of the equalization parameters.
[0005] In one possible implementation, if the first parameter set also includes a second parameter, the method may further include: first, downsampling the second parameter to obtain second downsampled data of the second parameter, and determining a first-generation tuning value for the second parameter based on the first downsampled data, the second downsampled data, and the first quality information. Then, the PHY determines the first-generation tuning value for the first parameter based on the first downsampled data and the first quality information in the electrical signal in the PHY, which may include: determining the first-generation tuning value for the first parameter based on the first downsampled data, the second downsampled data, and the first quality information. It can be seen that by performing first-generation tuning on important parameters together through downsampling, it is possible to quickly lock in more reasonable values for important parameters with a smaller number of scans.
[0006] In one possible implementation, if the first parameter set also includes a second parameter, the method may further include: first, obtaining second candidate data for the second parameter based on the first-generation tuning value of the second parameter and the second deviation range of the second parameter, and determining the second-generation tuning value of the second parameter based on the second-generation tuning value of the first parameter, the second candidate data, and second quality information of the electrical signal in the PHY, wherein the second quality information is used to characterize the quality of the electrical signal corresponding to the second candidate data, and the second candidate data is a number of values of the second parameter centered on the first-generation tuning value of the second parameter and corresponding to the second deviation range. In this way, by scanning each parameter in the first parameter set one by one, further tuning values for each parameter are determined, and the final tuning result of the equalization parameter is quickly obtained with fewer scans.
[0007] In one possible implementation, the method may further include: the PHY grouping the multiple parameters to be configured of the equalizer based on their impact on equalization performance in the communication system to obtain multiple parameter sets, where the multiple parameter sets include a first parameter set. As an example, the multiple parameter sets may further include a second parameter set, where the second parameter set is a set of non-critical parameters of the equalizer.
[0008] In one possible implementation, the second parameter set may include a third parameter. Then, after the PHY determines the first-generation tuning value of each parameter (including the first parameter) in the first parameter set, the method may further include: the PHY performs first-generation tuning on each parameter in the second parameter set to obtain the first-generation tuning value of each parameter in the second parameter set, thereby performing second-generation tuning on each parameter in the first parameter set based on the first-generation tuning value of each parameter in the first parameter set and the second parameter set. As an example, the PHY performs first-generation tuning on each parameter in the second parameter set to obtain the first-generation tuning value of each parameter in the second parameter set may include: the PHY downsamples the third parameter to obtain third downsampled data of the third parameter; and determines the first-generation tuning value of the third parameter based on the first-generation tuning value of the first parameter, the third downsampled data, and third quality information in the electrical signal in the PHY, wherein the third quality information is used to characterize the quality of the electrical signal corresponding to the third downsampled data. In this way, the PHY in the communication system can perform first-generation tuning on important parameters belonging to an important parameter set among the equalization parameters to be configured, perform first-generation tuning on unimportant parameters belonging to an unimportant parameter set among the equalization parameters to be configured, and perform several second-generation tunings on important parameters belonging to an important parameter set among the equalization parameters to be configured, to obtain tuning results when the tuning cutoff conditions are met. The equalization parameters in the communication system are configured based on the tuning results, and there is no need to perform a full traversal scan of all the equalization parameters to be configured. Only important parameters among the equalization parameters to be configured, unimportant parameters, and deviation tuning are performed on important parameters. By scanning a small number of parameters a small number of times and taking the quality of the corresponding electrical signals as a basis, the tuning results of the joint tuning of all the equalization parameters to be configured can be determined, thereby achieving fast and convenient joint tuning of the equalization parameters.
[0009] As an example, after the PHY determines the second-generation tuning value of the first parameter, the method may further include: the PHY obtaining third candidate data for the third parameter based on the first-generation tuning value of the third parameter and a third deviation range of the third parameter, and determining the second-generation tuning value of the third parameter based on the second-generation tuning value of the first parameter, the third candidate data, and fourth quality information of the electrical signal in the PHY. The third candidate data is a number of values of the third parameter corresponding to the third deviation range, centered around the first-generation tuning value of the third parameter, and the fourth quality information is used to characterize the quality of the electrical signal corresponding to the third candidate data. In this way, the PHY in the communication system can perform first-generation tuning on important parameters belonging to an important parameter set among the equalization parameters to be configured, perform first-generation tuning on unimportant parameters belonging to an unimportant parameter set among the equalization parameters to be configured, perform several second-generation tunings on important parameters belonging to an important parameter set, and perform several second-generation tunings on unimportant parameters belonging to an unimportant parameter set, to obtain tuning results when the tuning cutoff conditions are met, and configure the equalization parameters in the communication system based on the tuning results. There is no need to perform a full traversal scan of all the equalization parameters to be configured, downsample the important parameters among the equalization parameters to be configured, downsample the unimportant parameters, perform deviation tuning on the important parameters, and perform deviation tuning on the unimportant parameters. By scanning a small number of parameters a small number of times and taking the quality of the corresponding electrical signals as the basis, the tuning results of the joint tuning of all the equalization parameters to be configured can be determined, thereby achieving fast and convenient joint tuning of the equalization parameters.
[0010] In one possible implementation, the method may further include: after tuning, determining whether a tuning cutoff condition is met; if the tuning cutoff condition is met, determining a tuning result based on the second-generation tuning value of the first parameter, and configuring the equalizer based on the tuning result; if not, performing the next round of second-generation tuning (hereinafter referred to as third-generation tuning, fourth-generation tuning, etc.). The tuning cutoff condition may include at least one of the following conditions: the number of tuning generations is equal to a preset number of times; or the difference between the quality of the electrical signal corresponding to the current generation tuning and the quality of the electrical signal corresponding to the previous generation tuning is less than a preset difference threshold; or the tuning value corresponding to the current generation tuning is equal to the tuning value of the corresponding parameter obtained in the previous generation tuning.
[0011] As an example, if the tuning cutoff condition is not met, the method may further include: the PHY obtains fourth candidate data of the first parameter based on the second-generation tuning value of the first parameter and the fourth deviation range of the first parameter, and determines the third-generation tuning value of the first parameter based on the fourth candidate data and the fifth quality information in the electrical signal in the PHY. The fourth candidate data is a number of values of the first parameter corresponding to the fourth deviation range, centered on the second-generation tuning value of the first parameter, the fifth quality information is used to characterize the quality of the electrical signal corresponding to the fourth candidate data, and the third-generation tuning value is used to update the second-generation tuning value to configure the equalizer. It can be seen that after downsampling, the parameters in the important parameter set are optimized one by one for at least one generation, and multiple equalization parameters with a coupling relationship to be configured can be quickly converged to the global optimum with a smaller number of scans, thereby improving the tuning efficiency of the equalization parameters.
[0012] In one possible implementation, the quality information is reflected by the value of at least one of the following indicators: bit error rate (BER), signal-noise ratio (SNR), symbol error rate (SER), extinction ratio (ER), or transmitter dispersion eye closure penalty (TDECQ).
[0013] In one possible implementation, a communication system may include a signal transmission link from a first device to a second device via a first module and a second module. The first parameter is an equalization parameter to be configured on the signal transmission link. As an example, the first module and the second module may both be linear direct-drive optical modules.
[0014] In another possible implementation, the first parameter may also be a tap coefficient of a multi-tap equalizer in a communication system. As an example, the communication system may be a communication system in a high-speed interconnection scenario of 224G or higher.
[0015] In a possible implementation, the PHY that executes the method may belong to any device in the communication system, for example, it may belong to a sending device on a signal transmission link in the communication system, or it may belong to a receiving device on the signal transmission link.
[0016] In a possible implementation, the PHY that executes the method may include firmware or main control board control software, and the method is specifically executed by the firmware or main control board control software.
[0017] In a possible implementation, the equalizer in the present application may include a continuous time linear equalizer (CTLE) and / or a feed forward equalizer (FFE).
[0018] In a second aspect, the present application provides a device for tuning parameters of an equalizer, wherein the equalizer belongs to a communication system, the communication system may include a physical physical layer (PHY), and the device may be applied to the PHY. The device may include: a first downsampling unit, a first tuning unit, a first candidate unit, and a second tuning unit. Among them, the first downsampling unit is used to downsample the first parameter to obtain first downsampled data of the first parameter, the first parameter belongs to a first parameter set, and the first parameter set is an important parameter set among the parameters of the equalizer; the first tuning unit is used to determine a first-generation tuning value of the first parameter based on the first downsampled data and first quality information in the electrical signal in the PHY, the first quality information is used to characterize the quality of the electrical signal corresponding to the first downsampled data, and the first-generation tuning value is used to configure the equalizer; the first candidate unit is used to obtain first candidate data of the first parameter based on the first-generation tuning value of the first parameter and a first deviation range of the first parameter, the first candidate data being values of the first parameter centered on the first-generation tuning value of the first parameter and a number corresponding to the first deviation range; the second tuning unit is used to determine a second-generation tuning value of the first parameter based on the first candidate data and second quality information in the electrical signal in the PHY, the second quality information is used to characterize the quality of the electrical signal corresponding to the first candidate data, and the second-generation tuning value is used to update the first-generation tuning value to configure the equalizer.
[0019] In one possible implementation, if the first parameter set also includes a second parameter, the apparatus may further include: a second downsampling unit and a third tuning unit. The second downsampling unit is configured to downsample the second parameter to obtain second downsampled data for the second parameter; and the third tuning unit is configured to determine a first-generation tuning value for the second parameter based on the first downsampled data, the second downsampled data, and the first quality information. The first tuning unit is specifically configured to determine the first-generation tuning value for the first parameter based on the first downsampled data, the second downsampled data, and the first quality information.
[0020] In one possible implementation, if the first parameter set also includes a second parameter, the device may further include: a second candidate unit and a fourth tuning unit. The second candidate unit is configured to obtain second candidate data for the second parameter based on the first-generation tuning value of the second parameter and the second deviation range of the second parameter, where the second candidate data is a value of the second parameter centered on the first-generation tuning value of the second parameter and the number of values corresponding to the second deviation range; and the fourth tuning unit is configured to determine the second-generation tuning value of the second parameter based on the second-generation tuning value of the first parameter, the second candidate data, and second quality information of the electrical signal in the PHY, where the second quality information is used to characterize the quality of the electrical signal corresponding to the second candidate data.
[0021] In one possible implementation, the apparatus may further include a grouping unit. The grouping unit is configured to group the multiple parameters to be configured for the equalizer based on their impact on equalization performance in the communication system, thereby obtaining multiple parameter sets, where the multiple parameter sets include a first parameter set. As an example, the multiple parameter sets may further include a second parameter set, which is a set of non-critical parameters of the equalizer.
[0022] In one possible implementation, the second parameter set may include a third parameter, and the apparatus may further include: a third downsampling unit and a fifth tuning unit. The third downsampling unit is configured to, after determining the first-generation tuning value of the first parameter, downsample the third parameter to obtain third downsampled data of the third parameter; and the fifth tuning unit is configured to determine the first-generation tuning value of the third parameter based on the first-generation tuning value of the first parameter, the third downsampled data, and third quality information of the electrical signal in the PHY, where the third quality information is used to characterize the quality of the electrical signal corresponding to the third downsampled data.
[0023] As an example, the apparatus may further include: a third candidate unit and a sixth tuning unit. The third candidate unit is configured to, after determining the second-generation tuning value of the first parameter, obtain third candidate data for the third parameter based on the first-generation tuning value of the third parameter and a third deviation range of the third parameter, where the third candidate data is a number of values of the third parameter centered on the first-generation tuning value of the third parameter and corresponding to the third deviation range; and the sixth tuning unit is configured to determine the second-generation tuning value of the third parameter based on the second-generation tuning value of the first parameter, the third candidate data, and fourth quality information of the electrical signal in the PHY, where the fourth quality information is used to characterize the quality of the electrical signal corresponding to the third candidate data.
[0024] In one possible implementation, the apparatus may further include a configuration unit. The configuration unit is configured to determine a tuning result based on the second-generation tuning value of the first parameter if a tuning cutoff condition is met, and configure the equalizer based on the tuning result. The tuning cutoff condition may include at least one of the following conditions: the number of tuning generations is equal to a preset number; or the difference between the quality of the electrical signal corresponding to the current generation of tuning and the quality of the electrical signal corresponding to the previous generation of tuning is less than a preset difference threshold; or the tuning value corresponding to the current generation of tuning is equal to the tuning value of the corresponding parameter obtained in the previous generation of tuning.
[0025] As an example, the apparatus may further include: a fourth candidate unit and a seventh tuning unit. The fourth candidate unit is configured to, when the tuning cutoff condition is not met, obtain fourth candidate data for the first parameter based on the second-generation tuning value of the first parameter and the fourth deviation range of the first parameter, wherein the fourth candidate data is a number of values of the first parameter corresponding to the fourth deviation range, centered around the second-generation tuning value of the first parameter; and the seventh tuning unit is configured to determine a third-generation tuning value for the first parameter based on the fourth candidate data and fifth quality information in the electrical signal in the PHY, wherein the fifth quality information is used to characterize the quality of the electrical signal corresponding to the fourth candidate data, and the third-generation tuning value is used to update the second-generation tuning value to configure the equalizer.
[0026] In a possible implementation, the quality information is reflected by a value of at least one of the following indicators: BER, SNR, SER, ER, or TDECQ.
[0027] In one possible implementation, a communication system may include a signal transmission link from a first device to a second device via a first module and a second module. The first parameter is an equalization parameter to be configured on the signal transmission link. As an example, the first module and the second module may both be linear direct-drive optical modules.
[0028] In another possible implementation, the first parameter may also be a tap coefficient of a multi-tap equalizer in a communication system. As an example, the communication system may be a communication system in a high-speed interconnection scenario of 224G or higher.
[0029] In a possible implementation, the PHY may belong to any device in the communication system, for example, it may belong to a sending device on a signal transmission link in the communication system, or it may belong to a receiving device on the signal transmission link.
[0030] In a possible implementation, the PHY may include firmware or main control board control software.
[0031] In one possible implementation, the equalizer may include CTLE and / or FFE.
[0032] It should be noted that, for the relevant description of the device for tuning the parameters of the equalizer in the second aspect, refer to the corresponding description of the first aspect.
[0033] In a third aspect, the present application provides a communication device, the communication device including a PHY, the PHY belonging to a communication system, the communication system also including an equalizer;
[0034] PHY, used to execute the method provided by the first aspect or any possible implementation of the first aspect to tune the parameters of the equalizer.
[0035] In a fourth aspect, the present application further provides a communication device, the communication device comprising a memory and a processor;
[0036] a memory for storing instructions;
[0037] The processor is configured to execute the instructions in the memory and perform the method provided by the first aspect or any possible implementation of the first aspect.
[0038] In a fifth aspect, the present application further provides a communication system, which may include a PHY and an equalizer;
[0039] PHY, used to execute the method provided by the first aspect or any possible implementation of the first aspect to tune the parameters of the equalizer.
[0040] In a sixth aspect, the present application further provides a storage medium storing instructions, which, when executed on a processor, implement the method provided in the first aspect or any possible implementation of the first aspect.
[0041] In a seventh aspect, the present application also provides a program product, which includes a program. When the program runs on a processor, it implements the method provided by the above-mentioned first aspect or any possible implementation of the first aspect.
[0042] In an eighth aspect, the present application provides a chip comprising a memory and a processor, wherein the memory is used to store instructions, and the processor is used to call and execute the instructions from the memory to implement the method provided in the above-mentioned first aspect or any possible implementation of the first aspect.
[0043] In the ninth aspect, the present application also provides a chip comprising a processor and an interface circuit; the interface circuit is used to receive instructions and transmit them to the processor; and the processor is used to execute the method provided in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0045] Figure 1 A schematic diagram of a conventional optical module according to an embodiment of the present application;
[0046] Figure 2 Schematic diagram of a linear direct-drive optical module according to an embodiment of the present application;
[0047] Figure 3 This is a schematic diagram of a scenario of an end-to-end communication link in an embodiment of the present application;
[0048] Figure 4 1 is a flow chart of a method 100 for tuning parameters of an equalizer according to an embodiment of the present application;
[0049] Figure 5 This is a flowchart of an example corresponding to method 100 in an embodiment of the present application;
[0050] Figure 6 2 is a flow chart of a method 200 for tuning parameters of an equalizer according to an embodiment of the present application;
[0051] Figure 7 This is a flowchart of an example corresponding to method 200 in an embodiment of the present application;
[0052] Figure 8 3 is a flow chart of a method 300 for tuning parameters of an equalizer according to an embodiment of the present application;
[0053] Figure 9 This is a flowchart of an example corresponding to method 300 in an embodiment of the present application;
[0054] Figure 10 This is a schematic diagram of a multi-tap TX-FFE scenario in an embodiment of the present application;
[0055] Figure 11 This is a structural diagram of a communication device 1100 according to an embodiment of the present application;
[0056] Figure 12 This is a schematic structural diagram of a communication device 1200 according to an embodiment of the present application;
[0057] Figure 13 13 is a structural diagram of a communication system 1300 in an embodiment of the present application. DETAILED DESCRIPTION
[0058] With the continuous improvement of network user demand and the continuous increase in data traffic, the cost, bandwidth density and energy consumption in high-speed interconnected communication systems are also rising rapidly. Saving costs, bandwidth density and reducing power consumption have become the goals to be pursued in the next development of communication systems.
[0059] For example, traditional optical modules (also called retimed optical modules) such as Figure 1 As shown, it at least includes: optical digital signal processing (oDSP), laser driver (LaserDRV), laser (Laser), photodiode (PD) and trans-impedance amplifier (TIA). Among them, the power consumption of oDSP is relatively large, accounting for more than 50% of the power consumption of traditional optical modules, and the cost of oDSP is also relatively high, so the linear direct drive optical module (also called linear optical module) came into being. Since the linear direct drive optical module uses a linear optical engine interface to connect to the device, and the linear optical engine interface has significant advantages in power consumption, cost, delay, etc., the linear direct drive optical module is likely to be widely used in future high-speed interconnected communication systems. Linear direct drive optical module such as Figure 2 As shown, it at least includes: Laser DRV, Laser, PD and TIA. Compared with traditional optical modules, the oDSP in the traditional optical module is removed, and the equalization capability of the oDSP is offloaded to the serializer / deserializer (Serializer / Deserializer, SerDes) on the proprietary integrated circuit (Application-specific Integrated Circuit, ASIC) side of the device connected to its own Laser DVR and linear direct drive optical module. Specifically, as Figure 2 As shown, the linear direct-drive optical module can integrate CTLE to compensate for channel impairments. In addition, the SerDes on the ASIC side of the device connected to the linear direct-drive optical module includes FFE, which reduces the link BER through stronger equalization performance. There are many equalization parameters to be configured and they are mutually coupled. The impact of each equalization parameter on the end-to-end communication link needs to be considered.
[0060] For example, in future 224G+ optoelectronic interconnection technologies, whether using traditional optical modules or linear direct-drive optical modules to connect to devices, the equalization capabilities of the communication system will inevitably need to be greatly improved, and the number of equalization parameters involved will increase significantly. For example, the FFE included in the SerDes on the ASIC side of the device requires more taps to overcome inter-symbol interference (ISI) caused by bandwidth limitations. For example, the FFE uses an equalizer with greater than or equal to 15 taps. The more tap coefficients the FFE has, the more coupled equalization parameters must be jointly tuned, and the impact of multiple equalization parameters on the equalizer's equalization performance must be considered.
[0061] It can be seen that in many scenarios, including the two examples above, the number of balancing parameters that need to be jointly tuned continues to increase, and the balancing parameters are coupled with each other, and the configuration solution space is also very large. At present, the optimal values of multiple balancing parameters to be configured are determined by performing a full traversal scan of multiple balancing parameters to be configured. However, as the number of balancing parameters to be configured increases, the traversal scanning method has a huge solution space, which will lead to problems such as long optimization time and difficulty in finding the global optimal solution. Moreover, the computing and storage resources consumed are huge, which cannot meet the demand for rapid tuning of balancing parameters. Figure 3Taking the end-to-end communication link connected by the linear direct drive optical module shown as an example, the modules involved in the equalization function may include: TX-FFE on the SerDes transmitter (Transmitter, TX) of device 1, DRV_CTLE on the linear direct drive optical module 1, PD+TIA on the linear direct drive optical module 2, and RX-CTLE on the SerDes receiver (Receiver, RX) of device 2, clock data recovery equalizer (ClockData Recovery FFE, CDR_FFE) and Volterra equalizer (RX_Vol) of RX. Taking FEE as 3tapFFE as an example, the equalization parameters to be configured may include: 3 tap coefficients of TX-FFE, 3 equalization parameters of DRV_CTLE, TIA output swing (TIA output Table 1 shows an example of the corresponding solution space for the three equalization parameters (T, A, B, and C) for RX-CTLE (T, A, B, and C), two equalization parameters for CDR_FFE, and three equalization parameters for RX_Vol. The solution space can be expressed as: Q1*Q2*Q3*M1*M2*M3*K3*L1*L2*L3*H1*H2*T1*T2*T3. The total number of solution spaces can reach over 5e11. Assuming that it takes 1 millisecond for a link to evaluate the performance of a set of equalization parameters, it could take up to 15 years to jointly optimize the equalization parameters on this communication link. Therefore, fast and convenient joint optimization of multiple equalization parameters to be configured is an urgent issue to be addressed in the development of high-speed interconnected communication scenarios.
[0062] Table 1
[0063]
[0064]
[0065] Based on this, an embodiment of the present application provides a method for tuning parameters of an equalizer. For a PHY in a communication system to which the equalizer belongs, the parameter tuning process of the equalizer in the communication system may include: first, downsampling parameters in an important parameter set of the equalizer parameters, and obtaining first-generation tuning values for each parameter in the important parameter set based on the quality of the electrical signal corresponding to the downsampled data; then, for each parameter in the important parameter set, determining a second-generation tuning value for the parameter based on the quality of the electrical signal corresponding to the candidate data from the deviation corresponding to the parameter and the first tuning value of the parameter. In this way, the second-generation tuning values for each parameter in the important parameter set are obtained, and the corresponding parameters in the equalizer are configured using the second-generation tuning values. There is no need to perform a full traversal scan of all equalization parameters to be configured. Only important parameters among the equalization parameters to be configured are downsampled and the deviation is tuned. By scanning a small number of parameters a small number of times and based on the quality of the corresponding electrical signal, the tuning results of the joint tuning of all equalization parameters to be configured can be determined, thereby achieving fast and convenient joint tuning of the equalization parameters.
[0066] In the first possible implementation, the PHY in the communication system can only perform the first-generation tuning and several second-generation tunings on the important parameters in the important parameter set among the equalization parameters to be configured, obtain the tuning results when the tuning cutoff conditions are met, and configure the equalization parameters in the communication system based on the tuning results. The specific implementation method can be found in the following Figure 4 The method 100 and Figure 5 The relevant description is shown in the example.
[0067] In a second possible implementation, the PHY in the communication system can perform first-generation tuning on important parameters belonging to an important parameter set among the equalization parameters to be configured, perform first-generation tuning on unimportant parameters belonging to an unimportant parameter set among the equalization parameters to be configured, and perform several second-generation tunings on important parameters belonging to an important parameter set among the equalization parameters to be configured, obtain the tuning results when the tuning cutoff conditions are met, and configure the equalization parameters in the communication system based on the tuning results. The specific implementation method can be found in the following Figure 6 The method 200 shown and Figure 7 The relevant description is shown in the example.
[0068] In a third possible implementation, the PHY in the communication system can perform first-generation tuning on important parameters belonging to an important parameter set among the equalization parameters to be configured, perform first-generation tuning on unimportant parameters belonging to an unimportant parameter set among the equalization parameters to be configured, perform several second-generation tunings on important parameters belonging to an important parameter set, and perform several second-generation tunings on unimportant parameters belonging to an unimportant parameter set, obtain the tuning results when the tuning cutoff conditions are met, and configure the equalization parameters in the communication system according to the tuning results. The specific implementation method can be found in the following Figure 8 The method 300 and Figure 9 The relevant description is shown in the example.
[0069] In the embodiment of the present application, the device where the PHY is located (also referred to as a communication device) can be a network device or a terminal device, wherein the network device can be, for example, a switch, a router, or a firewall, and the terminal device can be, for example, a user host or a vehicle-side host. For the scenario of tuning the equalization parameters on the end-to-end communication link, the PHY that executes the method provided in the embodiment of the present application can be the PHY on the sending device or the PHY on the receiving device, so that Figure 3 Taking the communication link shown as an example, in which the slave device 1 is connected to the device 2 through the linear direct drive optical module 1 and the linear direct drive optical module 2 in sequence, the PHY can be the PHY in the device 1 for connecting to the linear direct drive optical module 1, or the PHY in the device 2 for connecting to the linear direct drive optical module 2. Specifically, the PHY that executes the method provided in the embodiment of the present application may include: Firmware or main control board control software, wherein Firmware can be understood as the operating system of SerDes, Firmware is a control software in the PHY chip, which can be deployed in the microcontroller unit (MCU) of SerDes, and its functions include: controlling the registers in the equalizer of SerDes, and Firmware can execute the method provided in the embodiment of the present application; the device where the PHY is located includes a main control board and multiple line cards, the main control board is used to control each line card, and the main control board control software can execute the method provided in the embodiment of the present application, and send the obtained tuning value through the main control board, and control the PMD layer (i.e., the register of SerDes, etc.) with the help of protocol or other channels to realize the downward configuration of the tuning value.
[0070] It should be noted that before the communication system is put into operation, the tuning and configuration of the parameters to be configured, including the equalization parameters, can be completed through link training to prepare for the operation of the communication system. The method provided in the embodiment of the present application may belong to the link training stage.
[0071] In order to introduce the embodiments of the present application more clearly, the following describes the methods provided by the embodiments of the present application in conjunction with the accompanying drawings. Figure 3 The parameter tuning process of the equalizer on the end-to-end communication link is used as an example for explanation. The joint tuning method of multiple coupled parameters in other scenarios can be referred to the implementation method described below.
[0072] Corresponding to the first possible implementation method mentioned above, Figure 4 The flow chart of a method 100 for tuning parameters of an equalizer provided in an embodiment of the present application is as follows. In the method 100, the present application embodiment is introduced with the PHY included in the communication system as the execution subject, and the tuned equalizer belongs to the communication system. The PHY can be, for example, Figure 3 Alternatively, the method 100 may also be understood to be implemented by the device where the PHY is located, for example, Figure 3 In the end-to-end communication link shown, device 1 or device 2 implements the method 100 .
[0073] like Figure 4 As shown, the method 100 may include, for example, the following S101 to S104:
[0074] S101 , downsample a first parameter to obtain first downsampled data of the first parameter, where the first parameter belongs to a first parameter set, which is an important parameter set among the parameters of the equalizer.
[0075] S102: Determine a first-generation tuning value for a first parameter based on the first downsampled data and first quality information of the electrical signal in the PHY, where the first quality information is used to characterize the quality of the electrical signal corresponding to the first downsampled data, and the first-generation tuning value is used to configure the equalizer.
[0076] When there are many equalization parameters to configure, the solution space is extremely large, and a complete traversal scan is undesirable. Therefore, to quickly achieve global optimization of the parameters, the embodiments of the present application first group the equalization parameters to be configured on the end-to-end communication links in the communication system according to their importance. These parameters are then divided into multiple parameter sets, each of which has a different importance. This allows optimization to be performed only on the important parameters, as non-important parameters have a smaller impact on the equalization performance of the communication system. This not only significantly reduces the solution space but also enables rapid convergence on the optimal parameter combination.
[0077] The following description takes the division of the balancing parameters to be configured into two parameter sets—a first parameter set and a second parameter set—as an example, wherein the first parameter set may also be referred to as an important parameter set, and the second parameter set may also be referred to as an unimportant parameter set, and the importance of the parameters in the first parameter set is higher than the importance of the parameters in the second parameter set. It should be noted that if there are more than two parameter sets after the balancing parameters to be configured are divided, then any parameter set other than the first parameter set and the second parameter set may be used as a dividing line, and several parameter sets with a higher importance than the first parameter set may be used as the important parameter set, and the tuning steps for the important parameter set in method 100, method 200, or method 300 may be executed. Several parameter sets with an importance equal to or lower than the first parameter set may be used as the unimportant parameter set, and the tuning steps for the unimportant parameter set in method 100, method 200, or method 300 may be executed.
[0078] In the embodiment of the present application, the importance of a parameter can be understood as the impact of the parameter on the equalization performance of the communication system. If the parameter has a small impact on the equalization performance of the communication system, the parameter is considered to be of low importance, and the parameter can be classified into a non-important parameter set. Conversely, if the parameter has a large impact on the equalization performance of the communication system, the parameter is considered to be of high importance, and the parameter can be classified into an important parameter set. The impact of the parameter on the equalization performance of the communication system can be reflected by the impact of the parameter on the quality information of the optical signal or electrical signal on the end-to-end communication link. The quality information can be reflected by the value of at least one of the following indicators: BER, SNR, SER, ER, or TDECQ, wherein ER and TDECQ can be indicators of test point (TP) 2 (i.e., the optical module output point on the TX side), and the quality information can also be characterized by other TP point indicators in the Institute of Electrical and Electronics Engineers (IEEE) 802.3 or the results of the DSP output on the RX side.
[0079] As an example, grouping the equalization parameters on the end-to-end communication link to be configured in the communication system can be implemented based on the physical characteristics of the communication system. Taking FFE with 5 taps as an example, according to the impulse response (IPR) curve and the principle of FFE, it can be determined that among the tap coefficients of TX-FFE, pre1 and post1 have a greater impact on the equalization performance of the communication system than pre2 and post2. Therefore, pre1 and post1 of TX-FFE can be divided into a first parameter set, and pre2 and post2 of TX-FFE can be divided into a second parameter set. In addition, the value of Main of TX-FFE can be equal to n-|pre1|-|pre2|-|post1|-|post2|), where n is an integer. Therefore, the value of Main can be determined based on the other four tap coefficients. In this embodiment, Main is divided into the second parameter set. In other scenarios, Main can also be flexibly divided as needed. For DRV_CTLE, the boost capability of boost1 to dominate the CTLE high frequency can be determined based on the CTLE response curve. Therefore, boost1 can be divided into the first parameter set, and dc_gain and boost0 can be divided into the second parameter set. TIA OA is the linear output swing of the optical module (the parameter can be expressed as OA). The signal amplitude directly affects the result of RX signal processing. Therefore, TIAOA can be divided into the first parameter set. For RX_CTLE, the grouping can refer to DRV_CTLE, with boost1 divided into the first parameter set, and dc_gain and boost0 divided into the second parameter set. It should be noted that the grouping method in this example is applicable to the grouping of equalization parameters of other types and models.
[0080] As another example, grouping the equalization parameters on the end-to-end communication link to be configured in a communication system can be achieved through simulation and actual measurement of the communication system. The grouping process may include, for example: first, traversing and scanning each equalization parameter in a larger step, observing the quality information (such as BER or SER) of the electrical signal on the RX side under each scanning combination; then, defining the quality threshold of the electrical signal on the RX side, and dividing each equalization parameter into a first parameter set or a second parameter set according to the quality threshold; in this way, through multiple simulations, sorting the quality information of the electrical signal on the RX side corresponding to each equalization parameter scan, finding the corresponding electrical signal quality threshold, and completing the investigation of the importance of the equalization parameters to obtain the final first parameter set and second parameter set.
[0081] for Figure 3The equalization parameters to be configured on the end-to-end communication link shown are based on the grouping method provided in the embodiment of the present application. The obtained grouping results can be shown in Table 2 below, for example, where the bold parameters are important parameters and belong to the first parameter set.
[0082] Table 2
[0083]
[0084] In method 100, the first parameter can be understood as a general reference to any parameter in the first parameter set. Therefore, steps S101 to S102 can be understood as: downsampling each parameter in the first parameter set, determining a combination of downsampled data with the best quality based on quality information of the electrical signal in the PHY corresponding to each combination of downsampled data among possible combinations of downsampled data, and using the determined combination of downsampled data as the first-generation tuning value for each first parameter corresponding to the first parameter set. In this way, by performing first-generation tuning on important parameters together through downsampling, it is possible to quickly lock in relatively reasonable values for the important parameters with a reduced number of scans.
[0085] To more clearly describe the implementation of S101 to S102, the implementation of S102 is described below using an example where a first parameter set includes a first parameter (where the first parameter specifically refers to a parameter in the first parameter set) and a second parameter. The method may, for example, include: downsampling the first parameter and the second parameter to obtain first downsampled data of the first parameter and second downsampled data of the second parameter; and determining a first-generation tuning value for the first parameter based on the first downsampled data, the second downsampled data, and first quality information in an electrical signal in a PHY.
[0086] The first downsampled data may be determined based on the value range of the first parameter and the downsampling step size of the first parameter. For example, if the value range of the first parameter is -20 to 0 and the downsampling step size of the first parameter is 5, then the first downsampled data may be -20, -15, -10, -5, and 0, for a total of five values. Similarly, the second downsampled data may be determined based on the value range of the second parameter and the downsampling step size of the second parameter. For example, if the value range of the second parameter is -10 to 0 and the downsampling step size of the second parameter is 4, then the second downsampled data may be -10, -6, and -2, for a total of three values. It should be noted that the value ranges of the first and second parameters, as well as the downsampling step size, can be flexibly set according to protocol specifications or actual needs and can be the same or different. Furthermore, the downsampling step size of the parameter may be a preset value, a value determined based on quality information, or a value obtained by simply adjusting the preset value based on the quality information (e.g., adding or subtracting a, or multiplying or dividing by b, where a and b can be arbitrary numbers).
[0087] Taking the first parameter set in Table 2 as an example, the down-sampling data of each parameter in the first parameter set can be shown in the following Table 3:
[0088] Table 3
[0089]
[0090] In Table 3, each parameter's value range and downsampling step are shown below it. For example, "-20:5:0" has a value range of -20 to 0, and a downsampling step of 5. Thus, according to the parameter ranges and downsampling step sizes shown in Table 3, downsampling was performed during the first generation of optimization. The resulting downsampled data were 5, 3, 5, 3, and 5, respectively. Therefore, there are 5*3*5*3*5 = 1125 combinations of downsampled data. For S102, the values of the parameters of the second parameter set can be maintained at the default values, and the values of the parameters of the first parameter set are respectively taken as one of the 1125 combinations of down-sampled data, to obtain quality information of the electrical signal in the PHY corresponding to the 1125 combinations of down-sampled data. Then, a combination of down-sampled data corresponding to the best quality information among the 1125 first quality information of the electrical signal in the PHY is determined as the first-generation tuning value corresponding to each parameter in the first parameter set. For example, pre1=-15, post1=-2, boost1=-5 of DRV_CTLE, OA=0.3, and boost1=-10 of RX_CTLE correspond to the best quality of the electrical signal in the PHY (such as the smallest BER). The first-generation tuning value corresponding to each parameter in the first parameter set is determined as shown in Table 4 below:
[0091] Table 4
[0092]
[0093] In this way, the first-generation tuning value of the first parameter can be configured on the equalizer. In the subsequent tuning process, the value of each first parameter in the first parameter set in the equalizer is the corresponding first-generation tuning value, and the subsequent tuning is completed on this basis. It should be noted that if the first parameter set is configured according to the first-generation tuning value of the first parameter and the tuning cutoff condition is met, the subsequent tuning process including S103 to S104 can no longer be executed, and the configuration on the equalizer at this time is used as the tuning result of this time; if the tuning cutoff condition is not met, then continue to perform at least one subsequent further tuning. The tuning cutoff condition can be seen in the explanation below.
[0094] S103: Obtain first candidate data of the first parameter based on the first-generation tuning value of the first parameter and the first deviation range of the first parameter. The first candidate data is a value of the first parameter centered on the first-generation tuning value of the first parameter, the number of which corresponds to the first deviation range.
[0095] S104: Determine a second-generation tuning value for the first parameter based on the first candidate data and second quality information in the electrical signal in the PHY, where the second quality information is used to characterize the quality of the electrical signal corresponding to the first candidate data. The second-generation tuning value is used to update the first-generation tuning value to configure the equalizer.
[0096] The above steps S101 to S102 can be understood as the initial tuning (or coarse tuning) process of the entire tuning process. After downsampling the important parameters, the optimal values of the important parameters are determined. Then, by scanning each parameter in the first parameter set one by one, further tuning values of each parameter can be determined, and the final tuning results of the equalization parameters can be quickly obtained with fewer scans. In the process of scanning the important parameters one by one, the order of scanning can be determined based on the importance of each parameter in the first parameter set or other ranking strategy.
[0097] As an example, assuming that the first parameter set includes a first parameter and a second parameter, and the importance of the first parameter is higher than that of the second parameter, then the second-generation tuning of the first parameter can be performed first, followed by the second-generation tuning of the second parameter. That is, after S104, method 100 may further include: obtaining second candidate data for the second parameter based on the first-generation tuning value of the second parameter and a second deviation range of the second parameter, the second candidate data being values of the second parameter centered on the first-generation tuning value of the second parameter and corresponding in number to the second deviation range; and determining the second-generation tuning value of the second parameter based on the second-generation tuning value of the first parameter, the second candidate data, and second quality information of the electrical signal in the PHY, the second quality information being used to characterize the quality of the electrical signal corresponding to the second candidate data. The step of "obtaining second candidate data for the second parameter based on the first-generation tuning value of the second parameter and the second deviation range of the second parameter" can be performed at any time after determining the first-generation tuning value of the second parameter, for example, it can be performed simultaneously with S103 before S104, or it can be performed after S104.
[0098] In the process of performing the second-generation tuning on the first parameter, the first candidate data can be determined according to the first-generation tuning value and the first deviation range of the first parameter. Taking the first-generation tuning value of pre1 of TX-FFE as -15 as an example, assuming that the first deviation value is 1, then the number of first candidate data can be 3 (-15 itself and the first deviation values before and after). If the value interval of pre1 is 1, then the first candidate data can include three pre1 values of -16, -15 and -14; if the value interval of pre1 is 2, then, The first candidate data can include three pre1 values of -17, -15 and -13; assuming that the first deviation value is 2, then the number of first candidate data can be 5 (-15 itself and the first deviation values before and after). If the pre1 value interval is 1, then the first candidate data can include five pre1 values of -17, -16, -15, -14 and -13; if the pre1 value interval is 2, then the first candidate data can include five pre1 values of -19, -17, -15, -13 and -11. Similarly, the second candidate data can be determined based on the first-generation tuning value of the second parameter and the second deviation range. It should be noted that the first deviation range and the second deviation range can be flexibly set according to the protocol provisions or actual needs, and can be the same or different. Moreover, the deviation range of the parameter can be a preset value, or it can be a value that is simply adjusted to the preset value based on quality information.
[0099] For example, S104 may include: when the values of each parameter in the second parameter set are default values and the value of the second parameter is the first-generation optimal value, setting the value of the first parameter to each first candidate data, obtaining second quality information of the corresponding electrical signal in the PHY, and determining the first candidate data corresponding to the second quality information with the best quality among the second quality information as the second-generation optimized value of the first parameter. For example, if the first parameter is pre1 of TX-FFE and the first candidate data are -16, -15, and -14, respectively, then the second quality information of the electrical signal in the PHY can be obtained when the first candidate data is -16, -15, and -14, and the one with the best quality is selected from the three second quality signals, and the corresponding first candidate data is determined as the second-generation optimized value of pre1, such as -14.
[0100] For the implementation method of "determining the second-generation tuning value of the second parameter based on the second-generation tuning value of the first parameter, the second candidate data, and the second quality information in the electrical signal in the PHY", please refer to the implementation method of S104. For example, assuming that the second parameter is post1 of TX-FFE, the second candidate data are -4, -3, -2, -1 and 0 respectively, the first parameter is pre1 of TX-FFE, and the pre1 is configured as the second-generation tuning value of pre1 -14, then the second quality information of the electrical signal in the PHY can be obtained when the second candidate data is -4, -3, -2, -1 and 0 respectively, and the one with the best quality is selected from the five second quality signals, and the corresponding second candidate data is determined as the second-generation tuning value of post1, such as -1.
[0101] It can be seen that after S101 to S104, the second-generation tuning value of each parameter in the first parameter set can be obtained. At this time, it can be determined whether the tuning cutoff condition is met. If so, the tuning result is determined based on the second-generation tuning value of the first parameter, and the equalizer is configured based on the tuning result; if the tuning cutoff condition is not met, the parameters in the first parameter set can be further tuned for more generations, and the implementation method of each subsequent generation of tuning is the same as the implementation method of the second-generation tuning. For example, if the second-generation tuning values of each parameter in the first parameter set obtained after S104 do not meet the tuning cutoff condition, the method 100 may further include: obtaining fourth candidate data for the first parameter based on the second-generation tuning value of the first parameter and a fourth deviation range of the first parameter, the fourth candidate data being a number of values of the first parameter corresponding to the fourth deviation range, centered around the second-generation tuning value of the first parameter; determining a third-generation tuning value for the first parameter based on the fourth candidate data and fifth quality information of the electrical signal in the PHY, the fifth quality information being used to characterize the quality of the electrical signal corresponding to the fourth candidate data, and the third-generation tuning value being used to update the second-generation tuning value to configure the equalizer. Subsequently, after obtaining the third-generation tuning values of each parameter in the first parameter set, it may be determined whether the tuning cutoff condition is met. If so, a tuning result is determined based on the third-generation tuning value of the first parameter, and the equalizer is configured based on the tuning result. If the tuning cutoff condition is not met, the parameters in the first parameter set are continuously tuned for more generations in this manner until a certain generation of tuning values of the first parameter set is obtained that meets the tuning cutoff condition.
[0102] It should be noted that the deviation range of the same parameter in different generations of tuning processes can be the same or different. For example, the first deviation range and the fourth deviation range of the first parameter can be the same or different, and can be flexibly set according to needs or experience.
[0103] Among them, the tuning cutoff condition may include at least one of the following conditions: Condition 1, the tuning generation is equal to the preset number of times; Condition 2, the difference between the quality of the electrical signal corresponding to the current generation tuning and the quality of the electrical signal corresponding to the previous generation tuning is less than a preset difference threshold; Condition 3, the tuning value corresponding to the current generation tuning is equal to the tuning value of the corresponding parameter obtained in the previous generation tuning.
[0104] When the tuning cutoff condition includes only one of the above conditions, the tuning cutoff condition is considered to be met only if the condition is met. For example, if the tuning cutoff condition is that the tuning generation is equal to 5, then after the fifth-generation tuning value of each parameter in the first parameter set is obtained, the tuning cutoff condition is considered to be met; for another example, if the tuning cutoff condition is that the difference between the quality of the electrical signal corresponding to the current generation tuning and the quality of the electrical signal corresponding to the previous generation tuning is less than 1, then after the fifth-generation tuning value of each parameter in the first parameter set is obtained, the telecommunication signal corresponding to the fourth-generation tuning value is considered to be met. When the difference between the quality of the electrical signal and the quality of the electrical signal corresponding to the third-generation tuning value is less than 1, the fourth-generation tuning value of each parameter in the first parameter set is considered to meet the tuning cutoff condition; for another example, the tuning cutoff condition is that the tuning value corresponding to the current generation tuning is equal to the tuning value obtained by the corresponding parameter in the previous generation tuning. Then, when the sixth-generation tuning value of each parameter in the first parameter set is equal to the fifth-generation tuning value of each parameter in the first parameter set, it is considered that the sixth-generation tuning value or the fifth-generation tuning value of each parameter in the first parameter set meets the tuning cutoff condition.
[0105] When the tuning cutoff condition includes at least two of the above conditions, it is necessary to simultaneously meet all the conditions included in the tuning cutoff condition before the tuning cutoff condition is considered to be met. For example, the tuning cutoff condition includes that the tuning generation is equal to 5 and the difference between the quality of the electrical signal corresponding to the current generation tuning and the quality of the electrical signal corresponding to the previous generation tuning is less than 1. In this case, it is necessary to start from the fifth generation tuning and pay attention to the current generation tuning value of each parameter in the first parameter set obtained by each generation tuning, calculate the difference between the quality of the electrical signal corresponding to the current generation tuning value and the quality of the electrical signal corresponding to the previous generation tuning value, and determine whether the difference is less than the difference threshold (such as 1). If so, it is considered that the current generation tuning value of each parameter in the first parameter set meets the tuning cutoff condition.
[0106] It can be seen that after downsampling, optimizing the parameters in the important parameter set one by one for at least one generation can achieve the effect of quickly converging to the global optimum for multiple coupled equalization parameters to be configured with a smaller number of scans, thereby improving the tuning efficiency of the equalization parameters.
[0107] Regarding the configuration of equalization parameters on an end-to-end communication link, after determining the tuning results, the PHY can, on the one hand, configure the values of the equalization parameters on its own device in the tuning results to the corresponding equalizer; on the other hand, the PHY can also send the values of the equalization parameters of other devices in the tuning results to the corresponding devices, so that the corresponding devices can configure their own equalization parameters based on the received content. In this way, the configuration of equalization parameters on an end-to-end communication link is achieved. Figure 3Taking the scenario shown as an example, assuming that the PHY executing the method 100 belongs to device 1, after S102, the PHY can configure the first-generation tuning values of the equalization parameters (such as pre1 of TX-FFE and post1 of TX-FFE) on device 1 in the first parameter set to the TX-FFE of device 1; on the other hand, the PHY can also send the first-generation tuning values of the equalization parameters of the linear direct drive optical module 1, the linear direct drive optical module 2 and the device 2 in the tuning results to each other, for example, boost1 of DRV_CTLE The first-generation tuning value of boost1 is sent to the linear direct-drive optical module 1, so that the linear direct-drive optical module 1 configures DRV_CTLE based on the received first-generation tuning value of boost1. For another example, the first-generation tuning value of OA of TIA_OA is sent to the linear direct-drive optical module 2, so that the linear direct-drive optical module 2 configures TIA_OA based on the received first-generation tuning value of OA. For another example, the first-generation tuning value of boost1 of RX_CTLE is sent to device 2, so that device 2 configures RX_CTLE based on the received first-generation tuning value of boost1. After S102, each time S104 is executed for a first parameter, the configuration of the first parameter in the first parameter set for which S104 is executed is modified to the second-generation tuning value, and the values of other first parameters remain unchanged (maintained as the first tuning value or the second tuning value). For example, after S102, the second-generation tuning is first performed on pre1 of TX-FFE. Then, after S104 for pre1 of the TX-FFE, PHY can configure the second-generation tuning value of pre1 of TX-FFE in the first parameter set to the TX-FFE of device 1; then, if the second-generation tuning is performed on boost1 of DRV_CTLE, then During S104 of boost1 of the DRV_CTLE, only pre1 of TX-FFE is the second-generation tuning value, and the other parameters in the first parameter set all maintain the first-generation tuning values. After S104 of boost1 of the DRV_CTLE, the PHY can send the second-generation tuning value of boost1 of the DRV_CTLE to the linear direct-drive optical module 1, so that the linear direct-drive optical module 1 configures the DRV_CTLE based on the received second-generation tuning value of boost1; and so on, until the second-generation tuning is performed on all parameters in the first parameter set. At this time, the values of each parameter in the first parameter set are all corresponding second-generation tuning values.
[0108] In this way, through this method 100, the PHY in the communication system can only perform first-generation tuning and several second-generation tunings on important parameters belonging to an important parameter set among the equalization parameters to be configured, and obtain the tuning results when the tuning cutoff conditions are met. The equalization parameters in the communication system are configured according to the tuning results. There is no need to perform a full traversal scan of all the equalization parameters to be configured. Only the important parameters among the equalization parameters to be configured are downsampled and deviation tuned. By scanning a small number of parameters a small number of times and taking the quality of the corresponding electrical signal as the basis, the tuning results of the joint tuning of all the equalization parameters to be configured can be determined, thereby realizing fast and convenient joint tuning of the equalization parameters.
[0109] In order to make the method 100 provided in the embodiment of the present application clearer, the following Figure 5 The process of method 100 is briefly described as an example.
[0110] like Figure 5 As shown in FIG, assuming that the communication system has 10 equalization parameters to be configured, namely, a, b, c, d, e, f, g, h, i, and j, the tuning process for these 10 parameters may include:
[0111] S11, according to the impact of each parameter on the equalization performance of the communication system, divide the 10 parameters into an important parameter set and an unimportant parameter set, where the important parameter set includes: a, b, f, g and i, and the unimportant parameter set includes: c, d, e, h and j.
[0112] S12, downsampling the parameters in the important parameter set to obtain a first generation tuning value of each parameter in the important parameter set.
[0113] Among them, the values of each parameter in the non-important parameter set are the default values, which are represented by init. For example, the default value of c is represented by c init The value range of each parameter in the important parameter set is represented by the minimum value (min) and the maximum value (max), and the downsampling step is represented by n. For example, the downsampling data of a can be represented as a min :n1:a max The first generation tuning value of each parameter in the important parameter set can be represented by opt_1. For example, the first generation tuning value of a can be represented by a opt_1 .
[0114] Assume that for the parameters in the important parameter set, the order of performing subsequent generations of tuning is determined according to importance: a, b, f, g, and i. Then, after S12, the following steps may be included:
[0115] S13, perform second-generation tuning on a and obtain the second-generation tuning value a of a opt_2 .
[0116] S14, perform second-generation tuning on b and obtain the second-generation tuning value b of b opt_2 .
[0117] S15, perform the second-generation tuning on f and obtain the second-generation tuning value f of f opt_2 .
[0118] S16, perform the second-generation tuning on g to obtain the second-generation tuning value g of g opt_2 .
[0119] S17, perform second-generation tuning on i and obtain the second-generation tuning value i of i opt_2 .
[0120] S18, determine whether the tuning cutoff condition is met. If so, execute S19. Otherwise, k=k+1, execute the kth generation tuning shown in S20 to S24 (the initial value of k is 2), and return to execute S18.
[0121] It can be seen that when it is determined after S17 that the tuning cutoff condition is not met, k=3, and executing S20~S24 corresponds to the third-generation tuning of each parameter in the important parameter set; when after the third-generation tuning, it is determined that the tuning cutoff condition is still not met, k=4, and executing S20~S24 corresponds to the fourth-generation tuning of each parameter in the important parameter set, and so on.
[0122] S19: Obtain a tuning result based on the current generation tuning value of each parameter in the important parameter set, and configure an equalizer of the communication system based on the tuning result.
[0123] S20, perform k-th generation tuning on a and obtain the k-th generation tuning value a of a opt_k .
[0124] S21, perform k-th generation tuning on b and obtain the k-th generation tuning value b of b opt_k .
[0125] S22, perform k-th generation tuning on f and obtain the k-th generation tuning value f of f opt_k .
[0126] S23, perform k-th generation tuning on g, and obtain the k-th generation tuning value g of g opt_k .
[0127] S24, perform k-th generation tuning on i, and obtain the k-th generation tuning value i of i opt_k .
[0128] It should be noted that for the first-generation tuning of each important parameter, reference may be made to the relevant descriptions of S101 to S102 in method 100 , and for the subsequent generations of tuning of each important parameter, reference may be made to the relevant descriptions of S103 to S104 in method 100 .
[0129] It can be seen that based on method 100, in a scenario with 10 parameters to be configured, rapid joint tuning of the coupling parameters can be achieved with as few scans as possible. For scenarios with more parameters to be configured, the advantages of method 100 such as speed and saving computing resources are more prominent.
[0130] Corresponding to the second possible implementation method mentioned above, Figure 6 The flow chart of a method 200 for tuning parameters of an equalizer provided in an embodiment of the present application is as follows. In the method 200, the present application embodiment is introduced with the PHY included in the communication system as the execution subject, and the tuned equalizer belongs to the communication system. The PHY can be, for example, Figure 3 Alternatively, the method 200 may also be understood to be implemented by the device where the PHY is located, for example, Figure 3 In the end-to-end communication link shown, device 1 or device 2 implements method 200. Compared to method 100, method 200 can also perform first-generation tuning on non-critical parameters, so that further fine-tuning (i.e., second-generation and subsequent-generation tuning) is performed on the basis that all parameters to be configured are relatively optimal. This can reduce the number of generations of further fine-tuning to a certain extent, thereby reducing the computing resources and time consumed by the tuning.
[0131] like Figure 6 As shown, the method 200 may include, for example, the following S201 to S206:
[0132] S201 : Downsample a first parameter to obtain first downsampled data of the first parameter, where the first parameter belongs to a first parameter set, which is an important parameter set among the parameters of the equalizer.
[0133] S202: Determine a first-generation tuning value for a first parameter based on the first downsampled data and first quality information of the electrical signal in the PHY, where the first quality information is used to characterize the quality of the electrical signal corresponding to the first downsampled data, and the first-generation tuning value is used to configure the equalizer.
[0134] S203 , down-sample the third parameter to obtain third down-sampled data of the third parameter, where the third parameter belongs to a second parameter set, which is a non-important parameter set among the parameters of the equalizer.
[0135] S204: Determine a first-generation tuning value for the third parameter based on the first-generation tuning value for the first parameter, the third down-sampled data, and third quality information of the electrical signal in the PHY, where the third quality information is used to characterize the quality of the electrical signal corresponding to the third down-sampled data.
[0136] The above-mentioned first parameter can be understood as a general reference to any parameter in the first parameter set, and the third parameter can be understood as a general reference to any parameter in the second parameter set.
[0137] It should be noted that the specific implementation and effects of S201-S202 can refer to the relevant description of S101-S102 in method 100. The specific implementation and effects of S203-S204 can refer to the relevant description of S101-S102 in method 100.
[0138] The difference is that in S201~S202, during the process of downsampling the first parameter in the first parameter set, the value of the third parameter in the second parameter set is the default value; in S203~S204, during the process of downsampling the third parameter in the second parameter set, the value of the first parameter in the first parameter set is the corresponding first-generation tuning value.
[0139] In this way, the first generation of tuning is performed on important parameters through downsampling, and then the first generation of tuning is performed on non-important parameters through downsampling. With a smaller number of scans, more reasonable values for all parameters to be configured can be quickly locked in, thereby providing a data foundation for subsequent tuning and making it possible to complete subsequent tuning quickly.
[0140] S205: Obtain first candidate data for the first parameter based on the first-generation tuning value of the first parameter and the first deviation range of the first parameter. The first candidate data is a value of the first parameter centered on the first-generation tuning value of the first parameter, the number of which corresponds to the first deviation range.
[0141] S206. Determine a second-generation tuning value for the first parameter based on the first-generation tuning value for the third parameter, the first candidate data for the first parameter, and second quality information in the electrical signal in the PHY. The second quality information is used to characterize the quality of the electrical signal corresponding to the first candidate data. The second-generation tuning value for the first parameter is used to update the first-generation tuning value for the first parameter to configure the equalizer.
[0142] It should be noted that the specific implementation methods and effects achieved by S205-S206 can refer to the relevant descriptions of S103-S104 in method 100. However, the first deviation range in S205 can be the same as or different from the first deviation range in S103, and accordingly, the first candidate data in method 200 can be the same as or different from the first candidate data in method 100.
[0143] The difference is that in S205~S206, during the second-generation tuning of the first parameter in the first parameter set, the value of the third parameter in the second parameter set is the first-generation tuning value; in S103~S104, during the second-generation tuning of the first parameter in the first parameter set, the value of the third parameter in the second parameter set is the default value.
[0144] In this way, through this method 200, the PHY in the communication system can perform first-generation tuning on important parameters belonging to an important parameter set among the equalization parameters to be configured, perform first-generation tuning on unimportant parameters belonging to an unimportant parameter set among the equalization parameters to be configured, and perform several second-generation tunings on important parameters belonging to an important parameter set among the equalization parameters to be configured, and obtain the tuning results when the tuning cutoff conditions are met. The equalization parameters in the communication system are configured based on the tuning results, and there is no need to perform a full traversal scan of all the equalization parameters to be configured. Only the important parameters among the equalization parameters to be configured, the unimportant parameters, and the deviation tuning of the important parameters are required. By scanning a small number of parameters a small number of times, based on the quality of the corresponding electrical signals, the tuning results of the joint tuning of all the equalization parameters to be configured can be determined, thereby achieving fast and convenient joint tuning of the equalization parameters.
[0145] In order to make the method 200 provided in the embodiment of the present application clearer, the following Figure 7 The process of method 200 is briefly described as an example.
[0146] like Figure 7 As shown in FIG, assuming that the communication system has 10 equalization parameters to be configured, namely, a, b, c, d, e, f, g, h, i, and j, the tuning process for these 10 parameters may include:
[0147] S31, according to the impact of each parameter on the equalization performance of the communication system, divide the 10 parameters into an important parameter set and an unimportant parameter set, where the important parameter set includes: a, b, f, g and i, and the unimportant parameter set includes: c, d, e, h and j.
[0148] S32 , downsampling the parameters in the important parameter set to obtain a first generation tuning value of each parameter in the important parameter set.
[0149] Among them, the values of each parameter in the non-important parameter set are the default values, which are represented by init. For example, the default value of c is represented by c init The value range of each parameter in the important parameter set is represented by the minimum value (min) and the maximum value (max), and the downsampling step is represented by n. For example, the downsampling data of a can be represented as amin :n1:a max The first generation tuning value of each parameter in the important parameter set can be represented by opt_1. For example, the first generation tuning value of a can be represented by a opt_1 .
[0150] S33 , downsampling the parameters in the non-important parameter set to obtain a first-generation tuning value of each parameter in the non-important parameter set.
[0151] When this step is executed, the value of each parameter in the important parameter set is the corresponding first-generation tuning value.
[0152] The value range of each parameter in the non-important parameter set is represented by min and max, and the downsampling step is represented by n. For example, the downsampling data of c can be represented as c min :n3:c max The first generation tuning value of each parameter in the non-important parameter set can be represented by opt_1. For example, the first generation tuning value of c can be represented by c opt_1 .
[0153] Assuming that for the parameters in the important parameter set, the order of performing subsequent generations of tuning is determined according to importance as: a, b, f, g, and i, then after S33, when the values of all parameters to be configured are the corresponding first-generation tuning values, this embodiment may further include:
[0154] S34, perform second-generation tuning on a and obtain the second-generation tuning value a of a opt_2 .
[0155] S35, perform second-generation tuning on b and obtain the second-generation tuning value b of b opt_2 .
[0156] S36, perform second-generation tuning on f to obtain the second-generation tuning value f of f opt_2 .
[0157] S37, perform the second-generation tuning on g to obtain the second-generation tuning value g of g opt_2 .
[0158] S38, perform second-generation tuning on i, and obtain the second-generation tuning value i of i opt_2 .
[0159] S39, determine whether the tuning cutoff condition is met. If so, execute S40. Otherwise, k=k+1, execute the kth generation tuning shown in S41 to S45 (the initial value of k is 2), and return to execute S39.
[0160] It can be seen that when it is determined after S38 that the tuning cutoff condition is not met, k=3, and executing S41~S45 corresponds to the third-generation tuning of each parameter in the important parameter set; when after the third-generation tuning, it is determined that the tuning cutoff condition is still not met, k=4, and executing S41~S45 corresponds to the fourth-generation tuning of each parameter in the important parameter set, and so on.
[0161] S40 , obtaining a tuning result based on the first-generation tuning value of the non-important parameter and the current-generation tuning value of each parameter in the important parameter set, and configuring an equalizer of the communication system based on the tuning result.
[0162] S41, perform k-th generation tuning on a, and obtain the k-th generation tuning value a of a. opt_k .
[0163] S42, perform k-th generation tuning on b, and obtain the k-th generation tuning value b of b. opt_k .
[0164] S43, perform k-th generation tuning on f, and obtain the k-th generation tuning value f of f opt_k .
[0165] S44, perform k-th generation tuning on g, and obtain the k-th generation tuning value g of g opt_k .
[0166] S45, perform k-th generation tuning on i, and obtain the k-th generation tuning value i of i opt_k .
[0167] It should be noted that for the first-generation tuning of each important parameter, please refer to the relevant description of S201~S202 in method 200, for the first-generation tuning of each non-important parameter, please refer to the relevant description of S203~S204 in method 200, and for the tuning of each generation after the first generation of each important parameter, please refer to the relevant description of S205~S206 in method 200.
[0168] It can be seen that based on method 200, in a scenario with 10 parameters to be configured, the coupling parameters can be quickly tuned together with as few scans as possible. For scenarios with more parameters to be configured, the advantages of method 200 in terms of speed and computing resource saving are more prominent. Figure 5 In the embodiment shown, the number of tuning algebras required to obtain the tuning result is theoretically less, which can further save computing resources and tuning time.
[0169] Corresponding to the third possible implementation method mentioned above, Figure 8The flow chart of a method 300 for tuning parameters of an equalizer provided in an embodiment of the present application is as follows. In the method 300, the present application embodiment is introduced with the PHY included in the communication system as the execution subject, and the tuned equalizer belongs to the communication system. The PHY can be, for example, Figure 3 Alternatively, the method 300 may also be understood to be implemented by the device where the PHY is located, for example, Figure 3 Device 1 or device 2 in the end-to-end communication link shown implements method 300. Compared to method 100, method 300 not only has the advantages of method 200, namely, first-generation tuning is also performed on non-important parameters, so that further fine-tuning (i.e., second-generation and subsequent-generation tuning) is performed on the basis that all parameters to be configured are relatively optimal, which can reduce the number of generations of further fine-tuning to a certain extent, thereby reducing the computing resources and time consumed by tuning; moreover, method 300 also performs further fine-tuning of non-important parameters for each generation after further fine-tuning of important parameters, making the tuning of equalization parameters faster.
[0170] like Figure 8 As shown, the method 300 may include, for example, the following S301 to S308:
[0171] S301 , downsample a first parameter to obtain first downsampled data of the first parameter, where the first parameter belongs to a first parameter set, which is an important parameter set among the parameters of the equalizer.
[0172] S302: Determine a first-generation tuning value for a first parameter based on the first downsampled data and first quality information of the electrical signal in the PHY, where the first quality information is used to characterize the quality of the electrical signal corresponding to the first downsampled data, and the first-generation tuning value is used to configure the equalizer.
[0173] S303 : Downsample the third parameter to obtain third downsampled data of the third parameter, where the third parameter belongs to a second parameter set, which is a non-important parameter set among the parameters of the equalizer.
[0174] S304: Determine a first-generation tuning value for the third parameter based on the first-generation tuning value for the first parameter, the third down-sampled data, and third quality information of the electrical signal in the PHY, where the third quality information is used to characterize the quality of the electrical signal corresponding to the third down-sampled data.
[0175] The above-mentioned first parameter can be understood as a general reference to any parameter in the first parameter set, and the third parameter can be understood as a general reference to any parameter in the second parameter set.
[0176] It should be noted that the specific implementation and effects of S301-S302 can refer to the relevant description of S101-S102 in method 100 or S201-S202 in method 200. The specific implementation and effects of S303-S304 can refer to the relevant description of S101-S102 in method 100 or S203-S204 in method 200.
[0177] The difference is that in S301~S302, during the process of downsampling the first parameter in the first parameter set, the value of the third parameter in the second parameter set is the default value; in S303~S304, during the process of downsampling the third parameter in the second parameter set, the value of the first parameter in the first parameter set is the corresponding first-generation tuning value.
[0178] In this way, the first generation of tuning is performed on important parameters through downsampling, and then the first generation of tuning is performed on non-important parameters through downsampling. With a smaller number of scans, more reasonable values for all parameters to be configured can be quickly locked in, thereby providing a data foundation for subsequent tuning and making it possible to complete subsequent tuning quickly.
[0179] S305: Obtain first candidate data for the first parameter based on the first-generation tuning value of the first parameter and the first deviation range of the first parameter. The first candidate data is a value of the first parameter centered on the first-generation tuning value of the first parameter, the number of which corresponds to the first deviation range.
[0180] S306. Determine a second-generation tuning value for the first parameter based on the first-generation tuning value for the third parameter, the first candidate data for the first parameter, and second quality information in the electrical signal in the PHY. The second quality information is used to characterize the quality of the electrical signal corresponding to the first candidate data. The second-generation tuning value for the first parameter is used to update the first-generation tuning value for the first parameter to configure the equalizer.
[0181] S307, obtaining third candidate data of the third parameter based on the first-generation tuning value of the third parameter and the third deviation range of the third parameter, where the third candidate data is a value of the third parameter centered on the first-generation tuning value of the third parameter and the number of which corresponds to the third deviation range.
[0182] S308: Determine the second-generation tuning value of the third parameter based on the second-generation tuning value of the first parameter, the third candidate data of the third parameter, and fourth quality information of the electrical signal in the PHY, where the fourth quality information is used to characterize the quality of the electrical signal corresponding to the third candidate data.
[0183] It should be noted that the specific implementation methods and effects achieved by S305-S306 can refer to the relevant descriptions of S103-S104 in method 100 or S205-S206 in method 200. However, the first deviation range in S505 may be the same as or different from the first deviation range in S205 or S103. Correspondingly, the first candidate data in method 300 may be the same as or different from the first candidate data in method 100 or method 200.
[0184] The difference from method 100 is that in S305 to S306, during the process of performing second-generation tuning on the first parameter in the first parameter set, the value of the third parameter in the second parameter set is the first-generation tuning value; in S103 to S104, during the process of performing second-generation tuning on the first parameter in the first parameter set, the value of the third parameter in the second parameter set is the default value.
[0185] It should be noted that the specific implementation methods and effects achieved by S307-S308 can be found in the descriptions of S103-S104 in method 100 or S205-S206 in method 200. In S306-S307, during the second-generation tuning of the third parameter in the second parameter set, the value of the first parameter in the first parameter set is the second-generation tuning value.
[0186] In this way, through this method 300, the PHY in the communication system can perform first-generation tuning on important parameters belonging to an important parameter set among the equalization parameters to be configured, perform first-generation tuning on unimportant parameters belonging to an unimportant parameter set among the equalization parameters to be configured, perform several second-generation tunings on important parameters belonging to an important parameter set, and perform several second-generation tunings on unimportant parameters belonging to an unimportant parameter set, to obtain tuning results when the tuning cutoff conditions are met. The equalization parameters in the communication system are configured based on the tuning results, without the need to perform a full traversal scan of all the equalization parameters to be configured, downsample the important parameters among the equalization parameters to be configured, downsample the unimportant parameters, perform deviation tuning on the important parameters, and perform deviation tuning on the unimportant parameters. By scanning a small number of parameters a small number of times, based on the quality of the corresponding electrical signals, the tuning results of the joint tuning of all the equalization parameters to be configured can be determined, thereby achieving fast and convenient joint tuning of the equalization parameters.
[0187] In order to make the method 300 provided in the embodiment of the present application clearer, the following Figure 9 The process of method 300 is briefly described as an example.
[0188] like Figure 9As shown in FIG, assuming that the communication system has 10 equalization parameters to be configured, namely, a, b, c, d, e, f, g, h, i, and j, the tuning process for these 10 parameters may include:
[0189] S51 , dividing 10 parameters into an important parameter set and an unimportant parameter set according to the influence of each parameter on the equalization performance in the communication system, wherein the important parameter set includes: a, b, f, g and i, and the unimportant parameter set includes: c, d, e, h and j.
[0190] S52 , downsampling the parameters in the important parameter set to obtain a first generation tuning value of each parameter in the important parameter set.
[0191] Among them, the values of each parameter in the non-important parameter set are the default values, which are represented by init. For example, the default value of c is represented by c init The value range of each parameter in the important parameter set is represented by the minimum value (min) and the maximum value (max), and the downsampling step is represented by n. For example, the downsampling data of a can be represented as a min :n1:a max The first generation tuning value of each parameter in the important parameter set can be represented by opt_1. For example, the first generation tuning value of a can be represented by a opt_1 .
[0192] S53 , downsampling the parameters in the non-important parameter set to obtain a first-generation tuning value of each parameter in the non-important parameter set.
[0193] When this step is executed, the value of each parameter in the important parameter set is the corresponding first-generation tuning value.
[0194] The value range of each parameter in the non-important parameter set is represented by min and max, and the downsampling step is represented by n. For example, the downsampling data of c can be represented as c min :n3:c max The first generation tuning value of each parameter in the non-important parameter set can be represented by opt_1. For example, the first generation tuning value of c can be represented by c opt_1 .
[0195] Assuming that for the parameters in the important parameter set, the order of performing subsequent generations of tuning is determined according to importance as: a, b, f, g, and i, then after S53, when the values of all parameters to be configured are the corresponding first-generation tuning values, this embodiment may further include:
[0196] S54, perform second-generation tuning on a and obtain the second-generation tuning value a of a opt_2 .
[0197] S55, perform second-generation tuning on b and obtain the second-generation tuning value b of b opt_2 .
[0198] S56, perform second-generation tuning on f to obtain the second-generation tuning value f of f opt_2 .
[0199] S57, perform the second-generation tuning on g and obtain the second-generation tuning value g of g opt_2 .
[0200] S58, perform second-generation tuning on i, and obtain the second-generation tuning value i of i opt_2 .
[0201] Assuming that for the parameters in the non-important parameter set, the order of performing subsequent generations of tuning is determined according to importance: c, d, e, h, and j. Then, after S58, when the values of the important parameters to be configured are all corresponding second-generation tuning values, this embodiment may further include:
[0202] S59, perform second-generation tuning on c and obtain the second-generation tuning value c of c opt_2 .
[0203] S60, perform second-generation tuning on d to obtain the second-generation tuning value d of d opt_2 .
[0204] S61, perform second-generation tuning on e and obtain the second-generation tuning value e of e opt_2 .
[0205] S62, perform second-generation tuning on h to obtain the second-generation tuning value h of h opt_2 .
[0206] S63, perform second-generation tuning on j and obtain the second-generation tuning value j of j opt_2 .
[0207] S64, determine whether the tuning cutoff condition is met. If so, execute S65. Otherwise, k=k+1, execute the kth generation tuning shown in S66 to S75 (the initial value of k is 2), and return to execute S64.
[0208] It can be seen that when it is determined after S63 that the tuning cutoff condition is not met, k=3, and executing S66 to S75 corresponds to the third-generation tuning of each parameter; when it is determined after the third-generation tuning that the tuning cutoff condition is still not met, k=4, and executing S66 to S75 corresponds to the fourth-generation tuning of each parameter, and so on.
[0209] S65 , obtaining a tuning result based on the current generation tuning value of each parameter in the non-important parameters and the current generation tuning value of each parameter in the important parameter set, and configuring an equalizer of the communication system based on the tuning result.
[0210] S66, perform k-th generation tuning on a, and obtain the k-th generation tuning value a of a. opt_k .
[0211] S67, perform k-th generation tuning on b and obtain the k-th generation tuning value b of b. opt_k .
[0212] S68, perform k-th generation tuning on f, and obtain the k-th generation tuning value f of f opt_k .
[0213] S69, perform k-th generation tuning on g, and obtain the k-th generation tuning value g of g opt_k .
[0214] S70, perform k-th generation tuning on i, and obtain the k-th generation tuning value i of i opt_k .
[0215] S71, perform k-th generation tuning on c, and obtain the k-th generation tuning value c of c opt_k .
[0216] S72, perform k-th generation tuning on d to obtain the k-th generation tuning value d of d opt_k .
[0217] S73, perform k-th generation optimization on e, and obtain the k-th generation optimization value e of e opt_k .
[0218] S74, perform k-th generation tuning on h, and obtain the k-th generation tuning value h of h opt_k .
[0219] S75, perform k-th generation tuning on j, and obtain the k-th generation tuning value j of j opt_k .
[0220] It should be noted that for the first-generation tuning of each important parameter, please refer to the relevant description of S301~S302 in method 300, for the first-generation tuning of each unimportant parameter, please refer to the relevant description of S303~S304 in method 300, for the tuning of each important parameter after the first generation, please refer to the relevant description of S305~S306 in method 300, and for the tuning of each unimportant parameter after the first generation, please refer to the relevant description of S307~S308 in method 300.
[0221] It can be seen that based on method 300, in a scenario with 10 parameters to be configured, the coupling parameters can be quickly tuned together with as few scans as possible. For scenarios with more parameters to be configured, the advantages of this method 300, such as speed and saving computing resources, are more prominent. Figure 7In the embodiment shown, the number of tuning algebras required to obtain the tuning result is theoretically less, which can further save computing resources and tuning time.
[0222] It should be noted that in method 300, the order of performing tuning is: performing the first generation tuning on important parameters, performing the first generation tuning on non-important parameters, performing the second generation tuning on important parameters, performing the second generation tuning on non-important parameters, performing the third generation tuning on important parameters, performing the third generation tuning on non-important parameters..., this order is only one possible implementation method, in which the tuning generations of important parameters and non-important parameters are the same and are performed in a rotational manner. In specific implementation, it is also possible to perform downsampling and several times of deviation tuning on important parameters and non-important parameters respectively in any other possible order, and the tuning generations of important parameters and non-important parameters may also be different. For example, after performing N generations of important parameter tuning, one generation of tuning is performed on non-important parameters, and N can be any integer greater than 1. In addition, it is also possible to perform downsampling only on important parameters and perform several times of deviation tuning on important parameters and non-important parameters, and the tuning generations of important parameters and non-important parameters may be the same or different.
[0223] The above embodiments are all described by taking the tuning process of the equalization parameters to be configured on the end-to-end communication link as an example. The end-to-end communication link can be a signal transmission link from a first device to a second device through a first module and a second module, wherein the first module and the second module can be electrical modules or optical modules. For example, the first module and the second module can both be linear direct drive optical modules. Figure 3 In the illustrated scenario, the first device may correspond to device 1, the second device may correspond to device 2, the first module may correspond to linear direct drive optical module 1, and the second module may correspond to linear direct drive optical module 2. The first parameter may be a general reference to an important parameter among the equalization parameters to be configured on the end-to-end communication link.
[0224] The following combination Figure 3 The scenario shown takes method 300 as an example to illustrate the effect of the tuning method provided in the embodiment of the present application.
[0225] Table 5 below shows the balancing parameters to be configured in the end-to-end communication link in the above scenario and the value ranges of each balancing parameter:
[0226] Table 5
[0227]
[0228] Then, according to the full-volume traversal scanning method, the number of combinations that need to be scanned can be: 5×21×11×15×8×7×21×7×8×7×21=5.03e11; through the method 300 provided in the embodiment of the present application, if the division of important parameters and unimportant parameters is as shown in Table 2, the number of combinations that need to be scanned for the first generation tuning of important parameters is 5×3×5×3×5=1125, and the downsampling data of each parameter in the second parameter set can be shown in Table 6 below, for example. The number of combinations that need to be scanned for the first generation tuning of unimportant parameters is 4×4×2×3×2×3=576.
[0229] Table 6
[0230]
[0231] Assuming that the deviation range of each parameter in this embodiment is 1, the number of combinations that need to be scanned for a second-generation tuning of all parameters is 33. If, in addition to the first-generation tuning, 10 generations of tuning are performed before converging to the optimal solution and finding the optimal configuration, the total number of scanned combinations is 330. Combined with the number of scanned combinations in the downsampling process, it can be determined that the number of scanned combinations in the global tuning process based on method 300 is: 1125+576+330=2031. Compared with the global traversal scan of 5.03e11 times, the solution space is reduced by approximately 1e8 orders of magnitude.
[0232] It should be noted that the method provided in the embodiment of the present application can also be applied to other scenarios with high reliability requirements and joint tuning of multiple equalization parameters to be configured, including but not limited to: data centers, supercomputing nodes, artificial intelligence data center networks (AIDCN) and other scenarios. The applicable system architecture includes but is not limited to: the architecture where the linear direct-drive optical module is located and the architecture where the traditional optical module is located. It can be applied to high-speed interconnection interfaces and high-speed interface modules, among which the high-speed interface modules include but are not limited to: QSFP-DD, OSFP, COBO, CFP2, CFP8, etc., and the high-speed interconnection interfaces include but are not limited to: transceiver module line card point-to-point interconnection interface, router line card dense wavelength division multiplexing (Dense Wavelength Division Multiplexing, DWDM) interconnection interface, transceiver module line card DWDM interconnection interface, etc.
[0233] As an example, the embodiment of the present application can also be applied to the joint optimization of the tap coefficients of multi-tap TX-FFE in high-speed interconnection scenarios of 224G and above. Figure 10As shown in the figure, for the 224G+SerDes high-speed interconnection scenario, the TX-FFE of the SerDes of the device is a multi-tap FFE. The SerDes of the device can be connected to a linear direct-drive optical module, which can include DRV_CTLE. The TP2 point index (such as ER or TDECQ) of the linear direct-drive optical module can be used as a tuning basis.
[0234] Taking TX-FFE as an example, assuming that the value range of the 9 tap coefficients is shown in Table 7 below:
[0235] Table 7
[0236] pre4 pre3 pre2 pre1 Main post1 post2 post3 post4 -3~3 -3~3 -10~10 -30~0 X -20~0 -10~10 -3~3 -3~3
[0237] Important parameters may be the parameters shown in bold above (i.e., pre2, pre1, post1, and post2), and other parameters may be non-important parameters. The TX-FFE tuning process for the 9tap may refer to the above-mentioned method 100, method 200, or method 300.
[0238] Taking the method 300 for tuning the 9tap TX-FFE as an example, assuming that the downsampling data of the parameters in the first parameter set are expressed as -10:5:10, -30:6:0, -20:5:0, and -10:5:10, respectively; the downsampling data of the parameters in the second parameter set are expressed as -3:3:3, -3:3:3, X, -3:3:3, and -3:3:3, respectively, then the number of combinations that need to be scanned for the first-generation tuning of important parameters is 5×6×5×5=750, and the number of combinations that need to be scanned for the first-generation tuning of non-important parameters is 3×3×3×3=81. Assuming that the deviation range of each parameter in this embodiment is 1, the number of combinations that need to be scanned for a second-generation tuning of all parameters is 24. If, in addition to the first-generation tuning, 10 generations of tuning are performed before converging to the optimal solution and finding the optimal configuration, the total number of scanned combinations is 240. Combined with the number of scanned combinations in the downsampling process, it can be determined that the number of scanned combinations for the global tuning process based on method 300 is: 750+81+330=1071. Compared with the global traversal scan of 7×7×21×31×21×21×7×7=6.8e9 scans, the solution space is reduced by approximately 1e5 orders of magnitude.
[0239] It should be noted that the method provided in the embodiment of the present application is not only applicable to linear direct-drive optoelectronic interconnection systems and high-speed SerDes systems, but also to the following scenarios: electrical interconnection systems, coherent optical communication systems, wireless communication systems, and the design and manufacture of lasers, PDs and other devices, autonomous driving technology, and other scenarios involving multi-parameter joint optimization. In addition, the method provided in the embodiment of the present application is also applicable to online negotiation, which can realize online detection and maintenance of each lane of the communication system. The backchannel involved in the online negotiation can be the protocol layer, the control channel, the self-loop channel, etc.
[0240] Accordingly, the embodiment of the present application further provides a communication device 1100 (also referred to as a device 1100 for tuning parameters of an equalizer), such as Figure 11 As shown. In the communication device 1100, the equalizer belongs to the communication system, the communication system may include PHY, and the device may be applied to PHY. The communication device 1100 may include: a first downsampling unit 1101, a first tuning unit 1102, a first candidate unit 1103 and a second tuning unit 1104. Wherein:
[0241] The first downsampling unit 1101 is configured to downsample the first parameter to obtain first downsampled data of the first parameter, wherein the first parameter belongs to a first parameter set, which is an important parameter set among the parameters of the equalizer. The first downsampling unit 1101 may perform Figure 4 Alternatively, the S101 shown may be executed Figure 6 Alternatively, the S201 shown may be executed Figure 8 S301 shown.
[0242] The first tuning unit 1102 is configured to determine a first-generation tuning value of a first parameter based on the first down-sampled data and first quality information of the electrical signal in the PHY, wherein the first quality information is used to characterize the quality of the electrical signal corresponding to the first down-sampled data, and the first-generation tuning value is used to configure the equalizer. The first tuning unit 1102 may be executed Figure 4 Alternatively, the S102 shown may be executed Figure 6 Alternatively, the S202 shown may be executed Figure 8 S302 shown.
[0243] The first candidate unit 1103 is configured to obtain first candidate data of the first parameter based on the first generation tuning value of the first parameter and the first deviation range of the first parameter, wherein the first candidate data is a value of the first parameter centered on the first generation tuning value of the first parameter and the number of values of the first parameter corresponding to the first deviation range. The first candidate unit 1103 may execute Figure 4 As shown in S103, you can execute Figure 6 As shown in S205, you can execute Figure 8 S305 shown.
[0244] The second tuning unit 1104 is configured to determine a second-generation tuning value for the first parameter based on the first candidate data and second quality information of the electrical signal in the PHY, wherein the second quality information is used to characterize the quality of the electrical signal corresponding to the first candidate data, and the second-generation tuning value is used to update the first-generation tuning value to configure the equalizer. The second tuning unit 1104 may execute Figure 4 As shown in S104, you can execute Figure 6 As shown in S206, you can execute Figure 8 S306 shown.
[0245] In one possible implementation, if the first parameter set also includes a second parameter, the apparatus 1100 may further include: a second downsampling unit and a third tuning unit. The second downsampling unit is configured to downsample the second parameter to obtain second downsampled data of the second parameter; and the third tuning unit is configured to determine a first-generation tuning value for the second parameter based on the first downsampled data, the second downsampled data, and the first quality information. The first tuning unit 1102 is specifically configured to determine the first-generation tuning value for the first parameter based on the first downsampled data, the second downsampled data, and the first quality information.
[0246] In one possible implementation, if the first parameter set also includes a second parameter, the apparatus 1100 may further include: a second candidate unit and a fourth tuning unit. The second candidate unit is configured to obtain second candidate data for the second parameter based on the first-generation tuning value of the second parameter and the second deviation range of the second parameter, where the second candidate data is a value of the second parameter centered on the first-generation tuning value of the second parameter and a number corresponding to the second deviation range; and the fourth tuning unit is configured to determine the second-generation tuning value of the second parameter based on the second-generation tuning value of the first parameter, the second candidate data, and second quality information of the electrical signal in the PHY, where the second quality information is used to characterize the quality of the electrical signal corresponding to the second candidate data.
[0247] In one possible implementation, the apparatus 1100 may further include a grouping unit. The grouping unit is configured to group the multiple parameters to be configured for the equalizer based on their impact on equalization performance in the communication system, thereby obtaining multiple parameter sets, where the multiple parameter sets include a first parameter set. As an example, the multiple parameter sets may further include a second parameter set, which is a set of non-critical parameters of the equalizer.
[0248] In one possible implementation, the second parameter set may include a third parameter, and the apparatus 1100 may further include: a third downsampling unit and a fifth tuning unit. The third downsampling unit is configured to, after determining the first-generation tuning value of the first parameter, downsample the third parameter to obtain third downsampled data of the third parameter; the fifth tuning unit is configured to determine the first-generation tuning value of the third parameter based on the first-generation tuning value of the first parameter, the third downsampled data, and third quality information in the electrical signal in the PHY, the third quality information being used to characterize the quality of the electrical signal corresponding to the third downsampled data. For this implementation, please refer to Figure 6 The relevant description of S203 and S204 in the method 200 is shown.
[0249] As an example, the device 1100 may also include: a third candidate unit and a sixth tuning unit. The third candidate unit is used to obtain third candidate data of the third parameter according to the first generation tuning value of the third parameter and the third deviation range of the third parameter after determining the second generation tuning value of the first parameter. The third candidate data is the value of the third parameter centered on the first generation tuning value of the third parameter, and the number corresponds to the third deviation range; the sixth tuning unit is used to determine the second generation tuning value of the third parameter according to the second generation tuning value of the first parameter, the third candidate data and the fourth quality information in the electrical signal in the PHY. The fourth quality information is used to characterize the quality of the electrical signal corresponding to the third candidate data. For this implementation, please refer to Figure 8 The relevant description of S307 and S308 in the method 300 is shown.
[0250] In one possible implementation, the apparatus 1100 may further include a configuration unit. The configuration unit is configured to determine a tuning result based on the second-generation tuning value of the first parameter if a tuning cutoff condition is met, and configure the equalizer based on the tuning result. The tuning cutoff condition may include at least one of the following conditions: the number of tuning generations is equal to a preset number; or the difference between the quality of the electrical signal corresponding to the current generation of tuning and the quality of the electrical signal corresponding to the previous generation of tuning is less than a preset difference threshold; or the tuning value corresponding to the current generation of tuning is equal to the tuning value obtained by the previous generation of tuning for the corresponding parameter.
[0251] As an example, the apparatus 1100 may further include: a fourth candidate unit and a seventh tuning unit. The fourth candidate unit is configured to, when the tuning cutoff condition is not met, obtain fourth candidate data for the first parameter based on the second-generation tuning value of the first parameter and the fourth deviation range of the first parameter, wherein the fourth candidate data is a number of values of the first parameter corresponding to the fourth deviation range, centered around the second-generation tuning value of the first parameter; and the seventh tuning unit is configured to determine a third-generation tuning value for the first parameter based on the fourth candidate data and fifth quality information in the electrical signal in the PHY, wherein the fifth quality information is used to characterize the quality of the electrical signal corresponding to the fourth candidate data. The third-generation tuning value is used to update the second-generation tuning value to configure the equalizer.
[0252] In a possible implementation, the quality information is reflected by a value of at least one of the following indicators: BER, SNR, SER, ER, or TDECQ.
[0253] In one possible implementation, a communication system may include a signal transmission link from a first device to a second device via a first module and a second module. The first parameter is an equalization parameter to be configured on the signal transmission link. As an example, the first module and the second module may both be linear direct-drive optical modules.
[0254] In another possible implementation, the first parameter may also be a tap coefficient of a multi-tap equalizer in a communication system. As an example, the communication system may be a communication system in a high-speed interconnection scenario of 224G or higher.
[0255] In a possible implementation, the PHY may belong to any device in the communication system, for example, it may belong to a sending device on a signal transmission link in the communication system, or it may belong to a receiving device on the signal transmission link.
[0256] In a possible implementation, the PHY may include firmware or main control board control software.
[0257] In one possible implementation, the equalizer may include CTLE and / or FFE.
[0258] It should be noted that various specific embodiments of the communication device 1100 can be found in Figure 4 Corresponding method 100, Figure 6 Corresponding method 200 or Figure 8 The corresponding introduction of method 300 is not repeated in this embodiment.
[0259] See also Figure 12The present embodiment provides a communication device 1200. The communication device 1200 may be the execution subject of any of the above embodiments. The communication device 1200 may implement the functions of the above embodiments. The communication device 1200 includes at least one processor 1201, a bus system 1202, a memory 1203, and at least one communication interface 1204.
[0260] The communication device 1200 is a hardware structure device that can be used to implement Figure 11 The functional modules in the communication device 1100 are shown. For example, those skilled in the art may think Figure 11 The first downsampling unit 1101 , the first tuning unit 1102 , the first candidate unit 1103 and the second tuning unit 1104 in the communication device 1100 are implemented by the at least one processor 1201 calling codes in the memory 1203 .
[0261] Optionally, the communication device 1200 may be a network device or a control entity implementing an embodiment of the present application.
[0262] Optionally, the processor 1201 may be a general-purpose central processing unit (CPU), a network processor (NP), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0263] The bus system 1202 may include a path for transmitting information between the components.
[0264] The communication interface 1204 is used to communicate with other devices or communication networks.
[0265] The memory 1203 may be a read-only memory (ROM) or other static storage device capable of storing static information and instructions, a random access memory (RAM) or other dynamic storage device capable of storing information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by a computer, but not limited thereto. The memory may be independent and connected to the processor via a bus. The memory may also be integrated with the processor.
[0266] The memory 1203 is used to store application code for executing the solution of the present application, and the execution is controlled by the processor 1201. The processor 1201 is used to execute the application code stored in the memory 1203, thereby realizing the functions of the method of the present application.
[0267] In a specific implementation, as an embodiment, the processor 1201 may include one or more CPUs, such as Figure 12 CPU0 and CPU1 in.
[0268] In a specific implementation, as an embodiment, the communication device 1200 may include multiple processors, such as Figure 12 1 and 1207. Each of these processors may be a single-CPU processor or a multi-CPU processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0269] It should be understood that the communication devices in the various product forms mentioned above respectively have any functions implemented by the execution subject in the above method embodiments, which will not be described in detail here.
[0270] The present application also provides a chip including a processor and an interface circuit, wherein the interface circuit is configured to receive instructions and transmit them to the processor; the processor, which may be, for example, a specific implementation of the message processing device in the present application embodiment, may be configured to execute the aforementioned method 100, method 200, or method 300. The processor is coupled to a memory configured to store programs or instructions. When the programs or instructions are executed by the processor, the chip system implements the method in any of the aforementioned method embodiments.
[0271] Optionally, there may be one or more processors in the chip system. The processor may be implemented in hardware or software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
[0272] Optionally, the memory in the chip system may be one or more memories. The memory may be integrated with the processor or may be provided separately from the processor, which is not limited in this application. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or provided on different chips. This application does not specifically limit the type of memory or the configuration of the memory and the processor.
[0273] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.
[0274] In addition, an embodiment of the present application also provides a communication device, which includes a PHY, which belongs to a communication system, and the communication system also includes an equalizer; the PHY is used to execute the above-mentioned method 100, method 200 or method 300 to tune the parameters of the equalizer.
[0275] In addition, the embodiment of the present application also provides a communication system 1300, such as Figure 13 As shown. The communication system 1300 may include a PHY 1301 and an equalizer 1302; wherein:
[0276] PHY 1301 is configured to execute method 100 , method 200 , or method 300 to tune parameters of the equalizer 1302 .
[0277] In addition, an embodiment of the present application further provides a storage medium, in which program code or instructions are stored. When the storage medium is run on a processor, the processor executes a method in any one of the implementation modes of the above embodiments.
[0278] In addition, an embodiment of the present application also provides a program product, which, when executed on a processor, enables the processor to execute any one of the aforementioned methods 100, 200, or 300.
[0279] It should be understood that "determining B based on A" mentioned in the embodiments of the present application does not mean determining B only based on A, but B can also be determined based on A and / or other information.
[0280] It should be understood that the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0281] In this application, ordinal numbers such as "1", "2", "3", "first", "second" and "third" are used to distinguish multiple objects and are not used to limit the order of multiple objects.
[0282] “A and / or B” mentioned in this application should be understood to include the following situations: only A, only B, or both A and B.
[0283] Through the description of the above embodiments, it can be known that those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by means of software plus a general hardware platform. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the methods described in each embodiment or certain parts of the embodiments of the present application.
[0284] Each embodiment in this specification is described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for system embodiments and device embodiments, since they are basically similar to method embodiments, the description is relatively simple. For relevant parts, refer to the partial description of the method embodiment. The device and system embodiments described above are merely schematic. The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without making any creative effort.
[0285] The above description is only a preferred embodiment of the present application and is not intended to limit the scope of protection of the present application. It should be noted that those skilled in the art may make several improvements and modifications without departing from the scope of protection of the present application, and such improvements and modifications should also be considered as within the scope of protection of the present application.
Claims
1. A method for tuning parameters of an equalizer, characterized in that: The equalizer belongs to a communication system, the communication system includes a physical layer PHY, and the method is applied to the PHY, the method comprising: downsampling a first parameter to obtain first downsampled data of the first parameter, where the first parameter belongs to a first parameter set, which is an important parameter set among parameters of the equalizer; determining, based on the first down-sampled data and first quality information of the electrical signal in the PHY, a first-generation tuning value of the first parameter, wherein the first quality information is used to characterize the quality of the electrical signal corresponding to the first down-sampled data, and the first-generation tuning value is used to configure the equalizer; obtaining, based on the first-generation tuning value of the first parameter and the first deviation range of the first parameter, first candidate data for the first parameter, where the first candidate data is a number of values of the first parameter corresponding to the first deviation range and centered on the first-generation tuning value of the first parameter; Based on the first candidate data and the second quality information in the electrical signal in the PHY, a second-generation tuning value of the first parameter is determined, where the second quality information is used to characterize the quality of the electrical signal corresponding to the first candidate data, and the second-generation tuning value is used to update the first-generation tuning value to configure the equalizer.
2. The method according to claim 1, characterized in that The first parameter set also includes a second parameter, and the method further includes: downsampling the second parameter to obtain second downsampled data of the second parameter; determining a first-generation tuning value of the second parameter according to the first down-sampled data, the second down-sampled data, and the first quality information; The determining, according to the first down-sampled data and the first quality information in the electrical signal in the PHY, a first-generation tuning value of the first parameter includes: A first-generation tuning value of the first parameter is determined according to the first down-sampled data, the second down-sampled data, and the first quality information.
3. The method according to claim 2, characterized in that The method further comprises: obtaining, based on the first-generation optimized value of the second parameter and the second deviation range of the second parameter, second candidate data for the second parameter, where the second candidate data are values of the second parameter centered on the first-generation optimized value of the second parameter and a number corresponding to the second deviation range; The second-generation tuning value of the second parameter is determined according to the second-generation tuning value of the first parameter, the second candidate data, and second quality information of the electrical signal in the PHY, where the second quality information is used to characterize the quality of the electrical signal corresponding to the second candidate data.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: According to the influence of the multiple parameters to be configured of the equalizer on the equalization performance in the communication system, the multiple parameters are grouped to obtain multiple parameter sets, and the multiple parameter sets include the first parameter set.
5. The method according to claim 4, characterized in that The plurality of parameter sets further includes a second parameter set, which is a non-important parameter set among the parameters of the equalizer.
6. The method according to claim 5, characterized in that The second parameter set includes a third parameter. After determining the first-generation tuning value of the first parameter, the method further includes: downsampling the third parameter to obtain third downsampled data of the third parameter; Determine the first-generation tuning value of the third parameter according to the first-generation tuning value of the first parameter, the third down-sampled data, and third quality information in the electrical signal in the PHY, where the third quality information is used to characterize the quality of the electrical signal corresponding to the third down-sampled data.
7. The method according to claim 6, characterized in that After determining the second-generation tuning value of the first parameter, the method further includes: Obtaining third candidate data for the third parameter based on the first-generation optimized value of the third parameter and a third deviation range of the third parameter, where the third candidate data is a number of values of the third parameter corresponding to the third deviation range, centered around the first-generation optimized value of the third parameter; The second-generation tuning value of the third parameter is determined according to the second-generation tuning value of the first parameter, the third candidate data, and fourth quality information of the electrical signal in the PHY, where the fourth quality information is used to characterize the quality of the electrical signal corresponding to the third candidate data.
8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: If the tuning cutoff condition is met, a tuning result is determined based on the second-generation tuning value of the first parameter, and the equalizer is configured based on the tuning result.
9. The method according to any one of claims 1 to 7, characterized in that The method further comprises: If the tuning cutoff condition is not met, obtaining fourth candidate data for the first parameter based on the second-generation tuning value of the first parameter and a fourth deviation range of the first parameter, where the fourth candidate data is a value of the first parameter centered on the second-generation tuning value of the first parameter and a number corresponding to the fourth deviation range; Based on the fourth candidate data and the fifth quality information in the electrical signal in the PHY, a third-generation tuning value of the first parameter is determined, where the fifth quality information is used to characterize the quality of the electrical signal corresponding to the fourth candidate data, and the third-generation tuning value is used to update the second-generation tuning value to configure the equalizer.
10. The method according to claim 8 or 9, characterized in that The tuning cutoff condition includes at least one of the following conditions: The number of tuning generations is equal to the preset number; Alternatively, the difference between the quality of the electrical signal corresponding to the current generation tuning and the quality of the electrical signal corresponding to the previous generation tuning is less than a preset difference threshold; Alternatively, the tuning value corresponding to the current generation tuning is equal to the tuning value of the corresponding parameter obtained by the previous generation tuning.
11. The method according to any one of claims 1 to 10, characterized in that The quality information is reflected by the value of at least one of the following indicators: bit error rate BER, signal-to-noise ratio SNR, symbol error rate SER, extinction ratio ER or transmitter dispersion eye closure penalty TDECQ.
12. The method according to any one of claims 1 to 11, characterized in that The communication system includes a signal transmission link connected from a first device to a second device through a first module and a second module, and the first parameter is an equalization parameter to be configured on the signal transmission link.
13. The method according to claim 12, characterized in that The first module and the second module are both linear direct-drive optical modules.
14. The method according to any one of claims 1 to 11, characterized in that The first parameter is a tap coefficient of a multi-tap equalizer in the communication system.
15. The method according to claim 14, characterized in that The communication system is a communication system for high-speed interconnection scenarios of 224G and above.
16. The method according to any one of claims 12 to 15, characterized in that: The PHY belongs to any device in the communication system.
17. The method according to any one of claims 12 to 16, characterized in that: The PHY includes firmware or main control board control software.
18. The method according to any one of claims 1 to 17, characterized in that The equalizer includes a continuous time linear equalizer CTLE and / or a feedforward equalizer FFE.
19. A communication device, characterized in that: The communication device includes a PHY, the PHY belongs to a communication system, and the communication system includes an equalizer; The PHY is used to execute the method described in any one of claims 1 to 18 to tune the parameters of the equalizer.
20. A chip, characterized in that: including an interface circuit and a processor; The interface circuit is used to receive instructions and transmit them to the processor; The processor is configured to execute the method according to any one of claims 1 to 18.
21. A chip, characterized in that: including processor and memory; The memory is used to store instructions; The processor is configured to call and execute the instructions from the memory to perform the method according to any one of claims 1 to 18.
22. A communication device, characterized in that: The communication device includes a memory and a processor; The memory is used to store instructions; The processor is configured to execute the instructions in the memory and perform the method according to any one of claims 1 to 18.
23. A communication system, characterized in that: The communication system includes a PHY and an equalizer; The PHY is used to execute the method according to any one of claims 1 to 18 to tune the parameters of the equalizer.
24. A storage medium, characterized in that The storage medium includes instructions, and when the instructions are executed on a processor, the processor is caused to execute the method according to any one of claims 1 to 18.
25. A program product, characterized in that The program product includes a program, and when the program is run on a processor, the method according to any one of claims 1 to 18 is executed.
Citation Information
Cited By
Electric energy data accurate acquisition method and system adopting double configuration
CN120893003A