Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
STREAM CLOCK RECOVERY IN HIGH DEFINITION MULTIMEDIA DIGITAL SYSTEM
Document Type and Number:
WIPO Patent Application WO/2011/041559
Kind Code:
A1
Abstract:
The present disclosure provides techniques for recovering source stream clock data at the sink in a high definition multimedia digital content transport system. The disclosure includes a fractional-N Phase-Locked Loop (PLL) based clock generator, a programmable Sigma-Delta Modulator (SDM), and a clock data calibrator to fully recover the original source stream clock data. The fractional-N PLL provides flexible source stream clock recovery. When there is a frequency deviation between the original clock and the regenerated clock, the clock data calibrator control circuit adjusts the clock data, preventing any stream data buffer overflow or underflow problems. The disclosed techniques are compatible with the sink devices based on the standards of DisplayPort and HDMI.

Inventors:
ZHANG XIAOQIAN (CN)
ZHAI SHUBING (CN)
WANG YANBO (CN)
Application Number:
PCT/US2010/050929
Publication Date:
April 07, 2011
Filing Date:
September 30, 2010
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
INTEGRATED DEVICE TECH (US)
ZHANG XIAOQIAN (CN)
ZHAI SHUBING (CN)
WANG YANBO (CN)
International Classes:
H04B14/06
Foreign References:
US7567630B22009-07-28
US20090232262A12009-09-17
US7102399B22006-09-05
US6630868B22003-10-07
Attorney, Agent or Firm:
EDWARDS, Gary, J. (LLP2323 Victory Avenue, Suite 70, Dallas Texas, US)
Download PDF:
Claims:
Claims

What is claimed is:

1. A stream clock recovery device, comprising: a sink device receiving a clock data from a link channel; the sink device further comprising: a data extractor to extract the clock data; a data calibrator to adjust the clock data; a data translator having a integer and fraction value generator, generating an integer part and a fractional part of the clock data; a phase locked loop (PLL) for synthesizing a fractional frequency; and a sigma-delta-modulator (SDM) for generating an integer divisor for the PLL by modulating the fractional part of the clock data.

2. A stream clock recovery device of Claim 1, further comprising a cycle time counter, wherein the data calibrator measures the recovered clock data with the counter and compares the measured recovered clock data with the extracted clock data.

3. A stream clock recovery device of Claim 1, further comprises a data buffer, and the data buffer filling level is monitored by the data calibrator periodically.

4. A stream clock recovery device of Claim 1, further comprising a calibration selection switch to choose among different calibration techniques.

5. A stream clock recovery device of Claim 1, wherein the PLL comprises a pulse- swallow divider.

6. A stream clock recovery device of Claim 5, wherein the PLL with pulse-swallow divider further comprises: a first frequency divider for dividing an input clock data into a reference clock data; a second frequency divider for dividing a clock output, wherein the divider is capable of dividing by multiple factors; a phase/frequency detector; a charge pump; a low-pass filter; a voltage controlled oscillator for frequency synthesis; and a third frequency divider and a prescaler for fractional divisor control, wherein the third frequency divider is programmable.

7. A stream clock recovery device of Claim 6, wherein the integer and fraction value generator provides a first divisor for the second frequency divider in the PLL, and a second divisor for the third frequency divider in the PLL.

8. A stream clock recovery device of Claim 1 , wherein the SDM is programmable.

9. A programmable SDM of Claim 8, comprising three accumulators independently controllable to program the SDM.

Description:
Stream Clock Recovery in High Definition Multimedia Digital System

Xiaoqian Zhang, Shubing Zhai and Yanbo Wang

RELATED APPLICATION

[0001] The present disclosure claims priority to U.S. Nonprovisional Patent Application No.

12/571,210, filed on September 30, 2009, which is herein incorporated by reference in its entirety.

BACKGROUND

Technical Field

[0002] The present disclosure is generally related to the field of stream clock and data recovery in digital communication and, more specifically, to reduction of frequency errors in a high definition multimedia digital content transport system.

Discussion of Related Art

[0003] A high definition multimedia digital content transport system typically includes a source device, a sink device, and perhaps a number of additional repeaters or other devices, interconnected by a uni-directional, high-speed, and low-latency serial link channel designed to transport isochronous streams such as uncompressed digital video and digital audio. In order to transmit video and audio data across a link channel, a packet structure is used. Frequently in its simplest form, a source includes transcoders which convert incoming video and audio stream data between a non-standard interface and a standard interface, as well as link channel transmitters integrated with graphics, video, and audio processors. A sink includes link channel receivers combined with other display and audio related devices and integration components for higher level functionalities. Recently, a high-definition multimedia interface (HDMI) and DisplayPort for transmitting digital video and audio content have been standardized by Video Electronics Standard Association (VESA).

[0004] The task of recreating the video pixel clock rate or the audio sample clock rate at the sink side is called stream clock recovery. There are a variety of stream clock recovery methods that can be implemented at the sink, each method having a different set of performance characteristics. Unfortunately, the clock rate measured at the sink side is not always equal to the original clock rate at the source site and many of the stream clock recovery methods do not provide satisfactory and practical solutions. Accordingly, it is desirable to provide for improved stream clock recovery methods.

Summary

[0005] Consistent with embodiments of the present invention, a stream clock recovery device is provided. In some embodiments, the clock recovery device includes a video and audio data source containing a transmitter, wherein the data includes a clock signal; a sink device receiving the data from a link channel connecting to the transmitter; the sink device further including: a data extractor to extract the clock data; a data calibrator to recover the clock data; a data translator having a fraction and integer value generator; a phase locked loop (PLL) for synthesizing a fractional frequency; and a sigma-delta-modulator (SDM) for generating a fractional divisor for the PLL by modulating the fractional part of the clock data. In some embodiments, the clock data calibrator can switch between different calibration methods. For example, the recovered clock data can be measured with a cycle time counter and compared with the extracted clock data. Another example method monitors the data buffer filling level periodically. Brief Description of the Drawings

[0006] Some embodiments of the present invention will be described more fully below with reference to the accompanying drawings. This invention may, however, be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein.

[0007] FIG. 1 shows an example of a high definition multimedia digital content transport system.

[0008] FIG. 2 shows a clock regeneration model in a time stamped fractional relationship.

[0009] FIG. 3 illustrates a conventional stream clock recovery sink circuit.

[0010] FIG. 4 describes an embodiment of the disclosed stream clock recovery circuit.

[0011] FIG. 5 illustrates a frequency M Calibrator consistent with some embodiments of the present invention.

[0012] FIG. 6 illustrates a M & N translator consistent with some embodiments of the present invention.

[0013] FIG. 7 shows a PLL with pulse-swallow divider consistent with some embodiments of the present invention.

[0014] FIG. 8 illustrates a programmable SDM consistent with some embodiments of the present invention.

Detailed Description

[0015] In the following description, specific details are set forth describing some embodiments of the present invention. It will be apparent, however, to one skilled in the art that some embodiments may be practiced without some or all of these specific details. The specific embodiments disclosed herein are meant to be illustrative but not limiting. One skilled in the art may realize other material that, although not specifically described here, is within the scope and the spirit of this disclosure. [0016] FIG. 1 shows a general architecture of a high definition multimedia digital content transport system. Such a system typically includes a source device 110 that includes a transmitter 115, a sink device 150 that includes a receiver 155, and perhaps a number of additional repeaters or other devices, interconnected by one or more uni-directional, high-speed, and low-latency serial main link channels 121 (link channels 121a, 121b, and 121c are specifically shown) designed to transport isochronous streams such as uncompressed digital video data 111, digital audio data 112, and control/status data 113. At the sink 150, receiver 155 receives and outputs a video signal 151, an audio signal 152 and a control/status signal 153. In addition, an auxiliary link channel 124 can be utilized to transport data 154, which may include Extended Digital Identification Data (EDID).

[0017] In many stream clock recovery systems, the video data 111 and audio stream data 112 being carried across the main serial link channel 121 may not retain the original video pixel clock rate or audio sample clock rate. The serial link channel 121 is driven by a high speed clock running at a different rate and not at the original video pixel clock rate or the audio sample clock rate. For example, in the Display Port standard, the main serial link channel 121 clock rate is fixed at either 1.62Gbps or 2.7Gbps irrespective of the input video or audio clock rate. In the HDMI standard, the main serial link channel 121 clock runs at the TMDS (Transition Minimized Differential Signaling) clock rate which corresponds to the video pixel rate, but is independent of the audio sample clock rate. In both HDMI and DisplayPort standards, a fractional relationship time-stamped clock regeneration model 200 such as that shown in FIG. 2 can be defined. The values M and N are integers representing frequencies in clock recovery. M is a dynamic parameter that is counted and N is a static parameter that depends on the relevant communication standard of the system. Source

110 includes a cycle time counter 210 to count the frequency parameter m from input video clock

111 and audio clock 112. A link symbol clock 203, which typically runs at 10 percent of the clock rate of the main link channel 121, drives a "divide by N" operation, performed by a divider 220, to the counted frequency parameter M from the cycle time counter 210. The stream data including M and N is carried by main link channel 121 to sink 150. Sink contains a stream clock recovery circuit 260, responsible for calculating the recovered stream clock 272. Operation at "divide by N" 251 provides a reference clock 253 and operation at "divide by M" 254 provides a feedback clock for stream clock recovery circuit 260.

[0018] When M and N values are transported from source 110 to sink 150, the source measures the clock cycle M using a counter 210 running at the link symbol clock frequency (usually 1/10 of channel clock rate). N can be a fixed value defined by the communication standard used, for example, N is set to 32768 (2 15 ) in the DisplayPort standard. The value M measured by counter 210 is transported in a serial main link channel 121 as part of a packet structure. The stream clock signals transported by main link channel 121 and link symbol clock signals 203 at source 110 are asynchronous with each other, thus the value M might change while the value N stays constant. The stream clock rate from serial main link channel 121 can be derived from the link symbol clock by using the relationship stream clock rate = M/N * (link symbol clock rate).

[0019] There are a variety of stream clock recovery methods that can be implemented at sink 150. Each method has a different set of performance characteristics. FIG..3 illustrates a conventional stream clock recovery sink circuit 300 in sink 150. As illustrated in FIG. 3, a typical conventional stream clock recovery sink circuit 300 includes the following components: a clock-data-recovery (CDR) circuit 320 receiving clock data from a main link channel 121 and outputting a recovered link symbol clock data 322 and other stream clock data 321 to a data buffer 330; an M&N extractor 340 that also receives the CDR output stream clock data 321 to extract the values of M and N; an M&N translator 350 to operate on the clock rate in order to generate an integer 351 (II) and a fractional value 352 (F); a Sigma-Delta-Modulator (SDM) 360 that is employed to adjust the fractional values 352 (F) into a fractional divisor ratio 361 (12); and an adder 380 that receives integers 351 and 361 and generates a variable divisor input 381 (D) for a phase-locked-loop (PLL) with a programmable divider 370. Thus, the average division ratio 361 (12) over many cycles is still equal to the output fractional value 352 from the M & N Translator 350.

[0020] Moreover, SDM 360 shapes the noise spectrum of its output with a high pass filter, which suppresses noise at low frequencies. PLL 370 acts as a low pass filter to reject high frequency response. As a result, the overall noise is attenuated, and the recovered stream clock rate 372 is used to read stream data, which is stored at data buffer 330.

[0021] A problem occurs for the above stream clock recovery method, when the M & N values at sink 150 are not equal to the original M & N values at the source, which is typically caused by bit error in link channel 121 or imperfect measurement mechanisms at source 110. In the ideal case, where the received M & N values are equal to the original M & N values, fractional long-term accuracy of the recovered stream clock is the same as that of the original. But in the non-ideal case where the received M & N values are not equal to the original M & N values, frequency deviation between source 110 and sink 150 will accumulate over time, leading to a phase offset between read and write operations in data buffer 330 that may eventually cause buffer 330 overflow or underflow.

[0022] FIG. 4 shows a block diagram for a stream clock recovery system 440 according to some embodiments of the present invention. Stream clock recovery system 400 includes: a clock-data- recovery (CDR) circuit 320 receiving clock data from a main link channel 121 and delivering a recovered link symbol clock data 322 and stream clock data 421 to a data buffer 430; M & N Extractor 340; M Calibrator 440; M & N Translator 450; a Programmable SDM 460; an adder 480; and a PLL with Pulse-Swallow Divider 470. M and N values are extracted from the link channel stream packets after CDR 320 by the M & N Extractor 340. N value is a fixed number and N is not changed by the extraction. M values are sent to M calibrator 440 and adjusted to form Ml values by M calibrator 440. M Calibrator 440 can utilize several calibration methods, including the following: 1) direct comparison of the difference between the original stream clock rate, m- values and the recovered stream clock rate M-value; and 2) indirect monitoring of the data buffer filling level. M Calibration 440 will converge Ml to the original value during the calibration process. M & N Translator 450 calculates Ml/N and converts the result into an integer value 451 (II) and a fractional value 452 (F). The fractional value 452 (F) is modulated by a programmable SDM 460, which outputs a divisor ratio 462 (12). Divisor ratio 462 (12) is then summed with integer value 451 (II) by adder 480 before entering PLL with Pulse-Swallow Divider 470. Although the

instantaneous division ratio 462 (12) varies, the average of 462 (12) over many cycles still equals fraction value 452 (F). The frequency deviation between source 110 and sink 150 is then adjusted by one of the calibration methods. As a result, data buffer 430 will not overflow or underflow. Therefore, the recovered stream clock rate 472 can be used to read the stream data from the data buffer 430. The overall stream data clock recovery is correctly achieved.

[0023] FIG. 5 shows a block diagram of an embodiment of M calibration 440, applying two alternative calibration methods to adjust the M value, consistent with some embodiments of the present invention. The first calibration device 550 directly measures the recovered stream clock cycles M-value m with a cycle time counter 520. Operation 520 to divide the M-value by N is performed at recovered link symbol clock rate 322. Then the difference DM1 = Ml-m is calculated by comparing the current measured stream clock cycle value m with the last calibrated value Ml of the previous packet coming from input 472 to cycle time counter 520. The output calibrated value for this technique is Ml = m+DMl .

[0024] The second calibration device 560 monitors the buffer filling level 435 relative to a fixed buffer threshold at fixed reference time points 472, for example, at the horizontal blanking ending of an active line, then calculates the difference DM2 = buffer filling level - buffer threshold. The output calibrated value for the second technique is Ml ' = M+DM2. Each of the selected calibration techniques has its advantages and disadvantages. The first calibration method does not need fixed timing reference in data stream 322, thus it can be applied to data stream in other video/audio standards in the future. However, method 1 may still have buffer overflow or underflow problems if the bit error rate of link channel 121 is extremely high. The second device can respond to high bit errors, although it requires fixed reference timing in the data stream. The second method is very suitable for DisplayPort, because DisplayPort has defined fixed timing reference in the serial data stream.

[0025] FIG. 6 illustrates an exemplary M & N Translator 450 in accordance with some

embodiments of the present invention. M & N translator 450 translates M & N values into an integer 451 (11 ), a fraction 452 (F) and a selected divisional number Div_sel, which is 2 n (n= 1, 2, 3, etc.). The least significant bit (LSB) carrying the N-bit zero is appended to the fractional value of 452. The value of Div sel is static, but integer (I) and fraction (F) are dynamic because M is dynamic. The following equations define how the M & N Translator calculates the integers and fractions.

[0026] The Integer I and fraction values can be calculated by the following steps:

[0027] First, calculate DIV: DIV = 16*M / N = M / 2048, (when N = 32768);

[0028] Second, find I(DIV) which is the integer part of DIV; [0029] Third, choose n value so that I(DIV) multiplied with 2" yields an integer between 32 and 63;

[0030] Finally, calculate the Integer I and fraction values by the following expressions:

[0031] Integer (I) = I (DIV * 2" ) = I (M/ 2048* 2 n );

[0032] Fraction = F (M/ 2048* 2 n ).

[0033] One example of the translation is illustrated in Table 2. For convenience, in some embodiments the most significant bit (MSB) is always kept as "1". Therefore, the integer of (DIV* 2 n ) is always between 32 and 63. For most of video formats defined in DisplayPort standard, the typical values of II and F post translation are listed in Table 1.

Table 1 M & N Translator in standard video protocols

[0034] FIG. 7 shows a block diagram of a PLL with pulse-swallow divider 470 consistent with some embodiments of the present invention. The PLL 470 consists of the following components: a frequency divider 710 dividing by 16; PFD (Phase/Frequency Detector) 720; CP (Charge Pump) 730; LPF (Low-Pass Filter) 740; VCO (Voltage Controlled Oscillator) 750; dual-modulus prescaler 770 dividing by 4 or 5; programmable frequency divider 780; and another output programmable frequency divider 760 dividing by 2/4/8/16/32/64. PLL 470 takes the input signals - link symbol clock 322, the Div sel 455 and a dynamic divisor 481 (D) - and outputs the recovered stream clock signal 472.

[0035] Typically, the link symbol clock rate 322 is fixed at 162MHz or 270MHz, thus after frequency division by 16 in Div_16 710, the reference clock of PFD 720 can be fixed at

10.125MHz or 16.875MHz and VCO 750 frequency range is from 314MHz to 1.114GHz. Prescaler 770 directly follows VCO 750, slowing down the output frequency of VCO 750. Thus, the programmable divider does not need to operate at the VCO speed because of the prescaler' s 4 / 5 frequency dividing. The recovered stream clock divisor divjsel (2 n ) 455 is provided by the M & N translator 450 of FIG. 4, and the divisor for the programmable divider is provided by the programmable SDM 460 in FIG. 4. [0036] FIG. 8 shows a block diagram of a programmable third order MASH (Multistage Noise Shaping) 1-1-1 SDM 460 consistent with some embodiments of the present invention. FIG. 8 contains the following components: 3 integrators 811, 812, 813, adders 801-807, noise filters 821, 822, 823, and comparators (also known as quantizers) 830, 831. The input fractional signal 452 (F) and output integer signal 462 (12) are illustrated at the left side of the diagram. Each integrator can be enabled or disabled independently via Carry out switches for programming SDM in a desired one of three modes: fractional-N synthesizer without an integrator, a fractional-N synthesizer with the second order sigma-delta (Δ∑) noise shaping, and a fractional-N synthesizer with the third order sigma-delta (Δ∑) noise shaping. There is a full input range in this example. There will be no system stability problems. Table 2 lists different parameters in the three modes of a programmable 3 stage SDM described above.

Table 2 Programmable SDM Summary

• Noise transfer function

• Z "1 is the delay symbol

The foregoing description is intended to illustrate but not to limit the scope of the invention, which is defined by the scope of the appended claims. Other embodiments are within the scope of the disclosure.