# US 10,313,100 B2 · Method and apparatus for automatic skew compensation

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

- Number: US 10,313,100 B2
- Document ID: US10313100B2
- Status: Granted
- Kind: B2
- Application number: 15/554,867
- Filed: 2016-04-05
- Published: 2018-02-08
- Granted: 2019-06-04
- Earliest claimed: 2015-04-22
- Assignees: Ismedia Co., Ltd.
- Applicants: Ismedia Co., Ltd.
- Inventors: Sung-Oh Yim
- Web page: https://patentgrep.com/patent/US10313100B2

## CPC

- H04L 7/0041: {Delay of data signal}
- G06F 13/4072: {Drivers or receivers (G06F13/4086 takes precedence; for multistate logic circuits H03K19/0002)}
- H04L 25/14: Channel dividing arrangements {, i.e. in which a single bit stream is divided between several baseband channels and reassembled at the receiver}
- H04L 7/04: Speed or phase control by synchronisation signals {(H04L7/0075 takes precedence)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention relates to a method and an apparatus for automatic skew compensation. The apparatus according to the present invention comprises: a skew compensating part configured to receive a high speed data signal and output a plurality of delay data signals having different delay times; a start code detecting part configured to detect a start code from the plurality of delay data signals; and a control part configured to determine a skew delay time depending on signal reception quality which is determined on the basis of the number of start codes normally detected for each different delay time. The apparatus may further comprise a packet start detecting part configured to receive an LP signal separated from an MIPI D-PHY and count the number of received packets. The packet start detecting part receives the LP signal separated from the MIPI D-PHY, and counts the number of packets received at every preset quality evaluation time by detecting the start location of a packet according to the state of the LP signal. The signal reception quality is obtained using the number of normally detected start codes and the number of received packets received and counted at every quality evaluation time. The present invention can automatically compensate the skew between a data signal and a clock signal in an MIPI D-PHY reception system.

## Claims

### Claim 1

An apparatus for skew delay compensation, comprising at least one computer configured to execute program instructions to implement:
a skew adjusting part configured to receive a high-speed data signal and output a plurality of delayed data signals having different delay times from each other;
a start code detecting part configured to detect a start code from the plurality of delayed data signals; and
a control part configured to determine a skew delay time according to a signal reception quality determined based on a number of normally-detected start codes for each of the different delay times.

### Claim 2 (depends on 1)

The apparatus according to claim 1, wherein the skew adjusting part comprises
a plurality of skew delay modules configured to delay an input signal by ΔT and output the delayed signal,
the plurality of skew delay modules are connected in series, and
an n-th skew delay module among the plurality of skew delay modules delays the received high-speed data signal by nΔt and outputs the delayed signal.

### Claim 3 (depends on 2)

The apparatus according to claim 2, further comprising a packet start detecting part configured to receive an LP (Low Power) signal separated from an MIPI (Mobile Industry Processor Interface) D-PHY and count a number of received packets.

### Claim 4 (depends on 3)

The apparatus according to claim 3, wherein the packet start detecting part receives the LP signal separated from the MIPI D-PHY, and counts the number of packets received for each of set quality evaluation times by detecting a start location of each packet of the number of packets received for each of the set quality evaluation times based on a state of the LP signal, and
the signal reception quality is obtained by using the number of normally-detected start codes and the number of received packets received and counted for each of the quality evaluation times.

### Claim 5 (depends on 2)

The apparatus according to claim 2, further comprising a signal selecting part configured to select one of the plurality of delayed data signals outputted from the skew adjusting part according to a skew control signal and output the selected delayed data signal.

### Claim 6 (depends on 5)

The apparatus according to claim 5, further comprising a serial-to-parallel converting part configured to convert the selected delayed data signal outputted from the signal selecting part as serial data into parallel data in byte units and output the converted signal,
and
wherein the start code detecting part detects the start code from the parallel data in byte units outputted from the serial-to-parallel converting part.

### Claim 7 (depends on 2)

The apparatus according to claim 2, further comprising a plurality of serial-to-parallel converting parts configured to receive, as input signals, the plurality of delayed data signals outputted as serial data from the skew adjusting part, respectively, and convert the input signals into parallel data in byte units and output the converted input signals,
wherein the start code detecting part comprises a plurality of start code counters configured to respectively receive the parallel data in byte units outputted from the plurality of serial-to-parallel converting parts and detect the start code.

### Claim 8 (depends on 7)

The apparatus according to claim 7, further comprising a signal selecting part configured to select one of data signals outputted from the plurality of serial-to-parallel converting parts according to a skew control signal and output the selected signal.

### Claim 9 (depends on 8)

The apparatus according to claim 8, wherein the control part performs ECC (Error Correction Code) or CRC (Cyclic Redundancy Check) verification for packet data obtained with the determined skew delay time.

### Claim 10

A method for skew delay compensation, comprising:
receiving a high-speed data signal and outputting a plurality of delayed data signals having different delay times from each other;
detecting a start code from the plurality of delayed data signals; and
determining a skew delay time according to a signal reception quality determined based on a number of normally-detected start codes for each of the different delay times.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the detecting the start code from the plurality of delayed data signals comprises performing:
(a) selecting a signal from among the plurality of delayed data signals and outputting the selected signal as a serial data signal, wherein the selected signal is the high-speed data signal delayed by NΔT according to a skew control signal;
(b) converting the outputted serial data signal delayed by NΔt into parallel data, and
(c) receiving the parallel data and detecting the start code, wherein
the steps (a), (b), and (c) are repeated for a predetermined evaluation time sequentially for N from 0 to n (n is a natural number).

### Claim 12 (depends on 11)

The method according to claim 11, further comprising receiving an LP (Low Power) signal separated from an MIPI (Mobile Industry Processor Interface) D-PHY and counting a number of received packets.

### Claim 13 (depends on 12)

The method according to claim 12, comprising receiving the LP signal separated from the MIPI D-PHY, and counting the number of packets received for each of set quality evaluation times by detecting a start location of each packet of the number of packets received for each of the set quality evaluation times based on a state of the LP signal; and
obtaining the signal reception quality using the number of normally-detected start codes and the number of packets received and counted for each of the set quality evaluation times.

### Claim 14 (depends on 11)

The method according to claim 11, wherein the detecting the start code from the plurality of delayed data signals comprises repeating performing the following steps for a predetermined time:
receiving the plurality of delayed data signals as serial data signals and converting the serial data signals into parallel data signals;
detecting the start code from the converted parallel data signals; and
increasing a number of counts of detections of the start code for a delay time corresponding to a converted parallel data signal from which the start code is detected.

### Claim 15 (depends on 14)

The method according to claim 14, further comprising performing ECC (Error Correction Code) or CRC (Cyclic Redundancy Check) verification for packet data obtained with the determined skew delay time.

### Claim 16 (depends on 5)

The apparatus according to claim 5, wherein the control part performs ECC (Error Correction Code) or CRC (Cyclic Redundancy Check) verification for packet data obtained with the determined skew delay time.

### Claim 17 (depends on 11)

The method according to claim 11, further comprising performing ECC (Error Correction Code) or CRC (Cyclic Redundancy Check) verification for packet data obtained with the determined skew delay time.

### Claim 18 (depends on 10)

A non-transitory computer-readable medium storing program instructions executable by a computer to perform the method of claim 10.
