# US 8,787,434 B2 · Sampling phase selection method for a stream of data bits

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

- Number: US 8,787,434 B2
- Document ID: US8787434B2
- Status: Granted
- Kind: B2
- Application number: 13/645,917
- Filed: 2012-10-05
- Published: 2013-04-18
- Granted: 2014-07-22
- Earliest claimed: 2011-10-12
- Assignees: Raydium Semiconductor Corporation
- Applicants: Raydium Semiconductor Corporation
- Inventors: Ren-Feng Huang; Hui Wen Miao; Ko-Yang Tso; Chin-Chieh Chao
- Web page: https://patentgrep.com/patent/US8787434B2

## CPC

- H03K 19/0813: {Threshold logic}
- H04B 1/00: Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04L 7/00: Arrangements for synchronising receiver with transmitter {(synchronisation of generators of electric oscillations or pulses H03L7/00)}
- H04L 7/0337: {Selecting between two or more discretely delayed clocks or selecting between two or more discretely delayed received code signals}
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)
- H04B: TRANSMISSION
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A sampling phase selection method for a data stream is provided, wherein the data stream has a variable data rate in a fixed time period. The method comprises generating a calibration signal, wherein the time interval of the calibration signal is longer than the fixed time period of the data stream, generating a first clock sequence and a subsequent second clock sequence, wherein the first and the second clock sequence are composed of a plurality of continuous clock phases and the number of the clock phases of the first clock sequence are the same as that of the clock phases of the second clock sequence, selecting one of the phases of the first and the second clock sequence, in turn, to provide a sampling phase, performing a plurality of samplings on the data stream to generate a flag signal, and selecting a final sampling phase according to the flag signals with different sampling phases.

## Claims

### Claim 1

A sampling phase selection method for a data stream, wherein the data stream has a variable data rate in a fixed time period, the method comprising:
generating a calibration signal, wherein a time interval of the calibration signal is longer than the fixed time period of the data stream;
generating a first clock sequence and a second clock sequence at a rising edge of the calibration signal, wherein the first clock sequence and the second clock sequence are composed of a plurality of continuous clock phases and a number of the clock phases of the first clock sequence are the same as that of the clock phases of the second clock sequence;
selecting one of the clock phases of the first and the second clock sequences, in turn, to provide a sampling phase;
performing a plurality of samplings on the data stream in accordance with the sampling phase to generate a flag signal; and
selecting a final sampling clock phase according to the flag signal with different sampling phases.

### Claim 2 (depends on 1)

The sampling phase selection method of claim 1, wherein the step of selecting one of the clock phases of the first and the second clock sequence to provide a sampling phase comprises:
selecting one of the continuous clock phases of the first clock sequence to provide the sampling phase; and
selecting one of the continuous clock phases of the second clock sequence to provide the sampling phase after a final sampling clock phase of the first clock sequence is selected to provide the sampling phase.

### Claim 3 (depends on 1)

The sampling phase selection method of claim 1, wherein the step of performing a plurality of samplings on the data stream to generate a flag signal comprises:
determining whether a plurality of sampling results matches bits of data of the data stream;
generating a first counting signal when one of the sampling results matches the bits of data of the data stream;
generating a second counting signal when one of the sampling results does not match the bits of data of the data stream; and
generating the flag signal according to the first counting signal and the second counting signal.

### Claim 4 (depends on 3)

The sampling phase selection method of claim 3 further comprising:
generating a first accumulation value according to an accumulating counting number of the first counting signal;
generating a first comparing signal when the first accumulation value is over a first threshold;
generating a second accumulation value according to an accumulating counting number of the second counting signal;
generating a second comparing signal when the second accumulation value is over a second threshold; and
generating the flag signal according to the first and the second comparing signals.

### Claim 5 (depends on 1)

The sampling phase selection method of claim 1, wherein the step of selecting a final sampling clock phase according to the flag signal with different sampling phases comprises:
selecting a first clock phase of the first clock sequence as the sampling clock phase for generating a first flag signal;
selecting a clock phase of the second clock sequence as the sampling clock phase for generating a second flag signal, wherein the clock phase has no phase difference compared with that of the first clock sequence;
performing a logic operation with the first flag signal and the second flag signal for generating a third flag signal; and
selecting the final sampling clock phase from the clock phases according to the third flag signal.

### Claim 6 (depends on 5)

The sampling phase selection method of claim 5, wherein the logic operation comprises an AND operation.

### Claim 7 (depends on 1)

The sampling phase selection method of claim 1 further comprising:
generating at least one third clock sequence during the time interval of the calibration signal, wherein the at least one third clock sequence is a subsequent clock phase to one of the plurality of continuous clock phase, wherein the at least one third clock sequence and the first clock sequence are composed of a plurality of continuous clock phases and the number of the clock phases of the at least one third clock sequence are the same as that of the clock phases of the first clock sequence; and
selecting one clock phase from the clock phases of the first clock sequence, the second clock sequence and the at least one third clock sequence as a sampling clock phase.

### Claim 8 (depends on 1)

The sampling phase selection method of claim 1, wherein the data stream comprises a periodic spread spectrum data stream.

### Claim 9 (depends on 1)

The sampling phase selection method of claim 1, wherein the data stream is transmitted under a point-to-point mini-LVDS communication protocol.
