A method for processing a received digital signal includes generating a clock signal used for sampling the received signal by comparator which compares the received signal to a reference. A phase shifter adjusts the phase of the first clock signal to maximize the vertical eye opening of the signal at the sampling time. The phase of the clock signal may be adjusted in a first direction and a measure of vertical eye opening of the signal compared to a previous measure. If the measure of vertical eye opening has increased the signal another phase adjustment may be made in the same direction whereas if the vertical eye opening of the signal has decreased a further phase adjustment in the opposite direction may be made.
|
1. A method of processing a digital signal comprising:
receiving a digital signal having a bit period;
deriving a first clock signal from the digital signal for sampling the digital signal at a sampling time during each bit period;
performing a sweep of all phase values of the digital signal;
determining from the sweep of all phase values of the digital signal which phase corresponds to a maximum vertical eye opening;
adjusting the phase of the first clock signal to the phase that corresponds to maximum vertical eye opening; and
adjusting the phase of the first clock signal to improve a vertical eye opening of the digital signal at the sampling time by
(a) measuring the vertical eye opening of the signal at a first phase of the first clock signal;
(b) making an adjustment to the phase of the first clock signal in a direction;
(c) determining whether the vertical eye opening has increased or decreased by
(i) determining a first signal value that a first predetermined proportion of samples are below;
(ii) determining a second signal value that a second predetermined proportion of signal values are below; and
(iii) determining the difference between the first signal value and second signal value;
(d) if the vertical eye opening has increased, repeating (a) to (c) with an adjustment to the phase of the first clock signal in the same direction; and
(e) if the vertical eye opening has not increased, repeating (a) to (c) with an adjustment to the phase of the first clock signal in an opposite direction.
2. A method for processing a digital signal as recited in
3. A method for processing a digital signal as recited in
4. A method as claimed in
|
This application is a continuation of U.S. patent application Ser. No. 12/825,016, filed Jun. 28, 2010, which is incorporated herein by reference.
The present invention relates to methods and apparatus for receiving digital data signals and especially to methods and apparatus for identifying the bits in a received signal.
In a conventional binary, serial data link between a transmitter and a receiver each ‘bit’ of information is encoded by the transmitter as the polarity of the signal. Depending on the nature of the transmitter and the receiver the signal which is transmitted may, for instance, be an electrical signal or optical signal and the signal may be transmitted via any suitable channel, for example via free space or via a suitable guide medium such as a conductive wire or fibre optic cable. The data is transmitted at a fixed rate, with each data bit occupying a period of time equal to the bit period. The receiver is required to determine the polarity of each bit received in order to correctly recover the data sequence. A simple receiver will have a single threshold placed half way between the average ‘1’ level and the average ‘0’ level.
Some digital data streams, especially high-speed serial data streams are sent without an accompanying clock signal. The receiver generates a clock from an approximate frequency reference, and then phase-aligns to the transitions in the data stream with a phase-locked loop (PLL). This process is commonly known as clock and data recovery (CDR).
A phase-locked loop or phase lock loop (PLL) is a control system that tries to generate an output signal whose phase is related to the phase of the input signal. A phase-locked loop circuit compares the phase of the input signal with a phase signal derived from its output oscillator signal and adjusts the frequency of its oscillator to keep the phases matched. The recovered clock determines the times at which the received signal is sampled and quantized.
The common approach to the PLL is to use it to generate a local clock aligned to the transitions in the data. This is shifted by 180 degrees (typically by means of a simple inversion) to provide the clock for sampling the input signal, such that the sampling time is midway between the transition times.
A sampling time midway between the transition times, i.e. in the middle of the bit period, is generally used.
The present invention provides an improved method for sampling received data.
Thus according to the present invention there is provided a method of processing a received digital signal comprising: generating a first clock signal for sampling the received signal each bit period; and adjusting the phase of the first clock signal to maximize the vertical eye opening of the signal at the sampling time.
As will be explained in more detail below, the vertical eye opening of a signal is an indication of the extent of difference between the signal values of the bits of opposite polarity in the signal. In other words, the vertical eye opening of a signal is an indication of the gap between the signal values that represent a binary 1 and the signal values that represent a binary 0. By overlaying the signal values of a plurality of bits on the same graph an ‘eye’ diagram can be produced. The vertical extent of the eye opening, the gap between the signal levels of the 1s and 0s is indicative of the signal to noise ratio of the signal. Ideally the signal should be compared to a reference level, to determine the polarity, i.e. whether it is a 1 or a 0, at the point of greatest eye opening. This is conventionally taken to be the midpoint of the bit period as determined in clock recovery. However, various channel effects may mean that the midpoint is not actually the best place to sample the signal. The method of the present invention determines substantially when the maximum eye opening occurs and samples at that time. The method may therefore involve estimating the vertical eye opening of the received signal.
The method may be iterative and may comprises measuring the vertical eye opening of the signal at a first phase of the first clock signal, making an adjustment to the phase of the first clock signal and determining whether the vertical eye opening has increased or decreased. If the vertical eye opening has increased the method is repeated with another adjustment to the phase in the same direction, i.e. if a phase delay was increased the delay is increased further, if a phase delay was reduced it is reduced further. If however the eye opening reduces as a result of the phase adjustment the method is repeated with an adjustment to the phase in the opposite direction, i.e. if the initial adjustment was to increase a delay the next adjustment is to reduce it. In this way the phase is iteratively adjusted to find the position of maximum eye opening.
The invention also provides an apparatus for sampling a received digital data signal comprising: a clock generator for generating a first clock signal for sampling the signal, a comparator for comparing the received signal to a reference a phase shifter for adjusting the phase of the first clock signal; and a controller configured to adjust the phase of the first clock signal to maximize the vertical eye opening of the signal at the sampling time.
The invention will now be described by way of example only with respect to the following drawings, of which:
A digital receiver will generally compare the received signal to a reference level in order to determine the polarity of a particular bit. The comparison is clocked at a particular time and the result is used as the indication of the polarity of that bit.
In some data signals the data signal is received without a clock signal and so the clock signal needs to be recovered from the received data, for example using a phase locked loop.
When the data signal is symmetrical, the mid-point also represents the point with the largest vertical eye opening. Assuming the noise on the signal is uncorrelated to the data pattern, the point with the largest vertical eye opening will also represent the sampling point where the signal-to-noise ratio is the highest. Sampling data at this point will result in the lowest error-rate and the best quality signal.
However in some instances, noise and other channel effects, may result in a received signal where the eye diagram is not symmetrical.
The present invention finds the sampling point with the largest vertical eye opening, independent from the eye crossing points.
In an embodiment of the present invention an adjustable phase shifter is used to adjust the phase of the clock signal used to sample the received signal. The phase shifter is controlled to adjust the phase shift in order to minimize the bit error rate.
Referring to
As the phase of the clock signal used for sampling is automatically adjusted it is not necessary to guarantee accurate phase alignment between the phase detector of the phase-locked loop and the quantizers of the receiver, across all corners of operation e.g. from one chip to another and/or across the range of operating temperatures. At high data rates, this is difficult to achieve. Thus the method relaxes the operating constraints on the receiver.
Further to minimize bit error rate, it is desirable to sample at the point of maximum vertical eye opening. Phase-locked loops typically provide a clock which is centered on the horizontal eye opening. Depending on the characteristics of the channel, it is quite common for the eye opening to be asymmetrical, so that the maximum vertical opening does not occur at this point.
The phase algorithm makes use of an estimate of vertical inner eye opening, which is obtained by determining the 45th and 55th percentile levels, i.e. a first level at which 45 percent of the signal values are below the first level and a second level at which 55 percent of the signal values are below the level. The 45th percentile is towards the top end of the distribution of zeros, and the 55th percentile is towards the bottom end of the distribution of ones. Therefore, the distance between these two points constitutes an estimation of inner eye opening. These exact percentiles need not be used and other percentiles may be used in other cases, but it is desirable not to be too close to the 50th percentile in order to be able to tolerate small disparities in the transmitted bit sequence (that is, small imbalances between the number of ones and number of zeroes).
The phase algorithm operates at a fixed period during which a plurality of bits are detected. At the end of each period, the eye opening is compared with the eye opening at the end of the previous period. If the eye opening has increased, then the phase is advanced in the same direction as it was advanced last time. On the other hand, if the eye opening has decreased, then the phase is advanced in the opposite direction to that which was used last time. This algorithm has the effect of settling at an eye opening maximum, though even when settled it will of course continue to dither around the settling point.
Referring to
The graph of eye opening as a function of phase is normally monotonic, but depending on the characteristics of the channel it can be non-monotonic, which gives rise to the possibility that the phase algorithm will settle at a local maximum, but not the overall maximum. To avoid this problem, an initial sweep is made over the full range of phase, and the location of the largest eye opening is noted. Operation of the phase algorithm is then started from this point. Subsequently the phase algorithm will track any slow variations without danger of becoming stuck at a local maximum.
It should be noted that it is generally only acceptable to perform the phase sweep at start-up, since it inevitably causes errors in the received data. The phase algorithm, on the other hand, only dithers the phase by small amounts, and can therefore run continuously without affecting the bit error rate unduly.
The dither introduced by the phase algorithm inevitably increases the clock jitter. In order to minimize the clock jitter at the output of the receiver, the output signal may be retimed to a separate clock, produced by a second phase shifter. At the end of the initial sweep, both phase shifters are set to the phase corresponding to maximum eye opening. In normal operation, the second phase shifter remains at this setting, and consequently does not contribute to output jitter. However, it is necessary that the settings of the two phase shifters do not deviate excessively from each other, otherwise bit errors would be introduced in the retiming stage. For this reason, it may occasionally be necessary to adjust the second phase shifter if there has been a significant change in the range over which the main phase shifter is dithering. A simple hysteresis algorithm may be used to determine when adjustments in the setting of the second phase shifter are required.
Willcocks, Ben, Born, Chris, Marquina, Miguel, Sharratt, Andrew, Van Der Horst, Allard
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
3633108, | |||
4789994, | Aug 12 1987 | American Telephone and Telegraph Company, AT&T Bell Laboratories | Adaptive equalizer using precursor error signal for convergence control |
6084931, | Oct 31 1997 | Sony Corporation | Symbol synchronizer based on eye pattern characteristics having variable adaptation rate and adjustable jitter control, and method therefor |
6178213, | Aug 25 1998 | HANGER SOLUTIONS, LLC | Adaptive data recovery system and methods |
6621861, | Feb 06 2002 | Ciena Corporation | System to optimize signal detection |
6930628, | May 03 2001 | Cisco Technology, Inc | Amplitude detection for controlling the decision instant for sampling as a data flow |
7362837, | Aug 29 2003 | Intel Corporation | Method and apparatus for clock deskew |
7640463, | Jun 30 2006 | AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LIMITED | On-chip receiver eye finder circuit for high-speed serial link |
7643576, | May 18 2004 | Wistron Corporation | Data-signal-recovery circuit, data-signal-characterizing circuit, and related integrated circuits, systems, and methods |
8081723, | Apr 09 2008 | Altera Corporation | Serial data signal eye width estimator methods and apparatus |
8126039, | May 16 2006 | AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LIMITED | Methods and apparatus for evaluating the eye margin of a communications device using a data eye monitor |
8407511, | Aug 28 2008 | AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LIMITED | Method and apparatus for generating early or late sampling clocks for CDR data recovery |
20040146119, | |||
20050259764, | |||
20100054383, | |||
20100202578, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Jun 23 2014 | Maxim Integrated Products, Inc. | (assignment on the face of the patent) | / | |||
Aug 29 2014 | BORN, CHRIS | Maxim Integrated Products, Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 034131 | /0586 | |
Oct 04 2014 | VAN DER HORST, ALLARD | Maxim Integrated Products, Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 034131 | /0586 | |
Oct 07 2014 | WILLCOCKS, BEN | Maxim Integrated Products, Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 034131 | /0586 | |
Oct 08 2014 | MARQUINA, MIGUEL | Maxim Integrated Products, Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 034131 | /0586 | |
Oct 27 2014 | ANDREW, SHARRATT | Maxim Integrated Products, Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 034131 | /0586 |
Date | Maintenance Fee Events |
May 24 2019 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Apr 20 2023 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Date | Maintenance Schedule |
Nov 24 2018 | 4 years fee payment window open |
May 24 2019 | 6 months grace period start (w surcharge) |
Nov 24 2019 | patent expiry (for year 4) |
Nov 24 2021 | 2 years to revive unintentionally abandoned end. (for year 4) |
Nov 24 2022 | 8 years fee payment window open |
May 24 2023 | 6 months grace period start (w surcharge) |
Nov 24 2023 | patent expiry (for year 8) |
Nov 24 2025 | 2 years to revive unintentionally abandoned end. (for year 8) |
Nov 24 2026 | 12 years fee payment window open |
May 24 2027 | 6 months grace period start (w surcharge) |
Nov 24 2027 | patent expiry (for year 12) |
Nov 24 2029 | 2 years to revive unintentionally abandoned end. (for year 12) |