1. Field of the Invention
The invention relates to a method for clock data recovery and an associated device
2. Technical Background and Prior Art
In digital transmission technology, many binary data streams, especially serial data streams with a high bit rate, are transmitted without accompanying clock signal. The goal of clock data recovery (clock data recovery, CDR) is to determine from the received data stream the frequency and phase of the underlying transmission clock pulse.
In a conventional receiver, the recovered transmission clock-pulse signal or clock signal is used for decoding the transmitted bit sequence, wherein the received signal pulse is sampled exactly in the center in order to maximize the signal-noise ratio. In signal analysis, the recovered clock signal is used for the evaluation of the signal quality on the basis of so-called eye diagrams (eye diagram) and other mathematical tools for jitter analysis.
The transmission clock pulse is often determined by means of a PLL (phase-locked loop), a phase-locked control circuit. Various standards prescribe a standardized receiver for signal-quality analysis in the form of PLL properties. The recovered clock signal in this context determines the ideal bit start time according to definition. The evaluation of deviations between the zero passes in the received data stream and in the clock signal forms the basis for the jitter analysis.
The transmission clock pulse is, in principle, recovered in two different ways for the signal analysis or respectively jitter analysis:
Hardware PLLs known from the prior art can be subdivided into three categories: linear PLLs, digital PLLs and all-digital PLLs (all-digital PLL). All three types of PLL process and generate analog, time-continuous signals, wherein the digital and all-digital PLLs are adapted for the processing of binary, serial data streams.
The term “software PLL” generally denotes the arithmetic specification, which models the functioning of a hardware PLL. One approach is to describe the operation of the analog components mathematically and accordingly to process a highly sampled version of the received data stream. A second approach is based on the observation that only the zero passes in the data stream contain the relevant information for the clock data recovery. In this case, the position of the zero passes is initially determined by interpolation of the stored data portion and from this, the zero passes of the clock signal are then calculated.
The x0(k) are chronologically ordered and processed sequentially. Initially, the time difference e(k) between data edges and clock edges is formed in the phase detector. Since no signal throughput takes place when the transmitter transmits two or more identical bits in succession, the number of data edges is generally smaller than the number of transmitting bits.
The software PLL recovers the underlying clock pulse in the form of a sequence of clock edges y(k). The processing steps are, for example:
With a targeted selection of the coefficients of F(q1) and A(q−1), this software PLL can approximate the theoretical PLL transmission function very well provided it operates offline. In the case of a realization operating in real time, it should be borne in mind, that each of the above processing steps requires a certain processing time. The total realization-determined delay falsifies the transmission function of the phase-locked loop and can even endanger stability. As a rule of thumb, a real-time-capable software PLL according to the prior art can only be used for the analysis of data streams, of which the bit period Tb is greater than the processing time for calculating a new clock edge TMIN.
The invention provides a method and a device for clock data recovery, which determines the clock edge positions by processing data edges and with which the minimal analysable bit period is as small as possible.
Accordingly, the invention provides a method for the recovery of a clock signal from a data signal, wherein the edges of the data signal and of the clock signal are each presented by an ordered sequence of timing points, comprising the steps: determination of missing edges in the sequence of data-signal edges; insertion of new data-signal edges into the sequence of data signal edges, in order to obtain a completed sequence of data-signal edges; recovery of the clock signal from the completed sequence of data-signal edges, characterized in that the detection of missing edges in the sequence of data-signal edges is based upon a prediction of the clock signal (FRONT CLOCK).
The invention also provides a machine-readable data medium, which stores instructions, which, when executed by a computer, implements the inventive method.
The invention further provides a system for the recovery of a clock signal from a data signal, wherein the edges of the data signal and the clock signal are each presented by an ordered sequence of timing points, comprising means for determining missing edges in the sequence of data-signal edges, means for inserting new data-signal edges into the sequence of data-signal edges to obtain a completed sequence of data-signal edges, and means for recovering the clock signal from the completed sequence of data-signal edges, wherein the means for detecting the missing edges in the sequence of data-signal edges further comprises means predicting the clock signal (FRONT CLOCK), upon which the detection is based.
A method for the recovery of a clock signal from a data signal, wherein the edges of the data signal and the clock signal are each presented by an ordered sequence of timing points, comprises the steps:
According to the invention, the detection of missing edges in the sequence of data-signal edges is based on a prediction of the clock signal (FRONT CLOCK).
In other words, the phase-locked loop from
Relocating the handling of missing edges outside the phase-locked loop according to the invention achieves a simplification of the phase-locked loop by reducing the operational steps in the phase-locked loop. Accordingly, the minimal analysable bit period TMIN can be reduced. Moreover, it is possible to convert the simplified phase-locked loop into an equivalent structure for parallel processing of several successive data edges (block filtering), which increases the throughput of the software PLL by a considerable factor.
In fact, the relocated handling of missing edges introduces an additional error component into the system. However, the smaller the prediction depth, the PLL bandwidth and the ratio of missing edges to transmitted bits, the better the proposed clock data recovery method will approximate the behaviour of the original software PLL from
Advantageous exemplary embodiments are outlined in the following sections.
The drawings are as follows:
Phase 6 shows the determination of the effective number of clock edges;
This sequence of data edges x(k) is then processed in the main control loop of the PLL, also referred to below as the PLL core, in order to determine the clock edges y(k). The PLL core comprises a loop filter F(e), an accumulator A(q−1), an adder for determining the phase error e(k) and the contribution of the nominal bit period T0.
The dotted line indicates that the EMPU is coupled to the PLL core, for example, via the recovered clock edges y(k).
The following section explains the functioning and favourable embodiments of the EMPU.
In the edge matching unit (EMU), the incoming data edges are initially assigned to a given bit period, and accordingly the missing edges are detected. The EMU uses the clock edge prediction ŷM(k+L) in order to insert placeholders into the data edge sequence x0(k+L) in the case of the missing edges. Following this, the missing-edge placeholders are replaced in the edge patching unit (EPU) by an appropriate value. This results in the interpolated, gap-free data edge sequence x(k+L).
A predictor supplies two edge sequences. The EMU can use a clock edge prediction ŷM(k+L) to subdivide the time axis into mutually adjacent intervals of the width of one bit period and accordingly to implement an assignment of the data edge positions to the intervals. The EPU can use the sequence ŷP(k+L) for the interpolation of the data edges, in order to bring about a desired behaviour of the phase error e(k) in the PLL core in the case of missing edges. Dependent upon the application, the sequences can be identical.
One possible functioning of the EMU will be presented in greater detail in the following section.
Edge Assignment
In theory, it is possible to distinguish three cases:
Conventional software or hardware PLLs operate in a basically sequential manner and determine the clock edge y(k+1) by processing earlier data edges and clock edges up to the time index k. However, for the edge assignment according to the invention, a prediction ŷ(k) of the clock edges y(k) is required, because the clock edge y(k) is not yet available at this time.
For this purpose, the EMU defines a secondary clock signal, referred to below as ‘front clock’. The front clock ŷM(k) represents a prediction of the recovered clock edges y(k) and is used in the subdivision of the time axis for the edge assignment. In one embodiment of the invention, the front clock can be coupled with the PLL core and therefore with the recovered clock edges y(k), as indicated by the dotted line in the block-circuit diagrams of
In one possible embodiment, the front clock estimates the future clock edges y(k) according to the approach “the PLL clock will continue for the next N bit periods with the nominal bit period T0”. This approach for determining the front clock ŷM(k) is favourable for implementation purposes, because T0 is a known operating parameter, but presupposes small prediction depths L and a slight deviation of the momentary bit periods {circumflex over (T)}b from the nominal value T0. The non-fulfillment of the prediction assumption leads to a phase offset between the clock edges y(k) and the front clock. After the settling of the PLL on the data stream with constant bit period T0, the phase offset can be approximated as follows:
wherein
If the front clock is used instead of the PLL clock for the edge assignment, the phase offset causes a displacement in the underlying time intervals relative to their ideal position. In the case illustrated in
An improved performance is generally obtained if the front clock is determined according to the approach “the PLL clock will continue for the next N bit periods with the last-estimated momentary bit period {circumflex over (T)}b”. This approach exploits the fact that the PLL reacts slowly to changes in the input signal because of its narrow band width. Accordingly, after settling on a data stream of constant bit period Tb according to (1), the phase offset is now approximately φ=0. Other prediction approaches are conceivable.
Data Edges in a Time Window
Within a system operating online, the data stream is observed constantly. The clock data recovery is presented with a set of new data edges regularly, for example, every system clock pulse, via an external auxiliary device. The system clock pulse defines a given window on the time axis. The data edges must be assigned to one of the clock edges disposed within the window. If the bit period of the data stream is smaller than the time window or respectively the system clock pulse, this can be handled with an edge assignment implemented in parallel.
Against this background, the functioning of the EMU can be subdivided into two sub-tasks. Initially, the clock edges covered by the current system clock pulse or respectively current time window are determined using the front clock. Following this, the received data edges are paired with the clock edges and accordingly the missing edges are also determined.
The front clock specifies the position of the clock edges tF(k). In order to determine the time intervals covered by the current time window, it is helpful to compare the upper limit of the k-th interval tF+(k), which is derived from the clock edges, for example, according to tF+(k)=tF(k)+T0/2, with the upper limits of the m-th time window tS+(m). With reference to
In summary, the effective number of clock edges in the m-th time window is determined with regard to how many tF+(k) fit between the timing points tS+(m−1) and tS+(m).
Method A combines data edges with clock edges according to the rule:
If |Da−Cb|≦Δ,then Da and Cb fit together(a,b≧0), (2)
wherein D is selected so that the time axis is subdivided into non-overlapping intervals. Data edges, which occur in the regions not covered by the intervals are simply ignored. According to
D1 and D2 should be assigned to C2. A maximum of one data edge per clock edge is permitted, and accordingly, one of the two is selected. The occurrence of a data-edge collision is reported if required.
The edge assignment can be described formally in the form of a matrix by the following table:
The clock edges and data edges are sorted in each case in chronological order. On the assumption that a maximum of one data edge occurs per bit period, the calculation of the elements in the lower, shaded triangular matrix can be skipped in order to lower the computational cost and are set to 0 as a default. However, this reduces the robustness of the assignment matrix if several data edges per bit period occur, as can be the case, for example, during the settling of the PLL. Embodiments of the invention are also possible, in which only the calculation of the elements of the lowest diagonals are skipped.
Method B presents an alternative embodiment of the same approach. Here, the time axis is subdivided via the timing points Qb into mutually adjacent intervals. The Qb correspond to the timing points tF+(k), which are calculated in order to determine the effective clock edge number. Data edges and clock edges are now linked to one another according to the following rule:
If Qb-1<Da≦Qb,then Da and Cb fit together(a,b≧0) (3).
Accordingly, in the example under consideration, the same assignment matrix is obtained as with Method A. Missing edges are assumed, if rule (3) does not apply.
Interpolation of the Missing Edges
The missing edges detected according to one of the two methods are handled separately. According to the invention, the EMPU interpolates x0(k) and generates an gap-free data-edge sequence x(k), which is then processed by the PLL core. The interpolation is implemented, for example, by filling the missing edges with an artificial edge. In this context, the phase error e(k) can be influenced by setting the interpolated data edges in an appropriate manner such that the methods for the treatment of missing edges used in the conventional PLL according to the prior art are approximated.
In the embodiment presented with reference to
e(k)=ŷP(k)−y(k)≈0
Other approaches such as e(k)=e(k−1) can be realized through an appropriate selection of the edges to be interpolated. For example, if x0M(k+L−1) is a data edge and x0M(k+L) contains a missing edge, the following approach can be applied:
x(k+L−1)=x0M(k+L−1)
x(k+L)=ŷP(k+L)=x(k+L−1)+{circumflex over (T)}b(k)
In this context, it must be remembered that for the determination of x(k+L), only the estimation of the bit period {circumflex over (T)}b(k) delayed by L bit periods is available in view of the system latency. Accordingly, if a newly inserted data-signal edge corresponds to the sum of the data edge last calculated and the bit period {circumflex over (T)}b(k) last estimated, the phase error e(k) is calculated as follows in the PLL core:
That is to say, an approximation of an edge error e(k) according to equation e(k)=e(k−1) can be achieved, taking into consideration the latency of the overall system and provided that the momentary bit period only changes slowly within the system latency, by forming the sum of the preceding data edge and the estimate of the bit period delayed by the latency L, in order to calculate the data edge, with which a missing edge is filled.
As an alternative, instead of the last-estimated bit period {circumflex over (T)}b(k), the nominal bit period T0 can also be added to the last calculated data edge. However, in this context, the accumulation of bit-period deviations {circumflex over (Δ)}(k)={circumflex over (T)}b(k)−{circumflex over (T)}0 must be considered in the case of an occurrence of several missing edges in succession. In other words, the approximation error is accumulated over the number of successive missing edges and, after N identical bits, amounts to approximately N(Tb−T0). The transmission standards define an upper limit for the number of equivalent successive bits, and accordingly, N is small in practice. The accumulated error is automatically reset with every data edge to x0M(k).
In summary, by an appropriate selection of ŷP(k+L), the phase-error behaviour
e(k)=f(e(k−1),e(k−2),e(k−3), . . . )
can therefore be modelled or at least approximated, wherein f(.) can be an arbitrary function of earlier phase-error values.
Although the filling of the missing edges takes place in the EPU, for the purpose of explanation, this can be realized dependent upon the implementation at one or more positions in the processing path between missing-edge assignment and PLL core.
The invention is not restricted to the exemplary embodiment presented. All of the features described and/or illustrated can be combined with one another within the framework of the invention.
Number | Date | Country | Kind |
---|---|---|---|
10 2007 045 085 | Sep 2007 | DE | national |
10 2008 016 897 | Apr 2008 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2008/006849 | 8/20/2008 | WO | 00 | 2/17/2010 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2009/039923 | 4/2/2009 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4532559 | Long et al. | Jul 1985 | A |
4771250 | Statman et al. | Sep 1988 | A |
5504751 | Ledzius et al. | Apr 1996 | A |
6326851 | Staszewski et al. | Dec 2001 | B1 |
6809598 | Staszewski et al. | Oct 2004 | B1 |
7076377 | Kim et al. | Jul 2006 | B2 |
7385539 | Vanselow et al. | Jun 2008 | B2 |
7817767 | Tell et al. | Oct 2010 | B2 |
20020094052 | Staszewski et al. | Jul 2002 | A1 |
20040071247 | Dunning et al. | Apr 2004 | A1 |
20040085579 | Campbell et al. | May 2004 | A1 |
20060140321 | Tell et al. | Jun 2006 | A1 |
20060262613 | Braun et al. | Nov 2006 | A1 |
Number | Date | Country |
---|---|---|
10 2006 007 022 | Aug 2007 | DE |
0 312 671 | Apr 1989 | EP |
1 076 416 | Feb 2001 | EP |
2 359 223 | Aug 2001 | GB |
07058790 | Mar 1995 | JP |
Entry |
---|
Abramovitch, “Phase-Locked Loops: A Control Centric Tutorial,” Proceedings of the American Control Conference, pp. 1-15 (2002). |
Number | Date | Country | |
---|---|---|---|
20110096881 A1 | Apr 2011 | US |