# US 9,356,770 B2 · Oversampling CDR which compensates frequency difference without elasticity buffer

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,356,770 B2
- Document ID: US9356770B2
- Status: Granted
- Kind: B2
- Application number: 14/231,499
- Filed: 2014-03-31
- Published: 2015-10-01
- Granted: 2016-05-31
- Earliest claimed: 2014-03-31
- Assignees: STMicroelectronics International N.V.
- Applicants: STMicroelectronics International N.V.
- Inventors: Abhishek Chowdhary; Vivek Uppal; Alok Kaushik; Sajal Kumar Mandal; Tapas Nandy; Sanjeev Chopra
- Web page: https://patentgrep.com/patent/US9356770B2

## CPC

- H04L 7/0087: {Preprocessing of received signal for synchronisation, e.g. by code conversion, pulse generation or edge detection}
- H03L 7/0807: {concerning mainly a recovery circuit for the reference signal}
- H04L 7/033: using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop
- H04L 7/0331: {with a digital phase-locked loop [PLL] processing binary samples, e.g. add/subtract logic for correction of receiver clock (H04L7/0337 takes precedence)}
- H04L 7/0338: {the correction of the phase error being performed by a feed forward loop}
- H04L 43/022: by sampling
- H03L 7/091: the phase or frequency detector using a sampling device (H03L7/087 takes precedence)
- H04L 7/0004: {Initialisation of the receiver (H04L7/0075 and H04L7/10 take precedence)}
- H04L 7/005: {Correction by an elastic buffer}
- H04L 25/03057: {with a recursive structure (H04L25/03031 takes precedence)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H03L: AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES (generation of oscillations H03B)

## Abstract

A method, algorithm, architecture, circuit and/or system that compensates for frequency difference in oversampled CDRs. The oversampled CDR uses a programmable divider whose division ratio is changed, for one or more cycles, from its usual division ratio, when accumulated phase movement in either direction exceeds a threshold. Accordingly, the elasticity buffer in oversampled CDRs can be made much smaller or entirely eliminated, resulting in less area, and reduced or eliminated dependence of max allowed burst size on ppm difference. The threshold can be kept programmable, and more than half unit interval, to provide robustness towards high frequency jitter.

## Claims

### Claim 1

A clock and data recovery circuit comprising:
a clock input providing a first clock signal;
a data input configured to receive data bits from a transmitting electronic device;
a circuit for generating a plurality of samples of each data bit and collecting the samples into a group for processing, wherein a number of the samples of each data bit is an oversampling ratio (OSR);
a programmable frequency divider circuit configured to divide a frequency of the first clock signal and output a divided clock signal that is used for processing the samples at a lesser rate and as a recovered clock output of the clock and data recovery circuit, wherein the programmable frequency divider circuit comprises a divider circuit to divide the input clock by a base value (N) and a control input to change a division ratio from the base value (N) by a fixed value (P) for a fixed number of cycles (Q);
a fast lock circuit configured to find an initial center sample;
a phase tracker circuit configured to decide a new position of the center sample for every group of collected samples;
a unit interval (UI) movement controller circuit configured to request a change in the division ratio of the programmable frequency divider circuit when an accumulated phase difference has crossed a threshold PTH, and to act on an acknowledgement from the programmable frequency divider circuit, wherein M is greater than a product of P and Q and PTH is between (M−1)*OSR+OSR/2 and (M−1)*OSR+OSR, and wherein M is greater than 1 and is less than N−1; and
a data selector circuit configured to extract recovered data bits from each group of samples using the new center sample for that group.

### Claim 2 (depends on 1)

The clock and data recovery circuit of claim 1, wherein the circuit for generating the plurality of samples comprises:
a phase locked loop circuit configured to receive the first clock signal and generate a plurality of second clock signals mutually out of phase with each other;
a sampler circuit coupled to an output of the phase locked loop circuit and the data input and configured to generate the plurality of samples based on the input data and the second clock signals, wherein a number of clock signals from the phase locked loop circuit is equal to a number of samples per bit; and
a deserializer circuit coupled to the sampler circuit and an output of the programmable frequency divider circuit, the deserializer circuit being configured to collect input samples and align them to the output of the programmable frequency divider circuit.

### Claim 3 (depends on 2)

The clock and data recovery circuit of claim 2, wherein the fast lock circuit comprises:
an input that receives sample signals from the deserializer circuit;
a center selecting circuit for choosing the starting center sample at a start of a burst; and
a realignment circuit for re-aligning the sample signals into output samples such that the starting center sample becomes a known pre-decided sample position.

### Claim 4 (depends on 1)

The clock and data recovery circuit of claim 1, comprising:
a FIFO register to hold a current group of samples and samples corresponding to one or more extra bits on each side of the current group of samples, wherein a number of the one or more extra bits is M.

### Claim 5 (depends on 4)

The clock and data recovery circuit of claim 4, wherein the phase tracker circuit receives the sample signals from the FIFO register, the phase tracker circuit comprising:
a circuit to decide the center sample applicable for those sample signals;
a signal output that outputs center sample information; and
a signal input from the UI movement controller circuit that resets the center sample to that in a current bit.

### Claim 6 (depends on 5)

The clock and data recovery circuit of claim 5, wherein the UI movement controller circuit receives the center sample information from the phase tracker circuit, the UI movement controller circuit comprising:
a counter circuit that counts a change in the center sample in either direction;
a comparison circuit that compares the counted movement in either direction with the threshold;
a division ratio output that controls the division ratio of the programmable frequency divider circuit and is triggered when the change in either direction exceeds the threshold; and
PTH is chosen in the middle of a past bit and the middle of a future bit in respective directions and not at the entry of the past bit and the entry of the future bit thus providing hysteresis to high frequency movement of the center sample around the unit interval crossing;
an input that receives the acknowledgment from the programmable frequency divider circuit; and
a phase center reset output coupled to the phase tracker and configured to reset the center sample to the present bit upon receiving the acknowledgement from the programmable frequency divider.

### Claim 7 (depends on 6)

The clock and data recovery circuit of claim 6, wherein the data selector circuit receives center sample information from the phase tracker circuit and the group of samples from the FIFO register, the data selector circuit being configured to choose samples in a location of the center sample as recovered data bits.

### Claim 8 (depends on 1)

The clock and data recovery circuit of claim 1, wherein the programmable frequency divider circuit further comprises:
an acknowledge output configured to provide an acknowledge signal to validate cycles in which the division ratio has been changed from the base value.

### Claim 9

A method, comprising:
generating a plurality of samples of input data and collecting bunches of samples into a group for processing;
processing the samples in the group to obtain phase information;
deciding a center sample for the group;
obtaining N recovered data bits from the group;
tracking changes in the center sample over a duration of a burst to obtain information regarding a frequency difference between sampling clocks and a clock source transmitting the input data;
maintaining a buffer of samples of M bits on either side of a current group of samples so that the center sample can move into past or future bits when there is the frequency difference between the sampling clocks and the clock source transmitting the input data;
upon accumulation of a phase difference beyond a threshold, due to the frequency difference between the sampling clocks and the clock source transmitting the input data, adjusting temporarily a number of bunches of samples forming into a group, and noting such a group of samples with an acknowledge flag; and
upon receiving a group of samples with the acknowledge flag, recovering a same number of data bits as from a group of samples without a flag, thereby allowing to bring the center sample, which had slipped into one of the past or future bits, back into a current bit,
wherein:
a number of the plurality of samples per input data bit is an oversampling ratio (OSR);
the threshold for phase difference accumulation is PTH;
upon crossing PTH, the increase or decrease in the number of bunches forming into a group is P and the number of such groups is Q;
M is greater than 1 and is less than N−1;
M is greater than a product of P and Q; and
PTH is chosen between (M−1)*OSR+OSR/2 and (M−1)*OSR+OSR.

### Claim 10 (depends on 9)

The method of claim 9, comprising:
generating a plurality of second clock signals mutually out of phase with each other,
wherein the generating of the plurality of samples includes generating the plurality of samples based on the input data and the second clock signals, wherein a number of second clock signals is equal to a number of samples per bit.

### Claim 11

A clock and data recovery circuit comprising:
a circuit, which, in operation, generates a plurality of samples of input data and collects bunches of samples into a group for processing, wherein a number of the plurality of samples per input data bit is an oversampling ratio (OSR);
a circuit, which, in operation, processes the samples in the group to obtain phase information;
a circuit, which, in operation, decides a center sample for the group;
a circuit, which, in operation, obtains N recovered data bits from the group;
a circuit, which, in operation, tracks changes in the center sample over a duration of a burst to obtain information regarding a frequency difference between sampling clocks and a clock source transmitting the data;
a buffer, which, in operation, stores samples of M bits on either side of a current group of samples so that the center sample can move into past or future bits when there is the frequency difference between the sampling clocks and the clock source transmitting the input data;
a circuit, which, in operation, adjusts temporarily a number of bunches of samples forming into a group and notes such a group of samples with an acknowledge flag, upon accumulation of a phase difference beyond a threshold PTH, due to the frequency difference between the sampling clocks and the clock source transmitting the input data, wherein an increase or decrease in the number of bunches forming into a group is P and the number of such groups is Q, M is greater than a product of P and Q, and PTH is chosen between (M−1)*OSR+OSR/2 and (M−1)*OSR+OSR, and wherein M is greater than 1 and is less than N−1;
a circuit, which, in operation, recovers a same number of data bits as from a group of samples without a flag, thereby allowing to bring the center sample, which had slipped into one of the past or future bits, back into a current bit, upon receiving a group of samples with the acknowledge flag.

### Claim 12 (depends on 11)

The clock and data recovery circuit of claim 11, comprising:
a data input, which, in operation, receives the input data from a transmitting electronic device,
wherein the circuit, which, in operation, generates the plurality of samples comprises:
a phase locked loop circuit, which, in operation, receives the first clock signal and generates a plurality of second clock signals mutually out of phase with each other; and
a sampler circuit coupled to an output of the phase locked loop circuit and the data input, wherein the sampler circuit, in operation, generates the plurality of samples based on the input data and the second clock signals, wherein a number of the second clock signals is equal to a number of samples per bit.
