Method for clock recovery in MPEG systems

Pulse or digital communications – Bandwidth reduction or expansion – Television or motion video signal

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C375S240270, C375S240280, C375S240250, C375S354000, C375S362000, C375S355000, C348S500000, C348S512000, C348S516000, C348S521000, C348S524000, C370S509000, C370S516000, C370S510000, C370S512000, C370S514000, C370S503000, C386S349000, C386S349000

Reexamination Certificate

active

06829304

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
This invention generally relates to clock recovery in digital communications equipment, and more particularly to a method and system for adaptively and continuously estimating the relationship between a Moving Pictures Experts Group (“MPEG”) encoder time clock and an MPEG decoder time clock and adjusting the decoder time clock in accordance with the estimate.
2. Description of the Related Art
MPEG-1 and MPEG-2 are industry standards for the compression of digital audio-video programs for storage and transmission. Digital audiovisual programs are compressed or “encoded” for storage and transmission. To be viewed, the program must be decompressed or “decoded”. Herein, the term “program” means a collection of related audio-video signals having a common time base and intended for synchronized presentation.
The MPEG standards provide for hierarchically layered data streams. That is, an audio-video program is composed of one or more coded bit streams or “elementary streams” (“ES”) such as an encoded video ES, an encoded audio ES, a second language encoded audio ES, a closed caption text ES, etc. Each ES, in particular, each of the audio and video ESs, is separately encoded. The encoded ESs are then combined into a systems layer stream such as a program stream (“PS”) or a transport stream (“TS”). A PS is comprised of variable length packetized elementary stream or “PES” packets containing data for only a single ES. To form a TS, PES packets are divided into a number of payload units and inserted into fixed length (188 byte long) transport packets. The purpose of the PS or TS is to enable extraction of the encoded ESs of a program, separation and separate decoding of each ES and synchronized presentation of the decoded ESs to accurately reproduce the encoded program.
The ESs of each program are encoded in relation to a single encoder system time clock (“STC”). Likewise, the decoding and synchronized presentation of the ESs are ideally synchronized in relation to the same encoder system time clock. Thus, the decoder must be able to recover the original encoder STC to decode each ES and present each decoded ES in a timely and mutually synchronized fashion. To that end, samples of the STC, called clock references (CRs), are inserted selectively into the systems layer streams.
The MPEG standard schedules presentation of audio and video with respect to a 90 KHz clock. In MPEG-2, the 90 KHz STC is obtained from a 27 MHz clock. In MPEG-1, the STC is the 90 KHz clock. An MPEG receiver ideally attempts to recover the exact frequency of the transmitter's STC, in order to decode and present audio and video as they were, prior to their being encoded and sent by the transmitter. Even if the clock frequency recovery can occur only imperfectly, there is another reason for recovering the transmitter's STC: with properly encoded MPEG streams, and with a perfectly recovered STC, scheduling mechanisms specified by the MPEG standards keep the buffers, in which the receiver stores encoded audio and video, from backing up.
To facilitate clock recovery, clock references are embedded in MPEG streams as discussed above. The MPEG terminology for a clock reference is either system clock reference (“SCR”) or program clock reference (“PCR”), depending upon the type of stream (PS or TS) being discussed. Here, we refer simply to a clock reference because the type of clock reference is irrelevant for the purposes of this discussion. A clock reference is a bitfield, typically representing the value of the STC at the moment when the bitfield “should” enter a certain abstractly-defined buffer, which itself is part of one of the abstractly-defined models put forward in the MPEG systems standards. An MPEG decoder extracts clock references from the MPEG stream and uses the clock references to recover the encoder STC.
The clock recovery problem is complicated by the fact that the decoder clock is not synchronized with the encoder STC; in particular, it does not begin running at the same time. Further, any two independently running clocks will tend to “drift” or run alternately (or consistently) fast or slow relative to each other. Over time, this clock drift can accumulate to levels that will interfere with accurate reproduction of the encoded program.
Prior art MPEG receiver/decoders typically incorporate some means for tracking the relationship between the encoder STC and the corresponding clock in the receiver decoder. Clock tracking and adjustment means usually incorporate a microprocessor having access to the clock reference bitfields as well as the receiver/decoder STC. The microprocessor is provided with program steps for comparing the encoder STC (reflected in the clock reference bitfields) with the receiver/decoder STC, establishing a relationship between the clocks and adjusting the receiver/decoder STC to more closely approximate the frequency of the STC. One such method is discussed in U.S. Pat. No. 6,195,368.
Such clock recovery and adjustment must be accomplished to an acceptable degree of accuracy and within the time constraints of an MPEG stream. The relationship between the encoder STC and the receiver/decoder STC must be updated frequently to maintain the accuracy of the presentation and avoid buffer overflow/underflow problems as discussed above.
The conventional methods for clock recovery typically employ a phase-locked loop (PLL). Upon initial acquisition of a new program, the STC is set to the current value encoded in the CR. The first CR is typically loaded directly into an STC counter and the PLL is operated as a closed loop. At the moment when each CR arrives at the decoder, the value is compared with the current value of the STC at a subtractor which calculates the difference. The difference is a number which has one portion in units of 90 kHz and one portion in units of 27 MHz. The difference is typically designated the E or error term in the loop. A sequence of E terms is inputted to a low pass filter and gain stage. The output of the stage is a control signal which controls the instantaneous frequency of a voltage-controlled oscillator (VCO). The output of the VCO is an oscillator signal with a nominal frequency of 27 MHz. This signal is used as a system clock frequency within the decoder and is input to a counter. The counter generates the current STC values which have both a 27 MHz extension and a 90 kHz base value. The complete STC is a feedback input to the subtractor. The band width of the PLLs typically has an upper bound which is imposed by the bounded maximum interval between successive CRs. If the CRs are received by the decoder with values in timing that are instantaneously correct samples of the constant frequency STC in the encoder, then the error E in turn converges to a constant value after the loop has reached the locked state. Variations in the instantaneous VCO frequency become essentially zero after the loop is locked. Therefore, for a prototypical PLL technique, the adjustment is typically intimately tied to system hardware and essentially implements a sample by sample adjustment in clock recovery.
SUMMARY OF THE INVENTION
The present invention represents a different approach to clock recovery from that of the conventional PLL type methods by adjusting the clock recovery by means of a statistical calculation which is consistent with the limitations of the associated decoder and buffer. The present method for clock recovery is based on a statistical model derived from the Central Limit Theorem of statistics and is adapted to the application of clock recovery for MPEG systems.
Briefly stated, a preferred embodiment of the present invention is a method comprising a series of steps to be performed in a decoder to adaptively estimate the ratio P/S of the frequency of an encoder system time clock and the frequency of a decoder system time clock. The steps include performing a series of overlapping trials N which calculate time differentials dP(n), dS(n), respectively, between selected pairs of temporally separated clo

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method for clock recovery in MPEG systems does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method for clock recovery in MPEG systems, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method for clock recovery in MPEG systems will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3305445

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.