At the receiving end of a data transmission link, the received signal is amplified, filtered and equalized. Then a “slicer” circuit reshapes it and retains just the level transitions and the levels that represent the nominal values of the received signal in that interval between two consecutive transitions. The CDR processes the “sliced” signal
Clock recover circuits include:
Many good books are available, with theory and practical examples, like. [ 3 ]
It is useful however, in order to get the best out of them, to have the ability to recognize in each case the fundamental architecture, that is the "Control Systems" block diagram that corresponds to the actual circuit.
The function of a CDR is a relatively simple one. The architectures possible for it are, accordingly, just a few and simple ones (actually just three!). It is nonetheless important to have a good knowledge of those architectures and a good understanding of their mathematical descriptions because these models are the best tools for the engineer that must deal with CDRs.
Starting from the definition and specification of (a communication system and of its) CDR(s), and all the way through all the different engineering tasks that logically follow (like design, verification, validation, manufacturing tests, failure analysis, system operation and maintenance), those models can be an invaluable reference for the engineer. He will need them to imagine, specify, design, check, measure and interpret the behavior of a CDR.
The actual implementation of the CDR may differ from the neat, simple structure that the model depicts. Complex digital blocks, DLLs, DSPs may render the analogy difficult to detect, but the fundamental signals and operation of the CDR can not differ. Yielding to the temptation of forgetting the models is a very risky and error prone short cut.
The essential signals and blocks of the architecture must be clearly identified in the actual system. The use of the reference model will then be the best way to make sure that all aspects of the CDR operation are identified and taken into consideration.
The CDR is always designed with the architecture of a PLL (with the obvious addition of the regeneration block, where the received pulses are re-sampled with the local clock). Let’s study the PLL, that is the essential part. It should be kept in mind that such PLL will be specialized for application inside a CDR.
The reference model of a PLL in a CDR: unity feedback, first or second order, type 1 or 2.The PLLs inside CDRs are in all cases of the unity feedback kind. The input of the circuit is the phase of a reference signal (a clock or a serial data signal) and the output is the phase of a signal (a serial data stream or a simple clock). The output is locked -as much as the circuit can- to the input signal. The input signal is contrasted with the output signal in a phase comparator, whose output is the error signal. The error signal is processed and then used to control another circuit block that produces the output clock signal.
It may be remarked that the output clock is always phase locked to the input signal, and that it is used to regenerate the input signal in the slave CDRs. In the phase aligner CDRs it is the local clock that regenerates (a phase aligned version of) the received signal.
It is important to identify the essential parts (listed below) of the CDR system but also to identify where the received signal and the local clock fit in the architecture. Either one (the received signal or the local clock) may act as input, while the other would simply act as an internal input signal inside the block called “Controlled element” (the block that generates the output signal of the PLL).
The received signal acts as reference input for the PLL when the PLL function is to generate a clock slaved to the received signal itself.
The local clock acts instead as reference signal for the PLL when the PLL function is simply to “phase align” the received signal to it, in the cases where the received signal timing is derived from the local clock itself (following a short loop inside a unique clock domain where the local clock is master).
The list of the parts that shall be clearly identified in the CDR are:
The order of a control loop (causal, linear and time invariant in our models of CDRs) is the order of the differential equation that describes it.
In the language of control systems, the order is the number of poles of the (open or closed loop) system transfer function.
The type of a control loop is the number of poles of the open loop transfer function in the origin (that is, how many times the factor 1/s appears in the open loop transfer function).
The type of a loop tells how well the loop itself is able to track a deviation of its input signal from the nominal value.
(A CDR can operate with a small phase (= sampling time) error without deterioration of performances, provided the error is small enough: a few degrees of jitter around the optimum sampling time do not significantly deteriorate the bit error rate!)
A unity feedback system (all PLL for CDRs are unity feedback) exhibits a finite long term error ( steady state error ) between input and output when the input (besides sinusoids of any frequency and magnitude), includes a constant, or a step function, or a ramp function, etc., depending on the type of the system.
The steady state error, when it exists and is finite and non-zero, can be computed from the open loop transfer function:
GH = K ∏ i = 1 m ( s − z i ) ∏ i = 1 n ( s − p i ) ^(s-z_)><\prod _^(s-p_)>>>\displaystyle>using the following table, that resumes the most important formulas for the systems representing CDR architectures:
System type ↓ and input signal → | Unit step | Unit ramp | Unit parabola |
---|---|---|---|
Type 0 | 1 1 + K ∏ i = 1 m ( 0 − z i ) ∏ i = 1 n ( 0 − p i ) ^(0-z_)><\prod _^(0-p_)>>>>> | ∞ | ∞ |
Type 1 | 0 | ∏ i = 1 n ( 0 − p i ) K ∏ i = 1 m ( 0 − z i ) ^(0-p_)> | ∞ |
Type 2 | 0 | 0 | ∏ i = 1 n ( 0 − p i ) K ∏ i = 1 m ( 0 − z i ) ^(0-p_)> |