Equalizer parameter determination method and device, electronic equipment and storage medium
By traversing the candidate CTLE coefficients, filtering and parameter estimation determine their corresponding eye height values, the problem of slow convergence of CTLE coefficient determination in the prior art is solved, and a more efficient CTLE coefficient determination process is achieved.
Patent Information
- Application Number
- CN202510333156.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-20
- Publication Date
- 2025-06-20
AI Technical Summary
In the prior art, the CTLE coefficient determination method based on eye diagram converges slowly, relies on other modules to converge, cannot work independently, and has low efficiency.
By traversing multiple groups of candidate CTLE coefficients, the judgment results of received data under each candidate CTLE coefficient are obtained, specific received data are filtered out, parameter estimation is performed, the eye height value corresponding to the candidate CTLE coefficient is determined, and the target CTLE coefficient is determined based on the maximum value of the eye height value.
This method can significantly shorten the convergence time determined by CTLE coefficient and improve efficiency. It does not need to obtain the eye diagram corresponding to the candidate CTLE coefficient, and directly determine the target CTLE coefficient through parameter estimation.
Smart Images

Figure CN120185973A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technologies, and particularly to a method, apparatus, electronic device, and storage medium for determining equalizer parameters. Background Art
[0002] A continuous-time linear equalizer (CTLE) is a technology used to compensate for losses that occur during signal transmission. In high-speed serial link design, signals attenuate during long-distance transmission or when passing through complex media, especially the loss of high-frequency components is more obvious. This phenomenon is called frequency-dependent loss. CTLE compensates for this loss by amplifying high-frequency components, thereby restoring the signal quality and enabling the receiving end to correctly decode information.
[0003] The receiving end usually designs multiple sets of CTLE coefficients to correspond to different channels. In the prior art, generally all CTLE coefficients are tried, and the optimal CTLE coefficient is determined according to the eye diagram corresponding to each CTLE coefficient. An eye diagram is a graphical representation method that superimposes the waveforms of all possible bit combinations in a digital communication system and displays them, enabling engineers to intuitively see signal integrity and potential problems, such as inter-symbol interference (ISI) and noise.
[0004] However, the method for determining CTLE coefficients based on the eye diagram has a slow convergence rate and depends on the convergence of other modules and cannot work independently, resulting in low efficiency. Summary of the Invention
[0005] The purpose of the present invention is to provide a method, apparatus, electronic device, and storage medium for determining equalizer parameters to shorten the time-consuming and improve the efficiency.
[0006] In a first aspect, the present invention provides a method for determining equalizer parameters, which is applied to a continuous-time linear equalizer; the method includes:
[0007] Traverse multiple sets of candidate CTLE coefficients;
[0008] Obtain the decision results corresponding to multiple received data under the currently traversed candidate CTLE coefficient; wherein, the decision result corresponding to the received data is obtained by performing equalization on the received data and its adjacent data through the currently traversed candidate CTLE coefficient and then performing a decision by a first decision device using a fixed threshold value. The decision result corresponding to the received data includes the first decision value of the received data and multiple second decision values before and after the first decision value;
[0009] Screen out the first received data, the second received data, and the third received data from multiple received data; among them, the judgment result corresponding to the first received data satisfies that both the first judgment value and the second judgment value are the preset maximum transmission data values, the judgment result corresponding to the second received data satisfies that the first judgment value is the preset minimum transmission data value, and the second judgment value is the maximum transmission data value, and the judgment result corresponding to the third received data satisfies that the absolute values of both the first judgment value and the second judgment value are the maximum transmission data values;
[0010] Determine the eye height value corresponding to the current candidate CTLE coefficient by performing parameter estimation on the first received data, the second received data, and the third received data; where the parameters include the channel main label value and the received data maximum value;
[0011] Determine the target CTLE coefficient according to the maximum value of the eye height values corresponding to each group of current candidate CTLE coefficients obtained.
[0012] In an alternative embodiment, determining the eye height value corresponding to the current candidate CTLE coefficient by performing parameter estimation on the first received data, the second received data, and the third received data includes:
[0013] Determine the channel main label value according to the first received data and the second received data;
[0014] Determine the received data maximum value according to the third received data, where the received data maximum value is used to represent the result of summing the product of the absolute value of the channel impulse response and the maximum transmission data value and then summing with the maximum channel noise;
[0015] Calculate the eye height value corresponding to the current candidate CTLE coefficient according to the channel main label value and the received data maximum value.
[0016] In an alternative embodiment, determining the channel main label value according to the first received data and the second received data includes:
[0017] Iteratively update the threshold value of the second discriminator according to the first output value obtained by the first received data being discriminated by the second discriminator to obtain the first threshold value; where when the first received data is greater than the current threshold value of the second discriminator, the first output value is 1; when the first received data is less than or equal to the current threshold value of the second discriminator, the first output value is -1;
[0018] Iteratively update the threshold value of the third discriminator according to the second output value obtained by the second received data being discriminated by the third discriminator to obtain the second threshold value; where when the second received data is greater than the current threshold value of the third discriminator, the second output value is 1; when the second received data is less than or equal to the current threshold value of the third discriminator, the second output value is -1;
[0019] Calculate the main channel value based on the first threshold value and the second threshold value.
[0020] In an alternative embodiment, determining the maximum received data according to the third received data includes:
[0021] Iteratively increase the threshold value of the fourth decision device according to the magnitude relationship between the third received data and the current threshold value of the fourth decision device to obtain the third threshold value; wherein, when the third received data is greater than the current threshold value of the fourth decision device, increase the current threshold value of the fourth decision device by a preset first value, and when the third received data is less than or equal to the current threshold value of the fourth decision device, do not update the current threshold value of the fourth decision device;
[0022] Determine the maximum received data as the third threshold value.
[0023] In an alternative embodiment, calculating the eye height value corresponding to the current candidate CTLE coefficient according to the main channel value and the maximum received data includes:
[0024] Substitute the main channel value and the maximum received data into the following formula to calculate the eye height value corresponding to the current candidate CTLE coefficient:
[0025] EH = 2h0v 0+ h0step - 2max(y);
[0026] Wherein, EH represents the eye height value, h0 represents the main channel value, v0 represents the maximum transmitted data value, step represents the preset step size of the transmitted data value, and max(y) represents the maximum received data.
[0027] In an alternative embodiment, determining the target CTLE coefficient according to the maximum value of the eye height values corresponding to the current obtained groups of candidate CTLE coefficients includes:
[0028] Determine whether the traversal is ended;
[0029] If the traversal is ended, determine the group of candidate CTLE coefficients with the largest eye height value as the target CTLE coefficient.
[0030] In an alternative embodiment, determining the target CTLE coefficient according to the maximum value of the eye height values corresponding to the current obtained groups of candidate CTLE coefficients includes:
[0031] Determine whether the preset stop traversal condition is currently satisfied; the stop traversal condition includes that the number of groups of candidate CTLE coefficients currently traversed is greater than a preset second value, and the eye height values corresponding to the latest obtained consecutive several groups of candidate CTLE coefficients are all less than the maximum value of the eye height values corresponding to the current obtained groups of candidate CTLE coefficients;
[0032] If the condition for stopping the traversal is satisfied, among the groups of candidate CTLE coefficients currently traversed, the group of candidate CTLE coefficients with the largest eye height value is determined as the target CTLE coefficient.
[0033] In a second aspect, the present invention provides an equalizer parameter determination device, which is applied to a continuous-time linear equalizer; the device includes:
[0034] A parameter traversal module for traversing multiple groups of candidate CTLE coefficients;
[0035] A data acquisition module for acquiring the decision results corresponding to multiple received data under the currently traversed candidate CTLE coefficients; wherein, the decision result corresponding to the received data is obtained by making a decision through a first decision device with a fixed threshold value after the received data and its adjacent data are equalized by the currently traversed candidate CTLE coefficients, and the decision result corresponding to the received data includes the first decision value of the received data and multiple second decision values before and after the first decision value;
[0036] A data screening module for screening out the first received data, the second received data, and the third received data from multiple received data; wherein, the decision result corresponding to the first received data satisfies that both the first decision value and the second decision value are the preset maximum transmitted data values, the decision result corresponding to the second received data satisfies that the first decision value is the preset minimum transmitted data value, and both the second decision values are the maximum transmitted data values, and the decision result corresponding to the third received data satisfies that the absolute values of both the first decision value and the second decision value are the maximum transmitted data values;
[0037] A first determination module for determining the eye height value corresponding to the currently traversed candidate CTLE coefficient by performing parameter estimation on the first received data, the second received data, and the third received data; wherein, the parameters include the channel main scale value and the received data maximum value;
[0038] A second determination module for determining the target CTLE coefficient according to the maximum value of the eye height values corresponding to each group of candidate CTLE coefficients currently obtained.
[0039] In a third aspect, the present invention provides an electronic device, including a memory and a processor. A computer program that can run on the processor is stored in the memory. When the processor executes the computer program, the equalizer parameter determination method in any one of the foregoing embodiments is implemented.
[0040] In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, the equalizer parameter determination method in any one of the foregoing embodiments is executed.
[0041] The equalizer parameter determination method, device, electronic device, and storage medium provided by the present invention are applied to a continuous-time linear equalizer. The method includes: traversing multiple groups of candidate CTLE coefficients; obtaining the decision results corresponding to multiple received data under the currently traversed candidate CTLE coefficient, where the decision result corresponding to the received data is obtained by first equalizing the received data and its adjacent data with the currently traversed candidate CTLE coefficient and then making a decision through a first decision device using a fixed threshold value. The decision result corresponding to the received data includes a first decision value corresponding to the received data and multiple second decision values before and after the first decision value; screening out a first received data, a second received data, and a third received data from the multiple received data, where the decision result corresponding to the first received data satisfies that both the first decision value and the second decision values are preset maximum transmitted data values, the decision result corresponding to the second received data satisfies that the first decision value is the preset minimum transmitted data value and the second decision values are all maximum transmitted data values, and the decision result corresponding to the third received data satisfies that the absolute values of both the first decision value and the second decision values are maximum transmitted data values; determining the eye height value corresponding to the currently candidate CTLE coefficient by performing parameter estimation on the first received data, the second received data, and the third received data, where the parameters include the channel main scale value and the received data maximum value; determining the target CTLE coefficient according to the maximum value of the eye height values corresponding to each group of candidate CTLE coefficients obtained currently. In this way, it is not necessary to obtain the eye diagram corresponding to the candidate CTLE coefficient, and the eye height value corresponding to the candidate CTLE coefficient is obtained through parameter estimation, so as to determine the target CTLE coefficient, greatly shortening the convergence time and improving the efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0043] Figure 1 It is a flowchart of an equalizer parameter determination method provided by an embodiment of the present invention;
[0044] Figure 2 It is a schematic diagram of an eye diagram corresponding to a CTLE coefficient provided by an embodiment of the present invention;
[0045] Figure 3 It is a schematic diagram of the structure of an equalizer parameter determination device provided by an embodiment of the present invention;
[0046] Figure 4 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Detailed Implementation Manner
[0047] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0048] When data passes through the channel, data of different frequencies will have different degrees of attenuation. At the receiving end, generally, CTLE is used to compensate for the channel. Multiple groups of CTLE coefficients will be designed at the receiving end to correspond to different channels. The prior art generally tries different CTLE coefficients and determines the best CTLE coefficient by eye diagram judgment. However, the method of eye diagram judgment converges very slowly and depends on the convergence of other modules and cannot work independently. Based on this, an equalizer parameter determination method, device, electronic device, and storage medium provided by the embodiments of the present invention use a parameter estimation method to determine the best CTLE coefficient. Compared with the traditional eye diagram method, the convergence time is greatly shortened. Moreover, the equalizer parameter determination method provided by the embodiments of the present invention can be used as a rough adjustment method to narrow the range of the best CTLE coefficient and further finely adjust the CTLE coefficient in combination with other methods.
[0049] For the convenience of understanding this embodiment, a method for determining equalizer parameters disclosed in the embodiments of the present invention will be introduced in detail first.
[0050] The embodiments of the present invention provide a method for determining equalizer parameters, and this method can be executed by an electronic device with data processing capabilities. Refer to Figure 1 the schematic flowchart of a method for determining equalizer parameters shown. This method is applied to a continuous-time linear equalizer CTLE; this method mainly includes the following steps S110 to S150:
[0051] Step S110, traverse multiple groups of candidate CTLE coefficients.
[0052] The above multiple groups of candidate CTLE coefficients can be given manually. The number of groups of candidate CTLE coefficients is not limited in this embodiment. For example, 16 groups of candidate CTLE coefficients can be given. The purpose of this embodiment is to select the best group of CTLE coefficients from multiple groups of candidate CTLE coefficients as the target CTLE coefficient; this target CTLE coefficient can also be combined with other methods to further determine the optimal CTLE coefficient.
[0053] Step S120: Obtain the decision results corresponding to multiple received data under the currently traversed candidate CTLE coefficient. Among them, the decision result corresponding to the received data is obtained by first equalizing the received data and its adjacent data with the currently traversed candidate CTLE coefficient, and then making a decision through a first decision device using a fixed threshold value. The decision result corresponding to the received data includes the first decision value corresponding to the received data and multiple second decision values before and after the first decision value.
[0054] The received data y(k) passes through the first decision device, and the output of the first decision device is s(k). The value range of s(k) is [-v0:step:v0], where [-v0:step:v0] represents a numerical sequence from -v0 to v0, with an increment or decrement of step each time, v0 represents the maximum transmitted data value, and step represents the step size. Assume that there are j second decision values before the first decision value and i second decision values after the first decision value. For the received data y(k), [s(k - j), …, s(k), …, s(k + i)] should be statistically used as a condition. However, values such as s(k + i) after s(k) need to be obtained at the time of the (k + i)-th symbol and cannot be obtained at the k-th symbol. For the sake of convenience, the delayed symbols [s(k - j - i), …, s(k - i), …, s(k)] are uniformly used instead. That is, the decision result corresponding to the received data y(k - i) is obtained at the k-th moment.
[0055] Step S130: Screen out the first received data, the second received data, and the third received data from the multiple received data. Among them, the decision result corresponding to the first received data satisfies that both the first decision value and the second decision value are the preset maximum transmitted data value; the decision result corresponding to the second received data satisfies that the first decision value is the preset minimum transmitted data value and the second decision values are all the maximum transmitted data value; the decision result corresponding to the third received data satisfies that the absolute values of both the first decision value and the second decision value are the maximum transmitted data value.
[0056] The maximum transmission data value refers to the maximum value of the transmitted data, and the minimum transmission data value refers to the minimum value of the transmitted data. If the value range of the transmitted data is [-v0:step:v0], then the maximum transmission data value is v0, and the minimum transmission data value is -v0. If the judgment result S = [s(k-j-i),…,s(k-i),…,s(k)] is [v0,…,v0,…,v0], then the received data corresponding to this judgment result is the first received data; if the judgment result S = [s(k-j-i),…,s(k-i),…,s(k)] is [v0,…,-v0,…,v0], then the received data corresponding to this judgment result is the second received data. If the judgment result abs(S) = abs([s(k-j-i),…,s(k-i),…,s(k)]) is [v0,…,v0,…,v0], then the received data corresponding to this judgment result is the third received data. The first received data, the second received data, and the third received data are all multiple.
[0057] Step S140, by performing parameter estimation on the first received data, the second received data, and the third received data, determine the eye height value corresponding to the current candidate CTLE coefficient; wherein, the parameters include the channel main scale value and the maximum received data value.
[0058] Eye height refers to the size of the blank area on the eye diagram along the vertical axis, which can reflect the noise margin of the signal on the transmission line. As Figure 2 shown, the eye height value is the distance value indicated by the dotted arrow.
[0059] In some possible embodiments, the above step S140 may include the following sub-steps 1 to sub-step 3:
[0060] Sub-step 1, determine the channel main scale value according to the first received data and the second received data.
[0061] In a possible implementation manner, a second discriminator and a third discriminator with continuously changing threshold values can be used to determine the channel main scale value. Specifically, the threshold value of the second discriminator can be iteratively updated according to the first output value obtained by judging the first received data by the second discriminator to obtain the first threshold value; wherein, when the first received data is greater than the current threshold value of the second discriminator, the first output value is 1; when the first received data is less than or equal to the current threshold value of the second discriminator, the first output value is -1; the threshold value of the third discriminator is iteratively updated according to the second output value obtained by judging the second received data by the third discriminator to obtain the second threshold value; wherein, when the second received data is greater than the current threshold value of the third discriminator, the second output value is 1; when the second received data is less than or equal to the current threshold value of the third discriminator, the second output value is -1; the channel main scale value is calculated according to the first threshold value and the second threshold value.
[0062] In specific implementation, the iterative update formula corresponding to the first threshold value can be Q a+1 = Q a + step1 × Q aup , where Q a+1 represents the updated first threshold value, Q a represents the current first threshold value, step1 represents the adjustment step corresponding to the first threshold value, and Q aup represents the first output value. The adjustment step can be a fixed value, such as 0.1; it can also be configured as a variable value related to the number of iterations. The adjustment step is negatively correlated with the number of iterations. For example, the initial value of step1 is 6.4, the number of iterations is cnt, and the maximum value of step1 is 0.1, then step1 = max(6.4 / (2 cnt ), 0.1).
[0063] Similarly, the iterative update formula corresponding to the second threshold value can be Q b+1 = Q b + step2 × Q bup , where Q b+1 represents the updated second threshold value, Q b represents the current second threshold value, step2 represents the adjustment step corresponding to the second threshold value, and Q bup represents the second output value. The setting method of the adjustment step corresponding to the second threshold value can refer to the corresponding content of the adjustment step corresponding to the first threshold value, which will not be elaborated here. It should be noted that the adjustment step corresponding to the second threshold value and the adjustment step corresponding to the first threshold value can be the same or different. Moreover, the present invention embodiment does not limit the acquisition order of the first threshold value and the second threshold value.
[0064] The above channel main label value can be calculated by the following formula: h0 = (Q a - Q b ) / 2 / v0, where Q a represents the first threshold value, Q b represents the second threshold value, and v0 represents the maximum transmitted data value.
[0065] Sub-step 2: Determine the received data maximum value according to the third received data. The received data maximum value is used to represent the result of summing the product of the absolute value of the channel impulse response and the maximum transmitted data value and then summing with the maximum channel noise.
[0066] In a possible implementation, a fourth discriminator with an increasing threshold value can be used to obtain the maximum value of the received data. Specifically, the threshold value of the fourth discriminator can be iteratively increased according to the magnitude relationship between the third received data and the current threshold value of the fourth discriminator to obtain the third threshold value. Among them, when the third received data is greater than the current threshold value of the fourth discriminator, the current threshold value of the fourth discriminator is increased by a preset first value; when the third received data is less than or equal to the current threshold value of the fourth discriminator, the current threshold value of the fourth discriminator is not updated; the third threshold value is determined as the maximum value of the received data.
[0067] Specifically, the iterative update formula corresponding to the third threshold value can be: Q c+1 = Q c + step3, where Q c+1 represents the updated third threshold value, Q c represents the current third threshold value, step3 is a fixed first value, and the first value can be set according to actual needs and is not limited here. For example, the first value is 0.1.
[0068] Sub-step 3: Calculate the eye height value corresponding to the current candidate CTLE coefficient according to the channel main value and the maximum value of the received data.
[0069] In a possible implementation, the channel main value and the maximum value of the received data can be substituted into the following formula to calculate the eye height value corresponding to the current candidate CTLE coefficient:
[0070] EH = 2h0v0 + h0step - 2max(y);
[0071] Among them, EH represents the eye height value, h0 represents the channel main value, v0 represents the maximum transmitted data value, step represents the preset step size of the transmitted data value, and max(y) represents the maximum value of the received data.
[0072] Step S150: Determine the target CTLE coefficient according to the maximum value of the eye height values corresponding to each group of candidate CTLE coefficients obtained currently.
[0073] This embodiment provides two ways to determine the target CTLE coefficient, which are as follows:
[0074] Method 1: Determine whether the traversal is completed; if the traversal is not completed, continue to traverse the candidate CTLE coefficients and re-execute the above step S120; if the traversal is completed, determine the group of candidate CTLE coefficients with the largest eye height value as the target CTLE coefficient. This method can ensure obtaining the best CTLE coefficient.
[0075] Method 2: Determine whether the preset stop traversal condition is currently met; the stop traversal condition includes that the number of groups of candidate CTLE coefficients currently traversed is greater than a preset second value, and the eye height values corresponding to the latest obtained consecutive several groups of candidate CTLE coefficients are all smaller than the maximum value among the eye height values corresponding to each group of candidate CTLE coefficients obtained currently; if the stop traversal condition is not met, continue to traverse the candidate CTLE coefficients, and re - execute the above step S120; if the stop traversal condition is met, determine the group of candidate CTLE coefficients with the largest eye height value among each group of candidate CTLE coefficients currently traversed as the target CTLE coefficient. Among them, the second value can be set according to actual needs and is not limited here. For example, the second value is 10. This method can further shorten the convergence time.
[0076] The equalizer parameter determination method provided by the embodiments of the present invention does not need to obtain the eye diagram corresponding to the candidate CTLE coefficients, obtains the eye height value corresponding to the candidate CTLE coefficients through parameter estimation, and thus determines the target CTLE coefficient, greatly shortening the convergence time and improving the efficiency.
[0077] For the sake of easy understanding, the theoretical principle of the above - mentioned equalizer parameter determination method is introduced below.
[0078] For a high - speed wired channel, denote the impulse response of the channel as H = [h -p ,…,h -1 ,h0,h1,…,h q , where h0 is the main symbol, the transmitted data X = [x(k - q),…,x(k),…,x(k + p)], after passing through the channel H, the channel noise is denoted as n(k), and the received data is y(k), and there is the following expression:
[0079]
[0080] Draw an eye diagram for the received data y(k). Taking the eye diagram of NRZ (Non - Return - to - Zero) as an example, at this time, x(k) takes values of ±1. When the mid - point of the eye is used as the ideal decision threshold, if it is higher than the threshold, it is judged as 1, otherwise it is judged as - 1. Therefore, the expressions of the two highest and lowest points of the eye are min(y(k)|x(k)=1) and max(y(k)|x(k)= - 1) respectively, and the eye height is:
[0081] EH = min(y(k)|x(k)=1)-max(y(k)|x(k)= - 1). Among them, NRZ coding is a common digital signal coding method. It uses two different voltage levels to represent 0 and 1 in binary data, and during the transmission of one bit, the signal does not return to the zero level.
[0082] When NRZ is extended to any format, assume that the value range of x is sorted from small to large as [-v0:step:v0], where step is the step size and v0 is the maximum value, which is related to the modulation format.
[0083] For any one eye, assume that the value of x(k) is v1 or v1-step, where -v0 < v1 <= v0. Take the midpoint of the eye as the ideal decision threshold. If it is higher than the threshold, it is judged as v1; otherwise, it is judged as v1-step. Therefore, the expressions for the two highest and lowest points of the eye are min(y(k)|x(k)=v1) and max(y(k)|x(k)=v1-step) respectively, and the maximum eye height is:
[0084] EH = min(y(k)|x(k)=v1) - max(y(k)|x(k)=v1-step).
[0085] Substitute the expression of y(k) as:
[0086]
[0087] When a group of CTLE coefficients is selected, if the CTLE can compensate for the attenuation caused by the channel, the eye diagram of the received data will be improved and the EH value will increase. Therefore, the method of selecting the optimal CTLE coefficients by the eye diagram quality can be transformed into quickly determining the optimal CTLE coefficients by comparing the EH values.
[0088] The calculation of the EH value can be divided into two steps: calculating h0 and calculating sum(abs(H))v0 + max(n(k)).
[0089] First, calculate the value of h0:
[0090] When X = [v0,..., v0,..., v0],
[0091] When X = [v0,..., -v0,..., v0],
[0092] The reason for choosing the decision value v0 as the condition is that under the same noise amplitude, the larger the amplitude of x(k), the smaller the influence of noise on y(k).
[0093] After statistically analyzing a section of data, calculate the mean values of all y(a) and y(b), and we can get:
[0094]
[0095] Since noise generally conforms to a Gaussian random process, E(n(a)) = E(n(b)), so:
[0096] E(y(a)) - E(y(b)) = 2 * h0 * v0;
[0097] Therefore:
[0098] h0 = (E(y(a)) - E(y(b))) / 2 / v0;
[0099] The second step is to calculate the value of sum(abs(H))v0 + max(n(k)). After observation, it can be seen that it is similar to the expression of max(y(k)), and it can be calculated by the method of max(y(k)):
[0100] When abs(X) = [v0,..., v0,..., v0],
[0101]
[0102] Therefore, it can be obtained that sum(abs(H))v0 + max(n(k)) ≈ max(y(c)).
[0103] Next, taking Method 1 for determining the target CTLE coefficient as an example, the process of the above method for determining the equalizer parameters will be introduced in detail:
[0104] 1. Select the d-th group of CTLE coefficients and enable CTLE. d is initially 0. The received data y(k) passes through the Decision Maker 1 (i.e., the above-mentioned first decision maker). The output of the Decision Maker 1 is s(k), and the value range of s(k) is [-v0:step:v0]. Originally, [s(k - j),..., s(k),..., s(k + i)] should be statistically counted as a condition. However, values such as s(k + i) after s(k) need to be obtained at the time of the (k + i)-th symbol and cannot be obtained at the k-th symbol. For the sake of convenience, the delayed symbols [s(k - j - i),..., s(k - i),..., s(k)] are uniformly used instead.
[0105] 2. When the decision result S = [s(k - j - i),..., s(k - i),..., s(k)] output by the Decision Maker 1 is [v0,..., v0,..., v0];
[0106] 2.1 Pass the received data y(k - i) through the Decision Maker 2 (i.e., the above-mentioned second decision maker). The threshold Q of the Decision Maker 2 a is a variable value, initially 0. When y(k - i) > Q a the output Q aup is 1, otherwise the output Q aup is -1;
[0107] 2.2 Adjust the threshold Q of the Decision Maker 2 according to Q aup : a
[0108] Q a+1 = Q a + step1 × Q aup ;
[0109] Among them, step1 represents the adjustment step size, which can be configured as a fixed value, such as 0.1, or can be configured as a variable value related to the number of running times (i.e., the number of iterations). For example, the initial value of step1 is 6.4, the number of running times is cnt, and the maximum value of step1 is 0.1. Then:
[0110] step1 = max(6.4 / (2 cnt ), 0.1).
[0111] 3. When the decision result S = [s(k - j - i), …, s(k - i), …, s(k)] output by the decision maker 1 is [v0, …, -v0, …, v0];
[0112] 3.1 Pass the received data y(k - i) through the decision maker 3 (i.e., the above-mentioned third decision maker). The threshold Q of the decision maker 3 b is a variable value, initially 0. When y(k - i) > Q b outputs Q bup as 1, otherwise outputs Q bup as -1;
[0113] 3.2 Adjust the threshold Q of the decision maker 3 according to Q bup , and the value of step2 is the same as the calculation process in step 2.2; b Q
[0114] Q b+1 = Q b + step2 × Q bup .
[0115] 4. If the absolute value of the decision result abs(S) = abs([s(k - j - i), …, s(k - i), …, s(k)]) output by the decision maker 1 is [v0, …, v0, …, v0], pass the received data y(k - i) through the decision maker 4 (i.e., the above-mentioned fourth decision maker). The threshold Q of the decision maker 4 c is a variable value, initially 0. When y(k - i) > Q c increase the threshold Q of the decision maker 4 c , step3 is a fixed value, such as 0.1;
[0116] Q c+1 = Q c + step3.
[0117] 5. After counting for a period of time, calculate the EH value, from:
[0118] h0 = (Q a - Q b ) / 2 / v0;
[0119] sum(abs(H))v0 + max(n(k)) = Q c ;
[0120] Substitute to obtain the EH value corresponding to the CTLE coefficients of the d-th group:
[0121] EH(d) = (2 * v0 + step) * (Q a - Q b ) / 2 / v0 - 2 * Qc.
[0122] 6. Switch to the CTLE coefficients of the d + 1-th group and repeat steps 1 - 5 to calculate EH(d + 1) until all CTLE coefficients are traversed.
[0123] 7. Obtain [EH(0), …, EH(d)], and take the CTLE coefficients corresponding to the maximum value as the optimal CTLE coefficients.
[0124] Corresponding to the above method for determining equalizer parameters, an embodiment of the present invention further provides an equalizer parameter determination device, which is applied to a continuous-time linear equalizer. Refer to Figure 3 the structural schematic diagram of an equalizer parameter determination device shown, the device includes:
[0125] A parameter traversal module 301 for traversing multiple groups of candidate CTLE coefficients;
[0126] A data acquisition module 302 for acquiring the decision results corresponding to multiple received data under the currently traversed candidate CTLE coefficients; wherein, the decision result corresponding to the received data is obtained by making a decision through a first decision device with a fixed threshold value after the received data and its adjacent data are equalized by the currently traversed candidate CTLE coefficients, and the decision result corresponding to the received data includes the first decision value of the received data and multiple second decision values before and after the first decision value;
[0127] A data screening module 303 for screening out the first received data, the second received data, and the third received data from multiple received data; wherein, the decision result corresponding to the first received data satisfies that both the first decision value and the second decision value are the preset maximum transmitted data value, the decision result corresponding to the second received data satisfies that the first decision value is the preset minimum transmitted data value, and both the second decision values are the maximum transmitted data value, and the decision result corresponding to the third received data satisfies that the absolute values of both the first decision value and the second decision value are the maximum transmitted data value;
[0128] The first determination module 304 is configured to determine the eye height value corresponding to the current candidate CTLE coefficient by performing parameter estimation on the first received data, the second received data, and the third received data; wherein the parameters include the channel main label value and the maximum value of the received data.
[0129] The second determination module 305 is configured to determine the target CTLE coefficient according to the maximum value of the eye height values corresponding to each group of candidate CTLE coefficients obtained currently.
[0130] The equalizer parameter determination device provided by the embodiment of the present invention does not need to obtain the eye diagram corresponding to the candidate CTLE coefficient, and obtains the eye height value corresponding to the candidate CTLE coefficient through parameter estimation, so as to determine the target CTLE coefficient, greatly shortening the convergence time and improving the efficiency.
[0131] Further, the first determination module 304 is specifically configured to: determine the channel main label value according to the first received data and the second received data; determine the maximum value of the received data according to the third received data, where the maximum value of the received data is used to represent the result of summing the product of the absolute value of the channel impulse response and the maximum transmitted data value and then summing with the maximum channel noise; calculate the eye height value corresponding to the current candidate CTLE coefficient according to the channel main label value and the maximum value of the received data.
[0132] Further, the first determination module 304 is further configured to: iteratively update the threshold value of the second decision device according to the first output value obtained by the first received data being judged by the second decision device to obtain the first threshold value; wherein, when the first received data is greater than the current threshold value of the second decision device, the first output value is 1; when the first received data is less than or equal to the current threshold value of the second decision device, the first output value is -1; iteratively update the threshold value of the third decision device according to the second output value obtained by the second received data being judged by the third decision device to obtain the second threshold value; wherein, when the second received data is greater than the current threshold value of the third decision device, the second output value is 1; when the second received data is less than or equal to the current threshold value of the third decision device, the second output value is -1; calculate the channel main label value according to the first threshold value and the second threshold value.
[0133] Further, the first determination module 304 is further configured to: iteratively increase the threshold value of the fourth decision device according to the magnitude relationship between the third received data and the current threshold value of the fourth decision device to obtain the third threshold value; wherein, when the third received data is greater than the current threshold value of the fourth decision device, increase the current threshold value of the fourth decision device by a preset first value, and when the third received data is less than or equal to the current threshold value of the fourth decision device, do not update the current threshold value of the fourth decision device; determine the third threshold value as the maximum value of the received data.
[0134] Further, the first determination module 304 is further configured to: substitute the channel main label value and the maximum received data value into the following formula to calculate the eye height value corresponding to the current candidate CTLE coefficient:
[0135] EH = 2h0v0 + h0step - 2mx(y);
[0136] where, EH represents the eye height value, h0 represents the channel main label value, v0 represents the maximum transmitted data value, step represents the preset step size of the transmitted data value, and max(y) represents the maximum received data value.
[0137] Further, in some possible embodiments, the second determination module 305 is specifically configured to: determine whether the traversal is ended; if the traversal is ended, determine the group of candidate CTLE coefficients with the largest eye height value as the target CTLE coefficient.
[0138] Further, in some other possible embodiments, the second determination module 305 is specifically configured to: determine whether the preset traversal stop condition is currently satisfied; the traversal stop condition includes that the number of groups of candidate CTLE coefficients currently traversed is greater than a preset second value, and the eye height values corresponding to the latest obtained consecutive several groups of candidate CTLE coefficients are all smaller than the maximum value of the eye height values corresponding to each group of candidate CTLE coefficients currently obtained; if the traversal stop condition is satisfied, determine the group of candidate CTLE coefficients with the largest eye height value among the groups of candidate CTLE coefficients currently traversed as the target CTLE coefficient.
[0139] The equalizer parameter determination device provided in this embodiment has the same implementation principle and the same technical effects as the foregoing equalizer parameter determination method embodiment. For the sake of brief description, for the parts not mentioned in the equalizer parameter determination device embodiment, reference may be made to the corresponding content in the foregoing equalizer parameter determination method embodiment.
[0140] As Figure 4 shown, an electronic device 400 provided in an embodiment of the present invention includes: a processor 401, a memory 402, and a bus. The memory 402 stores a computer program that can run on the processor 401. When the electronic device 400 runs, communication is carried out between the processor 401 and the memory 402 through the bus, and the processor 401 executes the computer program to implement the foregoing equalizer parameter determination method.
[0141] Specifically, the foregoing memory 402 and processor 401 can be general memories and processors, and no specific limitation is made here.
[0142] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, it executes the equalizer parameter determination method in the foregoing method embodiment. The computer-readable storage medium includes various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM for short), RAMs, magnetic disks, or optical discs.
[0143] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" in this article means any one of multiple or any combination of at least two of multiple. For example, including at least one of A, B, and C can represent selecting any one or more elements from the set composed of A, B, and C.
[0144] In all the examples shown and described here, any specific value should be construed as merely exemplary and not as a limitation. Therefore, other examples of the exemplary embodiments can have different values.
[0145] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of devices, methods, and computer program products according to multiple embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and the module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
[0146] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of modules is only a logical function division. In actual implementation, there may be other division methods. For another example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some communication interfaces. The indirect coupling or communication connection of devices or modules can be in electrical, mechanical or other forms.
[0147] The modules described as separate components may or may not be physically separated. The components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0148] In addition, in each embodiment of the present invention, the functional modules can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module.
[0149] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for determining equalizer parameters, characterized in that: Applied to a continuous time linear equalizer; the method comprises: Traverse multiple sets of candidate CTLE coefficients; Obtaining decision results corresponding to multiple received data under the traversed current candidate CTLE coefficient; wherein the decision result corresponding to the received data is obtained by equalizing the received data and its adjacent data through the current candidate CTLE coefficient and then judging by a first judgement device using a fixed threshold value, and the decision result corresponding to the received data includes a first decision value of the received data and multiple second decision values before and after the first decision value; Filter out first received data, second received data and third received data from the plurality of received data; wherein the judgment result corresponding to the first received data satisfies that the first judgment value and the second judgment value are both preset maximum sent data values, the judgment result corresponding to the second received data satisfies that the first judgment value is a preset minimum sent data value, and the second judgment values are both the maximum sent data value, and the judgment result corresponding to the third received data satisfies that the absolute value of the first judgment value and the absolute value of the second judgment value are both the maximum sent data value; Determine the eye height value corresponding to the current candidate CTLE coefficient by performing parameter estimation on the first received data, the second received data and the third received data; wherein the parameters include a channel main mark value and a maximum value of received data; The target CTLE coefficient is determined according to the maximum value of the eye height values corresponding to each group of candidate CTLE coefficients currently obtained.
2. The method according to claim 1, characterized in that: The determining the eye height value corresponding to the current candidate CTLE coefficient by performing parameter estimation on the first received data, the second received data, and the third received data includes: Determine a channel primary mark value according to the first received data and the second received data; Determine a maximum value of received data according to the third received data, where the maximum value of received data is used to represent a result of summing a product of an absolute value of a channel impulse response and a maximum transmitted data value and then summing the product with a maximum channel noise; The eye height value corresponding to the current candidate CTLE coefficient is calculated according to the channel main mark value and the received data maximum value.
3. The method according to claim 2, characterized in that The determining the channel main mark value according to the first received data and the second received data includes: Iteratively updating the threshold value of the second decision device according to the first output value obtained by the second decision device after the first received data is determined to obtain a first threshold value; wherein, when the first received data is greater than the current threshold value of the second decision device, the first output value is 1; when the first received data is less than or equal to the current threshold value of the second decision device, the first output value is -1; Iteratively updating the threshold value of the third decision device according to the second output value obtained by the third decision device after the second received data is judged, so as to obtain a second threshold value; wherein, when the second received data is greater than the current threshold value of the third decision device, the second output value is 1; and when the second received data is less than or equal to the current threshold value of the third decision device, the second output value is -1; The channel main mark value is calculated according to the first threshold value and the second threshold value.
4. The method according to claim 2, characterized in that: The step of determining a maximum value of received data according to the third received data comprises: According to the size relationship between the third received data and the current threshold value of the fourth determiner, the threshold value of the fourth determiner is iteratively increased to obtain a third threshold value; wherein, when the third received data is greater than the current threshold value of the fourth determiner, the current threshold value of the fourth determiner is increased by a preset first value, and when the third received data is less than or equal to the current threshold value of the fourth determiner, the current threshold value of the fourth determiner is not updated; The third threshold value is determined as the maximum value of the received data.
5. The method according to claim 2, characterized in that: The calculating, according to the channel main mark value and the maximum value of the received data, an eye height value corresponding to the current candidate CTLE coefficient includes: Substitute the channel main mark value and the maximum value of the received data into the following formula to calculate the eye height value corresponding to the current candidate CTLE coefficient: EH=2h0v0+h0step-2max(y); Among them, EH represents the eye height value, h0 represents the channel main mark value, v0 represents the maximum transmission data value, step represents the preset step size of the transmission data value, and max(y) represents the maximum value of the received data.
6. The method according to claim 1, characterized in that Determining the target CTLE coefficient according to the maximum value of the eye height value corresponding to each group of candidate CTLE coefficients currently obtained includes: Determine whether the traversal is completed; If the traversal is completed, a group of the candidate CTLE coefficients with the largest eye height value is determined as the target CTLE coefficients.
7. The method according to claim 1, characterized in that Determining the target CTLE coefficient according to the maximum value of the eye height value corresponding to each group of candidate CTLE coefficients currently obtained includes: Determine whether a preset stop traversal condition is currently met; the stop traversal condition includes that the number of groups of the candidate CTLE coefficients currently traversed is greater than a preset second value, and the eye height values corresponding to the latest consecutive groups of the candidate CTLE coefficients are all less than the maximum value of the eye height values corresponding to the currently obtained groups of the candidate CTLE coefficients; If the traversal stop condition is met, a group of candidate CTLE coefficients with the largest eye height value among the currently traversed groups of candidate CTLE coefficients is determined as the target CTLE coefficient.
8. An equalizer parameter determination device, characterized in that: Applicable to a continuous time linear equalizer; the device comprises: Parameter traversal module, used to traverse multiple sets of candidate CTLE coefficients; A data acquisition module, used to obtain the decision results corresponding to multiple received data under the traversed current candidate CTLE coefficient; wherein the decision result corresponding to the received data is obtained by the received data and its adjacent data being equalized by the current candidate CTLE coefficient and then being decided by a first decision device using a fixed threshold value, and the decision result corresponding to the received data includes a first decision value of the received data and multiple second decision values before and after the first decision value; A data screening module, configured to screen out first received data, second received data and third received data from the plurality of received data; wherein the judgment result corresponding to the first received data satisfies that the first judgment value and the second judgment value are both preset maximum sent data values, the judgment result corresponding to the second received data satisfies that the first judgment value is a preset minimum sent data value, and the second judgment values are both the maximum sent data value, and the judgment result corresponding to the third received data satisfies that the absolute value of the first judgment value and the absolute value of the second judgment value are both the maximum sent data value; A first determination module is used to determine the eye height value corresponding to the current candidate CTLE coefficient by performing parameter estimation on the first received data, the second received data and the third received data; wherein the parameters include a channel main mark value and a maximum value of received data; The second determination module is used to determine the target CTLE coefficient according to the maximum value of the eye height values corresponding to each group of candidate CTLE coefficients currently obtained.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the equalizer parameter determination method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the equalizer parameter determination method according to any one of claims 1 to 7 is executed.