The present disclosure relates to a gray scale generation circuit and a driving circuit using the same; in particular, to a gray scale generation circuit and a driving circuit using the same which can support high bit data but will not raise the circuit cost.
Generally, the gray-scale generation of a light-emitting unit, such as a light emitting diode, can be achieved by adjusting the ratio of the light-emitting time and the time for emitting light. The reciprocal of the frame rate is the frame period. For example, if the frame rate is 60 Hz, the frame period is 1/60s. Ideally, the entire frame period can be the time for emitting light; however, considering certain scanning applications, ghost cancellation, or other circuit factors, part of the frame period is not for emitting light. Thus, the frame period equals the time not for emitting light plus the time for emitting light.
The gray-scale generation can be achieved by adjusting the percentage of the light-emitting time in the time for emitting light. For a common displayer, n-bit gray scale indicates that the time for emitting light in a frame period is divided into 2n or 2n-1 gray-scale units, wherein the time length of one gray-scale unit is defined as one time unit “t”. In other words, the time length of one gray-scale unit equals the time for emitting light in a frame period divided by 2n or 2n-1. Then, the luminance of the light emitting unit can be determined by determining the number of time units in the time for emitting light of a frame period according to the n-bit gray-scale data (represented by D[n−1:0]).
Referring to
When n=5, the gray-scale data is represented as D[4:0]. In this case, the time for emitting time in a frame period is consisted of 2n gray-scale units (or 2n pulses of the gray-scale clock signal GCK), wherein the time length of each gray-scale unit is one time unit “t”. When the gray-scale data is larger than the counting number generated by the n-bit gray-scale counter 18, the n-bit digital comparator 16 outputs the gray-scale control signal GSC to drive the light emitting unit. If D[4:0]=00001, the light emitting unit is driven to emit light for one time unit and the luminance of the light emitting unit is 1/32. Likewise, D[4:0]=00010, the light emitting unit is driven to emit light for two time units and the luminance of the light emitting unit is 2/32.
Currently, when light emitting unit is used in a display, the gray scale generation circuit and the driving circuit using the same are required to be able to support high bit data. The time length of each gray-scale unit is required to be as short as possible. In other words, the frequency of the gray-scale clock signal GCK is required to be higher. However, the frequency of the gray-scale clock signal GCK is restricted by the operating time of the gray-scale counter 18 and the n-bit digital comparator 16. If the gray scale generation circuit must support high bit data, the circuit cost will definitely be raised.
The present disclosure provides a gray scale generation circuit. The gray scale generation circuit is used in a driving circuit of a light emitting unit, and includes a shift register unit and a PISO (Parallel Input Serial Output; PISO) data storage unit. The shift register unit receives a luminance-related data, wherein the luminance-related data is relevant to a gray-scale data. The luminance of the light emitting unit is determining by the gray-scale data, and the gray-scale data has n bits and n is a positive integer greater than 1. The luminance-related data has k bits, and k is a positive integer greater than 1. The k-bit luminance-related data can be the entire gray-scale data or can be part of the gray-scale data. The PISO data storage unit is coupled to the shift register unit. The luminance-related data in the shift register unit is transmitted to the PISO data storage unit according to a latch signal. The PISO data storage unit outputs different bits of the luminance-related data at different time points such that the gray scale generation circuit generates a gray-scale control signal. The driving circuit drives the light emitting unit according to the gray-scale control signal.
In one embodiment of the gray scale generation circuit provided by the present disclosure, different bits of the luminance-related data correspond to different numbers of time units, and the driving circuit generates the gray-scale control signal according to different bits of the luminance-related data and their corresponding numbers of time units. In this manner, the driving circuit can determine the light-emitting time of the light emitting unit according to different bits of the luminance-related data and their corresponding numbers of time units. In another embodiment, different bits of the luminance-related data can correspond to the same number of time units.
In one embodiment of the gray scale generation circuit provided by the present disclosure, the PISO data storage unit is a PISO shift register.
For a conventional gray scale generation circuit, whether to generate a gray-scale control signal to drive a light emitting unit is determined by comparing a gray-scale data in a PIPO data storage unit and a counting number generated by a gray-scale counter. However, the frequency of the gray-scale clock signal of the gray-scale counter is restricted by the operating time of the gray-scale counter and the n-bit digital comparator. Thus, it is hard to increase the frequency of the gray-scale clock signal. In other words, it is difficult to divide the time for emitting light in a frame period into more time units.
Differently, in the gray scale generation circuit of the present disclosure, by using a PISO data storage unit, all bits of a luminance-related data are inputted at the same time and different bits of the luminance-related data are outputted at different time points to generate the required gray scale/the required luminance. Thus, by using the present disclosure, it is easy to divide the time for emitting light in a frame period into more time units. Moreover, in the present disclosure, the PISO data storage unit is used to replace the data storage unit, the gray-scale counter and the digital comparator needed by the conventional gray scale generation circuit. Therefore, the circuit cost can be effectively reduced.
For further understanding of the present disclosure, reference is made to the following detailed description illustrating the embodiments of the present disclosure. The description is only for illustrating the present disclosure, not for limiting the scope of the claim.
Embodiments are illustrated by way of example and not by way of limitation in the figures of the accompanying drawings, in which like references indicate similar elements and in which:
The aforementioned illustrations and following detailed descriptions are exemplary for the purpose of further explaining the scope of the present disclosure. Other objectives and advantages related to the present disclosure will be illustrated in the subsequent descriptions and appended drawings. In these drawings, like references indicate similar elements.
Referring to
As shown in
It should be noted that, the luminance-related data is a k-bit luminance-related data, and k is a positive integer greater than 1. The feature of the gray scale generation circuit provided by this embodiment is that, each bit of the luminance-related data corresponds to a specific number of time units. The k bits of the luminance-related data are simultaneously read and stored by the data storage unit 24 from the shift register unit 22. Then, the data storage unit 24 outputs the k-bit luminance-related data by outputting one bit at different time points to generate the gray-scale control signal GSC. Since different bits of the luminance-related data are outputted at different time points, and different bits of the luminance-related data corresponds to different numbers of time units, the driving circuit can determine the light-emitting time of the light emitting unit (which is the luminance or the gray scale) according to each bit of the luminance-related data and its corresponding numbers of time units.
The major difference between a conventional gray scale generation circuit and the gray scale generation circuit provided by this embodiment is that, a PIPO (Parallel In Parallel Out; PIPO) data storage unit, a gray-scale counter and a digital comparator in the conventional gray scale generation circuit are replaced by the data storage unit 24 in the gray scale generation circuit provided by this embodiment, which is a PISO data storage unit. After simultaneously reading each bit of the luminance-related data, the data storage unit 24 outputs only one bit of the luminance-related data at different time points such that the driving circuit can determine the light-emitting time of the light emitting unit according to each bit and its corresponding number of time units.
There are several embodiments described in the following description for illustrating the gray scale generation circuit of the present disclosure, but the present disclosure is not limited thereto.
For ease of illustration, in this embodiment, n-bit gray-scale data is, for example, a 5-bit gray-scale data (represented by D[4:0]), and in this case, k-bit luminance-related data is the entire gray-scale data (which is, k=n). For example, the 5-bit luminance-related data can be 00000-11111, which is represented by D[4:0].
The circuit configuration and the working principle of the shift register unit 22 of the gray scale generation circuit provided by this embodiment are illustrated as follows. As shown in
The circuit configuration and the working principle of the data storage unit 24 of the gray scale generation circuit provided by this embodiment are illustrated as follows. In this embodiment, the data storage unit 24 is, for example, a PISO shift register, but it is not limited thereto.
As shown in
In addition, the first pin of each of the multiplexers M2˜M5 is coupled to the output pin Q of one adjacent flip-flop F21, F22, F23 or F24. The output pin of each of the multiplexers M2˜M5 is coupled to the input pin D of the other adjacent flip-flop F22, F23, F24 or F25. The second pins of the multiplexers M2˜M5 are coupled to, respectively, the output pins Q of the flip-flops F12˜F15. The select pins SEL of the multiplexers M2˜M5 are coupled to a latch signal LAT, and the clock pins of the flip-flops F21˜F25 are coupled to a serial-out control signal SOC.
Moreover, the input pin D of the first flip-flop F21 of the data storage unit 24 is coupled to the output pin Q of the first flip-flop F11 of the shift register unit, and a serial signal serial_out is outputted from the output pin Q of the last flip-flop F25 of the data storage unit 24. Then, the gray-scale control signal GSC is generated according to the serial signal serial_out.
Specifically speaking, according to the latch signal LAT received by the select pin of each of the multiplexers M2˜M5, the output of each of the multiplexers M2˜M5 is dominated by the first pin or the second pin of each of the multiplexers M2˜M5. When the latch signal LAT is at high level, the output of each of the multiplexers M2˜M5 is dominated by the second pin of each of the multiplexers M2˜M5. As a result, the luminance-related data in the shift register unit 22 is transmitted to the flip-flops F21˜F25 of the data storage unit 24 at the rising edge of the serial-out control signal SOC. As shown in
After that, the latch signal LAT received by the select pin of each of the multiplexers M2˜M5 is set to be “0” such that the flip-flops F21˜F25 are serially connected. It should be noted that, according to
It should be noted that, each bit D[0]˜D[4] of the luminance-related data corresponds to specific numbers of time units t. In this embodiment, n=5, so the time for emitting light in a frame period can be divided into 31 gray scales or 32 gray scales, and for ease of illustration, the light-emitting time in a frame period can be divided into 31 gray scales. The time length corresponding to each gray scale is defined as one time unit t. For example, the bit D[0] of the luminance-related data corresponds to 20 time units t, the bit D[1] of the luminance-related data corresponds to 21 time units t, the bit D[2] of the luminance-related data corresponds to 22 time units t, the bit D[3] of the luminance-related data corresponds to 23 time units t, and the bit D[4] of the luminance-related data corresponds to 24 time units t.
When the gray-scale data D[4:0] is 10001, the bit D[4] of the luminance-related data is “1” and corresponds to 16 time units t, so the bit received by the driving circuit during these 16 time units is “1”. 16 time units t later, the serial-out control signal SOC is transmitted to the clock pin CLK of each of the flip-flops F21˜F25 (which is shown by the second rising edge of the serial-out control signal SOC in
When the bit D[3] in the flip-flop F24 is transmitted to the flip-flop F25, the gray-scale control signal GSC generated by the gray scale generation circuit is the fourth bit D[3] of the luminance-related data. The fourth bit D[3] of the luminance-related data is “0” and corresponds to 8 time units t, so the bit received by the driving circuit during these 8 time units is “0”. 8 time units t later, the serial-out control signal SOC is transmitted to the clock pin CLK of each of the flip-flops F21˜F25 (which is shown by the third rising edge of the serial-out control signal SOC in
How to make each of the bits D[0]˜D[4] of the luminance-related data correspond to a specific number of time units t is illustrated as follows. As shown in
In this case, within the time for emitting light of a frame period, the light-emitting of the light emitting unit equals 16 time units t plus 1 time unit t. In other words, the luminance of the light emitting unit is determined by the driving as (16 t+t)/31 t, which is 17/31.
Speaking of the luminance-related data in a scanning application, a high refresh rate can be achieved by only processing part of bits of the gray-scale data. The luminance will not be influenced as long as each bit of the gray-scale data in the entire frame period corresponds to a proper number of time units. In addition, the bit transmission sequence is not restricted by the bit order. For example, the bit D[4,2,0] can be transmitted before the bit D[3,1,4]. Additionally, the ghost cancellation is usually needed when driving the next scanning line. One way to do the ghost cancellation is to insert a black frame such that the light emitting unit does not emit lights. Inserting a black frame can be done by inserting a dummy bit into the luminance-related data. It indicates that the bit-length of the luminance-related data is not always equal to the bit-length of the gray-scale data. For example, when a dummy bit is inserted into the luminance-related data, the bit-length of the luminance-related data is larger than the bit-length of the gray-scale data.
For ease of illustration, in this embodiment, n-bit gray-scale data is, for example, a 5-bit gray-scale data (represented by D[4:0]), and in this case, k-bit luminance-related data is the entire gray-scale data (which is, k=n). For example, the 5-bit luminance-related data can be 00000-11111, which is represented by D[4:0].
The shift register unit 22 of the gray scale generation circuit in this embodiment is the shift register unit 22 of the gray scale generation circuit in the previous embodiment. Thus, the circuit configuration and the working principle of the shift register unit 22 of the gray scale generation circuit in this embodiment are not repeatedly described.
The data storage unit 24 of the gray scale generation circuit in this embodiment and the data storage unit 24 of the gray scale generation circuit in the previous embodiment are both parallel in serial out type. However, the data storage unit 24 of the gray scale generation circuit in this embodiment and the data storage unit 24 of the gray scale generation circuit in the previous embodiment have different circuit configurations and working principles. In this embodiment, the data storage unit 24 is, for example, a shift register having reset function.
As shown in
For ease of illustration, the output signal of each of the flip-flops F31˜F35 is predetermined as “0” once the gray scale generation circuit is powered up. According to the latch signal LAT and the output signal of each of the flip-flops F31˜F35, each of the AND gates AND1˜AND5 outputs a signal to the reset pin of each of the flip-flops F31˜F35 to make the luminance-related data in the shift register unit transmitted to the flip-flops F31˜F35 of the data storage unit 24. It should be noted that, when a low-level signal is inputted to the input pin D of the first flip-flop F31 such that after the data storage unit 24 sequentially outputs each bit of the luminance-related data, the output signal received at the output end Q of each of the flip-flops F31˜F35 is set as “0”. As shown in
For example, in the shift register unit 22, five bits D[0]˜D[4] of the luminance-related data are stored respectively in the flip-flops F11˜F15, and the luminance-related data, represented by D[4:0], is 01001. In this case, the bit D[0] of the luminance-related data received by the AND gate AND1 is “1”. Thus, after the rising edge of the latching signal LAT, a high-level signal is transmitted from the AND gate AND1 to the reset pin SET of the flip-flop F31 such that the output signal that can be received at the output pin Q of the flip-flop F31 is reset as “1”. The bit D[1] of the luminance-related data received by the AND gate AND2 is “0”. Thus, after the rising edge of the latching signal LAT, a low-level signal is transmitted from the AND gate AND2 to the reset pin SET of the flip-flop F32 such that the output signal that can be received at the output pin Q of the flip-flop F32 maintains “0”. In this case, after the rising edge of the latching signal LAT, a high-level is only outputted from the AND gate AND1 and the AND gate AND4. The output signals that can be received at the output pins Q of the flip-flops F31˜F35 are 1, 0, 0, 1, 0, and thus the five bits D[0]˜D[4] of the luminance-related data are stored in the flip-flops F31˜F35. It is worth mentioning that, the flip-flops F31˜F35 of which the output signal can be reset as “0” can also be used to form the data storage unit 24 according to different circuit designs.
It should be noted that, a signal (marked by serial_out in
Like the above embodiments, in this embodiment, each of the bits D[0]˜D[4] corresponds to a specific number of time units t, but the relevant details are not repeatedly described.
When the gray-scale data D[4:0] is 01001, the bit D[4] of the luminance-related data is “0” and corresponds to 16 time units t, so the bit received by the driving circuit during these 16 time units is “0”. 16 time units t later, the serial-out control signal SOC is transmitted to the clock pin CLK of each of the flip-flops F31˜F35 (which is shown by the first rising edge of the serial-out control signal SOC in
After the first rising edge of the serial-out control signal SOC, the gray-scale control signal GSC outputted by the gray scale generation circuit is the fourth bit D[3] of the luminance-related data. The fourth bit D[3] of the luminance-related data is “1” and corresponds to 8 time units t, so the bit received by the driving circuit during these 8 time units is “1”. 8 time units t later, the serial-out control signal SOC is transmitted to the clock pin CLK of each of the flip-flops F31˜F35 (which is shown by the second rising edge of the serial-out control signal SOC in
It should be noted that, when the bits D[O]˜D[3] in the flip-flops F31˜F34 are transmitted respectively to the flip-flops F32˜F35, a low-level signal is inputted to the input pin D of the first flip-flop F31 to set the output signal outputted from the output pin Q of the first flip-flop F31 as “0”, and when the bits D[0]˜D[2] in the flip-flops F32˜F34 are transmitted respectively to the flip-flops F33˜F35, the output signal outputted from the output pin Q of the first flip-flop F31, which is “0”, makes the output signal outputted from the output pin Q of the first flip-flop F32 set as “0”. In this manner, after the luminance-related data is entirely outputted, the output signal that can be received at the output pin Q of each of the flip-flops F31˜F35 are set as “0”.
How to make each of the bits D[0]˜D[4] of the luminance-related data correspond to a specific number of time units t is illustrated as follows. As shown in
In this case, within the time for emitting light of a frame period, the light-emitting of the light emitting unit equals 8 time units t plus 1 time unit t. In other words, the luminance of the light emitting unit is determined by the driving as (8 t+t)/31 t, which is 9/31.
In this embodiment, the black frame insertion can also be implemented by inserting a dummy bit into the luminance-related data or by using a logic unit and providing an enable signal ENB; however, the relevant details are not repeatedly describe herein.
Referring to
As shown in
To sum up, in the present disclosure, each bit of the luminance-related data corresponds to a specific number of time units. In addition, a PISO data storage unit replaces the data storage unit, the gray-scale counter and the digital comparator in a conventional gray scale generation circuit. Therefore, the gray scale generation circuit of the present disclosure has all bits of the data inputted at the same time but outputs different bits of the data at different time points. Then, the driving circuit of the present disclosure determines the light-emitting time/the luminance of the light emitting unit according to different bits and their corresponding numbers of time units.
Due to the above working mechanism, the present disclosure has at least two advantages. First, the gray scale generation circuit of the present disclosure can adjust the number of time units corresponding to each bit of the luminance-related data. Thus, it is easy to divide the time for emitting light of one frame period into more time units. In addition, by replacing the data storage unit, the gray-scale counter and the digital comparator in a conventional gray scale generation circuit with a PISO data storage unit, the circuit cost can be effectively reduced. Accordingly, the gray scale generation circuit and the driving circuit using the same can support high bit data but will not raise the circuit cost.
The descriptions illustrated supra set forth simply the preferred embodiments of the present disclosure; however, the characteristics of the present disclosure are by no means restricted thereto. All changes, alterations, or modifications conveniently considered by those skilled in the art are deemed to be encompassed within the scope of the present disclosure delineated by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
106108540 A | Mar 2017 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
20050156635 | Yoneyama | Jul 2005 | A1 |
20160189605 | Ahn | Jun 2016 | A1 |
Number | Date | Country | |
---|---|---|---|
20180268761 A1 | Sep 2018 | US |