1. Field of the Invention
The invention relates to a data driver of a display device, and more particularly to a data driver capable of automatically determining an optimum skew and adjusting the clock phase accordingly.
2. Description of the Related Art
Liquid Crystal Displays (LCDs) have become a widely used display device due to its fast response time, light weight, slim profile, high luminance, low power consumption and highly enlargeable display area . . . etc. As the resolution of LCD panels increase, both the number of data drivers (also referred to as source drivers) and transmission speed between the timing controller and the data driver are required to be increased. In order to correctly access data within a valid period, a skew for a system clock (for example, the pixel clock) may be needed. Usually, this period is called the “data valid window”, and its delay with respect to the system clock is called the “skew”.
Conventionally, the skew is manually adjusted to a fixed value when manufacturing the LCD and will not be changed after leaving the factory. However, since the transmission distances between the timing controller and each data driver are different, the fixed skew may not be suitable for all data drivers, thus limiting operation margin of the LCD. Also, the process, voltage and temperature (PVT) variation of data drivers may also cause the fixed skew value to become inappropriate. Thus, a data driver capable of automatically determining an optimum skew and adjusting the clock phase is highly desired.
Methods for determining an optimum skew of a data driver in a display and data drivers are provided. An embodiment of a data driver for driving image data to be displayed on a panel of a display device comprises a receiver, a skew adjusting circuit and a processing device. The receiver samples the image data on a data bus according to a processed pixel clock signal. The image data comprises pixel data during a plurality of active periods and a test pattern repeatedly inserted in the image data during a plurality of blanking periods. The skew adjusting circuit receives a pixel clock signal and adjusts a clock phase of the pixel clock signal by delaying the pixel clock signal with a controllable skew according to a feedback control signal so as to generate the processed pixel clock signal. The processing device stores a predetermined test pattern synchronized with the inserted test pattern, determines an optimum skew by comparing the sampled test patterns with the predetermined test pattern, and generates the feedback control signal comprising information indicating the optimum skew.
Another embodiment of a method for determining an optimum skew of a data driver in a display comprises: transmitting a test pattern on a data bus during a blanking period, wherein the data bus is also responsible for carrying pixel data of a plurality of frames of image data during active periods; receiving a pixel clock signal; sampling the test pattern according to the pixel clock signal to obtain a sampled test pattern; determining the optimum skew by comparing the sampled test pattern with a pre-stored test pattern.
A detailed description is given in the following embodiments with reference to the accompanying drawings.
The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
According to an embodiment of the invention, the timing controller 101 inserts a predetermined test pattern into the DATA signal to be carried on the data bus during some predetermined time periods, so as to transmit the test patterns during the predetermined time periods. According to an embodiment of the invention, the predetermined time periods may be blanking periods with no active pixel data supposed to be transmitted. As an example, the blanking periods may be the horizontal blanking (H-blanking) period of each frame line without presence of an active pixel data, or the vertical blanking (V-blanking) period of each frame without presence of an active pixel data.
The data driver 102 comprises a receiver 201, a skew adjusting circuit 202 and a processing device 203. The receiver 201 samples the image data, including the active pixel data and the test pattern inserted by the timing controller 101, on the data bus according to a processed pixel clock signal CLOCK′. The skew adjusting circuit 202 is coupled to the receiver 201 and the timing controller 101 to receive the pixel clock signal CLOCK from the timing controller 101, and adjusts clock phase of the pixel clock signal CLOCK by delaying the pixel clock signal with a controllable skew according to a feedback control signal CTRL so as to generate the processed pixel clock signal CLOCK′. The processing device 203 is coupled to the receiver 201 and the skew adjusting circuit 202 and generates the feedback control signal CTRL. According to the embodiment of the invention, for each predetermined time period, the processing device 203 generates the feedback control signal CTRL so as to direct the skew adjusting circuit 202 to adjust the clock phase of the pixel clock signal by delaying the pixel clock signal with different skews. As an example, for the predetermined time period in each frame line, such as the horizontal blanking period of each frame line, the skew adjusting circuit 202 adjusts the clock phase of the pixel clock signal by delaying the pixel clock signal with different skews. The reason to use different skews to sample the test patterns in the predetermined time periods is to obtain a margin of skews so that the receiver 201 is capable of decoding data correctly.
The processing device 203 stores a predetermined test pattern synchronized with the one inserted by the timing controller 101 and information indicating the corresponding controllable skews for the receiver 201 to sample the test patterns in different time periods on the data bus. The processing device 203 receives the sampled test patterns from the receiver 201, and compares the sampled test patterns with the pre-stored predetermined test pattern. According to the embodiment of the invention, the processing device 203 obtains a margin defined by a minimum skew and a maximum skew with the corresponding test patterns equivalent to the predetermined test pattern, and determines an optimum skew according to the margin. According to an embodiment of the invention, the optimum skew may be determined by the processing device 203 according to a mean of the skews distributed within the obtained margin. According to another embodiment of the invention, the optimum skew may be determined by the processing device 203 according to a median of the minimum and maximum skews defining the margin.
The processing device 203 may further generate the feedback control signal CTRL comprising information indicating the optimum skew so as to flexibly control the receiver 201 to sample the pixel data according to the optimum skew via the skew adjusting circuit 202. In this manner, when there is a great amount of data drivers used in the display device, the skew for each data driver may be individually controlled and the operation margin of the display device may be greatly improved.
According to an embodiment of the invention, the optimum skew may be determined per frame. Thus, the processing device 203 may obtain the minimum skew and the maximum skew according to the skews generated within one frame of the image data and the clock phase may be adjusted by the skew adjusting circuit 202 according to the optimum skew per frame. According to another embodiment of the invention, the optimum skew may be periodically determined within a predetermined time interval. Thus, the processing device 203 may obtain the minimum skew and the maximum skew according to the skews generated within the predetermined time interval and the clock phase may be adjusted by the skew adjusting circuit 202 according to the optimum skew accordingly.
While the invention has been described by way of example and in terms of preferred embodiment, it is to be understood that the invention is not limited thereto. Those who are skilled in this technology can still make various alterations and modifications without departing from the scope and spirit of this invention. Therefore, the scope of the present invention shall be defined and protected by the following claims and their equivalents.
Number | Name | Date | Kind |
---|---|---|---|
5847701 | Eglit | Dec 1998 | A |
7154493 | Yee | Dec 2006 | B2 |
7852328 | Park | Dec 2010 | B2 |
20050007359 | Iseki et al. | Jan 2005 | A1 |
20080027668 | Chang | Jan 2008 | A1 |
Number | Date | Country | |
---|---|---|---|
20110043493 A1 | Feb 2011 | US |