1. Field of Invention
The present invention relates to a method for generating a voltage and a device using the same, and more particularly to a method for generating a gamma voltage and a device using the same.
2. Description of Related Art
Accordingly, one object of the present invention is to provide a method for generating a gamma voltage to a driver of a panel. The present invention, make use of the characteristics of the symmetrical gamma curve to adjust the gamma voltages.
Another object of the present invention is to provide a gamma voltage generator for a panel, wherein a well adjustment way to the gamma voltage can be acquired.
In order to achieve the aforesaid object, the present invention provides a method for generating a gamma voltage to a driver of a panel. The method comprises the following steps of: providing a plurality of first gamma reference values; providing a central value; generating a plurality of second gamma reference values, wherein each of the first gamma reference values and each of the second gamma reference values are symmetrical to the central value; and generating a plurality of first gamma reference voltages and a plurality of second gamma reference voltages in accordance with the first gamma reference values and the second gamma reference values.
The present invention further provides a gamma voltage generator for a panel. The gamma voltage generator comprises a symmetry unit for receiving a plurality of first gamma reference values and a central value to generate a plurality of second gamma reference values, wherein each of the first gamma reference values and each of the second gamma reference values are symmetrical to the central value; and a digital-to-analog converter (DAC) electrically coupled to the symmetry unit for outputting a plurality of first gamma reference voltages and a plurality of second gamma reference voltages in accordance with the first gamma reference values and the second gamma reference values.
In order to make the aforementioned and other features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
The present invention will now be described with reference to the accompanying drawings, in which exemplary embodiments of the invention are shown. The invention may, however, be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. Furthermore, the embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art. Liquid crystal display is taken as an example in the embodiments to illustrate the operating principle of the present invention. However, the embodiments of the present invention are not limited to the liquid crystal display, and any display with liquid crystal is also suitable to be used in the present invention, such as an LCOS and an OLED.
RVn′=2×RVcen−RVn
The above equation is also interpreted by the following equation:
(RVn′+RVn)/2=RVcen
The DAC 412 is electrically coupled to the symmetry unit 411 for outputting first gamma reference voltages V1˜Vn and second gamma reference voltages V1′˜Vn′ in accordance with the first gamma reference values RV1˜RVn and the second gamma reference values RV1′˜RVn′. The DAC 412 is also for outputting voltage Vcom by receiving a value RVcom. Substantially, the central value RVcen is adjustable and may be equal to RVcom. Those skilled in the art should understand that “n” is not limited to be “5”, but also may be any integer number set by the designer.
The video signal is inputted to the line buffer 421. Then, the video signal is inputted to the level shifter 422 and is converted by DAC 423 so as to operate a plurality of data lines of panel 43. For the sake of the gamma correction, the DAC 423 receives the voltages V1˜Vn, V1′˜Vn′ and Vcom. The voltages V1˜Vn, V1′˜Vn′ and Vcom form a gamma curve to adjusted the video signal as being more suitable for human's naked eyes.
RV10=664=(2*688)−712=(2*RVcen)−RV1
The above equation may be interpreted as the following equation:
(RV1+RV10)/2=RVcen—(664+712)/2=688
Therefore, the other digital gamma reference values are producing as following equations:
RV9=502=(2*688)−874=(2*RVcen)−RV2
RV8=480=(2*688)−896=(2*RVcen)−RV3
RV7=455=(2*688)−920=(2*RVcen)−RV4
RV6=393=(2*688) 983=(2*RVcen)−RV5
Then, the digital gamma voltage values RV1˜RV10 are converted to generate gamma voltages such as 8.700V, 10.67V, 10.94V, 11.24V, 12.01V, 4.802V, 5.560V, 5.865V, 6.122V, 8.101V.
Though the present invention has been disclosed above by the preferred embodiments, they are not intended to limit the invention. Anybody skilled in the art can make some modifications and variations without departing from the spirit and scope of the invention. Therefore, the protecting range of the invention falls in the appended claims.