Frequency bounded oscillator for video reconstruction

A frequency range bounder for limiting the frequency of a voltage controlled oscillator uses a multiplexer that responds to comparator inputs indicating whether an input control signal will allow the oscillator frequency to go beyond a predetermined range. If the control signal keeps the frequency within the range, the control signal is sent directly to an oscillator driver. If the control signal is above or below the range, the multiplexer outputs an alternative value as the control signal. As a result, the oscillator frequency is prevented from extending beyond an allowable tolerance range.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention is related to signal encoding and decoding, and more particularly to a system for controlling an oscillator used to decode and/or reconstruct a video signal.

[0003] 2. Description of the Related Art

[0004] Modem video equipment including televisions, video cassette recorders VCRs, and set-top terminals provide users with tremendous access to television programming. In particular, cable and satellite television systems may provide access to hundreds of channels of video programming. A set-top terminal is a box of electronic circuitry connected between a user's television and a cable or satellite television system for assisting the user in accessing that system.

[0005] As the equipment for providing video programming becomes more complicated and offers more features and flexibility to users, the sophistication and programming required to operate such equipment also increases. In fact, some video equipment, particularly VCRs and set-top terminals, now require substantial computing power to optimally process video and audio signals and provide user features such as timed program recording and premium channel de-scrambling.

[0006] In general, to generate a visual display on a display device, such as a television set or monitor, the information for the images to be displayed must be provided as a video signal. This is also true of an on-screen display that is derived from a video signal generated by the video equipment. Conversion of a video signal into a visual image on a display screen requires the use of a clock signal with a highly accurate frequency. Generally, the video equipment, such as a set-top terminal, creates the video signal from it's internally-generated clock. The accuracy of the internally-generated clock yields the accuracy of the timing contained or embedded in the video signal sent to a video display device, e.g., a television set or monitor. The timing needs to be accurate within a predetermine range for the image to be displayed properly. For example, the generation of images on the video display device, may require timing that is accurate to within 3 to 50 ppm. Some televisions require higher timing accuracy than others.

[0007] With television signals provided by network broadcasters, or cable or satellite companies, the required signal timing is inherently a part of an analog television signal and is always included as part of a digital television signal. Therefore, when a piece of video equipment takes control of a display device, e.g. a television set, and reconstructs an incoming video signal, the necessary clock signal with a sufficiently accurate frequency can be derived or borrowed from the incoming video signal.

[0008] In the past, video equipment requiring generation of a high-accuracy clock signal for supporting video reconstruction/generation has been provided with an internal clock circuit built around a dedicated crystal oscillator. The oscillator can either be calibrated at the factory to provide a sufficiently accurate clock signal to support video reconstruction/generation or designed and built with components having extremely tight tolerances. A voltage controlled crystal oscillator VCXO is a preferred oscillator for generating the necessary high-accuracy clock signal. Because the oscillator is voltage-controlled, it requires little or no factory calibration and can be continually controlled to adjust for the effects of initial accuracy, aging or extreme temperatures.

[0009] In this arrangement, the control voltage applied to the VCXO is measured and recorded when a video signal is being received and properly displayed. This is required for proper video construction and, in the digital channel case, for preventing buffer underruns and overruns. More particularly, the terminal has a recovered clock that is frequency locked to the encoder clock in the head-end or the location where the digital video signal was originally encoded. In the analog case, the terminal has a recovered clock that is locked to the timing embedded in an analog television signal. The clock frequency in currently-used applications is typically around 27 MHz.

[0010] To reconstruct an MPEG delivered video signal or an NTSC video signal, the frequency of the VCXO must be maintained at a sufficiently accurate frequency. This is a requirement for proper video construction in both analog and digital applications. Further, in digital applications, proper timing prevents buffer underruns and overruns as well. Usually, the VCXO is common to both MPEG decoding and NTSC video reconstruction and is designed to meet the MPEG specification on its allowable offset, manufacturing, and component tolerances with an additional margin. Typically, the allowable VCXO frequency range in this type of application is ±100 ppm from the nominal 27 Mhz value. Although this VCXO range is acceptable for decoding MPEG video signals, this range far exceeds the allowable range for regenerating NTSC video signals, resulting in color deterioration, the appearance of blocks in the image, frozen image portions, or degradation of the image into a black and white image. These image problems may also occur if the VCXO characteristics allows the frequency to drift beyond the allowable frequency range for decoding MPEG signals. Timing is also a concern in generating images from analog signals, where the VCXO needs to lock to the horizontal and/or vertical timing of an analog video signal.

[0011] Consequently, there is a need for a system that prevents the VCXO frequency from exceeding an allowable range for video reconstruction and buffer management.

SUMMARY OF THE INVENTION

[0012] Accordingly, the present invention is directed to an apparatus that outputs a clock signal for video reconstruction and that includes a control logic circuit with a phase locked loop for receiving an incoming video signal and phase locking to a clock signal portion of the incoming video signal, wherein the control logic circuit outputs a control signal for controlling an output of an oscillator, which serves as the clock signal, based on the phase lock, and a frequency range bounder in the phase locked loop that receives the control signal and outputs a bounded control signal that limits the frequency of the voltage controlled oscillator to a selected range.

[0013] The invention is also directed to a frequency range bounder apparatus for limiting an oscillator frequency range. The frequency range bounder receives a control signal for controlling an output of an oscillator and outputs either the control signal itself, if the control signal is within a selected range, or a threshold value, if the control signal is outside the selected range, as a bounded control signal to the oscillator to limit the oscillator frequency.

[0014] The invention is further directed to a method for outputting a clock signal for video reconstruction in a terminal, comprising the steps of receiving an incoming video signal in a control logic circuit with a phase locked loop, phase locking to a clock signal portion of the incoming video signal, outputting a control signal for controlling an output of an oscillator based on the phase lock, and limiting the frequency of the oscillator to a selected range using a frequency range bounder in the phase locked loop that receives the control signal.

[0015] As a result, the invention prevents the frequency of a voltage controlled oscillator from surpassing an allowable frequency range for proper video reconstruction as the oscillator locks to a head-end encoder's clock frequency or an analog video channel's embedded timing.

BRIEF DESCRIPTION OF THE DRAWINGS

[0016] FIG. 1 is a block diagram illustrating a frequency bounded clock according to the present invention;

[0017] FIGS. 2a and 2b are waveforms illustrating the bounding operation according to the present invention;

[0018] FIG. 3 is a representative diagram of a frequency range bounder of the present invention according to one embodiment;

[0019] FIG. 4 is representative diagram of another embodiment of the inventive frequency range bounder; and

[0020] FIG. 5 is a representative diagram of a further embodiment of the inventive frequency range bounder.

DESCRIPTION OF THE PREFERRED EMBODIMENT

[0021] Using the drawings, the preferred embodiments of the present invention will now be explained. Stated in broad principle, the present invention is directed to an apparatus and method for limiting the frequency of an oscillator, such as a voltage controlled oscillator (VCXO), which locked to the timing of an incoming video signal, within a selected acceptable range. The invention prevents the VCXO frequency from drifting, including or especially during channel acquisition, outside the acceptable range and causing video image deterioration.

[0022] FIG. 1 illustrates an embodiment of the present invention as a device for generating a clock signal in a piece of video equipment, such as a set-top terminal, when the incoming video signal 101 is a digital signal, such as an MPEG data stream. As shown in FIG. 1, the incoming digital video signal 101, i.e. the video data stream, is provided to a control logic circuit 102. The digital video signal 101 includes data fields in which program clock reference (PCR) data is provided. The PCR is a part of the MPEG (Motion Picture Experts Group) digital signal format and functions as a digital clock signal that is used to reconstruct the images carried in the digital data stream 101 for display on a television set or monitor (not shown). As is known in the art, the PCR is a time stamp of the encoder's clock frequency and is sent in the data stream at regular intervals.

[0023] Note that for an analog application, the general circuit 102 configuration shown in FIG. 1 will be the same except that an analog video signal will be sent to the circuit 102 instead of a digital data stream 101 and a sync separator will be used instead of the PCR data extractor 104.

[0024] The control logic circuit 102 is an internal phase locked loop circuit and locks to the PCR data by first receiving the digital data stream 101 into a PCR data extractor 104. The PCR data extractor 104 and counter and scaler 106 provide inputs to a comparator 108, which outputs a signal to a loop filter 110. The comparator 108 output corresponds to the difference between the time stamp of the encoder (not shown) and the terminal's internally generated time stamp, allowing continuous adjustment of the terminal's clock frequency to align it with the encoded signal's clock frequency. The loop filter 110 directs a control signal corresponding to the comparator 108 output through a VCXO driver 111, such as a pulse width modulation (PWM) circuit, to a VCXO frequency range bounder 112. The frequency range bounder 112 will then output a bounded control signal to a drive circuit 114 for driving the VCXO 116. The VCXO 116 outputs a clock signal based on the timing from the PCR and the bounded control signal from the frequency range bounder 112. The VCXO clock signal is also fed back to the counter and scaler 106 to complete the phase locked loop. Note that although FIGS. 1 and 3 show the frequency range bounder 112 receiving an input from the VCXO driver 111, the VCXO range bounder 112 can be placed anywhere in the signal path after the loop filter 110 and still have the same bounding effect. For example, the frequency range bounder 112 can be placed directly after the loop filter 110 so that the loop filter 110 output acts as the control signal. The inventive concept is the same regardless of the specific position of the frequency range bounder 112 in the signal path.

[0025] The VCXO 116 acts as the terminal's clock oscillator and locks to the head-end encoder's clock frequency through the PCR data fields contained in the MPEG video data stream. As a result, the circuit receives the time-stamps, compares the time stamps to its own internal counter 106 based on the VCXO clock frequency, and continuously adjusts the VCXO clock frequency to bring the encoder clock frequency and the terminal's VCXO clock frequency into alignment, forming a closed phase locked loop.

[0026] Note that if the phase locked loop does not contain the frequency range bounder 112 of the invention, the loop may have frequency undershoots and overshoots as the VCXO frequency converges to the correct frequency, depending on the type of loop filter 110 implemented in the circuit, the specific loop control values, and the characteristics of the PCR data e.g., whether it is non-compliant. The frequency excursions that occur before the VCXO converges to the correct frequency may exceed the allowable frequency offset for video reconstruction and internal buffer management. An example of an 0unbounded VCXO frequency is shown in FIG. 2a. As can be seen in the Figure, a channel acquisition or PCR discontinuity will cause the VCXO frequency to overshoot and/or undershoot as it converges toward the correct VCXO frequency level. If the frequency excursions are large enough to go beyond the allowable tolerances 200 for proper video image reconstruction, the image itself may deteriorate e.g., lose color, shift to black and white, etc.

[0027] FIG. 2b illustrates a VCXO frequency that is bounded by the frequency range bounder 112 of the present invention. The undershoots 202 and overshoots 204 in the VCXO frequency that extend beyond the bounded range limits 200 are eliminated, causing the VCXO frequency to remain at an upper 206 or lower 208 frequency limit even if the incoming signal from the loop filter has a value that would ordinarily cause the VCXO frequency to be higher or lower. The specific frequency range can be based on the MPEG allowable tolerance, which is in the range of ±30 ppm, or can be restricted further to accommodate the tight limits required in NTSC reconstruction, in the range of ±3 ppm. Alternatively, a wider frequency range can be used based on the historical data for television receivers and monitors, in the range of ±50 ppm. Regardless of the specific range selected, the frequency of the VCXO 116 is bounded by bounding the control voltage that controls the VCXO 116 frequency within a certain range.

[0028] FIG. 3 is a representative diagram of one possible embodiment for the frequency range bounder 112. Generally, the frequency range bounder 112 limits the control signal, such as a control voltage, to a predetermined range because the VCXO frequency varies as the control signal varies. The frequency range bounder 112 includes a data register 300 that receives the control signal from the loop filter 110 or VCXO driver 111 (depending on the specific circuit 102 configuration), a programmable high limit register 302 and a programmable low limit register 304. The high limit register 302 stores an upper value corresponding to an upper frequency level of the desired bounded range, and the low limit register 304 stores a lower value corresponding to the lower frequency level of the desired bounded range. The registers 302, 304 and values can be generally referred to as threshold registers and threshold values, respectively.

[0029] A multiplexer 306 is coupled to the data register 300 and the high and low limit registers 302, 304 so that it can direct the upper value, the lower value, or the control signal itself to the drive circuit 114 as the bounded control signal for controlling the VCXO 116 frequency. The multiplexer 306 bounds the control signal within a selected range by comparing the control signal with a value based on outputs from a high comparator 308 and low comparator 310, which compare the control signal with a high limit and a low limit, respectively. If the control signal is between the high and low limits, the multiplexer 306 will allow the control signal to pass directly through to the drive circuit 114. If the high comparator 308 indicates that the control signal is above the high limit, the multiplexer 306 will select the high limit register 304 for outputting the upper value stored in the register 304 to the drive circuit 114. Similarly, if the low comparator 310 indicates that the control signal is below the low limit, the multiplexer 306 will select the low limit register 304 for outputting the lower value stored in the register 304 to the drive circuit 114. By limiting the value of the signal sent to the drive circuit 114 to a selected range, the frequency of the VCXO 116 is also bounded within a predetermined range, as shown in FIG. 2b, thereby preventing the VCXO 116 frequency from reaching a level beyond an acceptable tolerance range and minimizing the chance of image deterioration due to excessive frequency excursions as the VCXO settles to the correct frequency.

[0030] FIGS. 4 and 5 illustrate alternative embodiments for the frequency range bounder 112. In the embodiment shown in FIG. 4, the high limit register 302 is coupled to a minimum function block 400 and the low limit register 304 is coupled to a maximum function block 402. The minimum function block 400 receives as inputs the control signal output by the VCXO driver 111 and the upper value stored in the high limit register 302 and outputs the smaller of the two inputs. The maximum function block 402 will then receive as inputs the minimum function block 402 output and the lower value in the low limit register 304 and outputs the larger of the two inputs. As a result, if the control signal is higher than the upper value in the high limit register 302 or lower than the lower value in the low limit register 304, the corresponding values in the registers 302, 304 are output by the frequency range bounder 112 as bounded control signal instead of the control signal itself, thereby bounding the VCXO 116 frequency within the selected range.

[0031] FIG. 5 illustrates a way in which the frequency range bounder 112 can be implemented. In this embodiment, the high limit register 302 and the low limit register 304 containing the upper and lower values, respectively, are coupled to a three-input comparator 500. The comparator 500 receives the control signal from the VCXO driver 111, the upper value from the high limit register 302 and the lower value from the low limit register 304 as inputs. The comparator 500 than compares each data value in the control signal to see whether it falls within the with the upper and lower values. Control signal data values that are outside of the window defined by the upper and lower values are discarded by the comparator 500 while data values within the window are latched into an output register 502. As a result, the values from the output register 502 are bounded by the upper and lower values, thereby bounding the VCXO 116 frequency within the selected range.

[0032] The upper and lower limits for the bounded range can be obtained in various ways. One way is to analyze the VCXO 116 and its associated tolerances to obtain the control voltage values that will allow the VCXO 116 to remain within its tolerance range during frequency centering. Another method is to statistically quantify the control voltage versus the frequency range and frequency center of a sample group of VCXOs 116 to determine the bounded range. These methods will yield a range that accounts for the VCXO's own tolerances; however, this range may still be larger than the desired for image reconstruction, particularly in view of the relatively tight tolerance ranges required by, for example, MPEG and NTSC reconstruction.

[0033] Thus, a preferred method for obtaining the upper and lower range limits will take into account the desired tolerance ranges for image reconstruction as well as the operational tolerances of the VCXO 116. This can be conducted via calibration of the VCXO 116 by first checking the control voltage to the VCXO 116 when the VCXO 116 is stable and locked to a PCR stream. This control voltage will yield the center point of the desired bounded range because most PCR streams are accurate within a few ppm. The slope of the control voltage versus frequency curve can be obtained as well because the results tend to be more consistent than the center point. Obtaining the slope can be derived by analyzing the VCXO's 116 tolerances or by calibration. Calibration may involve forcing the VCXO 116 toward its extreme limits within its acceptable tolerance range and then back-calculating the VCXO's associated frequency from data obtained by comparing the PCR data stream with the internal counter 106 at selected points in time.

[0034] In practice, the phase locked loop (not including the VCXO 116) can be implemented as hardware, firmware, or a combination of both. Note that the bounding apparatus and method described above can also be used in analog applications, where the phase locked loop is locked to the horizontal and/or vertical timing of an analog video signal.

[0035] While the invention has been specifically described in connection with certain specific embodiments thereof, it is to be understood that this is by way of illustration and not of limitation, and the scope of the appended claims should be construed as broadly as the prior art will permit.

Claims

1-25. (cancelled)

26. An apparatus for outputting a clock signal for video reconstruction in a terminal, comprising:

an oscillator that generates the clock signal;
a control logic circuit with a phase locked loop for receiving an incoming video signal and phase locking to a clock signal portion of the incoming video signal, wherein the control logic circuit outputs a control signal for controlling an output of the oscillator based on the phase lock; and
a frequency range bounder in the phase locked loop that receives the control signal and outputs a bounded control signal that bounds the frequency of the oscillator to a selected range, said range being defined by an upper value and a lower value, said lower value being different from said upper value;
wherein the incoming video signal is a digital signal and the clock signal portion of the incoming video signal is program clock reference data for the digital signal.

27. The apparatus of claim 26, wherein the frequency range bounder includes an output multiplexer and a threshold register that stores at least one threshold value and that is coupled to the output multiplexer, wherein the output multiplexer receives a control signal and outputs one of the control signal and said at least one threshold value as a bounded control signal to limit the frequency of the oscillator to the selected range.

28. The apparatus of claim 27, wherein said at least one threshold register that stores at least one threshold value is a high limit register that stores said upper value and a low limit register that stores said lower value.

29. The apparatus of claim 28, wherein the frequency range bounder includes an output multiplexer that selects one of the upper value, the control signal, and the lower value as the bounded control signal and outputs the bounded control signal to the oscillator to bound the oscillator frequency between an upper level and a lower level.

30. The apparatus of claim 29, wherein the frequency range bounder includes at least one of a high comparator and a low comparator coupled to the output multiplexer, wherein the high comparator compares the control signal with said upper value and the low comparator compares the control signal with said lower value, and wherein the output multiplexer outputs the upper value as the bounded control signal if the control signal is above the upper value and outputs the lower value as the bounded control signal if the control signal is below the lower value.

31. A method for outputting an oscillator-generated clock signal for video reconstruction in a terminal, comprising the steps of:

receiving an incoming video signal in a control logic circuit with a phase locked loop;
phase locking to a clock signal portion of the incoming video signal;
outputting a clock signal with an oscillator; and
limiting a frequency of said oscillator to a selected range using a frequency range bounder in the phase locked loop,
wherein the selected range being defined by an upper value and a lower value that is different from said upper value, and
wherein the frequency range bounder receives a control signal and limits the oscillator frequency based on the control signal.

32. The method of claim 31, wherein the incoming video signal is a digital signal and the clock signal portion of the incoming video signal is program clock reference data for the digital signal.

32. The method of claim 31, further comprising outputting a bounded control signal from the frequency range bounder to the oscillator.

33. The method of claim 32, wherein the limiting step includes selecting one of the upper value, the control signal, and the lower value as the bounded control signal.

34. The method of claim 31, wherein the limiting step comprises:

comparing the control signal with at least one of said upper value and said lower value;
outputting the upper value as the bounded control signal if the control signal is above the upper value; and
outputting the lower value as the bounded control signal if the control signal is below the lower value.

35. A circuit for controlling an oscillator that outputs a clock signal for video reconstruction, comprising:

a control logic circuit with a phase locked loop for receiving an incoming video signal and phase locking to a clock signal portion of the incoming video signal, wherein the control logic circuit outputs a control signal for controlling an output of the oscillator based on the phase lock; and
a frequency range bounder in the phase locked loop that receives the control signal and outputs a bounded control signal that bounds the frequency of the oscillator to a selected range;
wherein said frequency range bounder is configured to generate a high limit signal and a low limit signal that is different from said high limit signal, and then select one of said control signal, said high limit signal or said low limit signal for transmission to said oscillator depending on whether said control signal remains within pre-defined high and low limits.

36. The circuit of claim 35, further comprising a multiplexer which receives said control signal, said high limit signal and said low limit signal and selectively transmits said control signal, said high limit signal or said low limit signal to said oscillator depending on whether said control signal remains within pre-defined high and low limits.

37. The circuit of claim 36, further comprising a high limit register for outputting said high limit signal and a low limit register for outputting said low limit signal.

38. The circuit of claim 37, further comprising a high comparator for comparing said control signal and said high limit signal, wherein the output of said high comparator is provided to said multiplexer.

39. The circuit of claim 37, further comprising a low comparator for comparing said control signal and said low limit signal, wherein the output of said low comparator is provided to said multiplexer.

40. The circuit of claim 35, further comprising:

a high limit register for outputting said high limit signal;
a low limit register for outputting said low limit signal; and
a comparator receiving said control signal, said high limit signal and said low limit signal;
wherein said comparator selects said control signal, said high limit signal or said low limit signal for transmission to said oscillator depending on whether said control signal remains within pre-defined high and low limits.

41. A method of controlling an oscillator that outputs a clock signal for video reconstruction, wherein said oscillator is controlled to remain within high and low frequency bounds, said method comprising:

receiving an incoming video signal and phase locking to a clock signal portion of the incoming video signal;
outputting a control signal for controlling an output of the oscillator based on the phase lock;
generating a high limit signal and a low limit signal, said high and low limit signals being different; and
selecting one of said control signal, said high limit signal or said low limit signal for transmission to said oscillator depending on whether said control signal remains within pre- defined high and low limits, said low limit being lower than said high limit.

42. The method of claim 41, further comprising:

receiving said control signal, said high limit signal and said low limit signal with a multiplexer; and
with said multiplexer, selectively transmitting said control signal, said high limit signal or said low limit signal to said oscillator depending on whether said control signal remains within pre-defined high and low limits.

43. The method of claim 42, further comprising:

comparing said control signal and said high limit signal with a high comparator; and
controlling said multiplexer with an output of said high comparator.

44. The method of claim 42, further comprising:

comparing said control signal and said low limit signal with a low comparator; and
controlling said multiplexer with an output of said low comparator.

45. The method of claim 41, further comprising:

receiving and comparing said control signal, said high limit signal and said low limit signal with a comparator; and,
with said comparator, selecting said control signal, said high limit signal or said low limit signal for transmission to said oscillator depending on whether said control signal remains within pre-defined high and low limits.

46. A system for controlling an oscillator that outputs a clock signal for video reconstruction, wherein said oscillator is controlled to remain within high and low frequency bounds, said system comprising:

means for receiving an incoming video signal and phase locking to a clock signal portion of the incoming video signal;
means for outputting a control signal for controlling an output of the oscillator based on the phase lock;
means for generating a high limit signal and a low limit signal that is different from said high limit signal; and
means for selecting one of said control signal, said high limit signal or said low limit signal for transmission to said oscillator depending on whether said control signal remains within pre-defined high and low limits, wherein said low limit is lower than said high limit.
Patent History
Publication number: 20040239806
Type: Application
Filed: Jun 14, 2004
Publication Date: Dec 2, 2004
Inventors: David E. Zeidler (Warrington, PA), Brian Carroll (Coopersburg, PA)
Application Number: 10867607
Classifications
Current U.S. Class: Automatic Phase Or Frequency Control (348/536)
International Classification: H03L007/00;