CN119652356B - Self-adaptive adjustment method for eye pattern center point, terminal equipment and storage medium - Google Patents
Self-adaptive adjustment method for eye pattern center point, terminal equipment and storage medium Download PDFInfo
- Publication number
- CN119652356B CN119652356B CN202510162167.6A CN202510162167A CN119652356B CN 119652356 B CN119652356 B CN 119652356B CN 202510162167 A CN202510162167 A CN 202510162167A CN 119652356 B CN119652356 B CN 119652356B
- Authority
- CN
- China
- Prior art keywords
- center point
- eye diagram
- current
- value
- eye
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Dc Digital Transmission (AREA)
Abstract
The invention discloses a self-adaptive adjustment method for an eye pattern center point, terminal equipment and a storage medium, and relates to the technical field of communication. The method comprises the steps of controlling a clock data recovery function to be in a locking state under the condition of triggering an eye center point adjustment condition, determining a left boundary threshold value and a right boundary threshold value of a current eye center point, adjusting an equalization parameter according to the offset condition under the condition of determining that the center point position of the current eye center point is offset according to the left boundary threshold value and the right boundary threshold value of the current eye center point, and controlling the clock data recovery function to be in a normal working state under the condition of meeting a stop adjustment condition. Therefore, when the operating environment temperature is higher, or the eye diagram center is adjusted in a certain period, the eye diagram center can be kept at the center position of the eye diagram in the long-time operation process of the hardware equipment, so that signals of a receiving end are enhanced and repaired, the signal integrity of the receiving end is ensured, and the reliability of a link is improved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an eye center point adaptive adjustment method, a computer readable storage medium, a terminal device, and a computer program product.
Background
With the continuous increase in PCIe (PERIPHERAL COMPONENT INTERCONNECT EXPRESS, serial high-speed data transmission bus standard) transmission speed, the transmission quality of high-speed signals becomes particularly critical. At the receiving end, relevant data processing of a signal equalization processing process and a data sampling and recovering process is mainly completed by a PCIe PHY (physical) hardware module at the receiving end, but the PHY hardware module runs for a long time or is in a high-temperature environment, so that the performance of equipment is gradually reduced, an eye diagram center point is shifted, the quality of data recovered by a CDR (Clock and Data Recovery ) is further reduced, and even the data error correction capability of the PCIe PHY is exceeded, a large number of bit error rate errors and signal attenuation are generated, and the transmission quality of signals is affected.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems in the related art to some extent. The first object of the present invention is to provide an adaptive adjustment method for an eye center, which includes controlling a clock data recovery function to be in a locked state when an eye center adjustment condition is triggered, determining a left boundary threshold and a right boundary threshold of a current eye center, adjusting equalization parameters according to an offset condition when an offset occurs in a center position of the current eye center according to the left boundary threshold and the right boundary threshold of the current eye center, and controlling the clock data recovery function to be in a normal operation state when the adjustment condition is satisfied. The adjusting method of the invention can adaptively adjust the eye diagram center when the operating environment temperature is higher or in a certain period, so that the eye diagram center can be always kept at the center position of the whole eye diagram in the long-time operation process of hardware equipment, thereby enhancing and repairing the signal of the receiving end, ensuring the signal integrity of the receiving end and improving the reliability of a link.
A second object of the present invention is to propose a computer readable storage medium.
A third object of the present invention is to propose a terminal device.
A fourth object of the invention is to propose a computer programme product.
In order to achieve the above objective, an embodiment of a first aspect of the present invention provides an adaptive adjustment method for an eye center, where the method includes controlling a clock data recovery function to be in a locked state when an eye center adjustment condition is triggered, determining a left boundary threshold and a right boundary threshold of a current eye center, determining that an equalization parameter is adjusted according to an offset condition when an offset occurs in a center point position of the current eye center according to the left boundary threshold and the right boundary threshold of the current eye center, and controlling the clock data recovery function to be in a normal operating state when the adjustment condition is satisfied.
According to one embodiment of the invention, the left boundary threshold value of the current eye diagram center point is determined, and the method comprises the steps of setting a maximum allowable error value of the eye diagram left boundary and setting a left initial starting point of the current eye diagram center point, searching from the left initial starting point in a direction towards the current eye diagram center point according to a preset step length, acquiring a left error count value, and taking a previous sampling point corresponding to the current left sampling point as the left boundary threshold value under the condition that the left error count value is larger than the maximum allowable error value of the left boundary.
According to one embodiment of the invention, the method for acquiring the left error count value comprises the steps of determining an eye scan deviation value according to a current eye center point, acquiring a current left data actual sampling value of a clock data recovery function in a normal working state, adding one to the left error count value when the current left data actual sampling value is inconsistent with the sampling value of the eye scan deviation value, adding one to the left error count value when the current left data actual sampling value is consistent with the sampling value of the eye scan deviation value, and judging the next sampling point according to a preset step length.
According to one embodiment of the invention, the method further comprises determining that the stop adjustment condition is met in the case where the left error count value is less than the maximum allowable error value of the left boundary and the position of the current sample point reaches the separation distance of the center point of the current eye diagram.
According to one embodiment of the invention, the right boundary threshold value of the current eye diagram center is determined, and the method comprises the steps of setting a maximum allowable error value of the right eye diagram boundary and setting a right initial starting point of a current eye diagram center point, searching from the right initial starting point in a direction towards the current eye diagram center point according to a preset step length, acquiring a right error count value, and taking a previous sampling point corresponding to the current right sampling point as the right boundary threshold value under the condition that the right error count value is larger than the maximum allowable error value of the right boundary.
According to one embodiment of the invention, the right error count value is obtained, wherein the right error count value comprises the steps of determining an eye scan deviation value according to a current eye center point, obtaining a current right data actual sampling value of a clock data recovery function in a normal working state, adding one to the right error count value when the current right data actual sampling value is inconsistent with the sampling value of the eye scan deviation value, adding one to the right error count value when the current right data actual sampling value is consistent with the sampling value of the eye scan deviation value, and judging the next sampling point according to a preset step length.
According to one embodiment of the invention, the method further comprises determining that the stop adjustment condition is met in the case that the right error count value is less than the maximum allowable error value of the right boundary and the position of the current sampling point reaches the separation distance of the center point of the current eye diagram.
According to one embodiment of the invention, the deviation of the current eye center point is determined according to the left boundary threshold value and the right boundary threshold value of the current eye center point, wherein the determination of the deviation of the current eye center point comprises the determination of the deviation of the current eye center point to the left side when the product of the left boundary threshold value and the preset multiple factor is larger than the product of the right boundary threshold value and the preset redundancy parameter, and the determination of the deviation of the current eye center point to the right side when the product of the right boundary threshold value and the preset multiple factor is larger than the product of the left boundary threshold value and the preset redundancy parameter.
According to one embodiment of the invention, the method further comprises determining that no offset occurs in the current eye center point when the product of the left boundary threshold and the preset multiple factor is less than or equal to the product of the right boundary threshold and the preset redundancy parameter, and the product of the right boundary threshold and the preset multiple factor is less than or equal to the product of the left boundary threshold and the preset redundancy parameter.
According to one embodiment of the invention, the equalization parameters are adjusted according to the offset condition, wherein the equalization parameters are adjusted to enable the current eye center point to be adjusted to the right side and the right adjustment times are recorded when the current eye center point is offset to the left side, the equalization parameters are adjusted to enable the current eye center point to be adjusted to the left side and the left adjustment times are recorded when the current eye center point is offset to the right side, and one of the left adjustment times and the right adjustment times is a positive integer and the other is a negative integer.
According to one embodiment of the invention, the stop adjustment condition comprises that the equalization parameter reaches a preset maximum value or a preset minimum value, or the sum of the left adjustment times and the right adjustment times is smaller than or equal to a preset value, or the iteration times of the eye center point adjustment reaches a preset time.
According to one embodiment of the invention, the eye center point adjustment condition comprises that the environment temperature of the serial high-speed data transmission link is greater than a preset temperature threshold value, or the time interval between the serial high-speed data transmission link and the last eye center point adjustment time interval is preset time, or the serial high-speed data transmission link is successfully established for the first time and is in a normal working state.
To achieve the above object, an embodiment of a second aspect of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the foregoing method for adaptively adjusting an eye center point.
To achieve the above objective, an embodiment of a third aspect of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the foregoing method for adaptively adjusting the eye center point when executing the computer program.
To achieve the above object, a fourth aspect of the present invention provides a computer program product, which includes a computer program/instruction that when executed by a processor implements the foregoing method for adaptively adjusting the center point of an eye diagram.
According to the self-adaptive adjustment method, the terminal equipment and the storage medium for the eye center point, under the condition that the eye center point adjustment condition is triggered, the clock data recovery function is controlled to be in a locking state, the left boundary threshold value and the right boundary threshold value of the current eye center point are determined, under the condition that the center point position of the current eye center point is determined to deviate according to the left boundary threshold value and the right boundary threshold value of the current eye center point, the equalization parameters are adjusted according to the deviation condition, and under the condition that the adjustment condition is stopped, the clock data recovery function is controlled to be in a normal working state. The adjusting method of the invention can adaptively adjust the eye diagram center when the operating environment temperature is higher or in a certain period, so that the eye diagram center can be always kept at the center position of the whole eye diagram in the long-time operation process of hardware equipment, thereby enhancing and repairing the signal of the receiving end, ensuring the signal integrity of the receiving end and improving the reliability of a link.
Drawings
Fig. 1 is a schematic diagram illustrating a signal processing procedure at an Rx receiving end according to some embodiments of the present invention;
fig. 2 is a diagram of a receiving-end eye diagram according to some embodiments of the present invention;
FIG. 3 is a flow chart of a method of adaptively adjusting eye center points according to some embodiments of the invention;
FIG. 4 is a schematic diagram illustrating an adaptive adjustment method for eye center point according to some embodiments of the present invention;
FIG. 5 is a flow chart of a method for adaptively adjusting eye center points according to other embodiments of the present invention;
fig. 6 is a block schematic diagram of a terminal device according to some embodiments of the invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
The following describes an adaptive adjustment method for an eye center point, a terminal device, and a storage medium according to embodiments of the present invention in detail with reference to the accompanying drawings.
In some embodiments, referring to fig. 1, the receiving end is taken as an example of the Rx receiving end, but not as a limitation of the present invention. The signal at the receiving end is subjected to equalization processing by CTLE (Continuous TIME LINEAR Equalizer) and DFE (Decision Feedback Equalizer ) in order to improve the signal quality. In the DFE, the EMO (Eye Opening Monitor, eye diagram monitoring) can optimize the signal quality by dynamically adjusting the feedback coefficient of the DFE, and the generated eye diagram is shown in fig. 2 during the EMO. And then, recovering a clock signal from the input serial data signal through the CDR circuit, and sampling and recovering the data according to the recovered clock signal so as to improve the signal quality and the reliability of data transmission. The above process is mainly completed by the PCIe PHY hardware module at the receiving end, but long-time operation or operation in a high-temperature environment of the PHY hardware module will cause gradual degradation of the performance of the device, resulting in an offset of the eye center point, and further, degradation of the quality of CDR recovered data.
Based on the above, under the condition of triggering the eye center point adjustment condition, the invention combines the hardware EOM module to determine the offset condition of the eye center point according to the left boundary threshold value and the right boundary threshold value by scanning the left boundary threshold value and the right boundary threshold value of the eye center, adjusts the equalization parameter according to the offset condition of the eye center point, self-adaptively maintains the eye center point at the center by using a multi-step iteration method, and stops adjusting the eye center point after the stop adjustment condition is met. Therefore, the eye pattern center point is enabled to be always kept at the center position of the whole eye pattern in the long-time operation process of hardware equipment by means of periodical or temperature over-temperature inspection triggering eye pattern center point self-adaptive adjustment, so that signals of a receiving end are enhanced and repaired, the signal integrity of the receiving end is guaranteed, and the reliability of a link is improved.
Fig. 3 is a flow chart of a method of adaptive adjustment of eye center points according to some embodiments of the invention. Referring to fig. 3, the method for adaptively adjusting the eye center point according to the embodiment of the present invention may include the following steps:
S110, controlling the clock data recovery function to be in a locking state under the condition that the eye center point adjustment condition is triggered.
Specifically, lane refers to a basic transmission unit in a serial high-speed data transmission link, which is responsible for data transmission and control signals, and the serial high-speed data transmission link is composed of a plurality of Lanes. And if the eye center point adjustment condition is triggered, for example, when the environment temperature of the serial high-speed data transmission link is high or the eye center point adjustment moment is reached, performing eye center point adjustment on each Lane in the serial high-speed data transmission link. Before the eye diagram central point is adjusted, the clock data recovery function of Lane needs to be controlled to be in a locking state, the current clock recovery state is kept unchanged, and inaccurate or unstable adjustment of the eye diagram central point caused by the fact that the clock data recovery function continuously changes the clock phase in the eye diagram central point adjusting process can be avoided to a certain extent.
S120, determining a left boundary threshold value and a right boundary threshold value of the current eye diagram center point.
Specifically, in order to obtain higher time and amplitude resolution during eye center point adjustment, thereby more accurately evaluating and adjusting signal quality, the corresponding time Unit Interval (UI) of each bit is divided into a preset number of parts, wherein the preset number of parts is an exponential power of 2. In the embodiment of the present invention, the description will be given taking an example of dividing the corresponding time Unit Interval (UI) of each bit into 64 parts, but the present invention is not limited thereto.
In the case where the corresponding time Unit Interval (UI) of each bit is divided into 64 copies, the interval between each sampling point is0 Means-0.5 UI, and,Represents a +0.5UI and,Representing the central position of the UI, the eye diagram center point is located at the central position of the UI.
In determining the left and right boundary thresholds of the current eye center point, setting the maximum allowable error value of the left eye boundary and the maximum allowable error value of the right eye boundary, and setting the left and right initial starting points from which the current eye center point is directed in a preset step (e.g.) And searching sampling points, comparing an actual sampling value of the clock data recovery function in a normal working state with a sampling value of the eye scanning sampling points in each searching process, and accumulating an error count value if the two sampling values are inconsistent. In the searching process, the left error count value and the right error count value need to be accumulated respectively. And if the left error count value exceeds the maximum allowable error value of the left boundary, taking the previous sampling point corresponding to the current left sampling point as a left boundary threshold value, and if the right error count value exceeds the maximum allowable error value of the right boundary, taking the previous sampling point corresponding to the current right sampling point as a right boundary threshold value.
And S130, under the condition that the position of the center point of the center of the current eye diagram is determined to be shifted according to the left boundary threshold value and the right boundary threshold value of the center point of the current eye diagram, the equalization parameters are adjusted according to the shifting condition.
Specifically, the left boundary threshold value of the current eye diagram center point represents the maximum offset of the left side of the current eye diagram center point, the right boundary threshold value of the current eye diagram center point represents the maximum offset of the right side of the current eye diagram center point, whether the center point position of the current eye diagram center point is offset or not can be determined according to the left boundary threshold value and the right boundary threshold value of the current eye diagram center point, under the condition that the center point position of the current eye diagram center point is determined to be offset, a specific offset condition of the current eye diagram center point is determined, and equalization parameters are adjusted according to the offset condition so as to adjust the center point position of the current eye diagram center. For example, when the current eye center point is determined to be shifted to the left, the equalization parameter is adjusted to adjust the current eye center point to the right, and when the current eye center point is determined to be shifted to the right, the equalization parameter is adjusted to adjust the current eye center point to the left.
And S140, controlling the clock data recovery function to be in a normal working state under the condition that the stop adjustment condition is met.
Specifically, in the adjustment process of the current eye diagram center point, if the adjustment stopping condition is met, the adjustment of the current eye diagram center point is stopped, and the clock data recovery function is controlled to be in a normal working state.
The adjusting method of the invention can adaptively adjust the eye diagram center when the operating environment temperature is higher or in a certain period, so that the eye diagram center can be always kept at the center position of the whole eye diagram in the long-time operation process of hardware equipment, thereby enhancing and repairing the signal of the receiving end, ensuring the signal integrity of the receiving end and improving the reliability of a link.
In some embodiments, determining the left boundary threshold of the current eye diagram center point comprises setting a maximum allowable error value of the eye diagram left boundary and setting a left initial starting point of the current eye diagram center point, searching from the left initial starting point in a direction towards the current eye diagram center point according to a preset step length, acquiring a left error count value, and taking a previous sampling point corresponding to the current left sampling point as the left boundary threshold under the condition that the left error count value is larger than the maximum allowable error value of the left boundary.
Specifically, when determining the left boundary threshold value of the current eye center point, the maximum allowable error value of the eye left boundary and the left initial starting point of the current eye center point are first set. Starting from the left initial starting point, searching sampling points according to a preset step length to the direction of the current eye diagram center point, recording a left error count value in each searching process, and comparing the left error count value with the maximum allowable error value of the left boundary to determine a left boundary threshold value.
Illustratively, assuming a maximum allowable error value of 2 for the left boundary, the left initial starting point isFrom the slaveStarting with a preset step length [ ]) Searching in the direction of the current eye diagram center point, and searching a sampling pointWhen the left error count value is 0, the sampling point is searchedWhen the left error count value is 1, the sampling point is searchedWhen the left error count value is 2, the sampling point is searchedAt this time, the left error count value is 3. It can be seen that when the sampling point is searchedWhen the left error count value is greater than the maximum allowable error value of the left boundary, then the sampling point is sampledIs the previous sample point of (2)As the left boundary threshold.
In some embodiments, the obtaining of the left error count value includes determining an eye scan deviation value according to a current eye center point, obtaining a current left data actual sampling value of a clock data recovery function in a normal working state, adding one to the left error count value when the current left data actual sampling value is inconsistent with the sampling value of the eye scan deviation value, and judging the next sampling point according to a preset step length.
Specifically, starting from the left initial starting point, searching a sampling point in the direction of the current eye diagram center point according to a preset step length, acquiring a current left data actual sampling value and an eye diagram scanning deviation value sampling value of a clock data recovery function in a normal working state in each searching process, and determining a left error count value by judging whether the current left data actual sampling value and the eye diagram scanning deviation value sampling value of the clock data recovery function in the normal working state are consistent. The sampling value of the eye scan deviation value corresponds to the sampling value of the sampling point searched from the initial starting point at the left side according to the direction of the preset step length to the current eye center point, and the eye scan deviation value is the preset step length. It should be noted that, the actual sampling value of the current left data and the sampling value of the eye scan deviation value of the clock data recovery function in the normal working state may be obtained by a preset sampling circuit, and the specific obtaining mode is not limited herein.
The eye scan deviation value is determined according to the current eye center point, e.g. at the current eye center pointWhen the eye scan deviation value isAt the center point of the current eye pattern isWhen the eye scan deviation value is. In the following description, the eye scan deviation value is taken asThe examples are given by way of illustration and are not to be construed as limiting the invention.
Illustratively, the left-hand initial starting point isFrom the slaveStarting with a preset step length [ ]) Searching towards the current eye diagram center point. At the time of searching for the sampling pointWhen the eye pattern scanning sampling point is obtainedSampling value of time, current left data actual sampling value and eye scanning sampling point in normal working state of clock data recovery functionWhen the sampling values are identical, the left error count value is not increased by one, i.e. the left error count value is 0, when the sampling points are searchedWhen the eye pattern scanning sampling point is obtainedSampling value of time, current left data actual sampling value and eye scanning sampling point in normal working state of clock data recovery functionIn case of inconsistent sampling values, the left error count value is increased by one, i.e. the left error count value is 1, and when the sampling point is searchedWhen the eye pattern scanning sampling point is obtainedSampling value of time, current left data actual sampling value and eye scanning sampling point in normal working state of clock data recovery functionAnd under the condition that the sampling values are inconsistent, the left error count value is continuously increased by one, namely the left error count value is 2, and the like, judging the next sampling point according to a preset step length so as to determine the final left error count value.
In some embodiments, the method further comprises determining that the stop adjustment condition is met if the left error count value is less than a maximum allowable error value for the left boundary and the position of the current sample point reaches a separation distance of the current eye center point.
Specifically, when the left boundary threshold value of the current eye diagram center point is determined, starting from the left initial starting point, searching for a sampling point in the direction of the current eye diagram center point according to a preset step length, and if the position of the current sampling point has reached the separation distance of the current eye diagram center point, but the left error count value is still smaller than the maximum allowable error value of the left boundary, determining that the stop adjustment condition is met, and not needing to adjust the center point position of the current eye diagram center.
Exemplary, assume that the maximum allowable error value of the left boundary is 2, and the sampling point position corresponding to the separation distance of the center point of the current eye pattern isFrom the slaveStarting with a preset step length [ ]) Searching in the direction of the current eye diagram center point, and searching a sampling pointAnd when the left error count value is 1 and is still smaller than the maximum allowable error value of the left boundary, determining that the stop adjustment condition is met.
In some embodiments, determining the right boundary threshold of the current eye center includes setting a maximum allowable error value of the right eye boundary and setting a right initial starting point of the current eye center point, searching from the right initial starting point in a direction towards the current eye center point according to a preset step length, acquiring a right error count value, and taking a previous sampling point corresponding to the current right sampling point as the right boundary threshold when the right error count value is greater than the maximum allowable error value of the right boundary.
Specifically, when determining the right boundary threshold value of the current eye center point, the maximum allowable error value of the eye right boundary and the right initial starting point of the current eye center point are first set. Starting from the right initial starting point, searching a sampling point according to a preset step length towards the direction of the current eye diagram center point, recording a right error count value in each searching process, and comparing the right error count value with the maximum allowable error value of the right boundary to determine a right boundary threshold value.
Exemplary, assuming a maximum allowable error value of 2 for the right boundary, the right initial starting point isFrom the slaveStarting with a preset step length [ ]) Searching in the direction of the current eye diagram center point, and searching a sampling pointWhen the right error count value is 0, the sampling point is searchedWhen the right error count value is 1, the sampling point is searchedWhen the right error count value is 2, the sampling point is searchedThe right error count value is 3. It can be seen that when the sampling point is searchedWhen the right error count value is greater than the maximum allowable error value of the right boundary, then the sampling point is sampledIs the previous sample point of (2)As the right boundary threshold.
In some embodiments, obtaining the right error count value includes determining an eye scan deviation value according to a current eye center point, obtaining a current right data actual sampling value of a clock data recovery function in a normal working state, adding one to the right error count value if the current right data actual sampling value is inconsistent with the sampling value of the eye scan deviation value, and judging the next sampling point according to a preset step length.
Specifically, starting from the right initial starting point, searching a sampling point in the direction of the current eye diagram center point according to a preset step length, acquiring a current right data actual sampling value of the clock data recovery function in a normal working state and a sampling value of the sampling point during eye diagram scanning in each searching process, and determining a right error count value by judging whether the current right data actual sampling value of the clock data recovery function in the normal working state is consistent with the sampling value of the eye diagram scanning deviation value. The sampling value of the eye scan deviation value corresponds to the sampling value of the sampling point searched from the right initial starting point according to the direction of the preset step length to the current eye center point, and the eye scan deviation value is the preset step length. The eye scan deviation value is determined according to the current eye center point, and will not be described here. It should be noted that, the actual sampling value of the current right data and the sampling value of the eye scan deviation value of the clock data recovery function in the normal working state may be obtained by a preset sampling circuit, and the specific obtaining mode is not limited herein.
Illustratively, the right side initial starting point isFrom the slaveStarting with a preset step length [ ]) Searching towards the current eye diagram center point. At the time of searching for the sampling pointWhen the eye pattern scanning sampling point is obtainedSampling value of time, current right data actual sampling value and eye scanning sampling point in normal working state of clock data recovery functionWhen the sampled values are identical, the right error count value is not increased by one, i.e. the right error count value is 0, and when the sampled points are searchedWhen the eye pattern scanning sampling point is obtainedSampling value of time, current right data actual sampling value and eye scanning sampling point in normal working state of clock data recovery functionWhen the sampling values are inconsistent, the right error count value is increased by one, namely the right error count value is 1, and when the sampling points are searchedWhen the eye pattern scanning sampling point is obtainedSampling value of time, current right data actual sampling value and eye scanning sampling point in normal working state of clock data recovery functionAnd under the condition that the sampling values are inconsistent, the right error count value is continuously increased by one, namely the right error count value is 2, and the like, judging the next sampling point according to a preset step length so as to determine the final right error count value.
In some embodiments, the method further comprises determining that the stop adjustment condition is met if the right error count value is less than a maximum allowable error value for the right boundary and the position of the current sample point reaches a separation distance of the current eye center point.
Specifically, when the right boundary threshold value of the current eye diagram center point is determined, starting from the right initial starting point, searching for a sampling point in the direction of the current eye diagram center point according to a preset step length, and if the position of the current sampling point reaches the separation distance of the current eye diagram center point, but the right error count value is still smaller than the maximum allowable error value of the right boundary, determining that the stop adjustment condition is met, and adjusting the center point position of the current eye diagram center is not needed.
Exemplary, assuming a maximum allowable error value of 2 for the right boundary, the sampling point position corresponding to the separation distance of the center point of the current eye pattern isFrom the slaveStarting with a preset step length [ ]) Searching in the direction of the current eye diagram center point, and searching a sampling pointAnd when the right error count value is 1 and is still smaller than the maximum allowable error value of the right boundary, determining that the stop adjustment condition is met.
In some embodiments, determining that the current eye center point is shifted from the left boundary threshold and the right boundary threshold of the current eye center point includes determining that the current eye center point is shifted to the left if the product of the left boundary threshold and the preset multiple factor is greater than the product of the right boundary threshold and the preset redundancy parameter, and determining that the current eye center point is shifted to the right if the product of the right boundary threshold and the preset multiple factor is greater than the product of the left boundary threshold and the preset redundancy parameter.
In some embodiments, the method further comprises determining that no shift occurs in the current eye center point if the product of the left boundary threshold and the preset multiple factor is less than or equal to the product of the right boundary threshold and the preset redundancy parameter, and the product of the right boundary threshold and the preset multiple factor is less than or equal to the product of the left boundary threshold and the preset redundancy parameter.
Specifically, after the left boundary threshold and the right boundary threshold of the current eye center point are determined, whether the front eye center point is shifted or not can be judged according to the left boundary threshold and the right boundary threshold of the current eye center point, and a specific shift condition of the current eye center point is determined.
Illustratively, if the left and right boundary thresholds of the current eye center point satisfy the following formulas, then it is determined that the current eye center point is shifted to the left:
Left boundary threshold x preset multiple factor > right boundary threshold x preset redundancy parameter.
If the left boundary threshold and the right boundary threshold of the current eye center point meet the following formulas, determining that the current eye center point is shifted to the right side:
the right boundary threshold x preset multiple factor > the left boundary threshold x preset redundancy parameter.
If the left boundary threshold and the right boundary threshold of the current eye center point simultaneously meet the following two formulas, determining that no offset exists in the current eye center point:
The left boundary threshold value multiplied by a preset multiple factor is less than or equal to the right boundary threshold value multiplied by a preset redundancy parameter,
The right boundary threshold value multiplied by a preset multiple factor is less than or equal to the left boundary threshold value multiplied by a preset redundancy parameter.
The preset multiple factor may be determined according to practical situations, for example, the preset multiple factor may be 10, which is not limited herein. The preset redundancy parameter is a dead zone range of the eye center point, when the eye center point is shifted within the dead zone range, the center point can still be considered to be at the optimal position without adjustment, and under the condition that the hardware circuit is determined, the corresponding preset redundancy parameter is also determined accordingly, that is to say, the preset redundancy parameter can be determined according to the hardware circuit, and the specific limitation is not made here.
In some embodiments, the adjusting the equalization parameter according to the offset condition includes adjusting the equalization parameter to adjust the current eye center point to the right and record the right adjustment times when the current eye center point is offset to the left, and adjusting the equalization parameter to adjust the current eye center point to the left and record the left adjustment times when the current eye center point is offset to the right, wherein one of the left adjustment times and the right adjustment times is a positive integer and the other is a negative integer.
In particular, the shift of the center point position of the center of the current eye pattern is generally caused by the excessive or insufficient gain of the CTLE circuit to the high frequency signal. In general, too much gain of the CTLE circuit on the high frequency signal will cause the center point position of the current eye center to shift to the left, and too little gain of the CTLE circuit on the high frequency signal will cause the center point position of the current eye center to shift to the right. Therefore, the equalization parameters can be adjusted according to the offset condition, for example, the resistance parameters or the capacitance parameters of the CTLE circuit are adjusted to adjust the gain of the CTLE circuit on the high-frequency signal, so as to adjust the center point position of the current eye diagram center.
For example, when the current eye center point is shifted to the left, the resistance value may be increased or the capacitance value may be decreased to decrease the gain of CTLE to the high frequency signal, so that the eye center point is shifted to the right. When the current eye center point is shifted to the right, the resistance value can be reduced or the capacitance value can be increased to increase the gain of CTLE to the high frequency signal, so that the eye center point is shifted to the left.
During the adjustment of the current eye center point, a condition of left-right oscillation may occur. For example, after the current eye center point is adjusted to the left, it is found that the eye center point is biased to the left, and then adjusted to the right again, so that an oscillation phenomenon is caused, which indicates that the adaptive adjustment method of the eye center point cannot converge, and the oscillation affects the stability and the adjustment efficiency of the system. Therefore, in the adjustment process of the current eye center point, the left adjustment times and the right adjustment times need to be recorded, for example, the left adjustment times are recorded as +1, and the right adjustment times are recorded as-1. Judging whether the oscillation phenomenon exists or not by analyzing the adjustment record, and stopping adjusting the current eye diagram center point under the condition that the oscillation phenomenon exists.
In some embodiments, the stop adjustment condition includes the equalization parameter reaching a preset maximum or preset minimum, or the sum of the left adjustment times and the right adjustment times being less than or equal to a preset value, or the iteration times of the eye center point adjustment reaching a preset number.
Specifically, in the adjustment process of the current eye center point, whether the equalization parameter, the sum of the left adjustment times and the right adjustment times or the iteration times of the eye center point adjustment meet the corresponding stop adjustment conditions or not can be judged in real time, and if one or more of the equalization parameter, the sum of the left adjustment times and the right adjustment times and the iteration times of the eye center point adjustment meet the corresponding stop adjustment conditions, the adjustment of the current eye center point is stopped.
When the equalization parameters are adjusted, the resistance value of the CTLE circuit reaches a preset maximum value or a preset minimum value, or the capacitance value of the CTLE circuit reaches a preset maximum value or a preset minimum value, which indicates that the adjustment stopping condition is met, and the adjustment of the center point of the current eye diagram can be stopped. The preset maximum value and the preset minimum value of the resistance value of the CTLE circuit and the preset maximum value and the preset minimum value of the capacitance value of the CTLE circuit may be determined according to practical situations, and are not particularly limited herein.
Judging whether an oscillation phenomenon exists or not by analyzing the adjustment record, and if the adjustment record of the current eye diagram center point is [ +1, -1, -1, +1], wherein +1 represents the left adjustment times, -1 represents the right adjustment times, the sum of the left adjustment times and the right adjustment times is 1, if the sum is smaller than or equal to a preset value (for example, 1), the oscillation phenomenon exists, the adaptive adjustment method of the eye diagram center point cannot converge, and the adjustment of the current eye diagram center point can be stopped if the stop adjustment condition is met, so that the system stability can be ensured to a certain extent. The preset value may be determined according to actual situations, and is not particularly limited herein.
And acquiring the iteration times of the eye pattern center point adjustment, judging whether the iteration times of the eye pattern center point adjustment reach the preset times, if the iteration times reach the preset times, indicating that the adjustment stopping condition is met, adjusting and stopping the current eye pattern center point, and if the iteration times do not reach the preset times, continuing to adjust the current eye pattern center point. The preset number of times may be determined according to practical situations, and is not particularly limited herein.
In some embodiments, the eye center point adjustment condition includes that the environment temperature of the serial high-speed data transmission link is greater than a preset temperature threshold, or the time interval between the serial high-speed data transmission link and the last eye center point adjustment is preset time, or the serial high-speed data transmission link is successfully established for the first time and is in a normal working state.
Specifically, in the running process of the serial high-speed data transmission link, whether the environment temperature of the serial high-speed data transmission link or the time interval between the serial high-speed data transmission link and the last eye center point adjustment meets the corresponding eye center point adjustment condition is determined in real time, and if the environment temperature of the serial high-speed data transmission link, the time interval between the serial high-speed data transmission link and the last eye center point adjustment condition and the environment temperature of the serial high-speed data transmission link and the time interval between the serial high-speed data transmission link and the last eye center point adjustment condition meet the corresponding eye center point adjustment condition, the eye center point is adjusted.
When the environmental temperature of the serial high-speed data transmission link is relatively high, the performance of the electronic device is affected, for example, the threshold voltage of the semiconductor device is reduced, the mobility of carriers is reduced, the dielectric constant of the PCB material and the thermal expansion coefficient of the PCB material are changed, the power supply noise is increased, and the like, so that the center point of an eye diagram is shifted. Therefore, whether the eye diagram center point is adjusted is determined by comparing the environment temperature of the serial high-speed data transmission link with a preset temperature threshold, so that the influence of the environment temperature of the serial high-speed data transmission link on the eye diagram center point position is reduced. For example, if the environmental temperature of the serial high-speed data transmission link is greater than the preset temperature threshold, it is determined that the eye center point adjustment condition is satisfied, and the eye center point adjustment can be started. The environmental temperature of the serial high-speed data transmission link can be detected and obtained through an environmental temperature sensor, and the preset temperature threshold can be determined according to practical conditions without specific limitation.
In the running process of the serial high-speed data transmission link, factors such as hardware aging, signal accumulation effect and the like can influence the central point of the eye diagram. Therefore, the eye diagram center point can be adjusted at intervals of preset time, and the best performance of the serial high-speed data transmission link can be ensured to a certain extent all the time in the long-time operation process. For example, the time interval between the last eye center point adjustment and the last eye center point adjustment is obtained, the time interval between the last eye center point adjustment and the last eye center point adjustment is compared with the preset time, if the time interval between the last eye center point adjustment and the last eye center point adjustment is the preset time, it is determined that the eye center point adjustment condition is met, and the eye center point adjustment can be started. The preset time may be determined according to practical situations, for example, the preset time may be 1s, which is not limited herein. It should be noted that, when the preset time is 1, the influence of the eye center point adjustment on the IO performance can be effectively reduced.
In addition, in order to ensure that the eye diagram center point is at the optimal position to a certain extent when the serial high-speed data transmission link is initialized, the eye diagram center point needs to be adjusted when the serial high-speed data transmission link is successfully established for the first time and is in a normal working state, so that the signal integrity and the transmission quality are improved, and the stability and the reliability of the link are maintained particularly in a high-temperature or long-time operation process.
To sum up, referring to fig. 4, in the case that the environmental temperature where the serial high-speed data transmission link is located is greater than a preset temperature threshold, or in the case that the time interval between the serial high-speed data transmission link and the last eye diagram center point adjustment is a preset time, or in the case that the serial high-speed data transmission link is successfully established for the first time and is in a normal working state, the eye diagram center point is adjusted.
As a specific example, referring to fig. 5, the method for adaptively adjusting the eye center point according to the embodiment of the present invention may further include the following steps:
S201, start.
S202, setting preset iteration times of eye pattern center point adjustment and initializing resources.
S203, judging whether the current iteration times are smaller than the preset iteration times and sampling the center point is completed. If yes, S204 is performed, otherwise S205 is performed.
S204, determining a left boundary threshold value and a right boundary threshold value of the eye center point through hardware EOM.
S205, the center point is kept abnormal, and the center point cannot be found.
S206, judging whether the eye center point is at the center position or not according to the left boundary threshold value and the right boundary threshold value of the eye center point. If yes, S209 is performed, otherwise S207 is performed.
S207, the eye center point is adjusted leftwards or rightwards.
S208, judging whether the equalization parameter reaches a preset maximum value or a preset minimum value. If yes, S211 is performed, otherwise S209 is performed.
S209, record the last M left or right adjustment times.
S210, judging whether the balance adjustment is oscillated leftwards or rightwards for the last M times. If yes, S211 is performed, otherwise S203 is performed.
S211, ending.
In summary, the method for adjusting the eye center point is characterized in that the eye center point is adaptively adjusted through periodic or temperature overtemperature inspection triggering, the eye center can be kept at the center position of the whole eye in the long-time operation process of hardware equipment, so that signals of a receiving end are enhanced and repaired, the error rate is reduced, the integrity of the signals of the receiving end is guaranteed, the reliability of a link is improved, preset redundancy parameters are set, a hardware EOM module is combined, the left boundary threshold value and the right boundary threshold value of the eye center point are scanned, the offset condition of the eye center point is determined according to the preset redundancy parameters, the left boundary threshold value and the right boundary threshold value, equalization parameter adjustment is carried out according to the offset condition of the eye center point, the eye center point is adaptively kept at the center by using a multi-step iterative method, the eye center point is adjusted after the stop adjustment condition is met, the convergence condition of the eye center point is determined through a summation mode under the condition of recording left offset oscillation and right offset oscillation, and the eye center point is adjusted when the eye center point cannot be converged.
The present invention also proposes a computer-readable storage medium corresponding to the above-described embodiments.
The computer readable storage medium of the present invention has stored thereon a computer program which, when executed by a processor, implements the aforementioned method of adaptive adjustment of eye center points.
It should be noted that the above explanation of the embodiments and advantageous effects of the adaptive adjustment method for the center point of the eye diagram is also applicable to the computer readable storage medium of the embodiments of the present invention, and is not further detailed herein to avoid redundancy.
The invention also provides a terminal device corresponding to the embodiment.
Referring to fig. 6, the terminal device 600 of the present invention includes a memory 610, a processor 620 and a computer program stored in the memory 610 and capable of running on the processor 620, and when the processor executes the computer program, the foregoing method for adaptively adjusting the eye center point is implemented.
It should be noted that the above explanation of the embodiment and the beneficial effects of the adaptive adjustment method for the center point of the eye diagram is also applicable to the terminal device according to the embodiment of the present invention, and is not developed in detail herein to avoid redundancy.
The invention also proposes a computer program product corresponding to the above embodiments.
The computer program product of the present invention comprises a computer program/instruction which, when executed by a processor, implements the aforementioned method of adaptive adjustment of eye center points.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered as a ordered listing of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include an electrical connection (an electronic device) having one or more wires, a portable computer diskette (a magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of techniques known in the art, discrete logic circuits with logic gates for implementing logic functions on data signals, application specific integrated circuits with appropriate combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
In the present application, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed, mechanically connected, electrically connected, directly connected, indirectly connected through an intervening medium, or in communication between two elements or in an interaction relationship between two elements, unless otherwise explicitly specified. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances.
While embodiments of the present application have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the application, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the application.
Claims (15)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202510162167.6A CN119652356B (en) | 2025-02-13 | 2025-02-13 | Self-adaptive adjustment method for eye pattern center point, terminal equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202510162167.6A CN119652356B (en) | 2025-02-13 | 2025-02-13 | Self-adaptive adjustment method for eye pattern center point, terminal equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN119652356A CN119652356A (en) | 2025-03-18 |
| CN119652356B true CN119652356B (en) | 2025-05-23 |
Family
ID=94956855
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202510162167.6A Active CN119652356B (en) | 2025-02-13 | 2025-02-13 | Self-adaptive adjustment method for eye pattern center point, terminal equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN119652356B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119937726B (en) * | 2025-04-03 | 2025-08-12 | 中茵微电子(南京)有限公司 | Method for lpddr rapid ca train |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119003399A (en) * | 2023-05-17 | 2024-11-22 | 三星电子株式会社 | Integrated circuit for performing link equalization, method of operating the same, and memory device |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102409883B1 (en) * | 2017-12-07 | 2022-06-22 | 칸도우 랩스 에스에이 | Decision feedback equalization correction of eye scope measurements |
| US10791009B1 (en) * | 2019-11-13 | 2020-09-29 | Xilinx, Inc. | Continuous time linear equalization (CTLE) adaptation algorithm enabling baud-rate clock data recovery(CDR) locked to center of eye |
| CN112532550B (en) * | 2020-12-01 | 2022-08-26 | 苏州盛科通信股份有限公司 | Automatic tuning system for Ethernet receiving end equalizer |
| JP7669900B2 (en) * | 2021-10-08 | 2025-04-30 | 富士通株式会社 | Driving capability adjustment method and information processing device |
| CN116738895A (en) * | 2022-03-02 | 2023-09-12 | 长鑫存储技术有限公司 | Signal eye diagram analysis system and method thereof |
| CN116152148A (en) * | 2022-10-31 | 2023-05-23 | 武汉楚精灵医疗科技有限公司 | Eye atrial angle determination method, device, electronic equipment and storage medium |
| CN116312682B (en) * | 2023-05-18 | 2023-08-08 | 牛芯半导体(深圳)有限公司 | Eye pattern center determining method and device, electronic equipment and storage medium |
-
2025
- 2025-02-13 CN CN202510162167.6A patent/CN119652356B/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119003399A (en) * | 2023-05-17 | 2024-11-22 | 三星电子株式会社 | Integrated circuit for performing link equalization, method of operating the same, and memory device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN119652356A (en) | 2025-03-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN119652356B (en) | Self-adaptive adjustment method for eye pattern center point, terminal equipment and storage medium | |
| US8654884B2 (en) | Channel equalization using application specific digital signal processing in high-speed digital transmission systems | |
| CN108540244B (en) | Pre-emphasis coefficient test method and device and communication equipment | |
| US20110317751A1 (en) | Adaptive equalizer for high-speed serial data | |
| TWI580215B (en) | Signal modulation method, adaptive equalizer and memory storage device | |
| EP1709758A4 (en) | GALER EQUALIZER DETERMINISTIC | |
| CN114513393B (en) | Analog equalizer correction method, control chip, receiver and storage medium | |
| CN101257583A (en) | Decision feedback equalizer and method for equalizing input signal thereof | |
| US12143249B2 (en) | Error detection and correction device capable of detecting head position of suspicious error and performing forward error propagation path tracking for providing information needed by follow-up error correction and associated method | |
| JP2008301337A (en) | Input and output circuit | |
| US8369470B2 (en) | Methods and apparatus for adapting one or more equalization parameters by reducing group delay spread | |
| CN115276688A (en) | Receiver and equalization method therefor, clock recovery circuit and method, device and medium | |
| US10855437B1 (en) | Clock data recovery apparatus and operation method thereof | |
| CN1241374C (en) | Method and system for minimum square error equalization iteratively circulating shorrt training sequences until MSE falls below target threshold | |
| US11153135B1 (en) | Methods and systems for adaptive equalization with wide range of signal amplitudes | |
| US7872984B2 (en) | Discovering parameters for a communications link | |
| US11575549B2 (en) | Continuous time linear equalization and bandwidth adaptation using asynchronous sampling | |
| JP2008158906A (en) | System, method and program for adjusting collection interval in resource monitoring | |
| EP3200411B1 (en) | Equalization in high speed links through in-situ channel estimation | |
| WO2021189360A1 (en) | Channel tracking method and related device therefor | |
| WO2024109014A1 (en) | Bit-error test method and related device | |
| US20230318883A1 (en) | Decision feedback equalization with efficient burst error correction | |
| KR102751865B1 (en) | Elimination of channel impairments due to skew and channel asymmetry using composite filters | |
| CN119449101B (en) | Signal recovery method integrating noise detection and priori estimation | |
| JP2006295293A (en) | Equalizer and equalization method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |