Information
-
Patent Application
-
20030026369
-
Publication Number
20030026369
-
Date Filed
July 31, 200222 years ago
-
Date Published
February 06, 200321 years ago
-
CPC
-
US Classifications
-
International Classifications
Abstract
In a 1000 BASE-T transceiver, a timing error detector (TED, 5) receives its inputs directly from the output of an ADC (2) and from a decision device (4). Timing recovery is acquired in three stages: a non-decision directed (NDD) stage during which only the output of an ADC (2) are used for acquisition; a stage for acquiring the remote scrambler and predicting symbols; and a decision-directed (DD) stage during which locally predicted symbols are also used for acquisition. Because the timing error detector (TED, 5) does not take inputs from the FFE (3) there is no information about cable length, and so an input of gain from an AGC is used to indicate cable length.
Description
FIELD OF THE INVENTION
[0001] The invention relates to timing recovery in data communication circuits such as those for 1000 BASE-T (“Gigabit”) communication.
PRIOR ART DISCUSSION
[0002] The 1000 BASE-T system requires that each two-point link consist of one device configured as MASTER and another device configured as SLAVE. A startup procedure is specified in the IEEE standard and this dictates that the SLAVE must transmit its data at the exact same rate at which the MASTER is transmitting its data. Nominally the transmission rate of the MASTER will be 125 MHz, however in reality this rate will vary by some small amount, ε due to crystal oscillator variations arising from factors such as process and temperature variations. It is a function of the SLAVE to determine the value of ε from the incoming received signal and to ensure that it transmits to the MASTER at 125 MHz+ε. This determination of ε is called timing recovery and is normally done using an implementation of a timing recovery algorithm. When the timing recovery algorithm involves the received symbols it is called decision directed (DD) timing recovery, otherwise it is called non-decision directed (NDD) timing recovery.
[0003] MASTER and SLAVE PHY status is determined during an auto-negotiation process that takes place prior to establishing the transmission link. The MASTER transmits at a fixed frequency determined by a crystal and runs its receiver at the exact same frequency. The SLAVE PHY recovers the MASTER clock from the received signal and uses it to determine the timing of receiver and transmitter operations.
[0004] FIG. A illustrates a two-phase timing recovery strategy.
[0005] In phase 1 only the MASTER PHY sends idle data into the link. No timing and no reliable decisions are available yet so the SLAVE PHY applies a Non-Decision Directed (NDD) algorithm to recover timing. Basically, the NDD algorithm recovers the frequency and phase of the MASTER clock by applying a non-linearity to the received signal taken from the ADC output. Once timing has been recovered the PHY proceeds with detection. An adaptive FFE performs equalization of the channel. After equalization is achieved, the symbol decisions are reliable at the output of the slicer and a scrambler (SCR) is fed with these symbols. Before entering phase 2, the scrambler is locked so that transmitted symbols can be generated in the SLAVE PHY independently of the decisions at the output of the slicer, and the PHY applies a Decision Directed (DD) algorithm to recover timing. NDD and DD algorithms differ in the non-linearities which they use to recover phase information. DD would typically choose a sampling phase which is different from that of NDD. Therefore, there is a strong possibility that the eye of the equalizer output will close when switching from NDD to DD timing recovery. This is not a problem since, at this point, the decisions are taken from the SCR.
[0006] In phase 2 the SLAVE PHY starts sending idle data into the link. Noise is added to the system due to the echo and NEXT signals. The FFE adapts to the new phase chosen by DD and to the new noise conditions. The adaptation process starts again with perfect timing recovered by the DD algorithm. Once symbol decisions are reliable at the output of the slicer the scrambler is switched off and timing then takes these decisions as input to the DD algorithm.
[0007] There are a number of known methods for timing recovery of baseband signals in a noisy environment. These methods differ in terms of their sampling strategy and configuration. The methods either involve asynchronous or synchronous sampling.
[0008] In synchronous sampling there is an oscillator which controls the sampler. The oscillator in this sampling scheme cannot be implemented digitally and parts of it are implemented in the analog domain. For this reason, synchronous sampling is a hybrid configuration. In asynchronous sampling, instead of a sampler which has to be controlled by analog means there is an interpolation filter which practically tries to do what a sampler is doing. Thus, all parts of the asynchronous sampling can be implemented digitally. This may be preferred in digital modems. However, a drawback of asynchronous sampling is that it needs dynamic buffers for the implementation of the interpolators, which may be problematic.
[0009] In terms of their configuration, timing recovery methods are classified into two categories: ones with feedback configuration and ones with feedforward configuration. In feedback configuration there is a feedback loop which feeds the information of the timing error into a decision block which tries to correct the error. In the feedforward configuration a signal for estimating the timing is calculated from the signal on the line. This previously obtained timing estimator signal is used in the timing corrector block.
[0010] The feedback configurations are separated into two according to their Timing Error Detector (TED) algorithms. The decision directed (DD) method relies on the data decisions available at the output of the detector. Thus, the TED of that method gets the data available at the detector output as its input. For that reason, the timing recovery configurations with decision directed methods depend highly on the performance of the detector. If the performance of the detector reduces for some reason the timing recovery performance also reduces. The non-data aided method, or non-decision directed (NDD) method, does not rely on the decisions at the detector output, and the TED tries to give a decision by using only the received signal from the cable. In order to separate the issue of timing recovery from the coding/decoding performance of the detector, one may prefer to use NDD methods. However, due to noise present in the system, especially the echo signal, NDD methods may not be sufficient to extract the timing information.
[0011] A typical timing recovery circuit is shown in FIG. B. The inputs are taken from the output of the FFE and the output of the decision device.
[0012] A disadvantage of this technique is that the input to the timing recovery circuit is a function of the FFE and hence interactions between the timing recovery algorithm and the FFE adaptation algorithm are possible.
[0013] Thus, the invention is directed towards providing improved timing recovery to overcome these problems.
SUMMARY OF THE INVENTION
[0014] According to the invention there is provided a timing recovery circuit for a data communication transceiver, the recovery circuit comprising a timing error detector (TED) providing an input to an oscillator via a loop filter, characterized in that,
[0015] the timing error detector (TED) comprises means for performing both decision directed (DD) and non decision directed (NDD) recovery, and
[0016] the TED is decoupled from a feed forward equalizer.
[0017] In one embodiment the circuit comprises means for providing an input to the TED solely from an analog to digital converter (ADC) for NDD recovery.
[0018] In one embodiment the circuit comprises means for providing an input to the TED (5) from both an analog to digital converter (ADC) and from a decision device for DD recovery.
[0019] In one embodiment the circuit comprises means for performing timing recovery in the following stages:
[0020] firstly a NDD stage in which the TED input is solely from the ADC,
[0021] a second stage for acquiring the remote scrambler and predicting symbols, and
[0022] a third, DD, stage during which the TED has inputs from both the ADC and from a decision device for locally predicting symbols.
[0023] In a further embodiment the circuit comprises means for switching to the third stage only when timing reaches an acceptable level, with the scramblers locked.
[0024] In one embodiment the ADC comprises means for over-sampling during the first stage.
[0025] In another embodiment the over-sampling rate is twice the symbol rate.
[0026] In a further embodiment the circuit further comprises means for scaling output of the timing error detector by a varying correction factor based on cable length.
[0027] In one embodiment the correction factor is determined according to AGC gain value during start-up without echo or NEXT.
[0028] In another aspect the invention provides a data communications transceiver comprising a timing recovery circuit as defined above.
DETAILED DESCRIPTION OF THE INVENTION
BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The invention will be more clearly understood from the following description of some embodiments thereof, given by way of example only with reference to the accompanying drawings in which:
[0030]
FIG. 1 is a diagram illustrating a timing recovery circuit of the invention;
[0031]
FIG. 2 is a more detailed diagram of a timing error detector of the circuit;
[0032]
FIG. 3 is a more detailed diagram of a loop filter;
[0033]
FIG. 4 is a set of plots showing uncompensated NDD TED output curves of the circuit; and
[0034]
FIG. 5 is a set of plots showing compensated NDD TED curves for varying length cable.
DESCRIPTION OF THE EMBODIMENTS
[0035] Referring to FIGS. 1 to 3 there is shown a timing recovery circuit 1 of the invention. The circuit comprises an ADC 2 connected to a FFE 3, in turn connected to a decision device 4. A timing error detector (TED) 5 has inputs from both the ADC 2 and the decision device 4 for DD recovery, and only from the ADC 2 for NDD recovery. Its output feeds a timing loop filter 6, in turn feeding a VCO 7. The TED 5 receives a gain value from the AGC. This is proportional to the length of the cable at startup of the circuit 1.
[0036] Thus, unstable operations arising from timing error detection being affected by equaliser coefficients are avoided, because timing and symbol detection processes are independent.
[0037] The NDD timing recovery circuitry is completely decoupled from the FFE because it takes its input solely from the output of the ADC 2. This input is fed through a nonlinearity (the TED) and the error generated is passed into a control loop which drives the Numerically Controlled Oscillator (NCO) which, in turn drives the ADC. The TED 5 does not require the FFE information indicating cable length as this is derived from the AGC gain value instead.
[0038] The DD timing recovery is also decoupled since its inputs are from the ADC 2 and the decision device 4 and the recovered symbols are independent of the properties of the FFE (provided the decision device is making good decisions about the symbols).
[0039] The NDD algorithm uses the Gardner non-linearity as the TED nonlinearity
e
NDD
(k)=y(kT−T/2)[y(kT)−y(kT−T)]
[0040] on the basis that the sampling rate at the ADC is twice the symbol rate. y(t) is the waveform at the input to the ADC, and T is the sampling period of the ADC. On the other hand, the DD algorithm uses the following non-linearity
e
DD
(k)=x(kT−Δ)[y(kT)−y(kT−T/2)]
[0041] where Δ is the delay of the channel and x(t) is the transmitted symbol.
[0042] A disadvantage of using the ADC output rather than the FFE output is that the quality of the input to the TED will vary with the length of the cable. As the cable gets longer the useful timing information per sample decreases, even though the Automatic Gain Control (AGC) unit ensures the power of the sampled signal is a constant. This variation in useful information means that the error signal in the TED for a given phase offset will decrease with channel length. To avoid having a control loop with a varying gain, the circuit 1 corrects for this diminishing TED output by increasing the TED output by a varying factor called the “TED correction factor” (TCF). This TCF is selected based on the length of cable over which the PHY is operating. Fortunately this can be determined quite reliably using the AGC gain value during phase 1 of start-up as there is no echo or NEXT energy to confuse the issue. The AGC gain index is used to index a table of values for the TCF which ensures the overall performance of the TED does not vary with cable length.
[0043] The uncompensated and compensated TED output curves are given in FIGS. 4 and 5. In FIG. 4 the lower-amplitude curves represent error for longer lengths. As shown in FIG. 5 the TED scales the error according to the TCF so that the operation is independent of length.
[0044] The Slave PHY acquires timing information in three stages under the control of the PMA controller i.e. there are three PMA control states specifically for timing acquisition. These are NDD_ACQUIRE, MSL_ACQUIRE and DD_ACQUIRE.
[0045] During NDD_ACQUIRE the Slave will attempt to acquire timing using a ‘non decision directed’ algorithm. This is because at this stage the decisions from the slicer are not reliable and so ADC data is used.
[0046] NDD_ACQUIRE will always appear to end successfully as there is no way of detecting failure at this point. Next the FFE on dimension A will adapt following which reliable decisions on dimension A will be available. These decisions will be used to acquire the remote scrambler during MSL_ACQUIRE. When the remote scrambler has been acquired the scrambler will be used to predict the symbols being transmitted by the Master and these symbols will be used during DD_ACQUIRE.
[0047] The operation of DD_ACQUIRE is very similar to that of NDD_ACQUIRE except that the locally predicted symbols are also used in acquisition.
[0048] The overall structure of the timing error detector is shown in FIG. 2 and that of the loop filter in FIG. 3. Referring to FIG. 2, The scrambler select signal (scr_select) determines whether the decision about the present symbol is taken from the slicer (slicer_out_dim_a) or the scrambler (scr_output_a) and this is then assigned to the hard_decision. As noted previously this hard decision is only used in DD mode which is indicated by the value of the signal tr_mode. If tr_mode is equal to 1 then we are in DD mode and the hard decision is used, otherwise we are in NDD mode and only the ADC outputs are used to generate the timing error signal (ted_err).
[0049] Referring to FIG. 3, the loop filter is a second order loop and thus consists of a proportional part with gain g1 and an integral part with gain g2. The input is the timing error (ted_err) and this is multiplied with a term g which factors in the TCF (TED Compensation Factor) derived from the AGC gain. The output of the loop filter (freq_error) is used to drive the NCO.
[0050] The invention is not limited to the embodiments described but may be varied in construction and detail.
Claims
- 1. A timing recovery circuit for a data communication transceiver, the recovery circuit comprising a timing error detector (TED) providing an input to an oscillator via a loop filter, characterized in that,
the timing error detector (TED) comprises means for performing both decision directed (DD) and non decision directed (NDD) recovery, and the TED is decoupled from a feed forward equalizer.
- 2. A timing recovery circuit as claimed in claim 1, wherein the circuit comprises means for providing an input to the TED solely from an analog to digital converter (ADC) for NDD recovery.
- 3. A timing recovery circuit as claimed in claim 1, wherein the circuit comprises means for providing an input to the TED (5) from both an analog to digital converter (ADC) and from a decision device for DD recovery.
- 4. A timing recovery circuit as claimed in claim 3, wherein the circuit comprises means for performing timing recovery in the following stages:
firstly a NDD stage in which the TED input is solely from the ADC, a second stage for acquiring the remote scrambler and predicting symbols, and a third, DD, stage during which the TED has inputs from both the ADC and from a decision device for locally predicting symbols.
- 5. A timing recovery circuit as claimed in claim 4, wherein the circuit comprises means for switching to the third stage only when timing reaches an acceptable level, with the scramblers locked.
- 6. A timing recovery circuit as claimed in claim 4, wherein the ADC comprises means for over-sampling during the first stage.
- 7. A timing recovery circuit as claimed in claim 6, wherein the over-sampling rate is twice the symbol rate.
- 8. A timing recovery circuit as claimed in claim 1, wherein the circuit further comprises means for scaling output of the timing error detector by a varying correction factor based on cable length.
- 9. A timing recovery circuit as claimed in claim 8, wherein the correction factor is determined according to AGC gain value during start-up without echo or NEXT.
- 10. A data communications transceiver comprising a timing recovery circuit as claimed in any preceding claim.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60309164 |
Aug 2001 |
US |