Not applicable.
This invention is in the field of video display systems, and is more specifically directed to the sampling of analog input video signals for display on a digital video display.
As is well-known in the industry, many video display systems now operate in the digital domain, with the brightness and color of each picture element (pixel) in the displayed image controlled according to a digital value. As is also known in the industry and in the art, analog video signals are still prevalent to a large degree, especially as used in the communication and display of television content. In addition, many personal computers still present their video output in analog form. While digital video interfaces (DVI) are known, the additional cost associated with DVI video, and its relatively recent deployment, has resulted in analog video still being widely used, even in new systems.
The digital display of images communicated by analog video signals thus requires the conversion of the image data from the analog domain to the digital domain. And, of course, this analog-to-digital conversion requires the sampling of the analog signal to derive the digital representation. Accurate and faithful digitization of the analog video signal requires accurate and faithful sampling of that analog signal. In an ideal situation, this sampling is straightforward, considering that conventional analog video signals are represented by a sequence of voltage levels (e.g., associated with the luminance and chrominance components), each associated with a pixel on the display and having a duration of a period of the pixel rate (i.e., the pixel period), and each voltage level being relatively constant over the pixel period. Ideally, sampling of the analog video signal at the pixel rate will result in accurate digitization of the analog signal, at the source pixel rate.
However, the analog video signal waveform for each pixel is seldom ideal.
Of course, reducing the amplitude and duration of the ringing at transitions of the signal will increase the fraction of the pixel period during which accurate samples may be taken, and will also reduce the error resulting from sample points set or drifting within the transition and settling portions of the pixel period. However, the pixel rate required for the communication of display image fields or frames at the resolution of modern high resolution displays requires extremely fast switching times in the analog video signal for a given frame rate. These fast switching times not only reduce the pixel period within which the sampling must reliably take place, but also increase the amplitude of ringing. As such, it is much more difficult to accurately sample and digitize analog video signals for higher resolution displays.
Even at such high pixel rates, it is often possible to detect a stable portion of each pixel period in which accurate samples can be acquired. However, modern display systems are called upon to display images at various resolutions and frame rates, either as may be determined by a specific application, or as may be selected by the system user. Modern displays must therefore be able to sample at various pixel frequencies, and at various points within each pixel period, in order to handle this wide range of resolutions and frame rates.
Phase optimization techniques for determining a good sample point within each pixel period are known in the art. One common approach varies the sampling point within the pixel period from frame-to-frame, and compares the pixel values for successive frames to identify the optimum one of the various sample points. This approach necessarily involves degrading of the image as displayed, because the optimum sample point cannot be discerned without a degraded image against which to compare the optimum sample point. This degrading of the displayed image discourages adjustment of the sample phase during actual operation. In addition, this approach is excessively memory-intensive, because the pixel results from each of the sampled pixels must be stored for comparison with the next frame. Considering that many modern displays are 1600 by 1200 pixels in size, the memory requirements for a single sample phase can exceed two million bytes or words. While the memory requirements for this approach can be reduced by reducing the number of sample phases attempted, this reduction in possible sample phases will also limit and slow the optimization.
Another approach involves sampling the pixel values at various sample phases within a single frame. In this way, the accuracy of the sample for each pixel can be determined, using the pixel value for that pixel and that frame as a reference. However, this approach requires the sample rate to be a large multiple of the pixel rate, in order to accurately sample the same pixel level multiple times within each pixel period. For example, if thirty-two possible sample phases are to be attempted for a 1600 by 1200 display with a refresh rate of 60 Hz, the sample rate would be on the order of 4.4 GHz, which is of course a prohibitively high sample rate for modern technology.
It is therefore an object of this invention to provide circuitry and a method for optimizing the sample phase in the analog-to-digital conversion of video signals.
It is a further object of this invention to provide such circuitry and such a method in which both the memory requirements and the sample rate can be maintained at modest levels.
It is a further object of this invention to provide such circuitry and such a method in which the data path of the actual video signal is not disturbed by the sample phase optimization circuitry and method.
It is a further object of this invention to provide such circuitry and such a method that can also measure drift in sample frequency over a frame of video data.
It is a further object of this invention to provide such circuitry and such a method in which the optimization can be performed over a selected region of the display in which sufficient data activity is detected, to improve the efficiency of the sample phase optimization process.
It is a further object of this invention to provide such circuitry and such a method that optimizes the sample phase within a pixel period in a display system that can display images over a wide range of resolutions, pixel rates, and refresh rates.
It is a further object of this invention to provide such circuitry and such a method that does not disturb the data path or the displayed image from the actual video signal in performing its measurement and optimization.
Other objects and advantages of this invention will be apparent to those of ordinary skill in the art having reference to the following specification together with its drawings.
The present invention may be implemented into circuitry and a method of operating the same in connection with an analog-to-digital conversion function. The input analog video signal is sampled by an analog-to-digital converter at a selected sample phase, and the sampled signal forwarded along a data path to the display. In parallel with the analog-to-digital converter, samples of the input analog video signal are obtained at the current sample phase, at a sample phase in advance of the current sample phase, and at a sample phase lagging the current sample phase. Each of these before, current, and after samples for each pixel in the frame or selected portion of the frame, is acquired at the pixel rate. The pixel level sampled at the current sample phase is compared with that sampled at the earlier sample phase, and the pixel level of the current sample phase is compared with that sampled at the later sample phase. A counter is associated with each comparison, and counts the number of times that each difference exceeds a programmable threshold level. Comparison of the contents of the two counters indicates the direction in which the sample phase can be moved to improve sampling fidelity.
According to another object of the invention, the sampling and comparison functions can be obtained in a vertical window of the displayed frame, and the counts compared as the horizontal position of the window is shifted from frame-to-frame. Deviation in the counts can indicate an error in the sample frequency relative to the pixel frequency.
a through 10c are timing diagrams illustrating the effects of sample frequency error relative to the pixel rate of an analog input video signal.
The present invention will be described in connection with its preferred embodiment, namely as implemented into a digital video display system, because it is contemplated that this invention will be particularly beneficial when utilized in such a system. However, it is contemplated that this invention will also be applicable to other applications and systems, in which its inventive features will be beneficial. Accordingly, it is to be understood that the following description is provided by way of example only, and is not intended to limit the true scope of this invention as claimed.
The received analog input video signal at input A_IN is received by analog-to-digital converter (ADC) 10. ADC 10 samples the analog input video signal synchronously with sample phase Pnc generated by phase-locked loop (PLL) 12, and converts the sampled analog signal to a datastream of digital values PXc, in the conventional manner. The digital datastream produced by ADC 10 is forwarded along the datapath to an input of graphics controller 14, which processes the digital data representative of the analog input signal in the conventional manner, formatting this digital data as appropriate for the video display 8 on which the images are to be displayed. Graphics controller 14 may be realized by a conventional graphics controller integrated circuit, for example the OMAP33x and DaVinci TMS320DM64x digital-signal-processor-based graphics controllers available from Texas Instruments Incorporated. As will be explained in further detail below, it is preferable that graphics controller 14 also includes the necessary and appropriate control logic for controlling the sample phase selection and adjustment processes according to the preferred embodiment of the invention; alternatively, a separate controller may be provided to control these functions. The output of graphics controller 14 is coupled to LVDS (Low Voltage Differential Signaling) video driver circuitry 6, which drives video display 8 with signals corresponding to the image to be displayed, along with the appropriate timing and control signals.
As mentioned above, PLL 12 in system 2 provides timing signals that are used in the video processing of system 2, such timing signals including sample phase Pnc according to which the analog input video signal is sampled and digitized. According to the preferred embodiments of the invention, PLL 12 is an analog or digital PLL that generates multiple output phases within each cycle of its locked-on frequency. In the example of
As suggested in
According to the preferred embodiments of the invention, phase alignment circuitry 20 performs various measurements and determinations regarding the timing of sample phase Pnc, as will be described in detail below. As evident from
At the relatively high level shown in
As mentioned above, the functions that control PLL 12 in response to phase alignment circuitry 20, and also that control phase alignment circuitry 20 itself, may conveniently be carried out by graphics controller 14, given the large computational capacity provided by modern graphics controller devices and functions. Alternatively, a separate control circuit or programmable logic function may be provided to control PLL 12 and phase alignment circuitry 20, if desired.
The analog input video signal from input A_IN is also forwarded, via buffer 11, to phase alignment circuitry 20. Buffer 11 blocks reflections of any signal modulation by phase alignment circuitry 20 from degrading the actual analog input video signal at the input of ADC 10. Within phase alignment circuitry 20, the output of buffer 11 presents the buffered analog input video signal to three sample-and-hold circuits 22b, 22c, 22a, which are constructed in the conventional manner, for example as shown in
Phase alignment circuitry 20 includes two comparators 24b, 24a, each for comparing the absolute value of a voltage difference to a selected threshold voltage. In this embodiment of the invention, comparator 24b receives the sampled voltages Vsb, Vsc from sample-and-hold circuits 22b, 22c, respectively, and compares the absolute value of the difference between these voltages to a threshold voltage Vthr. As will be described in further detail below, threshold voltage Vthr is controllable by graphics controller 14 or other control logic to be set at a desired level, and is preferably adjustable to further characterize the position of the current sample phase Pnc. Comparator 24b issues an output signal on line ADVb to event counter 26b based upon this comparison. Event counter 26b is a conventional digital counter (e.g., a twenty-two bit counter), which is advanced with each active pulse or level its input receives on line ADVb, and which has an output Cb that presents the contents of counter 26b. In this embodiment of the invention, counter 26b has a reset input RST and an enable input ENA. An active signal at reset input RST clears the contents of counter 26b, and an active level at enable input ENA enables counter 26b to respond to active signals at input ADVb.
Similarly, comparator 24a receives the sampled voltages Vsa, Vsc from sample-and-hold circuits 24a, 24c, respectively, and compares the absolute value of the difference between these voltages against threshold voltage Vthr. In response to the absolute value of this difference voltage exceeding threshold voltage Vthr, comparator 24a issues an active signal on line ADVa to an input of counter 26a, which advances its contents accordingly. Counter 26a is preferably constructed identically as counter 26b described above, including reset input RST and enable input ENA, to which counter 26b is responsive. Counter 26a has output Ca at which it presents its current contents.
In operation, phase alignment circuitry 20 acquires three voltage samples for each cycle of the output clock of PLL 12. As will be described below, the frequency of the output clock of PLL 12 at least approximates the pixel rate of the analog input video signal. These three voltage samples include sample voltage Vsc, which is taken by sample-and-hold circuit 22c at the current sample phase Pnc, and which thus matches the sample value acquired by ADC 10 in the data path of system 2. In addition, sample voltage Vsb is acquired by sample-and-hold circuit 22a at a sample phase Pnb that is earlier in time than current sample phase Pnc, and sample voltage Vsa is acquired at a sample phase Pna that is later in time than current sample phase Pnc. The relative timing of these sample phases is illustrated by way of the example shown in
Absolute value voltage comparator 24b, as described above, compares the absolute value of the difference voltage between “before” sampled voltage Vsb and “current” sampled voltage Vsc to threshold voltage Vthr, and issues a signal at output ADVb accordingly. In other words, comparator 24b performs the logical equation:
ADVb=|Vsb−Vsc|>Vthr
in that output ADVb is active (i.e., TRUE) if the absolute value of the difference voltage exceeds threshold voltage Vthr. In the example pixel shown in
ADVa=|Vsa−Vsc|>Vthr
Output ADVa will thus be active (i.e., TRUE) if the absolute value of the difference voltage exceeds threshold voltage Vthr. In the example pixel shown in
Comparator 24a is similarly constructed as comparator 24b. The inputs of buffers 31ac, 31a receive sample voltages Vsc, Vsa, respectively. Differential amplifier 33a receives the output of buffer 31a at its positive input, and the output of buffer 31ac at its negative input, and is biased and its feedback paths arranged in the conventional manner to produce differential voltage Vdiffa at its output. Differential voltage Vdiffa, which corresponds to the difference voltage between sampled voltage Vsc and sampled voltage Vsa, is applied to the positive input of comparator 35alo, which receives reference voltage Vlo at its negative input, and to the negative input of comparator 35ahi, which receives reference voltage Vhi at its positive input. The output of comparator 35alo is coupled to an input of NAND gate 37a via line aINlo, and the output of comparator 35ahi is coupled to a second input of NAND gate 37a via line aINhi. NAND gate 37a drives line ADVa at its output.
DACs 36lo, 36hi are conventional digital-to-analog converters that receive digital control words LO, HI at their inputs, respectively, and that generate their respective reference voltages Vlo, Vhi at their outputs. Digital control words LO, HI are preferably generated by graphics controller 14 or other control logic, to set the level of threshold voltage Vthr. While this construction permits threshold voltage Vthr to have a different negative polarity magnitude than its positive polarity magnitude, it is preferred that the voltages Vlo, Vhi are substantially equal in magnitude to one another, so that the threshold voltage Vthr will be the same for either polarity difference voltage.
The operation of comparators 24b, 24a shown in
Similarly, if sample voltage Vsb exceeds sample voltage Vsc, differential voltage Vdiffb will have a negative polarity. Comparator 35bhi will unconditionally issue a high logic level on line bINhi, while the state of line bINlo will depend on whether the magnitude of the negative polarity differential voltage Vdiffb exceeds the magnitude of voltage Vlo. If not, comparator 35blo presents a high logic level on line bINlo, NAND gate 37b drives its output low, and counter 26b is not advanced. If so, comparator 35blo issues a low logic level on line bINlo, NAND gate 37b drives its output high on line ADVb, and counter 26b advances.
As mentioned above, comparator 24a operates in an identical manner, except that it is comparing sample voltage Vsc against sample voltage Vsa.
The sampling and comparison performed by phase alignment circuitry 20 as described generally above is repeated for each pixel in the field or frame of analog input video signal (i.e., each pixel between vertical sync pulses). Alternatively, through use of the enable input ENA, the operation of counters 26b, 26a may be enabled only for selected windows of the frame or field, as will be described in further detail below. Upon completion of the field or frame (or window thereof), the relative values of the counts Cb, Ca provide an indication of whether current sample phase Pnc is optimized, as will now be described.
It has been discovered, according to this invention, that because of the nature of the analog input video signal for each pixel, one can draw certain conclusions about the position of the current sample point from the relative values of the counts Cb, Ca. As evident from the example in
Similarly, if the current sample phase is within the ringing period near the trailing edge of the pixel period, the likelihood that the later sample phase Pna will produce a differential voltage Vdiffa that exceeds threshold voltage Vthr is greater than the likelihood that earlier sample phase Pnb will produce a differential voltage Vdiffb that exceeds the threshold voltage Vthr. This difference will be reflected over a large number of pixels within a field, frame, or portion thereof.
In addition, relatively equivalent counts Cb, Ca resulting from a field or frame will tend to indicate that the current sample phase Pnc is in a relatively stable location within the pixel period, between the ringing events at both the leading and trailing edges of the analog input video signal for each pixel, assuming that threshold voltage Vthr is set reasonably low (i.e., if threshold voltage Vthr is set too high, then only the most extreme ringing events can advance one of the counts Cb, Ca).
According to the preferred embodiments of the invention, the optimization of the location of current sample phase Pnc within the pixel period can be performed by iterating one or more parameters involved in the operation of phase alignment circuitry 20. These parameters of course include the location of current sample phase Pnc itself within the pixel period, to determine the optimum location within the pixel location. In addition, the time difference (“phase delta”) between current sample phase Pnc and the “before” sample phase Pnb, and between current sample phase Pnc and the “after” sample phase Pna, can be varied in optimizing the position of sample phase Pnc in the pixel period. Furthermore, threshold voltage Vthr can also be varied between small and large values, in the optimization process. For example, if the counts Cb, Ca are approximately equal to one another in a case even for a relatively small threshold voltage Vthr, one can conclude that the current sample phase Pnc is in a relatively stable portion of the pixel period. On the other hand, if the counts Cb, Ca are approximately equal to one another but threshold voltage Vthr is relatively large, one may conclude that current sample phase Pnc is at or near a local extrema, and thus in an unstable and inaccurate location of the pixel period.
Various alternative methods for automatically adjusting and optimizing the position of sample phase Pnc will now be described in connection with the preferred embodiments of this invention. It is contemplated that these described embodiments are merely examples, and that those skilled in the art having reference to this specification will readily recognize alternative approaches to, and variations of, these described embodiments, all within the scope of this invention.
Referring now to
The operation of system 2 in this example begins with processes 40 and 42, in which graphics controller 14 retrieves certain parameters regarding the analog input video signal. These parameters are those necessary to derive an estimate of the pixel rate, and as such include the desired display resolution and image size. In process 42, graphics controller 14 comprehends the frame rate of the analog input video signal. Based on these parameters, in process 44, graphics controller 14 calculates an approximation of the pixel rate of the analog input video signal received at input A_IN. This pixel rate approximation is used to control the frequency of PLL 12, so that the period of its output phases corresponds closely to the pixel rate of the analog input video signal. As will be described in detail below, it is contemplated that, according to this invention, this pixel rate may not be exactly accurate, and as such phase alignment circuitry 20 includes circuitry for taking measurements upon which adjustment of the pixel rate can be made. At this stage of the process, however, graphics controller 42 can begin with an approximate (or better) determination of the pixel rate in the incoming video signal.
According to the preferred embodiments of the invention, process 46 is an optional process that measures the pixel “activity” of the current video signal. As known in the art, if the image represented by the analog input video signal is substantially a constant color at a constant brightness, there will be little transition from pixel-to-pixel within the signal. There will be little or no ringing in such a signal, because the pixel-to-pixel transitions will be at most minimal. As such, regardless of how poor an estimate is made of the pixel rate, and regardless of the sample phase selection within each pixel period, the resulting sampling of the input analog video signal will provide an accurate representation. It is therefore preferred to ensure that there is some level of “activity” from pixel-to-pixel in the analog input video signal, or at least in a portion of the image frame represented by that signal, to ensure that a poor sample phase selection can be detected and corrected. This “activity” determination is carried out in process 46 by graphics controller 14, in combination with optional circuitry that may be realized within phase alignment circuitry 20, an example of which is illustrated in
In operation, therefore, activity measurement circuitry 90 is able to measure the pixel-to-pixel activity for a frame or field (or a portion of a frame or field, as controlled by signals on enable line ENA), by counting the number of times a pixel-to-pixel transition exceeds a selected threshold level D_thr as process 46 (
Referring back to
In process 50, phase alignment circuitry 20 is operated over one or more fields or frames of the video signal (or selected portion of the video signal, based on video activity as described above), for the current values of sample phase Pnc, phase delta, and threshold difference voltage Vthr. In this operation of process 50, the counts Cb, Ca of the number of ringing events before and after current sample phase Pnc are determined over the one or more fields or frames that were measured. Decision 51 determines whether either of counts Cb or Ca exceeds a limit value. This limit value is preferably selected and programmed into graphics controller 14 based on characterization of the video display system, the signal, or on some other basis. If neither of counts Cb, Ca exceeds the limit (decision 51 is NO), current sample phase Pnc is deemed adequate for accurate sampling of the analog input video signal. In this event, measurement process 50 is preferably repeated after a specified time (process 54), to compensate for any frequency drift or environmental factors that may change the accuracy of the sampling of the analog input signal. Alternatively, as will be discussed below, further optimization can be attained by also iterating and adjusting the phase delta, threshold difference voltage Vthr or both.
If at least one of the counts Cb, Ca exceeds the limit (decision 51 is YES), decision 53 is executed to determine whether both counts Cb, Ca exceeded the limit. An event of only one of counts Cb, Ca exceeding the limit (decision 53 is NO) conveys information about the position of current sample phase Pnc within the pixel period, as discussed above. If the “before” count Cb exceeds the limit but the “after” count Ca does not, current sample phase Pnc is likely to be too close to the leading edge of the pixel period; conversely, if the “after” count Ca exceeds the limit but the “before” count Cb does not, current sample phase Pnc is likely to be too close to the trailing edge of the pixel period. In either case, process 56 is executed to move current sample phase Pnc in the direction of the lower count value by a selected number of output phases (typically one) of PLL 12. Counters 26b, 26a are reset or cleared, and control returns to process 50 to repeat the measurement of sample voltage difference events surrounding the new current sample phase Pnc. At this stage of the operation, because at least one of the counts Cb, Ca is below the limit, convergence to a stable and accurate sample phase Pnc (decision 51 is NO) is generally achieved.
On the other hand, if both counts Cb, Ca exceed the limit (decision 53 is YES), the current sample phase Pnc is in a highly unstable location, most likely near either edge of the pixel period. But because both counts exceed the limit, no indication is provided regarding the direction in which current sample phase Pnc ought to be moved. Decision 55 is then executed to determine whether difference threshold voltage Vthr is at its maximum available value. If not (decision 55 is NO), difference threshold voltage Vthr is increased in process 58, counters 26b, 26a are cleared, and measurement process 50 is repeated to determine whether directional information can be obtained from a coarser threshold determination.
If the maximum difference voltage threshold Vthr is already being used (decision 55 is YES), however, then adjustment of this parameter cannot provide additional information. Decision 57 is then executed to determine whether the phase delta (time between the “before” and “after” sample phases Pnb and Pna, respectively, and current sample phase Pnc) is at its maximum available value. If not (decision 57 is NO), then this parameter can be adjusted to a coarser value to obtain directional information. The phase delta is increased in process 60, counters 26b and 26a are reset, and control is passed to process 50 for measurement of events using the coarser phase delta value.
Of course, the adjustment of the phase delta and the adjustment of the threshold voltage may be reversed in order, such that decision 57 and process 60 are performed first, after a YES result of decision 53, followed by decision 55 and process 58 if the maximum phase delta is reached.
However, if both the difference voltage threshold Vthr and the phase delta parameters are at their maximum values (decision 57 is YES), and the counts Cb, Ca are still exceeding their limits, perhaps the current sampling phase Pnc cannot be further improved. If the displayed image quality is poor, the user may be motivated to change the resolution, image size, or refresh rate, in which case the process of phase alignment is repeated. Or perhaps the output frequency of PLL 12 does not match the pixel rate of the analog input video signal. To attempt adjustment of the sample frequency, control passes to process 62, in which the frequency of PLL 12 is adjusted based on measurements of counts Cb, Ca, as will now be described.
a through 10c illustrate the effects of sampling at a frequency that differs from the pixel rate of the input signal. In
b illustrates an example of the sampling phases in which the sample clock frequency at the output of PLL 12 has a frequency that is slightly higher than the pixel rate. The effect shown in
c illustrates a sequence of pixel periods n through n+8 in which sample phase Pnc is at too low a frequency. As evident from this
As discussed above relative to
As discussed above, if increases of the value of “before” event count Cb occur before (“lead”) increases in the value of “after” event count Ca as the position of windows W advances across frame 100, then the sample phase Pnc is moving toward the leading edge of the pixel period, indicating that the current frequency of PLL 12 is too high. Conversely, if increases of the value of “after” event count Ca lead increases in the value of “before” event count Cb as the position of windows W advances across frame 100, PLL 12 frequency is detected as being too low. The results of process 112 are then used in process 114, by way of which graphics controller 14 adjusts the frequency of PLL 12.
It is contemplated that the frequency error may be so large that, for a given window W size, the values of counts Cb, Ca may oscillate within a window W because of multiple “wrap-arounds” of sample phase Pnc crossing the pixel period boundaries. This oscillation may render it difficult to distinguish the sample frequency being too high from it being too low. In this event, the size of window W may be reduced to detect the direction of the frequency error. On the other hand, if window W is too narrow, the time required to scan a frame may become excessive. It is contemplated that one skilled in the art having reference to this specification will be readily able to derive an optimum window W size for a given system and environment.
Preferably, the adjustment of the frequency of PLL 12, as described above in connection with process 62, is performed iteratively with the alignment of current sample phase Pnc as discussed above relative to
While PLL adjustment process 62 is described above as being carried out in the situation in which sample phase Pnc could not be optimized, those skilled in the art having reference to this specification will also realize that adjustment of the PLL frequency can be done prior to any sample phase optimization (e.g., following process 44 in
According to this first preferred embodiment of the invention, as described above relative to
Of course, many variations on this first preferred embodiment of the invention have also been discovered.
If the lower count Cb, Ca did not increase (decision 73 is NO), decision 75 is next performed to determine whether the counts Cb, Ca are both low (below the limit of decision 51) and essentially equal to one another (differing by less than some value ε). If the two counts Cb, Ca differ from one another (decision 75 is NO), additional optimization remains available, by again reducing threshold voltage Vthr in process 70, and repeating process 72 to obtain a new measurement of counts Cb, Ca. If the two counts Cb, Ca are essentially the same as one another (decision 75 is YES), then counts Cb, Ca are both at the same low value. This tends to indicate that current sample phase Pnc is in an optimal location, because few ringing events are evident on either side of that phase location. Control returns to process 54 (
Referring now to
In process 48′, multiple trial values of sample phase Pnc are selected. In process 49, an initial value of threshold voltage Vthr and an initial phase delta (difference between sample phase Pnc, on one hand, and each of before and after sample phases Pnb, Pna, on the other hand) are selected, preferably at a relatively low difference voltage. According to this embodiment of the invention, a map of the counts Cb, Ca over a range of sample phase Pnc positions is obtained. Analysis of this map of values can yield identification of the optimum sample phase location within the pixel period.
In process 80, counts Cb, Ca are obtained over a field or frame of the analog input video signal, for a first selected sample phase Pnc position. In process 82, graphics controller 14 stores these count values in memory, associated with the position of sample phase Pnc at which they were obtained. Decision 83 determines whether all of the trial sample phase Pnc positions selected in process 48′ have been used; if not (decision 83 is NO), counters 26b, 26a are cleared, and measurement process 80 is repeated for another sample phase Pnc position.
Upon the acquiring and storing of counts Cb, Ca for all selected positions of sample phase Pnc (decision 83 is YES), graphics controller 14 performs process 84 to analyze these count values. This analysis process 84 identifies one or more positions of sample phase Pnc as having low values of both its “before” and “after” counts Cb, Ca, respectively, which indicates an accurate and stable location at which to acquire samples. Decision 87 determines whether any such optimal positions were detected in process 84, by comparing the counts Cb, Ca for each sample phase position Pnc against a value limit. If none were detected (decision 87 is NO), threshold voltage Vthr is increased in process 88, and process 80 is repeated over the entire set of sample phase Pnc positions.
If at least one optimal location is identified (decision 87 is YES), decision 85 is then performed to determine whether more than one such point was identified. If so (decision 85 is YES), then additional analysis is required to select from among such positions, and also to ensure that the eventual sample phase Pnc position is not set to a local extrema. Process 86 adjusts the delta phase (differences among the sample phases Pnb, Pnc, Pna), and selects the candidate sample phase PnC positions identified in process 84 and decision 87 for analysis in process 80. Processes 80, 82, 83 are then repeated to obtain counts Cb, Ca over a field or frame for each of these candidate Pnc positions. On the other hand, if only one optimum sample phase Pnc position is identified by process 84 and decision 87 (decision 85 is NO), then this identified position is used as the position of sample phase Pnc within the pixel period. Phase alignment circuitry 20 then enters process 54, if desired, to await the next periodic monitoring event.
This second preferred embodiment of the invention attains similar advantages and benefits as discussed above in connection with the first preferred embodiment of the invention. These benefits and advantages include the optimization of the sampling phase for analog-to-digital conversion of the analog input video signal, without degrading the resulting displayed image, again because the sampling by the phase alignment circuitry is acquired in parallel with the main data path. The sample phase used for actual video signal digitization, according to each of these embodiments of the invention, need not be moved to a poorer location in order for optimization to be performed; rather, the active sample phase is moved only to a better location of the pixel period. The user of the display system is thus unaware of any adjustment or alignment of the sample phase, unlike conventional phase alignment techniques. And because each sample phase is sampled once per pixel period, this invention can be operated at relatively modest sample frequencies, which keeps circuit cost and complexity low. The memory requirements for implementing this invention are also quite modest, as evident from the foregoing description.
While the present invention has been described according to its preferred embodiments, it is of course contemplated that modifications of, and alternatives to, these embodiments, such modifications and alternatives obtaining the advantages and benefits of this invention, will be apparent to those of ordinary skill in the art having reference to this specification and its drawings. It is contemplated that such modifications and alternatives are within the scope of this invention as subsequently claimed herein.
This application claims priority, under 35 U.S.C. §119(e), of Provisional Application No. 60/773,583, filed Feb. 15, 2006, which is incorporated herein by this reference.
Number | Name | Date | Kind |
---|---|---|---|
4291330 | Hirai | Sep 1981 | A |
5847701 | Eglit | Dec 1998 | A |
6483447 | Eglid | Nov 2002 | B1 |
7034721 | Lee | Apr 2006 | B2 |
Number | Date | Country | |
---|---|---|---|
20070200840 A1 | Aug 2007 | US |
Number | Date | Country | |
---|---|---|---|
60773583 | Feb 2006 | US |