This application claims priority to Chinese Application Serial No. 201410269184.1 filed on Jun. 17, 2014, named as “Programmable Gamma Correction Buffer Circuit Chip and Method for Generating Gamma Voltage”, content of which is incorporated herein by reference.
The present invention relates to field of image displaying, and more particularly to a programmable gamma correction buffer circuit chip and method for generating gamma voltage.
In driving theory of the TFT-LCD, the data driver performs gamma 2.2 correction basing on gamma voltage. A programmable gamma correction circuit chip (P_Gamma IC) is an integrated circuit chip generating each gamma voltage after doing DAC (Digital-to-Analogue Conversion) by a digital logic circuit. The P_Gamma IC nowadays subdivides the analog reference voltage Vref into 2S steps (S is DAC bits) by the digital logic circuit, then selects corresponding channel through MOS transistors in the DAC module, and finally obtains corresponding analog voltage by a voltage follower (OP) to generate gamma voltage necessity of the analog voltage. In the situation, an amount of S×2S MOS transistors are needed.
The technical problem solved by the present invention is to provide a programmable gamma correction buffer circuit chip and method for generating gamma voltage which can effectively reduce size and cost.
To solve the above mentioned technical problem, the present invention provides a programmable gamma correction buffer circuit chip, wherein includes an operational amplifier OP, of which an inphase input terminal is coupled to a reference voltage input terminal through a first resistor R1, and an inverse-phase input terminal is coupled to an output terminal through a reference resistor Rf; the inverse-phase input terminal is coupled to ground through n second resistors Rs coupled in parallel, wherein n is an amount of step into which the reference voltage Vref generated by the programmable gamma correction buffer circuit chip is divided; the reference voltage Vref is a reference potential difference of each step, and each of the second resistors Rs is coupled to a switch S in serial.
Wherein, a resistance of the second resistor Rs is the same as the resistance of the reference resistor Rf.
Wherein, the resistance of the second resistor Rs, reference resistor Rf, and the first resistor R1 is the same.
The present invention further provides a programmable gamma correction buffer circuit chip, wherein includes an operational amplifier OP, of which an inphase input terminal is coupled to a reference voltage input terminal through a first resistor R1, and an inverse-phase input terminal is coupled to an output terminal through a reference resistor Rf; the inverse-phase input terminal is coupled to ground through n second resistors Rs coupled in parallel, wherein n is an amount of step into which the reference voltage Vref generated by the programmable gamma correction buffer circuit chip is divided; the reference voltage Vref is a reference potential difference of each step, and each of the second resistors Rs is coupled to a switch S in serial; the resistance of the second resistor Rs, reference resistor Rf, and the first resistor R1 is the same.
The present invention further provides a method for generating gamma voltage, comprising:
step S1, providing a programmable gamma correction buffer circuit chip, wherein the programmable gamma correction buffer circuit chip includes an operational amplifier OP, of which an inphase input terminal is coupled to a reference voltage input terminal through a first resistor R1, and an inverse-phase input terminal is coupled to an output terminal through a reference resistor Rf; the inverse-phase input terminal is coupled to ground through n second resistors Rs coupled in parallel, wherein n is an amount of step into which the reference voltage Vref generated by the programmable gamma correction buffer circuit chip is divided; the reference voltage Vref is a reference potential difference of each step, and each of the second resistors Rs is coupled to a switch S in serial;
step S2, obtaining a value m from a register of the programmable gamma correction buffer circuit chip to control m switches S to turn on; and
step S3, calculating to obtain an output voltage Vout.
Wherein in the step S3, the output voltage Vout is calculated from the value m, a resistance of the second resistor Rs and the resistance of the reference resistor Rf.
Wherein, the value m is an integer that is greater than 1 and no more than n.
Wherein, the resistance of the second resistor Rs is the same as the resistance of the reference resistor Rf.
Wherein, the resistance of the second resistor Rs, the reference resistor Rf, and the first resistor R1 is the same.
The embodiment of the present invention replaces the DAC module by improving the structure of the programmable gamma correction buffer circuit chip to make the reference voltage generated therefrom be the potential difference of each divided step, such that no MOS transistor is used. The chip size and cost is reduced thereby.
In order to describe the technique solution of the embodiment of the present invention or the prior art more clearly, the drawings necessary for describing the embodiment or the prior art are briefly introduced below. Apparently, the drawings described below are some embodiments of the present invention. For those with ordinary skill in the art, other drawing can be obtained from the drawings below without creative efforts.
Refer to
Due to extremely high open loop gain of the OP, the input signals are in an extremely small range, with little difference, and approximately the same (only different in millivolt) when there is negative feedback; that is equivalent to short the inphase input terminal and the inverse-phase input terminal, but not to short them really, i.e., virtual shorting. Besides, the input resistance of the OP is great and the current flowing into the inphase input terminal and inverse-phase input terminal is too small to be ignored; that is equivalent to open the input terminals of the OP, but not to open them really, i.e., virtual opening. According to virtual shorting, the voltage of the inphase input terminal and the inverse-phase input terminal of the OP is the reference voltage Vref. According to virtual opening, current flowing through the parallel circuit consisting of the n second resistors Rs (each second resistor Rs has the same resistance) and the switches is the same as the current flowing through the reference resistor Rf. Therefore, the formulas below are established:
Wherein, m is the value in a register of the programmable gamma correction buffer circuit chip and can be adjusted basing on requirement. The value m is an integer which is greater than 1 and no more than n.
In other words, after determining the resistance of the reference resistor Rf and the second resistor Rs, the output voltage Vout of the output terminal of the OP and the reference voltage Vref is in a linear relationship because of the formula (2). Accordingly, different output voltages can be obtained by turning on different amount of the switches, and therefore each gamma voltage needed by the liquid crystal display panel (TFT-LCD Panel) can be obtained. After obtaining the value m from the register, there are corresponding m switches turned on for reducing the value of Rs/m, and the output voltage Vout can be calculated and obtained from the formula (2).
For example,
It also can be seen from
In a better implementation, the resistance of the second resistor Rs and the reference resistor is the same and is set to R. Accordingly, the formula (2) can be further simplified to be the formula (3) as below:
That is, the linear relationship between Vout and Vref is only related to m directly. Vout can be directly calculated and obtained after obtaining the value m.
More specifically, the resistance of the second resistor Rs, the reference resistor Rf and the first resistor R1 can be the same in order to implement the entire circuit more easily.
Please refer to
step S1, providing a programmable gamma correction buffer circuit chip, wherein the programmable gamma correction buffer circuit chip includes an operational amplifier OP, of which an inphase input terminal is coupled to a reference voltage input terminal through a first resistor R1, and an inverse-phase input terminal is coupled to an output terminal through a reference resistor Rf; the inverse-phase input terminal is coupled to ground through n second resistors Rs coupled in parallel, wherein n is the amount of step into which the reference voltage Vref generated by the programmable gamma correction buffer circuit chip is divided; the reference voltage Vref is a reference potential difference of each step, and each of the second resistors Rs is coupled to a switch S in serial;
step S2, obtaining a value m from a register of the programmable gamma correction buffer circuit chip to control m switches S to turn on; and
step S3, calculating to obtain an output voltage Vout.
Specifically, in the step S3, the output voltage Vout is calculated according to the value m, the resistance of the second resistor Rs and the resistance of the reference resistor Rf. The calculating method can be referred to the formula (2) in the first embodiment of the present invention described above. As described above, m is an integer which is greater than 1 and no more than n.
In the embodiment, the resistance of the second resistor Rs is the same as the resistance of the reference resistor Rf. More specifically, the resistance of the second resistor Rs, the reference resistor Rf, and the first resistor R1 is the same.
The embodiment of the present invention replaces the DAC module by an adder by improving the structure of the programmable gamma correction buffer circuit chip to make the reference voltage generated therefrom be the potential difference of each divided step, such that no MOS transistor is used. The chip size and cost is reduced thereby. At the same time, gamma voltage generating method is improved to prevent from using devices with high cost and large size.
The above disclosure is only the better embodiment of the present invention, and therefore cannot be used to limit the scope of the present invention. The variations accordingly are still in the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
201410269184.1 | Jun 2014 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2014/080830 | 6/26/2014 | WO | 00 |