链路训练方法、装置、接收设备及计算机可读存储介质
By using a multi-round link training method for the receiving device, the optimal solution for the filter coefficients of the transmitting equalizer is determined, which solves the problem of insufficient signal integrity in the existing technology and achieves a better signal interference cancellation effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SUZHOU CENTEC COMM CO LTD
- Filing Date
- 2023-10-08
- Publication Date
- 2026-04-21
AI Technical Summary
In existing technologies, the link training process cannot find the optimal filter coefficients within a limited time, resulting in the inability to effectively eliminate inter-symbol interference and affecting signal integrity.
The receiving device performs multiple rounds of first-level link training with a preset step size to obtain the optimal solution range information of the filter coefficients. Then, it performs multiple rounds of second-level link training with the minimum step size to determine the optimal solution and sets the filter coefficients of the transmit equalizer to the optimal solution.
Ensure that the transmit equalizer filters the signal based on the optimal solution, effectively eliminating inter-symbol interference and guaranteeing the true integrity of the signal.
Smart Images

Figure CN117294323B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communications, and more specifically, to a link training method, apparatus, receiving device, and computer-readable storage medium. Background Technology
[0002] In Ethernet environments with high real-time data transmission requirements (such as data center networks and industrial networks), network devices typically use passive equalizers on their high-speed Ethernet interfaces to compensate for attenuation differences caused by different frequencies. Link training (LT) can be used to automatically adjust the filter coefficient settings in the transmit equalizer of each device to achieve the minimum bit error rate at the selected transmission speed and communication loss.
[0003] Currently, the way to improve signal integrity is to add equalizers to both the transmitting and receiving devices. The equalizer is a feed-forward equalization (FFE) that acts as a finite impulse response (FIR) filter. For the pre-processed analog signal that needs to be transmitted to the receiving device, the transmitting equalizer of the transmitting device performs filtering. Based on the high-pass characteristic of the FIR filter, this pre-compensates for a certain degree of channel loss in the analog signal, thereby reducing ISI (inter-symbol interference) and crosstalk before data transmission.
[0004] The filtering process of the transmit equalizer involves using a series of filter coefficients as weighting factors to perform a weighted summation of the analog signal. These filter coefficients are obtained by the receiving device through link training of the transmitting device.
[0005] In existing technologies, the link training process involves repeatedly adjusting the filter coefficients in small steps (e.g., the smallest interval unit) to find a series of filter coefficients with good filtering effect. However, since the protocol limits the maximum training time to 500ms, this method cannot guarantee that the filter coefficients with the best filtering effect can be found from the limited range of filter coefficient values within the limited training time. Therefore, it cannot better compensate for the channel loss of analog signals, that is, it cannot effectively eliminate inter-symbol interference of the signal and cannot guarantee the true integrity of the signal sent to the receiving device. Summary of the Invention
[0006] The purpose of this invention is to provide a link training method, apparatus, receiving device, and computer-readable storage medium to improve the problems existing in the prior art.
[0007] The embodiments of the present invention can be implemented as follows:
[0008] In a first aspect, the present invention provides a link training method applied to a receiving device, wherein the receiving device is communicatively connected to a transmitting device, and the transmitting device includes a transmit equalizer; the transmit equalizer includes multiple filter coefficients; the method includes:
[0009] Based on a preset step size, the transmitting device is trained through multiple rounds of first-level link training to obtain the optimal solution interval information of the multiple filter coefficients;
[0010] Based on the optimal solution interval information and the minimum step size, the transmitting device is trained in multiple rounds of secondary link training to obtain the optimal solution of the multiple filter coefficients;
[0011] A setting command is sent to the transmitting device so that the transmitting device sets all the filter coefficients of the transmitting equalizer to the optimal solution based on the setting command; wherein, the transmitting equalizer is used to filter the signal to be transmitted to the receiving device based on the set multiple filter coefficients to eliminate inter-symbol interference of the signal to be transmitted.
[0012] In an optional implementation, the plurality of filter coefficients include a primary index weighting coefficient, at least one pre-index weighting coefficient, and at least one post-index weighting coefficient;
[0013] The step of performing multiple rounds of first-level link training on the transmitting device based on a preset step size to obtain the optimal solution interval information of the multiple filter coefficients includes:
[0014] Based on the preset step size, the transmitting device is trained in multiple rounds of primary link training to obtain the training result of each round of primary link training; during the multiple rounds of primary link training, the primary index weighting coefficient is reduced sequentially from the maximum value by the preset step size; the training result characterizes the filtering performance of the transmit equalizer;
[0015] Based on the training results of each round of training of the first-level link, the optimal solution interval information is determined.
[0016] In an optional implementation, the plurality of filter coefficients include a primary index weighted coefficient, at least one pre-index weighted coefficient, and at least one post-index weighted coefficient; the optimal solution interval information includes the optimal solution interval of the primary index weighted coefficients;
[0017] The step of performing multiple rounds of secondary link training on the transmitting device based on the optimal solution interval information and the minimum step size to obtain the optimal solution of the multiple filter coefficients includes:
[0018] Based on the optimal solution range of the primary index weighting coefficient and the minimum step size, the transmitting device is trained in multiple rounds of secondary link training to obtain the training results of each round of secondary link training; during the multiple rounds of secondary link training, the primary index weighting coefficient is reduced by the minimum step size sequentially from the upper limit of the optimal solution range.
[0019] Based on the training results of each round of training of the secondary link, the optimal solution of the multiple filter coefficients is determined.
[0020] In an optional implementation, the step of performing multiple rounds of primary link training on the transmitting device based on the preset step size to obtain the training results of each round of primary link training includes:
[0021] Send a first-level reset command to the transmitting device, so that the transmitting device sets the main index weighting coefficient to 1 and sets both the pre-index weighting coefficient and the post-index weighting coefficient to 0 based on the first-level reset command;
[0022] The receiving device receives a training frame sent by the transmitting device after adjusting the filter coefficients; the training frame carries the magnitude of each filter coefficient of the transmit equalizer; the receiving device receiving one training frame represents the completion of the first-level link training for the current round;
[0023] Determine whether the value of the primary index weighting coefficient modulo the preset step size is 0;
[0024] If the value of the primary index weighting coefficient modulo the preset step size is not 0, then based on the training frame, the first primary index adjustment strategy, and the first set adjustment strategy, the values of the multiple filter coefficients in the next round of primary link training are determined; wherein, the first primary index adjustment strategy is to reduce the primary index weighting coefficient by the preset step size in each round of primary link training, and the first set adjustment strategy is used to determine the change in the pre-index weighting coefficient and / or the change in the post-index weighting coefficient in the next round of primary link training;
[0025] Based on the values of the multiple filter coefficients in the next round of primary link training, a first adjustment instruction is sent to the transmitting device so that the transmitting device configures the filter coefficients based on the first adjustment instruction;
[0026] Return to the step of receiving the training frame sent by the transmitting device after configuring the filter coefficients, until the value of the main index weighting coefficient modulo the preset step size is 0, and send a configuration instruction to the transmitting device based on the training frame and the first set adjustment strategy, so that the transmitting device sets the main index weighting coefficient to the minimum step size and adjusts the pre-index weighting coefficient and / or the post-index weighting coefficient based on the configuration instruction;
[0027] Receive the training frame sent by the transmitting device after configuring the filter coefficients, and determine that the multi-round first-level link training is complete;
[0028] Evaluate the signal quality of the training data in the training frames corresponding to each round of the first-level link training to obtain the training results of each round of the first-level link training.
[0029] In an optional implementation, the optimal solution interval information further includes the size of each of the preceding index weighting coefficients and the following index weighting coefficients corresponding to the upper and lower limits of the optimal solution interval.
[0030] The step of performing multiple rounds of secondary link training on the transmitting device based on the optimal solution interval of the primary index weighting coefficients and the minimum step size, and obtaining the training results of each round of secondary link training, includes:
[0031] Send a secondary reset command to the transmitting device, so that the transmitting device sets the primary index weighting coefficient to the upper limit of the optimal solution interval based on the secondary reset command and adjusts the pre-index weighting coefficient and the post-index weighting coefficient to the values corresponding to the upper limit value;
[0032] The receiving device receives a training frame sent by the transmitting device after configuring the filter coefficients; the training frame carries the size of each filter coefficient of the transmit equalizer; the receiving device receiving one training frame represents the completion of the current round of secondary link training.
[0033] Determine whether the primary index weighting coefficient is equal to the lower limit of the optimal solution interval;
[0034] If the primary index weighting coefficient is not equal to the lower limit of the optimal solution interval, then the values of the multiple filter coefficients in the next round of secondary link training are determined based on the training frame, the second primary index adjustment strategy, and the second set adjustment strategy; wherein, the second primary index adjustment strategy is to reduce the primary index weighting coefficient by the minimum step size in each round of secondary link training, and the second set adjustment strategy is used to determine the change in the pre-index weighting coefficient and / or the change in the post-index weighting coefficient in the next round of secondary link training;
[0035] Based on the values of the multiple filter coefficients in the next round of secondary link training, a second adjustment instruction is sent to the transmitting device so that the transmitting device configures the filter coefficients based on the second adjustment instruction; the process returns to the step of receiving the training frame sent by the transmitting device after adjusting the filter coefficients, until the main index weighting coefficient is equal to the lower limit of the optimal solution interval, at which point the multiple rounds of secondary link training are determined to be completed;
[0036] Evaluate the signal quality of the training data in the training frames corresponding to each round of the secondary link training to obtain the training results of each round of the secondary link training.
[0037] In an optional implementation, the primary index weighting coefficient is a positive number, and the prescript weighting coefficient and the suffix weighting coefficient are both non-positive numbers; the sum of the absolute values of the primary index weighting coefficient, each of the prescript weighting coefficients, and each of the suffix weighting coefficients is 1.
[0038] When the number of pre-index weighted coefficients and the number of post-index weighted coefficients are equal, the first set adjustment strategy is to reduce the average step size of all filter coefficients in the training frame except for the pre-index weighted coefficients; the average step size is the ratio of the change in the pre-index weighted coefficients to the number of other filter coefficients.
[0039] Alternatively, the first adjustment strategy is to reduce the pre-weighted coefficient or post-weighted coefficient in the training frame by the preset step size based on the current round; the pre-weighted coefficient and the post-weighted coefficient are reduced alternately during the multiple rounds of first-level link training.
[0040] In an optional implementation, the primary index weighting coefficient is a positive number, and the prescript weighting coefficient and the suffix weighting coefficient are both non-positive numbers; the sum of the absolute values of the primary index weighting coefficient, each of the prescript weighting coefficients, and each of the suffix weighting coefficients is 1.
[0041] The second setting adjustment strategy is to reduce the minimum step size of the pre-index weighting coefficient or the post-index weighting coefficient; the pre-index weighting coefficient and the post-index weighting coefficient are alternately reduced during the multiple rounds of secondary link training.
[0042] Secondly, the present invention provides a link training apparatus applied to a receiving device, wherein the receiving device is communicatively connected to a transmitting device, and the transmitting device includes a transmit equalizer; the transmit equalizer includes multiple filter coefficients; the apparatus includes:
[0043] The first-level training module is used to perform multiple rounds of first-level link training on the transmitting device based on a preset step size, so as to obtain the optimal solution interval information of the multiple filter coefficients;
[0044] The secondary training module is used to perform multiple rounds of secondary link training on the transmitting device based on the optimal solution interval information and the minimum step size, so as to obtain the optimal solution of the multiple filter coefficients;
[0045] The transmission setting module is used to send setting instructions to the transmitting device, so that the transmitting device sets multiple filter coefficients of the transmission equalizer to the optimal solution based on the setting instructions; wherein, the transmission equalizer is used to filter the signal to be transmitted to the receiving device based on the set multiple filter coefficients to eliminate inter-symbol interference of the signal to be transmitted.
[0046] Thirdly, the present invention provides a receiving device, comprising: a memory and a processor, wherein the memory stores a software program, and when the receiving device is running, the processor executes the software program to implement the link training method as described in the first aspect above.
[0047] Fourthly, the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the link training method described in the first aspect above.
[0048] Compared with existing technologies, embodiments of the present invention provide a link training method, apparatus, receiving device, and computer-readable storage medium. The receiving device first performs multiple rounds of first-level link training on the transmitting device based on a preset step size to obtain optimal solution interval information for multiple filter coefficients of the transmit equalizer. Then, based on the optimal solution interval information and a minimum step size, it performs multiple rounds of second-level link training on the transmitting device to obtain optimal solutions for multiple filter coefficients. Finally, a setting command is used to instruct the transmitting device to set all multiple filter coefficients of the transmit equalizer to their optimal solutions. Thus, after the receiving device performs multiple rounds of first-level link training on the transmitting device based on a preset step size to obtain optimal solution interval information, it then performs multiple rounds of second-level link training on the transmitting device based on a minimum step size to obtain optimal solutions for multiple filter coefficients. This ensures that the transmit equalizer filters the signal to be transmitted to the receiving device based on the set multiple filter coefficients, thereby better eliminating inter-symbol interference in the signal to be transmitted and ensuring the integrity of the signal sent to the receiving device. Attached Figure Description
[0049] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0050] Figure 1 This is a schematic diagram of the structure of a second-order 3-tap FIR.
[0051] Figure 2 This is the link training process for existing technologies.
[0052] Figure 3 This is a schematic diagram illustrating an application scenario of an embodiment of the present invention.
[0053] Figure 4 This is one of the flowcharts illustrating a link training method provided in an embodiment of the present invention.
[0054] Figure 5 This is a second flowchart illustrating a link training method provided in an embodiment of the present invention.
[0055] Figure 6 This is the third flowchart illustrating a link training method provided in an embodiment of the present invention.
[0056] Figure 7 This is a schematic diagram illustrating the interaction between the receiving device and the transmitting device for link training, as provided in an embodiment of the present invention.
[0057] Figure 8 This is a schematic diagram of the signal quality obtained from multi-round primary link training provided in an embodiment of the present invention.
[0058] Figure 9 This is a schematic diagram of the signal quality obtained from multi-round two-level link training, provided in an embodiment of the present invention.
[0059] Figure 10 This is a schematic diagram of a link training device provided in an embodiment of the present invention.
[0060] Figure 11 This is a schematic diagram of a receiving device provided in an embodiment of the present invention. Detailed Implementation
[0061] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0062] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0063] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0064] Furthermore, the terms "first" and "second" are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.
[0065] It should be noted that, where there is no conflict, the features in the embodiments of the present invention can be combined with each other.
[0066] Here, we will first introduce the keywords or key terms involved in this invention:
[0067] 1. Inter-symbol interference (ISI): Also known as inter-symbol interference or inter-symbol crosstalk, when the channel bandwidth is much larger than the pulse bandwidth, the pulse spread is very small. However, when the channel bandwidth is close to the signal bandwidth, the spread will exceed one symbol period, causing the signal pulses to overlap, which is called inter-symbol crosstalk.
[0068] 2. Link Training (LT): When high data rates are transmitted over cable, the received data stream can become severely distorted, requiring equalization before recovery and proper sampling. Equalization occurs at both the transmitter and receiver ends. Link training (LT) is a process originally defined in IEEE 802.3 Section 72 for 10Gbps Ethernet cables, where the two endpoints communicate together to adjust the settings of their respective transmitter equalizers for optimal transmission. The LT process configures the transmitter's equalizer; the equalizer in each receiver is entirely controlled by the receiver and is not part of the LT process.
[0069] 3. BER: Bit error rate, which is calculated as: Bit error rate = Number of erroneous bits / Total number of bits transmitted. 100%.
[0070] 4. FFE: Feed Forward Equalization.
[0071] 5. FIR: Finite Impulse Response, also known as finite impulse response or finite impulse filtering.
[0072] 6. SerDes: This is an abbreviation for Serializer / Deserializer. A SerDes module can be mainly divided into three parts: a PLL (Phase Locked Loop) module, a transmitting module (Tx), and a receiving module (Rx). The transmitting module (Tx) integrates and configures the transmitter equalizer of the transmitting device.
[0073] Currently, the way to improve signal integrity is to add equalizers to both the transmitting and receiving devices. The equalizer is a feed-forward equalization (FFE) that acts as a finite impulse response (FIR) filter. For the pre-processed analog signal that needs to be transmitted to the receiving device, the transmitting equalizer of the transmitting device performs filtering. Based on the high-pass characteristic of the FIR filter, this pre-compensates for a certain degree of channel loss in the analog signal, thereby reducing ISI (inter-symbol interference) and crosstalk before data transmission.
[0074] The filtering process of the transmit equalizer involves using a series of filter coefficients as weighting factors to perform a weighted summation of the analog signal. These filter coefficients are obtained by the receiving device through link training of the transmitting device.
[0075] In existing technologies, the link training process involves repeatedly adjusting filter coefficients at the smallest possible intervals to find a series of filter coefficients with good filtering effects. However, since the protocol limits the maximum training time to 500ms, this method cannot guarantee that the filter coefficients with the best filtering effect can be found from the limited range of filter coefficient values within the limited training time. As a result, it cannot better compensate for the channel loss of analog signals, that is, it cannot effectively eliminate inter-symbol interference of the signal and cannot guarantee the true integrity of the signal sent to the receiving device.
[0076] For example, using a second-order 3-tap FIR, please refer to [link / reference]. Figure 1 This FIR filter has three taps. The input digital data propagates through a series of delay lines, each delay equal to a time interval of one symbol unit. Therefore, the equalizer has three inputs: the currently transmitted bit and the input of the current bit. The previous bit and the next bit These three-bit signals are based on certain filter coefficients ( , as well as The weighted sum, after being used as the weights, is output as follows:
[0077]
[0078] in, , as well as These are respectively called the Pre-cursor coefficients, Cusor coefficients, and Post-cursor coefficients of the FIR equations, and they satisfy the following coefficient constraint rules:
[0079]
[0080] Figure 1 The filter structure shown enables the equalizer to adjust for signal errors caused by inter-symbol interference.
[0081] In existing technologies, link training is performed by adjusting small steps each time; please refer to [link to relevant documentation]. Figure 2 The link training process from receiving device B to transmitting device A generally includes the following steps:
[0082] 1. B issues a reset command (Reset), and A, based on the reset command, will... Set to the maximum value of 1. as well as All are set to 0. Then, A performs filtering based on the three set coefficients and sends out a training frame. B completes the first round of training after receiving the training frame.
[0083] 2. Then B sends an adjustment command (Coefficient update) to A, and A will... Reduce minimum interval step size Correspondingly, reduce the coefficient limit rules. and Then, A performs filtering based on the three pre-set coefficients and sends out the training frame again. B completes the second round of training after receiving the training frame.
[0084] Repeat step 2 until the training duration T equals the training limit of 500ms or all possibilities have been explored (i.e., ...). When the error rate reaches zero, training is stopped. Finally, the bit error rate corresponding to the training frames is compared across all rounds, and the lowest value is the optimal coefficient setting.
[0085] However, within the extremely short training time limit of 500ms, it is almost impossible to traverse all possibilities. Typically, when the training time for a link is T=500ms, not all possibilities are traversed; only half are explored. In this case, the determined coefficient settings are only a suboptimal solution, not the optimal solution that maximizes the equalizer's filtering effect. Therefore, using a suboptimal solution for filtering by transmitting device A cannot effectively eliminate inter-symbol interference in the signal.
[0086] Based on the discovery of the aforementioned technical problems, the inventors, through creative labor, proposed the following technical solutions to solve or improve these problems. It should be noted that the deficiencies in the solutions of the prior art are all results derived by the inventors after practical experience and careful research. Therefore, the discovery process of the aforementioned problems and the solutions proposed in the embodiments of this application below should be considered contributions made by the inventors to this application during the inventive process, and should not be construed as technical content known to those skilled in the art.
[0087] In view of this, embodiments of the present invention provide a link training method. The receiving device uses a large preset step size and a minimum step size to sequentially train the transmitting device, obtaining optimal solutions for multiple filter coefficients. This ensures that the transmitting equalizer filters the signal to be transmitted to the receiving device based on the optimal solutions of the multiple preset filter coefficients, thereby better eliminating inter-symbol interference in the signal to be transmitted. The following detailed description, through embodiments and in conjunction with the accompanying drawings, provides further elaboration.
[0088] Here, we will first introduce the application scenarios of this invention:
[0089] The link training provided in this embodiment of the invention can be applied to receiving devices. Please refer to [link / reference]. Figure 3 The receiving device and the transmitting device are connected via high-speed Ethernet interfaces, both of which use a SERDE architecture. The transmitting device may include a transmit equalizer, which may include multiple filter coefficients. These filter coefficients serve as weighting factors during the filtering process performed by the transmit equalizer.
[0090] The receiving and transmitting devices can be the same type of network equipment, such as switches or routers in data center networks or industrial networks.
[0091] Please refer to Figure 4 , Figure 4 This is a flowchart illustrating a link training method provided in an embodiment of the present invention. The main body executing this method is a receiving device, and the method may include the following steps S101~S103:
[0092] S101. Based on a preset step size, perform multiple rounds of first-level link training on the transmitting device to obtain the optimal solution interval information of multiple filter coefficients.
[0093] In this embodiment, the multiple filter coefficients may include a primary index weighting coefficient, at least one pre-index weighting coefficient, and at least one post-index weighting coefficient, and the number of filter coefficients is related to the number of taps in the FIR structure of the transmit equalizer.
[0094] The optimal solution interval information for multiple filter coefficients may include the upper and lower limits of the optimal solution interval for the primary index weighted coefficients, as well as the numerical values of the remaining filter coefficients when the primary index weighted coefficients are at the upper or lower limits.
[0095] Optionally, during each round of primary link training, a preset step size can be used to adjust the magnitude of the primary index weighting coefficients.
[0096] S102. Based on the optimal solution interval information and the minimum step size, perform multiple rounds of secondary link training on the transmitting device to obtain the optimal solutions for multiple filter coefficients.
[0097] Optionally, during each round of training of the secondary link, the minimum step size can be used to adjust the size of the primary index weighting coefficients within the optimal solution interval, thereby determining the optimal solution of multiple filter coefficients based on the optimal solution interval information.
[0098] S103. Send a setting command to the transmitting device so that the transmitting device sets all the filter coefficients of the transmit equalizer to the optimal solution based on the setting command.
[0099] It is understandable that the signal to be transmitted to the receiving device undergoes some pre-processing and is usually a distorted signal with inter-symbol interference.
[0100] In this embodiment, the transmitting device uses a setting command to set multiple filter coefficients of the transmitting equalizer to the optimal solution. In this way, the transmitting equalizer can be used to filter the signal to be transmitted to the receiving device based on the set multiple filter coefficients, so as to eliminate inter-symbol interference of the signal to be transmitted, and make the signal finally transmitted to the receiving device more complete.
[0101] The link training method provided in this invention allows the receiving device to perform multiple rounds of first-level link training on the transmitting device based on a preset step size to obtain the optimal solution interval information. Then, based on the optimal solution interval information and the minimum step size, it performs multiple rounds of second-level link training on the transmitting device to obtain the optimal solutions of multiple filter coefficients. This ensures that the transmitting equalizer filters the signal to be transmitted to the receiving device based on the optimal solutions of the multiple filter coefficients set, thereby better eliminating inter-symbol interference of the signal to be transmitted and ensuring the true integrity of the signal sent to the receiving device.
[0102] It is understandable that, according to the standard, the weighting coefficient of the main index is a positive number, while the weighting coefficients of the prefix and the suffix are both non-positive numbers; the sum of the absolute values of the weighting coefficient of the main index, each weighting coefficient of the prefix, and each weighting coefficient of the suffix is 1.
[0103] For example Figure 1Taking the 3-tap FIR as an example, the transmit equalizer's multiple filter coefficients include: pre-index weighting coefficients ( ), primary index weighting coefficient ( ) and postscript weighting coefficients ( );
[0104] And with Figure 1 Taking a similar 5-tap FIR as an example, the multiple filter coefficients of the transmit equalizer can be in the following three cases:
[0105] 1. Prefix weighting coefficient ( , ), primary index weighting coefficient ( ) and postscript weighting coefficients ( , );
[0106] 2. Prefix weighting coefficient ( , , ), primary index weighting coefficient ( ) and postscript weighting coefficients ( );
[0107] 3. Weighting coefficient of the preceding standard ( ), primary index weighting coefficient ( ) and postscript weighting coefficients ( , , ).
[0108] The number of taps in the two transmitter equalizer structures mentioned above are just examples. In actual applications, the number of taps in the transmitter equalizer depends on the filtering requirements and is not limited here.
[0109] In an optional implementation, the sub-steps of step S101 above may include S1011 to S1012.
[0110] S1011. Based on a preset step size, perform multiple rounds of primary link training on the transmitting device to obtain the training results of each round of primary link training.
[0111] In this embodiment, during multiple rounds of first-level link training, the primary index weighting coefficient can be reduced sequentially from its maximum value of 1 by a preset step size; alternatively, during multiple rounds of first-level link training, the primary index weighting coefficient can also be reduced from its minimum value (the minimum value is the minimum step size). The preset step size is then increased sequentially. The training results can characterize the filtering performance of the emission equalizer.
[0112] For example, to illustrate how the weighting coefficients of the primary index gradually decrease from their maximum value with a preset step size, please refer to [link to relevant documentation]. Figure 5The sub-steps of step S1011 above may include S10111~S10117:
[0113] S10111. Send a first-level reset command to the transmitting device so that the transmitting device sets the main index weighting coefficient to 1 and sets both the pre-index weighting coefficient and the post-index weighting coefficient to 0 based on the first-level reset command.
[0114] It's understandable to consider 1 as... Part, i.e., minimum step size When the primary index weighting coefficient is at its maximum value of 1, all other filter coefficients are 0; when the primary index weighting coefficient is at its minimum value... At that time, the sum of the absolute values of the remaining filter coefficients is .
[0115] S10112, Receive the training frame sent by the transmitting device after configuring the filter coefficients.
[0116] In this embodiment, a training frame may include control information and training data, wherein the control information may carry the magnitude of each filter coefficient of the adjusted transmit equalizer. The receiving device receiving a training frame signifies the completion of the current round of primary link training.
[0117] S10113. Determine whether the value of the primary index weighting coefficient modulo the preset step size is 0.
[0118] In this embodiment, based on the received training frames of the current round, if it is determined that the value of the primary index weighting coefficient modulo the preset step size is not 0, then after executing steps S10114 and S10115, the process returns to executing the above step S10112 until the value of the primary index weighting coefficient modulo the preset step size is 0, then steps S10116 to S10118 are executed. Based on the received training frames, if it is determined that the value of the primary index weighting coefficient modulo the preset step size is 0, then steps S10116 to S10118 are executed directly.
[0119] S10114. Based on the training frames, the first primary standard adjustment strategy, and the first set adjustment strategy, determine the values of multiple filter coefficients in the next round of primary link training.
[0120] In this embodiment, the first primary index adjustment strategy can be: the primary index weighting coefficient is reduced by a preset step size in each round of primary link training, that is, in the process of multiple rounds of primary link training, the primary index weighting coefficient is reduced by a preset step size in each round. The first set adjustment strategy can be used to determine the change in the pre-index weighting coefficient and / or the change in the post-index weighting coefficient in the next round of primary link training.
[0121] Immediately after receiving the training frame from the transmitting device, the receiving device can calculate the value of each filter coefficient in the next round of the primary link based on the magnitude of each filter coefficient carried in the training frame in the current round, using the first primary standard adjustment strategy and the first set adjustment strategy. Specifically, after determining the change in the primary standard weighting coefficient, the receiving device can use the first set adjustment strategy to calculate the changes in other filter coefficients based on this change. Two possible methods are described below:
[0122] In the first optional implementation, when the number of pre-index weighted coefficients and post-index weighted coefficients are equal, the first adjustment strategy during each round of first-level link training can be: reducing all filter coefficients except the pre-index weighted coefficients in the training frames received in the current round by an average step size to obtain the values of other filter coefficients in the next round of first-level link training. This average step size is the ratio of the change in the pre-index weighted coefficients to the number of other filter coefficients.
[0123] That is, after receiving the training frame for the current round from the transmitting device, the receiving device, based on the value of each filter coefficient carried in the training frame, reduces the main index weighted coefficient by a preset step size and reduces the other filter coefficients by an average step size to obtain the values of multiple filter coefficients for the next round of primary link training. In this way, during multiple rounds of primary link training, each other filter coefficient decreases by an average step size.
[0124] For example, consider 1 as 128 parts, which is the minimum step size. If the preset step size is When the number of taps in the transmit equalizer is different, taking 3-tap and 3-tap as examples, the receiving device calculates the multiple filter coefficients in the next round of primary link training in the following ways:
[0125] 1. With the transmit equalizer set to 3 taps, after receiving the training frame for the current round from the transmitter, the receiver reduces the main standard weighting coefficient based on the magnitude of each filter coefficient carried in the training frame. And reduce the coefficients of all other filters. ;
[0126] 2. With the transmit equalizer set to 5 taps, after receiving the training frame for the current round from the transmitter, the receiver will reduce the main standard weighting coefficients based on the magnitude of each filter coefficient carried in that training frame. And reduce all other filter coefficients by 4. .
[0127] In the second optional implementation, the first adjustment strategy can be to reduce the pre-weighted coefficient or the post-weighted coefficient by a preset step size. That is, the pre-weighted coefficient and the post-weighted coefficient are alternately reduced during multiple rounds of first-level link training.
[0128] That is, after the (n-1)th round of primary link training, the receiving device reduces both the primary index weighting coefficient and a pre-index weighting coefficient by a preset step size based on the training frames of the (n-1)th round and then performs the nth round of primary link training; then, after the nth round of primary link training, the receiving device reduces both the primary index weighting coefficient and a post-index weighting coefficient by a preset step size based on the training frames of the nth round and continues to perform the (n+1)th round of primary link training.
[0129] The two first setting adjustment strategies mentioned above are merely examples. In practical applications, other methods may also be used, and this invention does not limit them.
[0130] S10115. Based on the values of multiple filter coefficients in the next round of primary link training, send a first adjustment instruction to the transmitting device so that the transmitting device configures the filter coefficients based on the first adjustment instruction.
[0131] In this embodiment, the transmitting device executes the first adjustment instruction, which configures the magnitude of each filter coefficient to the value of each filter coefficient carried in the first adjustment instruction.
[0132] S10116. Based on the training frame and the first set adjustment strategy, send a configuration instruction to the transmitting device so that the transmitting device sets the main index weighting coefficient to the minimum step size and adjusts the pre-index weighting coefficient and / or post-index weighting coefficient based on the configuration instruction.
[0133] S10117. Receive the training frames sent by the transmitting device after adjusting the filter coefficients, and determine that multiple rounds of first-level link training have been completed.
[0134] It is understandable that, based on the received training frames, if it is determined that the value of the main label weighting coefficient modulo the preset step size is 1, then the final round of first-level link training will begin, i.e., steps S10115 and S10116 will be executed.
[0135] S10118. Evaluate the signal quality of the training data in the training frames corresponding to each round of first-level link training, and obtain the training results of each round of first-level link training.
[0136] Optionally, the signal quality of the training frame corresponding to each round of primary link training can be determined by the bit error rate of the training data in that training frame or the eye width and eye height of the signal eye diagram.
[0137] S1012. Based on the training results of each round of first-level link training, determine the optimal solution interval information.
[0138] In this embodiment, after evaluating the signal quality of the training data in the training frames corresponding to each round of first-level link training, the first training frame with the best signal quality and the second training frame with the second best signal quality can be determined. The optimal solution interval information can be determined based on the magnitude of the multiple filter coefficients carried by the first and second training frames respectively.
[0139] In an optional implementation, after determining the optimal solution interval information by performing multiple rounds of first-level link training on the transmitting device, multiple rounds of second-level link training can then be performed on the transmitting device to determine the optimal solution for each filter coefficient. Correspondingly, the sub-steps of step S102 above may include S1021~S1022.
[0140] S1021. Based on the optimal solution interval and minimum step size of the primary standard weighting coefficient, perform multiple rounds of secondary link training on the transmitting device to obtain the training results of each round of secondary link training.
[0141] In this embodiment, during multiple rounds of training for the secondary link, the primary index weighting coefficient can be decreased sequentially from the upper limit of the optimal solution interval to the lower limit; alternatively, during multiple rounds of training for the primary link, the primary index weighting coefficient can be increased sequentially from the lower limit of the optimal solution interval to the upper limit. The training results can also characterize the filtering performance of the transmit equalizer.
[0142] Taking the example of the primary index weighting coefficients gradually decreasing from the upper limit of the optimal solution interval with the minimum step size, please refer to [link to example]. Figure 6 The sub-steps of step S1021 above may include S10211~S10217:
[0143] S10211. Send a secondary reset command to the transmitting device so that the transmitting device sets the primary index weighting coefficient to the upper limit of the optimal solution interval based on the secondary reset command and adjusts the pre-index weighting coefficient and post-index weighting coefficient to the values corresponding to the upper limit.
[0144] S10212, Receive the training frame sent by the transmitting device after configuring the filter coefficients;
[0145] In this embodiment, the control information of the training frame also carries the magnitude of each filter coefficient of the adjusted transmit equalizer. The receiving device receiving a training frame signifies the completion of the current round of secondary link training.
[0146] S10213. Determine whether the weighted coefficient of the primary index is equal to the lower limit of the optimal solution interval.
[0147] In this embodiment, based on the received training frames, if it is determined that the primary index weighting coefficient is not equal to the lower limit of the optimal solution interval, then after executing step S10214, the process returns to executing the above step S10212 until the primary index weighting coefficient equals the lower limit of the optimal solution interval, then the process S10215 is executed. Alternatively, based on the received training frames, if it is determined that the primary index weighting coefficient equals the lower limit of the optimal solution interval, then the process S10215 is executed directly.
[0148] S10214. Based on the training frames, the second primary standard adjustment strategy, and the second set adjustment strategy, determine the values of multiple filter coefficients in the next round of secondary link training.
[0149] In this embodiment, the second primary index adjustment strategy may be: the primary index weighting coefficient is reduced by the minimum step size in each round of secondary link training, and the second setting adjustment strategy may be used to determine the change of the primary index weighting coefficient and / or the change of the secondary index weighting coefficient in the next round of secondary link training.
[0150] Optionally, the second setting adjustment strategy can be: reducing the pre-weighted coefficient or the post-weighted coefficient by the minimum step size, that is, the pre-weighted coefficient and the post-weighted coefficient are alternately reduced during multiple rounds of secondary link training.
[0151] Therefore, after completing the (n-1)th round of secondary link training, the receiving device reduces both the primary index weighting coefficient and a postscript weighting coefficient by the minimum step size based on the training frames of the (n-1)th round and then performs the nth round of primary link training. After completing the nth round of secondary link training, the receiving device continues to perform the (n+1)th round of primary link training by reducing both the primary index weighting coefficient and a postscript weighting coefficient by the minimum step size based on the training frames of the nth round.
[0152] S10215. Based on the values of multiple filter coefficients in the next round of secondary link training, a second adjustment instruction is sent to the transmitting device so that the transmitting device can configure the filter coefficients based on the second adjustment instruction.
[0153] In this embodiment, the transmitting device executes the second adjustment instruction, which configures the magnitude of each filter coefficient to the value of each filter coefficient carried in the second adjustment instruction.
[0154] S10216. Determine that multiple rounds of secondary link training have been completed, and obtain the training frames corresponding to each round of secondary link training.
[0155] S10217. Evaluate the signal quality of the training data in the training frames corresponding to each round of secondary link training, and obtain the training results of each round of secondary link training.
[0156] Optionally, the signal quality of the training frame corresponding to each round of secondary link training can be determined by the bit error rate of the training data in that training frame or the eye width and eye height of the signal eye diagram.
[0157] S1022. Based on the training results of each round of secondary link training, determine the optimal solution for multiple filter coefficients.
[0158] In this embodiment, after evaluating the signal quality of the training data in the training frames corresponding to each round of secondary link training, the target training frame with the best signal quality can be determined, and the magnitude of the multiple filter coefficients carried by the target training frame is the optimal solution for each filter coefficient.
[0159] For example, taking a 3-tap transmit equalizer as an example, 1 is considered as 128 parts (minimum step size). If the link training is performed based on the minimum step size using the existing technology, ideally 127 rounds of link training would be required to traverse all possible values of the primary index weighting coefficient. However, within the 500ms time limit, it is actually impossible to perform 127 rounds of link training to find the optimal solution, and only the suboptimal solution can be found.
[0160] The link training method provided by this invention sets the preset step size to... Please see Figure 7 The following four steps are required:
[0161] (1) Based on preset step size First, perform 8 rounds of primary link training;
[0162] (2) Evaluate the signal quality of the training data in the training frames corresponding to the 8 rounds of first-level link training, such as... Figure 8 As shown, the optimal solution interval for the primary index weighting coefficients can be determined as follows: Faith, that is ;
[0163] (3) Based on minimum step size In the optimal solution interval of the primary index weighted coefficients Based on this, 16 rounds of secondary link training are performed;
[0164] (4) Evaluate the signal quality of the training data in the training frames corresponding to the 16 rounds of secondary link training, such as... Figure 9 As shown, the optimal solution for the primary index weighting coefficients can be determined as follows: ,Right now .
[0165] from Figure 7As can be seen, the present invention only requires 25 rounds of link training to determine the optimal solution of the primary index weighting coefficient. Compared with the existing technology, which can only find the suboptimal solution, the link training method provided by the present invention can determine the optimal solution of the primary index weighting coefficient, achieve better link training results and effectively save link training time. This enables the transmit equalizer to have the best filtering effect to optimize link stability and effectively reduce the bit error rate.
[0166] It should be noted that the above examples are merely illustrative, and the actual size of the minimum step size and preset step size shall be determined according to the actual application situation, and is not limited in this invention. The execution order of each step in the above method embodiments is not limited to that shown in the accompanying drawings, and the execution order of each step shall be determined according to the actual application situation.
[0167] In order to perform the corresponding steps in the above method embodiments and various possible implementations, an implementation of a link training device is given below.
[0168] Please see Figure 10 , Figure 10 A schematic diagram of the link training device provided in an embodiment of the present invention is shown. The link training device 200 is applied to a receiving device, which is communicatively connected to a transmitting device. The transmitting device includes a transmit equalizer; the transmit equalizer includes multiple filter coefficients. The link training device 200 includes: a first-level training module 210, a second-level training module 220, and a transmit setting module 230.
[0169] The first-level training module 210 is used to perform multiple rounds of first-level link training on the transmitting device based on a preset step size, so as to obtain the optimal solution interval information of multiple filter coefficients.
[0170] The secondary training module 220 is used to perform multiple rounds of secondary link training on the transmitting device based on the optimal solution interval information and the minimum step size, so as to obtain the optimal solution of multiple filter coefficients;
[0171] The transmission setting module 230 is used to send setting instructions to the transmitting device so that the transmitting device sets multiple filter coefficients of the transmitting equalizer to the optimal solution based on the setting instructions; wherein, the transmitting equalizer is used to filter the signal to be transmitted to the receiving device based on the set multiple filter coefficients to eliminate inter-symbol interference of the signal to be transmitted.
[0172] Those skilled in the art will clearly understand that the first-level training module 210 can be used to implement step S101 and its sub-steps, and the second-level training module 220 can be used to implement step S102 and its sub-steps. For the sake of convenience and brevity, the specific working process of the link training device 200 described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0173] Please see Figure 11 , Figure 11 This is a schematic diagram of a receiving device according to an embodiment of the present invention. The receiving device 300 includes a processor 310, a memory 320, and a bus 330, with the processor 310 connected to the memory 320 via the bus 330.
[0174] The memory 320 can be used to store software programs, such as the software program corresponding to the link training apparatus 200 provided in the embodiments of the present invention. The processor 310 executes various functional applications and data processing by running the software program stored in the memory 320 to implement the link training method provided in the embodiments of the present invention.
[0175] The memory 320 may be, but is not limited to, random access memory (RAM), read-only memory (ROM), flash memory, programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc.
[0176] The processor 310 can be an integrated circuit chip with signal processing capabilities. The processor 310 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0177] Understandable. Figure 11 The structure shown is for illustrative purposes only; the receiving device 300 may also include components that are more advanced than those shown. Figure 11 The more or fewer components shown, or having the same Figure 11 The different configurations shown. Figure 11The components shown can be implemented using hardware, software, or a combination thereof.
[0178] This invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the link training method disclosed in the above embodiments. The computer-readable storage medium can be, but is not limited to, various media capable of storing program code, such as a USB flash drive, portable hard drive, ROM, RAM, PROM, EPROM, EEPROM, FLASH disk, or optical disk.
[0179] In summary, this invention provides a link training method, apparatus, receiving device, and computer-readable storage medium. The receiving device first performs multiple rounds of first-level link training on the transmitting device based on a preset step size to obtain optimal solution interval information for multiple filter coefficients of the transmit equalizer. Then, based on the optimal solution interval information and a minimum step size, it performs multiple rounds of second-level link training on the transmitting device to obtain optimal solutions for multiple filter coefficients. Finally, a setting command is used to instruct the transmitting device to set all multiple filter coefficients of the transmit equalizer to their optimal solutions. Thus, after the receiving device performs multiple rounds of first-level link training on the transmitting device based on a preset step size to obtain optimal solution interval information, it then performs multiple rounds of second-level link training on the transmitting device based on a minimum step size to obtain optimal solutions for multiple filter coefficients. This ensures that the transmit equalizer filters the signal to be transmitted to the receiving device based on the set multiple filter coefficients, thereby better eliminating inter-symbol interference in the signal to be transmitted and ensuring the integrity of the signal sent to the receiving device.
[0180] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A link training method, characterized in that, The method is applied to a receiving device that is communicatively connected to a transmitting device, the transmitting device including a transmit equalizer; the transmit equalizer includes multiple filter coefficients, the multiple filter coefficients including a primary standard weighting coefficient; the method includes: Based on a preset step size, the transmitting device undergoes multiple rounds of first-level link training to obtain the optimal solution interval information of the multiple filter coefficients; during the multiple rounds of first-level link training, the primary index weighting coefficients are sequentially reduced by the preset step size starting from the maximum value; Based on the optimal solution interval information and the minimum step size, the transmitting device is trained in multiple rounds of secondary link training to obtain the optimal solution of the multiple filter coefficients; the optimal solution interval information includes the optimal solution interval of the primary index weighted coefficient; during the multiple rounds of secondary link training, the primary index weighted coefficient is reduced by the minimum step size from the upper limit of the optimal solution interval until the lower limit of the optimal solution interval. A setting command is sent to the transmitting device so that the transmitting device sets all the filter coefficients of the transmitting equalizer to the optimal solution based on the setting command; wherein, the transmitting equalizer is used to filter the signal to be transmitted to the receiving device based on the set multiple filter coefficients to eliminate inter-symbol interference of the signal to be transmitted.
2. The method according to claim 1, characterized in that, The step of performing multiple rounds of first-level link training on the transmitting device based on a preset step size to obtain the optimal solution interval information of the multiple filter coefficients includes: Based on the preset step size, the transmitting device is trained in multiple rounds of first-level link training to obtain the training results of each round of first-level link training; the training results characterize the filtering performance of the transmit equalizer. Based on the training results of each round of training of the first-level link, the optimal solution interval information is determined.
3. The method according to claim 1, characterized in that, The step of performing multiple rounds of secondary link training on the transmitting device based on the optimal solution interval information and the minimum step size to obtain the optimal solution of the multiple filter coefficients includes: Based on the optimal solution interval of the primary index weighting coefficient and the minimum step size, the transmitting device is trained in multiple rounds of secondary link training to obtain the training results of each round of secondary link training. Based on the training results of each round of training of the secondary link, the optimal solution of the multiple filter coefficients is determined.
4. The method according to claim 2, characterized in that, The plurality of filter coefficients further includes at least one pre-index weighting coefficient and at least one post-index weighting coefficient; the step of performing multiple rounds of primary link training on the transmitting device based on the preset step size to obtain the training result of each round of primary link training includes: Send a first-level reset command to the transmitting device, so that the transmitting device sets the main index weighting coefficient to 1 and sets both the pre-index weighting coefficient and the post-index weighting coefficient to 0 based on the first-level reset command; The receiving device receives a training frame sent by the transmitting device after configuring the filter coefficients; the training frame carries the size of each filter coefficient of the transmit equalizer; the receiving device receiving one training frame represents the completion of the first-level link training for the current round; Determine whether the value of the primary index weighting coefficient modulo the preset step size is 0; If the value of the primary index weighting coefficient modulo the preset step size is not 0, then based on the training frame, the first primary index adjustment strategy, and the first set adjustment strategy, the values of the multiple filter coefficients in the next round of primary link training are determined; wherein, the first primary index adjustment strategy is to reduce the primary index weighting coefficient by the preset step size in each round of primary link training, and the first set adjustment strategy is used to determine the change in the pre-index weighting coefficient and / or the change in the post-index weighting coefficient in the next round of primary link training; Based on the values of the multiple filter coefficients in the next round of primary link training, a first adjustment instruction is sent to the transmitting device so that the transmitting device configures the filter coefficients based on the first adjustment instruction; Return to the step of receiving the training frame sent by the transmitting device after configuring the filter coefficients, until the value of the main index weighting coefficient modulo the preset step size is 0, and send a configuration instruction to the transmitting device based on the training frame and the first set adjustment strategy, so that the transmitting device sets the main index weighting coefficient to the minimum step size and adjusts the pre-index weighting coefficient and / or the post-index weighting coefficient based on the configuration instruction; Receive the training frame sent by the transmitting device after configuring the filter coefficients, and determine that the multi-round first-level link training is complete; Evaluate the signal quality of the training data in the training frames corresponding to each round of the first-level link training to obtain the training results of each round of the first-level link training.
5. The method according to claim 3, characterized in that, The plurality of filter coefficients also include at least one pre-index weighted coefficient and at least one post-index weighted coefficient; the optimal solution interval information also includes the magnitude of each of the pre-index weighted coefficients and each post-index weighted coefficients corresponding to the upper and lower limits of the optimal solution interval; The step of performing multiple rounds of secondary link training on the transmitting device based on the optimal solution interval of the primary index weighting coefficients and the minimum step size, and obtaining the training results of each round of secondary link training, includes: Send a secondary reset command to the transmitting device, so that the transmitting device sets the primary index weighting coefficient to the upper limit of the optimal solution interval based on the secondary reset command and adjusts the pre-index weighting coefficient and the post-index weighting coefficient to the values corresponding to the upper limit value; The receiving device receives a training frame sent by the transmitting device after configuring the filter coefficients; the training frame carries the size of each filter coefficient of the transmit equalizer; the receiving device receiving one training frame represents the completion of the current round of secondary link training. Determine whether the primary index weighting coefficient is equal to the lower limit of the optimal solution interval; If the primary index weighting coefficient is not equal to the lower limit of the optimal solution interval, then based on the training frame, the second primary index adjustment strategy, and the second set adjustment strategy, the values of the multiple filter coefficients in the next round of secondary link training are determined; wherein, the second primary index adjustment strategy is to reduce the minimum step size of the primary index weighting coefficient in each round of secondary link training, and the second set adjustment strategy is used to determine the change of the pre-index weighting coefficient and / or the change of the post-index weighting coefficient in the next round of secondary link training; A second adjustment command is sent to the transmitting device based on the values of the plurality of filter coefficients, so that the transmitting device configures the filter coefficients based on the second adjustment command; Return to the step of receiving the training frame sent by the transmitting device after configuring the filter coefficients, until the main index weighting coefficient is equal to the lower limit of the optimal solution interval, then determine that the multi-round secondary link training is completed, and obtain the training frame corresponding to each round of the secondary link training; Evaluate the signal quality of the training data in the training frames corresponding to each round of the secondary link training to obtain the training results of each round of the secondary link training.
6. The method according to claim 4, characterized in that, The primary index weighting coefficient is positive, while the prefix weighting coefficient and the postfix weighting coefficient are both non-positive; the sum of the absolute values of the primary index weighting coefficient, each of the prefix weighting coefficients, and each of the postfix weighting coefficients is 1. When the number of pre-index weighted coefficients and the number of post-index weighted coefficients are equal, the first set adjustment strategy is to reduce the average step size of all filter coefficients in the training frame except for the pre-index weighted coefficients; the average step size is the ratio of the change in the pre-index weighted coefficients to the number of other filter coefficients. Alternatively, the first adjustment strategy is to reduce the pre-weighted coefficient or post-weighted coefficient in the training frame by the preset step size; the pre-weighted coefficient and the post-weighted coefficient are reduced alternately during the multiple rounds of first-level link training.
7. The method according to claim 5, characterized in that, The primary index weighting coefficient is positive, while the prefix weighting coefficient and the postfix weighting coefficient are both non-positive; the sum of the absolute values of the primary index weighting coefficient, each of the prefix weighting coefficients, and each of the postfix weighting coefficients is 1. The second setting adjustment strategy is to reduce the minimum step size of the pre-index weighting coefficient or the post-index weighting coefficient; the pre-index weighting coefficient and the post-index weighting coefficient are alternately reduced during the multiple rounds of secondary link training.
8. A link training device, characterized in that, An apparatus for use in a receiving device, the receiving device being communicatively connected to a transmitting device, the transmitting device including a transmit equalizer; the transmit equalizer including multiple filter coefficients, the multiple filter coefficients including a primary standard weighting coefficient; the apparatus includes: The first-level training module is used to perform multiple rounds of first-level link training on the transmitting device based on a preset step size to obtain the optimal solution interval information of the multiple filter coefficients; during the multiple rounds of first-level link training, the main index weighting coefficients are successively reduced by the preset step size starting from the maximum value; The secondary training module is used to perform multiple rounds of secondary link training on the transmitting device based on the optimal solution interval information and the minimum step size to obtain the optimal solution of the multiple filter coefficients; the optimal solution interval information includes the optimal solution interval of the primary index weighted coefficients; during the multiple rounds of secondary link training, the primary index weighted coefficients are sequentially reduced by the minimum step size from the upper limit of the optimal solution interval until the lower limit of the optimal solution interval; The transmission setting module is used to send setting instructions to the transmitting device, so that the transmitting device sets multiple filter coefficients of the transmission equalizer to the optimal solution based on the setting instructions; wherein, the transmission equalizer is used to filter the signal to be transmitted to the receiving device based on the set multiple filter coefficients to eliminate inter-symbol interference of the signal to be transmitted.
9. A receiving device, characterized in that, include: A memory and a processor, wherein the memory stores a software program, and the processor executes the software program to implement the link training method as described in any one of claims 1-7 when the receiving device is running.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the link training method according to any one of claims 1-7.
Citation Information
Patent Citations
Signal transmission method and device and storage medium
CN115842588A
Method and apparatus for channel equalization
CN1675837A