Method, apparatus, electronic device, and medium for determining transmitter equalization parameter values

By generating and modulating waveforms to determine the target filter coefficients, the inefficiency problem of test caused by multiple verifications in the prior art is solved, and the effect of simplifying the test process and improving the test efficiency is achieved.

CN114384294BActive Publication Date: 2025-06-17SUMA TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111668091.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2025-06-17
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

The value adjustment method in the prior art requires multiple verifications, resulting in complex test traffic, repeated verification takes up a lot of test time, and low testing efficiency.

Method used

By obtaining the waveform file, generating the original waveform, determining the filter coefficients, generating multiple sets of alternative filter coefficients, modulating the original waveform based on these coefficients, determining the target alternative filter coefficients based on the eye diagram of the modulated waveform, and then determining the transmitter equalization parameter value.

Benefits of technology

Repeated verification steps are avoided, the testing process is simplified, the testing time is shortened, and the testing efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114384294B_ABST
    Figure CN114384294B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention discloses a method, apparatus, electronic device and medium for determining a transmission - end equalization parameter value. The method includes obtaining a waveform file, generating an original waveform according to signal values included in the waveform file; determining filter coefficients according to the original waveform, and generating multiple groups of alternative filter coefficients according to the filter coefficients; modulating the original waveform based on each group of the alternative filter coefficients, determining a target alternative filter coefficient from the alternative filter coefficients according to an eye diagram of the modulated waveform, and determining a transmission - end equalization parameter value according to the target alternative filter coefficient. Through the embodiment of the present invention, it is possible to avoid the problem of low test efficiency caused by occupying a large amount of test time due to multiple executions of verification, and simplify the test process; by shortening the value - adjustment time of the transmission - end equalization parameter value, the effect of shortening the test time is achieved, and the test efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to signal testing technologies, and in particular, to a method, device, electronic device, and medium for determining the equalization parameter value of a transmitting end. Background Art

[0002] The eye diagram is a fast and intuitive display form of the digital signal quality, and is often used in the occasions of testing and verifying serial digital signals or high-speed data signals.

[0003] In the related art, the verification method usually includes building a test environment first, then obtaining the waveform file to be tested by using an oscilloscope, analyzing the waveform file to be tested through SigTest, and finally, the test engineer completes the test report based on the analysis result of SigTest. For the case where the test fails, the test engineer needs to adjust the equalization parameter value of the high-speed signal transmitting end.

[0004] Currently, the commonly used value adjustment methods include modifying the Tx Preset option by using a register value adjustment tool to adjust the equalization parameter of the transmitting end, and then, restarting the device under test to execute the verification again, and determining the optimal equalization parameter of the transmitting end based on the verification result. Or, directly modify the register value through software such as Cscripts to enable re-executing the verification without restarting the device under test, and determining the optimal equalization parameter of the transmitting end based on the verification result.

[0005] The inventors found in the process of implementing the present invention that the value adjustment methods in the related art all require multiple verifications to determine the optimal equalization parameter of the transmitting end, and there are problems of complex test traffic, a large amount of test time occupied by repeated verification, and low test efficiency. Summary of the Invention

[0006] The embodiments of the present invention provide a method, device, electronic device, and medium for determining the equalization parameter value of a transmitting end, which can avoid repeated verification steps, simplify the test process, shorten the test time, and improve the test efficiency.

[0007] In a first aspect, the embodiments of the present invention provide a method for determining the equalization parameter value of a transmitting end, including:

[0008] Obtaining a waveform file, and generating an original waveform according to the signal values included in the waveform file;

[0009] Determining filter coefficients according to the original waveform, and generating multiple groups of alternative filter coefficients according to the filter coefficients;

[0010] Modulating the original waveform based on each group of the alternative filter coefficients, determining a target alternative filter coefficient from the alternative filter coefficients according to the eye diagram of the modulated waveform, and determining the equalization parameter value of the transmitting end according to the target alternative filter coefficient.

[0011] Optionally, the obtaining of the waveform file and generating the original waveform according to the signal values included in the waveform file includes:

[0012] Obtain the data signal waveform file that fails the analysis test and the probabilistic test;

[0013] Obtain the data signal values in the data signal waveform file, and based on the data signal values according to the set interpolation algorithm. By using the set interpolation algorithm to generate the original waveform, the amount of data required to generate the waveform is reduced while ensuring the waveform simulation accuracy.

[0014] Optionally, the determining of the filter coefficients according to the original waveform and generating multiple groups of alternative filter coefficients according to the filter coefficients includes:

[0015] Calculate the filter coefficients according to the signal values in the original waveform by using the least mean square error algorithm;

[0016] Adjust the filter coefficients based on the set values to generate multiple groups of alternative filter coefficients. By using the least mean square error algorithm to determine the filter coefficients based on the original waveform, the calculation complexity is simplified.

[0017] Optionally, after obtaining the waveform file, it further includes:

[0018] Obtain the signal rate in the waveform file, determine the number of filters according to the signal rate, and construct an equalizer according to the corresponding number of filters. Determining the number of filters by the signal rate makes the equalizer constructed according to the corresponding number of filters more suitable for modulating the original waveform.

[0019] Optionally, the modulating of the original waveform based on each group of the alternative filter coefficients and determining the target alternative filter coefficients from the alternative filter coefficients according to the eye diagram of the modulated waveform includes:

[0020] Adjust the equalizer according to each group of the alternative filter coefficients respectively, and modulate the original waveform by using the adjusted equalizer to obtain multiple modulated waveforms;

[0021] Generate the corresponding eye diagrams according to the modulated waveforms, and select the target alternative filter coefficients from the alternative filter coefficients according to the eye width values and eye height values of each eye diagram. Characterize the quality of the alternative filter coefficients by the eye width values and eye height values, reduce the amount of data for eye diagram comparison, and improve the comparison efficiency.

[0022] Optionally, the generating of the corresponding eye diagram according to the modulated waveform, and selecting the target alternative filter coefficients from the alternative filter coefficients according to the eye width values and eye height values of each eye diagram includes:

[0023] Calculate the deviation amounts of the eye width value and the eye height value of each of the eye diagrams from the center range value, where the center range is determined based on a signal test protocol;

[0024] Select a target alternative filter coefficient from the alternative filter coefficients according to the target eye diagram within a set numerical range of the deviation amount. The deviation amount of the eye width value from the center range and the deviation amount of the eye height value from the center range are used to characterize the quality of the alternative filter coefficients, reducing the amount of data for eye diagram comparison and improving the comparison efficiency.

[0025] Optionally, determining the transmitter equalization parameter value according to the target alternative filter coefficient includes:

[0026] Calculate the de-emphasis value, the pre-emphasis value, and the power amplification value according to the target alternative filter coefficient. The best transmitter equalization parameter value is directly calculated through the target alternative filter coefficient, and there is no need to determine the best transmitter equalization parameter value by means of multiple verifications, shortening the adjustment time of the transmitter equalization parameter value.

[0027] In a second aspect, an embodiment of the present invention further provides a device for determining a transmitter equalization parameter value, and the device includes:

[0028] A waveform generation module, configured to obtain a waveform file and generate an original waveform according to signal values included in the waveform file;

[0029] A coefficient determination module, configured to determine filter coefficients according to the original waveform and generate multiple groups of alternative filter coefficients according to the filter coefficients;

[0030] An equalization parameter value determination module, configured to modulate the original waveform based on each group of the alternative filter coefficients, determine a target alternative filter coefficient from the alternative filter coefficients according to the eye diagram of the modulated waveform, and determine a transmitter equalization parameter value according to the target alternative filter coefficient.

[0031] Optionally, the waveform generation module is specifically configured to:

[0032] Obtain a data signal waveform file with failed analysis tests and failed probabilistic tests;

[0033] Obtain data signal values in the data signal waveform file and based on the data signal values according to a set interpolation algorithm.

[0034] Optionally, the coefficient determination module is specifically configured to:

[0035] Calculate filter coefficients by using a least mean square error algorithm according to signal values in the original waveform;

[0036] Adjust the filter coefficients based on the set values to generate multiple groups of alternative filter coefficients.

[0037] Optionally, the device further includes:

[0038] An equalizer construction module, configured to, after obtaining a waveform file, obtain the signal rate in the waveform file, determine the number of filters according to the signal rate, and construct an equalizer according to the corresponding number of filters.

[0039] Optionally, the equalization parameter value determination module is specifically configured to:

[0040] Adjust the equalizer according to each group of the alternative filter coefficients respectively, modulate the original waveform by using the adjusted equalizer to obtain multiple modulated waveforms;

[0041] Generate corresponding eye diagrams according to the modulated waveforms, and select target alternative filter coefficients from the alternative filter coefficients according to the eye width values and eye height values of each of the eye diagrams.

[0042] Optionally, the equalization parameter value determination module is specifically further configured to:

[0043] Calculate the deviation amounts between the eye width values and eye height values of each of the eye diagrams and the central range values respectively, where the central range is determined based on a signal test protocol;

[0044] Select target alternative filter coefficients from the alternative filter coefficients according to the target eye diagrams with the deviation amounts within the set value range.

[0045] Optionally, the equalization parameter value determination module is specifically further configured to:

[0046] Calculate the de-emphasis value, pre-emphasis value, and power amplification value according to the target alternative filter coefficients.

[0047] In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:

[0048] One or more processors;

[0049] A storage device, configured to store one or more programs,

[0050] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for determining the equalization parameter value at the transmitting end as described in any embodiment of the present invention.

[0051] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method for determining the equalization parameter value at the transmitting end as described in any embodiment of the present invention is implemented.

[0052] An embodiment of the present invention provides a method, apparatus, electronic device, and medium for determining a transmission - end equalization parameter value. By modulating an original waveform based on each group of alternative filter parameters, comparing the eye diagrams of the modulated waveforms to determine the target alternative filter coefficients, and then determining the transmission - end equalization parameter value according to the target alternative filter coefficients, it avoids the problem of occupying a large amount of test time due to multiple executions of verification, resulting in low test efficiency, and simplifies the test process; by shortening the value - adjustment time of the transmission - end equalization parameter value, it achieves the effect of shortening the test time and improves the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 It is a flowchart of a method for determining a transmission - end equalization parameter value provided by an embodiment of the present invention;

[0054] Figure 2a It is a block diagram of an equalizer structure in a method for determining a transmission - end equalization parameter value provided by an embodiment of the present invention;

[0055] Figure 2b It is a waveform schematic diagram in a method for determining a transmission - end equalization parameter value provided by an embodiment of the present invention.

[0056] Figure 3 It is a flowchart of another method for determining a transmission - end equalization parameter value provided by an embodiment of the present invention;

[0057] Figure 4 It is a flowchart of yet another method for determining a transmission - end equalization parameter value provided by an embodiment of the present invention;

[0058] Figure 5 It is a flowchart of yet another method for determining a transmission - end equalization parameter value provided by an embodiment of the present invention;

[0059] Figure 6 It is a block diagram of a device for determining a transmission - end equalization parameter value provided by an embodiment of the present invention;

[0060] Figure 7 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0061] The present invention will be further described in detail below with reference to the drawings and embodiments. It can be understood that the specific embodiments described herein are only for explaining the present invention and not for limiting the present invention. Additionally, it should be noted that for the sake of description, only parts related to the present invention are shown in the drawings rather than all structures.

[0062] For ease of understanding, the terms that may appear in the embodiments of the present invention will be explained below.

[0063] SigTest is an eye diagram jitter analysis tool. SigTest uses the minimum / maximum PLL bandwidth and peak line required by the specification to multiply the 100 MHz clock signal to the same rate as the data signal (such as 5 GHz, 8 GHz, or 16 GHz), then applies different phase alignment parameters to align the data signal with the multiplied clock signal to obtain a signal combination, and calculates the worst eye diagram and jitter metrics among all these signal combinations.

[0064] The Tx Preset option is the transmitter preset value option, including 11 setting parameters: Auto, P0 to P9.

[0065] A register is a storage area inside the CPU for storing data, used to temporarily store the data involved in operations and the operation results.

[0066] Cscripts is a script compiler.

[0067] Matlab is a mathematical software used in fields such as data analysis, wireless communication, deep learning, image processing and computer vision, signal processing, quantitative finance and risk management, robotics, and control systems. Matlab is a combination of the two words matrix and laboratory, meaning matrix factory (matrix laboratory). The software mainly faces a high-tech computing environment for scientific computing, visualization, and interactive programming.

[0068] De-emphasis is the process of restoring the already emphasized transmitted signal to its original signal form.

[0069] Preshoot is the peak distortion when the signal exceeds the power supply level before the edge.

[0070] Filter coefficients are the numerical values representing the inverse Fourier transform of the filter transfer function. Filter coefficients represent the weighting coefficients (or called tap coefficients) of each filter that makes up the equalizer. Each stage of the filter stores a delayed input value, and the input connections and output connections of each stage are called taps. An M - order Finite Impulse Response (FIR) filter has M + 1 taps. The number of taps is equal to the number of input samples processed by the filter for each output point, and also equal to the number of filter coefficients. The number of taps can be used to measure the delay time of the filter.

[0071] Figure 1 This is the flowchart of a method for determining the transmitter equalization parameter value provided by an embodiment of the present invention. This method can be executed by a device for determining the transmitter equalization parameter value. The device can be implemented by software and / or hardware and is usually configured in an electronic device. As Figure 1As shown, the method includes:

[0072] Step 110, obtain a waveform file, and generate an original waveform according to the signal values included in the waveform file.

[0073] Among them, the waveform file is a file that records the correspondence between data signals and time signals. The waveform file can be generated based on the waveform files of data signals that fail the analysis test and the probabilistic test. It is also possible to capture the waveform of the original high-speed signal through an oscilloscope, convert the sampling points corresponding to the waveform into a two-dimensional array of time and voltage, and save the two-dimensional array to generate a waveform file. Optionally, the newly generated waveform file can be a file with a suffix such as.dat,.txt, or.csv that can be called by Matlab.

[0074] It should be noted that the flags for failing the analysis test and the probabilistic test can be: there is an overlapping area between the eye diagram corresponding to the original high-speed signal and the eye diagram corresponding to the analysis template at the inner eyelid or the outer eyelid. Among them, the probabilistic test fails if there is one failed test among multiple tests. Exemplarily, the waveform of the original high-speed signal is captured through an oscilloscope for SigTest analysis. During the SigTest analysis process, an eye diagram corresponding to the waveform of the original high-speed signal is generated. The corresponding analysis template is obtained according to the test rate of the original high-speed signal, and it is determined whether the transmit-end equalization parameter TXEQ needs to be adjusted according to the analysis template. If the SigTest analysis result shows that there is an overlapping area between the eye diagram corresponding to the original high-speed signal and the eye diagram corresponding to the analysis template at the inner eyelid or the outer eyelid, it is determined that the SigTest analysis test fails or the probabilistic test fails.

[0075] In the embodiment of the present invention, the waveform generated based on the signal values in the waveform file is the original waveform. Obtaining the waveform file and generating the original waveform according to the signal values included in the waveform file can be achieved in the following way: obtain the waveform files of data signals that fail the analysis test and the probabilistic test. Obtain the data signal values in the data signal waveform file, and based on the data signal values according to the set interpolation algorithm. Among them, the set difference algorithm can be the Lagrange polynomial interpolation algorithm, Newton interpolation algorithm, piecewise linear interpolation algorithm, Hermite interpolation algorithm, and cubic spline interpolation algorithm, etc. It should be noted that the set difference algorithm can be selected according to the actual test scenario, and the embodiment of the present invention does not limit the specific difference algorithm to be used.

[0076] Specifically, after obtaining the waveform file, digital signal values in the waveform file are obtained according to a preset sampling rate. For the obtained digital signal values, a cubic spline interpolation algorithm is used to draw the original waveform. Specifically, for multiple digital signal values (time1, volts1), (time2, volts2), (time3, volts3) …… (time n , volts n ), the numerical range between two adjacent digital signal values is defined as an interval, and each interval is fitted with a function of f(x) = ax^3 + bx^2 + cx + d to insert more digital signal values in each interval, so as to more accurately simulate the original waveform.

[0077] Step 120: Determine filter coefficients according to the original waveform, and generate multiple groups of alternative filter coefficients according to the filter coefficients.

[0078] Among them, the alternative filter coefficients are multiple groups of filter coefficients generated by adjusting the filter coefficients of the original waveform with set values. Assuming the filter coefficients are then adjust C -1 , C0 and C +1 to obtain multiple groups of reference filter coefficients. It should be noted that the set values can be set according to the actual application scenario. And the adjusted filter coefficients satisfy |C -1 | + |C0| + |C +1 | = 1, C +1 ≤ 0, C -1 ≤ 0.

[0079] Exemplarily, according to the signal values in the original waveform, the least mean square error algorithm is used to calculate the filter coefficients. Based on the set values, the filter coefficients are adjusted to generate multiple groups of alternative filter coefficients.

[0080] Among them, the least mean square error algorithm is an adaptive filtering algorithm. Based on the least mean square error criterion, the mean square error between the output signal of the filter and the desired output signal is minimized. The idea of the least mean square error algorithm is: considering the case of a noisy channel, the total power of the intersymbol interference (ISI) and noise at the output end of the equalizer is minimized. This method does not force the intersymbol interference to be 0 in adjacent symbol intervals. In fact, it relaxes the requirements for ISI to adapt to the ability of noise. The purpose of the least mean square error algorithm is to determine a set of filter coefficients to minimize the mean square error.

[0081] The minimum mean square error between the output signal and the input signal can be defined as:

[0082] MSE = E|z k - x k | 2

[0083] Among them, x k is the voltage signal in the original waveform, and z k is the output signal of the equalizer, and E is the mathematical expectation operator.

[0084] Expanding the above formula gives:

[0085]

[0086] Among them, C n and C m are both filter coefficients; R YY (n - m) and R YY (n) are both autocorrelation matrices; N is a positive integer.

[0087] Taking the derivative with respect to the filter coefficients as variables, when the MSE is minimized, the derivative is zero, and the following relationship is obtained:

[0088]

[0089] The matrix form corresponding to this relationship is:

[0090]

[0091] Among them, C represents a set of filter coefficients. Adjust the filter coefficients based on the set values to generate multiple sets of alternative filter coefficients.

[0092] In one case, a tester can also directly set a set of filter coefficients according to the waveform characteristics of the original waveform, and then adjust the filter coefficients based on the set values to generate multiple sets of alternative filter coefficients.

[0093] Step 130: Modulate the original waveform based on each group of the alternative filter coefficients, determine the target alternative filter coefficients from the alternative filter coefficients according to the eye diagram of the modulated waveform, and determine the transmit - end equalization parameter values according to the target alternative filter coefficients.

[0094] Among them, the transmit - end equalization parameter values (TXEQ) include de - emphasis value, preshoot value, and boost value.

[0095] Among them, the equalizer is used to improve the performance of the receiver eye diagram in a link with large transmission losses. In the embodiments of the present invention, after obtaining the waveform file, obtain the signal rate in the waveform file, determine the number of filters according to the signal rate, and construct an equalizer according to the corresponding number of filters. Figure 2a It is the block diagram of the equalizer structure in a method for determining transmit - end equalization parameter values provided by the embodiments of the present invention.Figure 2a A second - order three - tap equalizer is shown. The equalizer includes 3 high - pass filters and an accumulator. Figure 2a In C -1 , C0, C +1 are filter coefficients. The output voltage V_out n =(V_in n+1 *C -1 )+(V_in n *C0)+(V_in n-1 *C +1 ), where V_in n+1 , V_in n and V_in n-1 are all input voltages.

[0096] In an embodiment of the present invention, the required delay time is determined based on the signal rate, the number of filters required to construct the equalizer is determined according to the delay time, and the equalizer is constructed according to the corresponding number of filters.

[0097] The equalizer is adjusted respectively according to each group of alternative filter coefficients to obtain the equalizers corresponding to each group of alternative filter coefficients. The original waveform is modulated respectively by the equalizers corresponding to each group of alternative filter coefficients to obtain a plurality of modulated waveforms. The best waveform is selected from the modulated waveforms based on the eye diagrams corresponding to each modulated waveform, and the alternative filter coefficients corresponding to the best waveform are used as the target alternative filter coefficients.

[0098] The de - emphasis value, pre - emphasis value, and power amplification value are calculated according to the target alternative filter coefficients. Specifically, the de - emphasis value, pre - emphasis value, and power amplification value are calculated according to the following formulas:

[0099]

[0100]

[0101]

[0102] where V a is voltage, V b is the de - emphasis voltage; V c is the pre - emphasis voltage; V d is the maximum amplitude voltage. Figure 2b This is a waveform schematic diagram in a method for determining the equalization parameter values at the transmitting end provided by an embodiment of the present invention. Figure 2b Shows V a , V b , V c and V d .

[0103] It should be noted that the de - emphasis power supply Vb It cannot be too small, otherwise it will cause the eye height of the output signal at the receiving end to be too low. The amplitude of the de-emphasis voltage can be limited by the Boost ratio. For example, for a full-swing transmitter T X output, Boost ≤ 9.5 dB; for a reduced-swing transmitter T X output, Boost ≤ 3.5 dB.

[0104] Taking the filter coefficients as C -1 , C0, C +1 as an example, the above formula can be expanded as:

[0105]

[0106]

[0107]

[0108] Since the filter coefficients have the following relationship: |C -1 | + |C0| + |C +1 | = 1, C +1 ≤ 0, C -1 ≤ 0, therefore, the de-emphasis value, overshoot value, and power amplification value in the above formula can also be expressed as:

[0109]

[0110]

[0111]

[0112] The technical solution of this embodiment modulates the original waveform based on each group of alternative filter parameters, compares the eye diagrams of the modulated waveforms to determine the target alternative filter coefficients, and then determines the transmitter equalization parameter values according to the target alternative filter coefficients, avoiding the problem of low test efficiency caused by occupying a large amount of test time due to multiple executions of verification, and simplifies the test process; by shortening the adjustment time of the transmitter equalization parameter values, the effect of shortening the test time is achieved, and the test efficiency is improved.

[0113] Based on the above technical solution, a further limitation is made on selecting the target alternative filter coefficients from the alternative filter coefficients. Figure 3 This is a flowchart of another method for determining the transmitter equalization parameter values provided by the embodiment of the present invention. As Figure 3 shown, the method includes:

[0114] Step 310, obtain a waveform file, and generate an original waveform according to the signal values included in the waveform file.

[0115] Step 320: Determine filter coefficients according to the original waveform, and generate multiple groups of alternative filter coefficients according to the filter coefficients.

[0116] Step 330: Obtain the signal rate in the waveform file, determine the number of filters according to the signal rate, and construct an equalizer according to the corresponding number of filters.

[0117] Step 340: Adjust the equalizer according to each group of the alternative filter coefficients respectively, and modulate the original waveform by using the adjusted equalizer to obtain multiple modulated waveforms.

[0118] Exemplarily, take each alternative filter coefficient in the multiple groups of generated alternative filter coefficients as the current alternative filter coefficient respectively, adjust the equalizer by using the current alternative filter coefficient to obtain the equalizer corresponding to the current alternative filter coefficient. Modulate the original waveform by using the equalizer corresponding to the current alternative filter coefficient to obtain a modulated waveform.

[0119] Step 350: Generate corresponding eye diagrams according to the modulated waveforms, and select target alternative filter coefficients from the alternative filter coefficients according to the eye width values and eye height values of each of the eye diagrams.

[0120] Wherein, on the basis of removing jitter and noise, the eye width is the distance on the horizontal axis of the blank area on the eye diagram. On the basis of removing jitter and noise, the eye height is the distance on the vertical axis of the blank area on the eye diagram. Wherein, the horizontal axis is the time axis and the vertical axis is the voltage axis.

[0121] Since the output result of the equalizer is determined according to the current alternative filter coefficient, therefore, the quality of the current alternative filter coefficient directly affects the quality of the modulated waveform. In the embodiments of the present invention, the quality of the waveform is characterized by the eye diagram, and further, the quality of the alternative filter coefficients can be evaluated through the eye diagram.

[0122] Exemplarily, corresponding eye diagrams can be generated according to each modulated waveform, the eye width values and eye height values of each eye diagram are compared, the best eye diagram is determined according to the comparison result, and thus, the alternative filter coefficient corresponding to the modulated waveform of the best eye diagram is used as the target alternative filter coefficient.

[0123] Specifically, calculate the deviation amounts of the eye width values and eye height values of each of the eye diagrams from the central range value respectively, and select the target alternative filter coefficient from the alternative filter coefficients according to the target eye diagram with the deviation amount within the set numerical range. Wherein, the central range is determined according to the signal test protocol. The set numerical range can be set and dynamically adjusted according to the actual test requirements. The deviation amounts of the eye width values and eye height values of each eye diagram from the central range can be used to characterize the opening degree of the "eye" in the eye diagram.

[0124] Step 360: Determine the transmit - end equalization parameter values according to the target alternative filter coefficients.

[0125] In the technical solution of this embodiment, by comparing the eye - width values and eye - height values of each eye diagram, the target alternative filter coefficients are selected from the alternative filter coefficients, reducing the amount of data for eye - diagram comparison and further shortening the adjustment time of the transmit - end equalization parameter values.

[0126] Figure 4 It is a flowchart of another method for determining the transmit - end equalization parameter values provided by an embodiment of the present invention. As Figure 4 shown, the method includes:

[0127] Step 410: Obtain the data - signal waveform files that fail the analysis test and the probabilistic test.

[0128] Step 420: Obtain the data - signal values in the data - signal waveform files, and generate the original waveform based on the data - signal values according to the cubic spline interpolation algorithm.

[0129] Step 430: Calculate the filter coefficients according to the signal values in the original waveform by using the least - mean - square error algorithm.

[0130] Step 440: Adjust the filter coefficients based on a set value to generate multiple groups of alternative filter coefficients.

[0131] Step 450: Obtain the signal rate in the data - signal waveform files that fail the analysis test and the probabilistic test, determine the number of filters according to the signal rate, and construct an equalizer according to the corresponding number of filters.

[0132] Step 460: Adjust the equalizer according to each group of the alternative filter coefficients respectively, and modulate the original waveform by using the adjusted equalizer to obtain multiple modulated waveforms.

[0133] Step 470: Generate the corresponding eye diagrams according to the modulated waveforms, and select the target alternative filter coefficients from the alternative filter coefficients according to the eye - width values and eye - height values of each eye diagram.

[0134] Step 480: Calculate the de - emphasis value, pre - emphasis value, and power amplification value according to the target alternative filter coefficients.

[0135] Figure 5 It is a flowchart of another method for determining the transmit - end equalization parameter values provided by an embodiment of the present invention. As Figure 5 shown, the method includes:

[0136] Step 510: Obtain the data - signal waveform files that fail the analysis test and the probabilistic test.

[0137] Step 520: Obtain the data signal values in the data signal waveform file, and generate an original waveform based on the data signal values according to the cubic spline interpolation algorithm.

[0138] Step 530: Calculate filter coefficients according to the signal values in the original waveform by using the least mean square error algorithm.

[0139] Step 540: Adjust the filter coefficients based on a set value to generate multiple groups of alternative filter coefficients.

[0140] Step 550: Obtain the signal rates in the data signal waveform files that fail the analysis test and the probabilistic test, determine the number of filters according to the signal rates, and construct an equalizer according to the corresponding number of filters.

[0141] Step 560: Adjust the equalizer according to each group of the alternative filter coefficients respectively, and modulate the original waveform by using the adjusted equalizer to obtain multiple modulated waveforms.

[0142] Step 570: Calculate the deviation amounts of the eye width values and eye height values of each eye diagram from the central range values respectively, where the central range is determined based on the signal test protocol.

[0143] Step 580: Select target alternative filter coefficients from the alternative filter coefficients according to the target eye diagram with the deviation amounts within a set value range.

[0144] Step 590: Calculate the de-emphasis value, pre-emphasis value, and power amplification value according to the target alternative filter coefficients.

[0145] Figure 6 It is a structural block diagram of a device for determining the equalization parameter values at the transmitting end provided by an embodiment of the present invention. The device can be implemented by software and / or hardware, and is usually configured in an electronic device. As Figure 6 shown, the device includes: a waveform generation module 610, a coefficient determination module 620, and an equalization parameter value determination module 630.

[0146] The waveform generation module 610 is configured to obtain a waveform file and generate an original waveform according to the signal values included in the waveform file;

[0147] The coefficient determination module 620 is configured to determine filter coefficients according to the original waveform and generate multiple groups of alternative filter coefficients according to the filter coefficients;

[0148] An equalization parameter value determination module 630, configured to modulate the original waveform based on each group of the alternative filter coefficients, determine a target alternative filter coefficient from the alternative filter coefficients according to the eye diagram of the modulated waveform, and determine a transmission - end equalization parameter value according to the target alternative filter coefficient.

[0149] Optionally, the waveform generation module 610 is specifically configured to:

[0150] Obtain data signal waveform files that fail the analysis test and the probabilistic test;

[0151] Obtain the data signal values in the data signal waveform files, and generate an original waveform based on the data signal values according to a set interpolation algorithm.

[0152] Optionally, the coefficient determination module 620 is specifically configured to:

[0153] Calculate filter coefficients according to the signal values in the original waveform by using the least - mean - square error algorithm;

[0154] Adjust the filter coefficients based on a set value to generate multiple groups of alternative filter coefficients.

[0155] Optionally, the apparatus further includes:

[0156] An equalizer construction module, configured to, after obtaining the waveform file, obtain the signal rate in the waveform file, determine the number of filters according to the signal rate, and construct an equalizer according to the corresponding number of filters.

[0157] Optionally, the equalization parameter value determination module 630 is specifically configured to:

[0158] Adjust the equalizer respectively according to each group of the alternative filter coefficients, modulate the original waveform by using the adjusted equalizer to obtain multiple modulated waveforms;

[0159] Generate corresponding eye diagrams according to the modulated waveforms, and select a target alternative filter coefficient from the alternative filter coefficients according to the eye width values and eye height values of each of the eye diagrams.

[0160] Optionally, the equalization parameter value determination module 630 is further specifically configured to:

[0161] Calculate the deviation amounts between the eye width values and eye height values of each of the eye diagrams and a central range value, where the central range is determined based on a signal test protocol;

[0162] Select a target alternative filter coefficient from the alternative filter coefficients according to the target eye diagram with the deviation amount within a set value range.

[0163] Optionally, the equalization parameter value determination module 630 is specifically further configured to:

[0164] Calculate the de-emphasis value, the pre-emphasis value, and the power amplification value according to the target alternative filter coefficients.

[0165] The device for determining the equalization parameter value at the transmitting end provided by the embodiments of the present invention can execute the method for determining the equalization parameter value at the transmitting end provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.

[0166] Figure 7 It is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. As Figure 7 shown, the electronic device 700 includes a processor 710, a memory 720, an input device 730, and an output device 740; the number of processors 710 in the electronic device can be one or more, Figure 7 and one processor 710 is taken as an example here; the processor 710, the memory 720, the input device 730, and the output device 740 in the electronic device can be connected through a bus or other means, Figure 7 and the connection through the bus is taken as an example here.

[0167] The memory 720, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the method for determining the equalization parameter value at the transmitting end in the embodiments of the present invention (for example, the waveform generation module 610, the coefficient determination module 620, and the equalization parameter value determination module 630). The processor 710 executes various functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 720, that is, implements the above-mentioned method for determining the equalization parameter value at the transmitting end.

[0168] The memory 720 may mainly include a program storage area and a data storage area. Among them, the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 720 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some instances, the memory 720 may further include a memory remotely set relative to the processor 710, and these remote memories may be connected to the electronic device through a network. Examples of the above network include but are not limited to the Internet, an enterprise intranet, a local area network, a mobile communication network, and their combinations.

[0169] The input device 730 can be used to receive input digital or character information, and generate key signal inputs related to the user settings and function controls of the electronic device. The output device 740 may include a display device such as a display screen.

[0170] An embodiment of the present invention further provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute a method for determining a transmitter equalization parameter value when executed by a computer processor. The method includes:

[0171] Obtain a waveform file, and generate an original waveform according to the signal values included in the waveform file;

[0172] Determine filter coefficients according to the original waveform, and generate multiple groups of alternative filter coefficients according to the filter coefficients;

[0173] Modulate the original waveform based on each group of the alternative filter coefficients, determine a target alternative filter coefficient from the alternative filter coefficients according to the eye diagram of the modulated waveform, and determine the transmitter equalization parameter value according to the target alternative filter coefficient.

[0174] Of course, for a storage medium containing computer-executable instructions provided by an embodiment of the present invention, the computer-executable instructions are not limited to the method operations described above, and can also execute related operations in the method for determining the transmitter equalization parameter value provided by any embodiment of the present invention.

[0175] From the above description of the embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software and necessary general-purpose hardware. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation manner. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as a floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk, or optical disc of a computer, etc., including several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present invention.

[0176] It should be noted that in the embodiments of the above-mentioned device for determining the transmitter equalization parameter value, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved. In addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the present invention.

[0177] Note that the above is only a preferred embodiment of the present invention and the technical principles applied. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, re-adjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments only. Without departing from the concept of the present invention, it can also include more other equivalent embodiments, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for determining the equalization parameter value at the transmitting end, characterized in that, including: obtain a waveform file, and generate an original waveform according to signal values included in the waveform file; determine filter coefficients according to the original waveform, and generate multiple groups of alternative filter coefficients according to the filter coefficients; modulate the original waveform based on each group of the alternative filter coefficients, determine a target alternative filter coefficient from the alternative filter coefficients according to an eye diagram of the modulated waveform, and determine a transmitter equalization parameter value according to the target alternative filter coefficient; after obtaining the waveform file, further including: obtain a signal rate in the waveform file, determine a delay time according to the signal rate, determine a number of filters according to the delay time, and construct an equalizer according to the corresponding number of filters; the modulating the original waveform based on each group of the alternative filter coefficients, and determining a target alternative filter coefficient from the alternative filter coefficients according to an eye diagram of the modulated waveform includes: adjust the equalizer respectively according to each group of the alternative filter coefficients, and modulate the original waveform by using the adjusted equalizer to obtain multiple modulated waveforms; generate corresponding eye diagrams according to the modulated waveforms, and select a target alternative filter coefficient from the alternative filter coefficients according to an eye width value and an eye height value of each of the eye diagrams.

2. The method according to claim 1, characterized in that, the obtaining a waveform file, and generating an original waveform according to signal values included in the waveform file includes: obtain a data signal waveform file that fails in an analysis test and a probabilistic test; obtain data signal values in the data signal waveform file, and generate an original waveform based on the data signal values according to a set interpolation algorithm.

3. The method according to claim 1, characterized in that, the determining filter coefficients according to the original waveform, and generating multiple groups of alternative filter coefficients according to the filter coefficients includes: calculate filter coefficients by using a least mean square error algorithm according to signal values in the original waveform; adjust the filter coefficients based on a set value to generate multiple groups of alternative filter coefficients.

4. The method according to claim 3, characterized in that, the generating corresponding eye diagrams according to the modulated waveforms, and selecting a target alternative filter coefficient from the alternative filter coefficients according to an eye width value and an eye height value of each of the eye diagrams includes: calculate deviation amounts of an eye width value and an eye height value of each of the eye diagrams from a central range value, where the central range is determined according to a signal test protocol; select a target alternative filter coefficient from the alternative filter coefficients according to a target eye diagram whose deviation amount is within a set value range.

5. The method according to any one of claims 1 - 4, characterized in that, the determining a transmitter equalization parameter value according to the target alternative filter coefficient includes: calculate a de-emphasis value, a pre-emphasis value, and a power amplification value according to the target alternative filter coefficient.

6. A device for determining the equalization parameter value at the transmitting end, characterized in that, including: a waveform generation module, configured to obtain a waveform file, and generate an original waveform according to signal values included in the waveform file; a coefficient determination module, configured to determine filter coefficients according to the original waveform, and generate multiple groups of alternative filter coefficients according to the filter coefficients; an equalization parameter value determination module, configured to modulate the original waveform based on each group of the alternative filter coefficients, determine a target alternative filter coefficient from the alternative filter coefficients according to an eye diagram of the modulated waveform, and determine a transmitter equalization parameter value according to the target alternative filter coefficient; An equalizer construction module, which is used to obtain the signal rate in the waveform file after obtaining the waveform file, determine the delay time according to the signal rate, determine the number of filters according to the delay time, and construct an equalizer according to the corresponding number of filters; construct an equalizer according to the corresponding number of filters; The equalization parameter value determination module is specifically used for: Adjust the equalizer according to each group of the alternative filter coefficients respectively, and modulate the original waveform with the adjusted equalizer to obtain a plurality of modulated waveforms; Generate corresponding eye diagrams according to the modulated waveforms, and select target alternative filter coefficients from the alternative filter coefficients according to the eye width values and eye height values of each of the eye diagrams.

7. An electronic device, characterized in that, The electronic device includes: One or more processors; A storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method for determining the transmission end equalization parameter value as described in any one of claims 1-5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method for determining the transmission end equalization parameter value as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Method and system for determining filter coefficient

    CN1983832A

  • Statistically-Adapted Receiver and Transmitter Equalization

    US20100329325A1

  • Design of experiments transmitter training systems and method

    US20130208817A1