1. Field of the Invention
The present invention relates generally to display interface systems.
2. Description of the Related Art
Display interface systems typically capture various types of analog video signals (e.g., RGB or YPbPr signals) and digitize them for presentation on advanced digital displays (e.g., computer displays and television displays). These interfaces generally include three converter channels that correspond to three video colors in addition to circuits directed to pixel clock generation, sampling phase control and output data formatting.
Various signal conditioning errors in a display interface can substantially degrade the quality of the resultant display. For example, a portion of analog input signals will be lost unless the dc level of these signals is successfully clamped to levels compatible with the processing circuits of each converter channel. For a second example, output code offset errors in the three converter channels will generate undesirable brightness variations in display colors. For a third example, channel gain errors will generate contrast variations in display colors.
Although some display interfaces have included clamping and offset control circuits which are intended to automatically restore and balance signal reference levels to thereby reduce offset differences, they have typically failed to provide controls that effectively include and integrate control of all display interface signal conditioning processes.
The present invention is directed to display interface embodiments that have enhanced system performance. The novel features of the invention are set forth with particularity in the appended claims. The invention will be best understood from the following description when read in conjunction with the accompanying drawings.
In particular,
In each converter channel, the clamp 30 is coupled to an input port 40 that receives an analog input signal S, the multiplexer 32 is coupled between the clamp 30 and the fixed-gain amplifier 33, and the PGA 34 is coupled between the fixed-gain amplifier 33 and the ADC 36. The data formatter 26 is positioned to format the output digital code of all converter channels and provide this formatted code to output ports 42. As typically used in a video display system, the converter channels 22R, 22G and 22B provide red, green and blue video signals and, accordingly, they may subsequently be referred to as red, green and blue converter channels.
The data formatter 26 receives an output digital code from each of the ADCs 36 and formats this code into video display formats that are compatible with various video display systems. For example, one video signal format is a red, green, blue (RGB) format that is suitable for many computer systems. Another exemplary video format is a Y, Pr, Pb signal format that is suitable for many television systems. In this format, a Y signal contains the brightness (luma) and synchronizing information, the color-difference signal Pr contains the red signal R minus the Y signal, and the color-difference signal Pb contains the blue signal B minus the Y signal.
The data formatter 26 provides the formatted signals at output ports 42. For descriptive purposes, the output signals at these ports may subsequently be referred to as red (rd) code, green (gn) code and blue (bl) code signals. Alternatively, these designations may also be used to apply to the output signals of the ADCs 36 of the converter channels 22R, 22G and 22B.
In a system embodiment, each of the ADCs 36 may also include a fixed-gain front-end buffer 35 (shown in broken lines) that further amplifies the analog input signal S before it is converted by the ADC of each converter channel to its respective output code. In this embodiment, the analog input signal S of each converter channel is amplified by a fixed gain G which comprises the sum of the fixed gains of the input buffer 33 and the front-end buffer 35 and is also amplified by a programmed gain g of the PGA 34.
As exemplified in the red converter channel 22R, the channel controller 24 provides a digital gain word 50 to the PGA 34 and this gain word determines the value of the programmed gain g. As further exemplified in the red converter channel 22R, the controller also provides analog calibration signals 52 (e.g., first and second analog signals S1 and S2 having a selected signal difference ΔS), provides command signals 53 to the multiplexers 53 to selectively pass these analog calibration signals, and receives corresponding digital codes 54 from the respective ADC 36.
The digital codes at the output ports 42 are typically used to generate a display on a display device (e.g., a computer display screen or a television display screen). In order to enhance the quality of the resultant display, at least three types of signal conditioning are generally performed along the analog signal paths that precede the analog-to-digital conversion process inside each ADC 36.
In a first signal conditioning process, the clamps 30 establish a predetermined dc-level for the incoming analog signal S. This level shifting insures that all incoming analog signals will fall within the reference voltage range (−Vref to +Vref) of each ADC 36. In order to avoid interference in the conversion process, the clamping is generally performed somewhere in the horizontal blanking interval of each scan line of video signal.
For example,
Clamping is typically done during the back porch 68 or the sync tip 65 and is generally accomplished by injecting a suitable potential into a capacitor that is inserted in the analog signal path (e.g., ahead of each clamp 30 in
With the dc level of each analog input signal S appropriately established by a respective one of the clamps 30, other signal conditioning processes insure that the analog input signal is configured to provide a full-scale input (alternatively, a predetermined portion of the full-scale input) to each of the ADCs 36. These processes are generally directed to reduction of errors in signal offset and signal gain.
To illustrate offset and gain errors,
In contrast, a gain error in a converter channel will cause the transfer function to rotate to a new location in which it is centered, for example, about a broken line 75 that is tilted from the broken line 73. In a video display, a video offset error degrades display brightness while a video gain error degrades display contrast. It is generally desired that the brightness and contrast of the converter channel display codes have a selected relationship. For example, the predetermined relationship may be that they are matched.
The offset error can generally be corrected by providing, for each converter channel, a summer which is positioned after the channel's clamp 30 to receive an analog offset correction. For example, the display interface embodiment 20 of
The level of the back porch 68 of
In another signal conditioning process of the invention, the signal gain of one or more of the converter channels is controllably adjusted to provide a full-scale input (or a predetermined portion of the full-scale input) to the channel's ADC 36 and to have a predetermined relationship (e.g., matched) to the signal gain of the other channels.
As previously described, the analog input signal S of each converter channel 24 in
Accordingly, each converter channel 22 of
In accordance with a feature of the present invention, it is assumed that one of the converter channels 22 of
The method embodiments of the invention are directed to the reduction (preferably, the elimination) of the gain error which can be characterized by error parameters. Therefore, in terms of the analog input signal S, channel fixed gain G, and channel programmed gain g, the amplified analog signal Samp in the reference converter channel is
Samp=SinG(1+g) (1)
and the amplified analog signal Samp in the error converter channel is
Samp=SinGErr1(1+gErr2) (2)
wherein Err1 is a first error parameter that represents error in the fixed gain G of the error converter channel and Err2 is a second error parameter that represents error in the programmed gain g of the error converter channel.
It is, of course, highly desirable that these fixed and programmed gain errors be substantially reduced. In accordance with another feature of the present invention, a first correction parameter α is proposed to substantially reduce the programmed portion of the gain error in the error converter channel. The first correction parameter α is a factor that adjusts for differences in the programmed gain g of the converter channels. The reference converter channel will still have a programmed gain of 1+g but each error converter channel will now have a programmed gain of 1+αgErr2.
In addition, a second correction parameter β is proposed to substantially reduce the fixed portion of the gain error. The second correction parameter β is a constant that is added to the programmed gain in the error converter channel to adjust for errors in its fixed gain. The total gain of the reference continues to be G(1+g) but now each error converter channel has a total gain of GErr1(1+(αg+β)Err2).
The total gain in each error converter channel can be expanded to G(Err1+αgErr1Err2+βErr1Err2) and when this term is compared to the total gain of G(1+g) in the reference converter channel, it becomes apparent that the total gain in the error converter channel will match that in the reference converter channel if
1+g=Err1+αgErr1Err2+βErr1Err2. (3)
In another feature of the present invention, it is proposed that the first correction parameter α be defined as
When this definition of the first correction parameter is substituted into equation (3), it is found that the second correction parameter β is given by
In accordance with equations (3), (4) and (5), gains in the error converter channel can be substantially reduced if appropriate values can be found for the first and second error parameters Err1 and Err2.
It has been found that the first error parameter Err1 can be obtained by applying a selected gain value of the programmed gain g and then determining the first error parameter Err1 as ΔCerr/ΔCref wherein ΔCerr and ΔCref are code differences of the error converter channel and the reference converter channel that correspond to an analog input signal difference ΔS.
In particular, first and second analog signals S1 and S2 (having a signal difference ΔS=S2−S1) are successively applied to the error and reference converter channels while the programmed gain g is maintained at a selected gain value. Successive corresponding digital codes Cerr2 and Cerr1 having a code difference ΔCerr are produced by the error converter channel and successive corresponding digital codes Cref2 and Cref1 having a code difference ΔCref are produced by the reference converter channel.
The gain relationships of equations (1) and (2) are produced when it is observed that in response to the applied signal difference ΔS, the amplifier transfer function in the error converter channel is
and the amplifier transfer function in the reference converter channel is
It is important to note that an offset error signal Soffst has been included in equation (6) and that it cancels out of the amplifier transfer function in the error converter channel. The ratio of equation (6) to equation (7) is
and for a programmed gain g of zero, this ratio reduces to Err1.
Equation (8) shows that the first error parameter Err1 can be obtained from a ratio of differences in amplified analog signals in the error and reference converter channels in response to an analog input signal difference ΔS. However, an equivalent ratio is given by the ratio of code differences ΔCerr/ΔCref and the code differences are easy to measure since they simply involve code signals produced by the error and reference converter channels. As shown in
The first error parameter Err1 can therefore be determined while applying a selected gain value of the programmed gain g and providing an analog input signal difference ΔS. To accomplish this, the channel controller 24 of
It has also been found that the second error parameter Err2 can be found by applying a selected analog value Sslctd of the analog input signal and then determining the second error parameter Err2 as 2 [(Cerr2/Cerr1)/(Cref2/Cref1)]−1 wherein Cerr1 and Cerr2 are codes from the error converter channel and Cref2 and Cref1 are codes from the reference converter channel that respectively correspond to first and second programmed gains g1 and g2.
The above relationships follow when it is observed that successive programmed gains of g1 and g2 will provide a ratio of amplified signals in the error converter channel of
and a ratio of amplified signals in the reference converter channel of
The ratio of equation (9) to equation (10) is
which, for programmed gains of g2=1 and g1=0, reduces to
As previously done when determining the first error parameter Err1, an offset error signal Soffst has αgain been included and it is noted that it cancels out of the amplifier transfer function in the error converter channel.
Multiplying expression (12) by 2 and subtracting 1 produces the second error parameter Err2. This demonstrates that the second error parameter can be obtained from appropriate ratios of amplified signals in the error and reference converter channels but equivalent ratios are obtained for equivalent digital codes which are relatively easy to obtain from the code outputs of the error and reference converter channels.
Therefore, as stated above, the second error parameter Err2 is given by 2[(Cerr2/Cerr1)/(Cref2/Cref1)]−1 wherein Cerr1 and Cerr2 are codes from the error converter channel and Cref2 and Cref1 are codes from the reference converter channel that respectively correspond to first and second programmed gains g1 and g2. These codes are obtained while applying a selected analog value of the analog input signal to the error and reference converter channels.
In gain adjustment embodiments of the invention, the channel controller 24 of
This process will substantially match the error channel's gain to that of the reference converter channel. The same procedure can be followed to match the gain of other error converter channels to that of the selected reference converter channel. When the programmed gain g is expressed as a digital code, it can simply be multiplied in the channel controller by the first correction parameter a but the second correction parameter β must be converted to a corresponding gain code prior to adding it to the gain expression αg.
For example, if the programmed gain is a 9-bit word, then the programmed gain word g can vary from 0 to 511 in 9-bit codes. In one embodiment of the display interface system 20 of
With a selected gain value of the programmed gain g, a first process step 82 determines a first error parameter Err1 as ΔCerr/ΔCref wherein ΔCerr and ΔCref are code differences of the error converter channel and the reference converter channel that correspond to an analog input signal difference ΔS.
With a selected signal value of the analog input signal S, a second process step 84 determines a second error parameter Err2 as 2[(Cerr2/Cerr1)/(Cref1 and Cref2)]−1 wherein Cerr1 and Cerr2 are codes from the error converter channel and Cref1 and Cref2 are codes from the reference converter channel that respectively correspond to first and second programmed gains g1 and g2.
A process step 86 then forms first and second correction parameters α and β to respectively be 1/Err1Err2 and (1−Err1)/Err1Err2. Finally, a process step 88 modifies the programmed gain of the error converter channel to be αg+β.
The channel controller's measurement of the first and second error parameters Err1 and Err2, determination of the first and second correction parameters α and β, and application of modified programmed gain αg+β to error converter channels is preferably done during the nonactive horizontal blanking interval 62 of
It was previously mentioned that another signal conditioning process concerns controller sensing of the output code of each converter channel 22 of
The channel controller 24 of
In an operational mode described above, the channel controller measured the first and second error parameters Err1 and Err2, determined the first and second correction parameters α and β, and modified a programmed gain to αg+β. The channel controller is preferably configured to control other operational modes.
In one of these operational modes, for example, it is assumed that fixed gain (e.g., gain of the input buffer 33 and front-end buffer 35 of
In another of these operational modes, attention is mainly directed to programmed gain (e.g., gain of the PGA 34 of
The channel controller can be realized with various controller structures such as gate arrays, a suitably-programmed digital processor or combinations thereof.
The embodiments of the invention described herein are exemplary and numerous modifications, variations and rearrangements can be readily envisioned to achieve substantially equivalent results, all of which are intended to be embraced within the spirit and scope of the invention as defined in the appended claims.
This application claims the benefit of U.S. Provisional Application Ser. No. 60/618,935 filed Oct. 13, 2004.
Number | Name | Date | Kind |
---|---|---|---|
5448306 | Koyama | Sep 1995 | A |
5719638 | Noda | Feb 1998 | A |
5777686 | Jennes et al. | Jul 1998 | A |
5835155 | Jennes et al. | Nov 1998 | A |
5841488 | Rumreich | Nov 1998 | A |
6002445 | Urayama | Dec 1999 | A |
6016161 | Robinson | Jan 2000 | A |
6377313 | Yang et al. | Apr 2002 | B1 |
6400301 | Kulhalli et al. | Jun 2002 | B1 |
6542185 | Bogardus | Apr 2003 | B1 |
6580382 | Yung | Jun 2003 | B2 |
6750910 | Bilhan | Jun 2004 | B1 |
6774942 | Salcedo et al. | Aug 2004 | B1 |
Number | Date | Country | |
---|---|---|---|
20060077087 A1 | Apr 2006 | US |
Number | Date | Country | |
---|---|---|---|
60618935 | Oct 2004 | US |