Summary of the invention
It is an object of the invention to provide a kind of gray scale display drive method for light-emitting diode display and device, with further
Promote display effect.
According to an aspect of the present invention, it is provided that a kind of gray scale display drive method for light-emitting diode display, including: by one
Whole n data bit of individual gradation data are divided into m subframe, and wherein n is greater than the integer equal to 2, and it is whole that m is greater than equal to 1
Number;Calculate a subframe and preset weight C;Build the weight of whole n data bit so that it is combination can show whole gray level;
Whole n data bit combinations are become m subframe so that the weight of each subframe is substantially equal to described subframe and presets weight;With
And carry out to subframe the display of corresponding data position one by one.
Preferably, in the process, the numerical range of the weight of each data bit in described whole n data bit
It is greater than equal to 0 and is less than or equal to the arbitrary integer of maximum gray scale.
Preferably, in the process, in described m subframe, number p of the data bit of each subframe can be identical
Or different, wherein p is the integer more than or equal to 1.
Preferably, in the process, number p of the data bit of each subframe is equal to 2.
Preferably, in the process, in building the step of weight of whole n data bit so that arbitrarily i-th number
Following condition is met according to weight W (i) of position:
Preferably, in the process, the step that one subframe of described calculating presets weight C includes: work as LED display system
In the case of refresh rate index is set, determine that subframe presets weight according to following formula
Wherein:
T_FRAM represents the time of a subframe, according to requirement or user's desired refresh rate index of display system, knot
The parameters such as the clock frequency of assembly system, scanning number are calculated;
T represents the minimum response time of display system.
Preferably, in the process, the step that one subframe of described calculating presets weight C includes: work as LED display system
In the case of gray level G is set, determine that subframe presets weight according to following formula
Preferably, in the process, the step of the weight of whole n the data bit of described structure includes: a) set the 1st to
Weight W (1) of than the m-th data position~W (m);And b) according to relational expression W (n+1-i)=C-W (i), calculate the m+1 data bit
Weight W (m+1)~W (n) to nth data position;Wherein, if the weight calculated is unsatisfactory for below equation, then W (1) is adjusted
~the value of W (m), repeat step a) and b),
Preferably, in the process, described the step of m subframe is become to include whole n data bit combinations: respectively will
W (i) and W (n+1-i) is combined into subframe, and wherein i is the arbitrary integer more than or equal to 1.
According to a further aspect in the invention, it is provided that a kind of gray scale display drive apparatus for light-emitting diode display, including position
Weighted data generating means, for calculating or store position weight W (1)~the W (n) of whole n data bit of a gradation data,
Wherein n is greater than the integer equal to 2;Sub-frame data generation module, for becoming m subframe, wherein by whole n data bit combinations
M is greater than the integer equal to 1, and the video data in video signal is converted into the data bit of m subframe one to one
Numerical value;And sub-frame signals output module, for the ground of subframe one by one, output gray level drives signal, to drive the LED of light-emitting diode display
Pixel, wherein, sub-frame data generation module makes the weight of each subframe be substantially equal to an identical subframe and presets weight
C。
Preferably, in described gray scale display drive apparatus, the power of each data bit in described whole n data bit
The numerical range of weight is greater than equal to 0 and is less than or equal to the arbitrary integer of maximum gray scale.
Preferably, in described gray scale display drive apparatus, in described m subframe, the data bit of each subframe
Number p can be identical or different, and wherein p is the integer more than or equal to 1.
Preferably, in described gray scale display drive apparatus, institute's rheme weighted data generating means includes a weight storage
Device, institute's rheme weights memory be pre-stored in outside position weight W (1) calculating whole n the data bit obtained of light-emitting diode display~
W(n)。
Preferably, in described gray scale display drive apparatus, institute's rheme weighted data generating means includes: subframe presets power
Re-computation module, for obtaining the refresh rate that display system is predetermined, then calculates subframe according to described refresh rate and presets weight;Position
Weight builds module, for building position weight W (1)~the W (n) of whole n data bit;System gray level computing module, is used for
Position weight W (1)~W (n) summation to whole n data bit, to calculate system gray level G;And gamma correction densitometer
Calculate module, for obtaining the video data in video signal, and calculate the gradation data after correction.
Preferably, in described gray scale display drive apparatus, described subframe presets weight computation module according to following formula
Determine that subframe presets weight
Wherein:
T_FRAM represents the time of a subframe, according to requirement or user's desired refresh rate index of display system, knot
The parameters such as the clock frequency of assembly system, scanning number are calculated;
T represents the minimum response time of display system.
Preferably, in described gray scale display drive apparatus, institute's rheme weight builds module and makes any i-th data bit
Weight W (i) meet following condition:
Preferably, in described gray scale display drive apparatus, institute's rheme weighted data generating means includes: subframe presets power
Re-computation module, for obtaining gray level G that display system is predetermined, then calculates subframe according to described gray level and presets weight;
And position weight builds module, for building position weight W (1)~the W (n) of whole n data bit.
Preferably, in described gray scale display drive apparatus, described subframe presets weight computation module according to following formula
Determine that subframe presets weight
Preferably, in described gray scale display drive apparatus, institute's rheme weight builds module and makes any i-th data bit
Weight W (i) meet following condition:
The present invention proposes a kind of novel gray scale display drive method and device.This gray scale display drive method and device
Can ensure that the time span of each subframe is basically identical, improve uniformity of luminance.The subframe scheme of breaing up utilizing the present invention carries
Rise display effect.
Detailed description of the invention
It is more fully described various embodiments of the present invention hereinafter with reference to accompanying drawing.In various figures, identical element
Same or similar reference is used to represent.For the sake of clarity, the various piece in accompanying drawing is not necessarily to scale.
Fig. 1 is the schematic block diagram of conventional LED display system.LED display system includes LED display controller and N number of
LED unit plate 1 to the LED unit plate N of concatenation, wherein N is greater than the integer equal to 1.Each LED unit plate includes A LED
Drive circuit, each LED drive circuit is used for driving B LED, and wherein A and B is greater than the integer equal to 1 respectively.Therefore, should
LED display system can drive N*A*B LED altogether.
LED display controller provides data signal DATA to LED unit plate 1, and single to LED unit plate 1 to LED respectively
Unit plate N provide one group of control signal, including clock signal clk, latch signal LAT and enable signal EN.First LED unit plate 1
On the first LED drive circuit from LED display controller receive data signal DATA, and by data signal DATA output to should
Next LED drive circuit on cell board.Each LED drive circuit produces output signal according to data signal DATA, makes
Obtain corresponding LED light according to the mode that timesharing by turn shows or extinguish.
In conventional LED display system, the weight of bit data typically uses 2nRepresent.With 12 gradation datas it is
Example, is designated as D [0:11] by gradation data.Assume that corresponding weight W [0] effectively showing the time of gradation data lowest order is 1, the most often
Weight W [n] of one bit data D [n] corresponding effectively display time is 2n-1, as shown in table 1:
The weight of 1,12 gradation data not coordinatioies of table
Owing to the numerical value of 12 gradation data D [0:11] can change between 000H to FFFH, 4095 therefore can be realized
Level gray scale.
Assume that effective display time that gradation data lowest order is corresponding is t, according to the weight of bit data, each gray scale
What data were corresponding effectively shows that the time is as shown in table 2:
What 2,12 gradation data not coordinatioies of table were corresponding effectively shows the time
In order to improve the refresh rate of display image further, a two field picture can be divided into several subframe, subframe is entered one by one
Row display.The time duration of each subframe is the shortest, then refresh rate index is the highest, can be corresponding by the bit data of high weight
Effectively display time distribution (i.e. break up) in different subframes.Show the one for 12 gradation datas in table 3
Common subframe breaks up scheme.
3,12 a kind of common subframes of gradation data of table break up scheme
As shown in table 3, the time span of each two field picture is 4095t.Breaing up through subframe, the time of the 1st subframe is long
Degree is for 1058t, and the time span of the 2nd subframe is 1032t, and the time span of the 3rd subframe is 1041t, the 4th subframe time
Between a length of 964t.As can be seen here, the time span difference of each subframe is little.Although subframe is broken up can improve display
The refresh rate of system, it is believed that the persistent period of each subframe is long.In suc scheme, the refresh rate index of display system
The highest.
In order to make light-emitting diode display system have higher refresh rate, above-mentioned subframe can be carried out again subframe and break up, with
As a example by the 1st subframe in table 3, can subframe be broken up again is 3 timeslices, as shown in table 4:
Table 4, the subframe again of the 1st subframe are broken up
As shown in table 4, the time span of the 1st subframe is 1058t.Breaing up through subframe again, the time of timeslice 1 is long
Degree is reduced to 514t, and the time span of timeslice 2 is reduced to 288t, and the time span of timeslice 3 is reduced to 256t.Thus may be used
Seeing, the time span of each timeslice significantly reduces, and therefore can obtain higher refresh rate.But, between each timeslice
Time phase difference excessive.In suc scheme, subframe is again broken up and is caused non-uniform light, thus will affect display effect.
Fig. 2 is the schematic stream of the gray scale display drive method for light-emitting diode display according to first embodiment of the invention
Cheng Tu.
In the gray scale display drive method of the present invention, in order to show a two field picture, for each LED pixel, use
One gradation data shows its gray level.
This gradation data has the data bit of n different weights, and wherein n is the integer more than or equal to 2.Each data bit
Weight represents with W (i), i.e. the weight of 12 data bit is respectively W(1) to W(12).Unlike the prior art, each data bit
Weight W(i) be not necessarily equal to W (i)=2i-1, but any integer value can be selected.In order to make the data bit of n different weights can
To expressLevel gray scale, weight W (i) of i-th data bit needs to meet condition:
Whole n data bit of one gradation data are dispersed into m subframe, and wherein m is the integer more than or equal to 1.?
In one subframe, including p data bit, wherein p is the integer more than or equal to 1.It should be noted that, the data bit of each subframe is individual
Number p can be identical or different.
As it was previously stated, weight W(i of each data bit) it is not necessarily equal to W (i)=2i-1.Alternatively, the weight of each data bit
Numerical range be greater than equal to 0 and less than or equal to the arbitrary integer of maximum gray scale.Preset weight W of each data bit
(i).The weight of each subframe is essentially steady state value, i.e. position weight W (mi) of whole p the data bit in each subframe it
Weight C is preset with being substantially equal to a subframe,
In an example, number p of the data bit of each subframe is equal to 2, and the most each subframe includes two data bit.Cause
This, described gradation data has even number data bit, wherein n=2*m.By data bit and minimal weight W of highest weighting W (n)
(1) set of data bits is combined into a subframe, and the set of data bits of the data bit of second highest weight W (n-1) and time little weight W (2) is combined into
One subframe.The like, combination obtains m subframe altogether.Weight W (i) of i-th data bit and the (n+1)th-i data bit and W
(n+1-i) subframe weight: W (i)+W (n+1-i) it is combined into.In the present invention, the weight of different subframes is the most approximately equalised
Steady state value, i.e. presets weight C,
W(i)+W(n+1-i)≈C (4)。
In this example, the gray scale display drive method for light-emitting diode display includes following multiple step, above-mentioned to meet
Condition (2) and (4).
In step S01, determine that subframe presets weight C;
A) in the case of LED display system refresh rate index is set, determine that subframe presets weight according to following formula
Wherein:
T_FRAM represents the time of a subframe, can according to the requirement of display system or user desired refresh rate index,
The parameters such as the clock frequency of coupling system, scanning number are calculated;
T represents the minimum response time of display system;
B) in the case of LED display system gray level G is set, owing to m subframe meets weight sum W of each subframe
I ()+W (n+1-i) ≈ C, therefore C*m ≈ G, be calculated subframe accordingly and preset weight
In step S02, according to formula (2) and (4), build position weight W (1)~the W (n) of whole n data bit.
In this step, weight W (1)~the W (m) of 1 to than the m-th data position are set so that it is meet formula (2).Then,
Relational expression W (the n+1-i)=C-W (i) obtained according to formula (4), calculates the m+1 data bit to weight W of nth data position
~W (n) (m+1).Further, it is judged that whether weight W (m+1)~the W (n) of the m+1 data bit to nth data position meet
Formula (2).As being unsatisfactory for formula (2), then adjust W (1)~the value of W (m), re-execute this step, until whole n data
Position weight W (1)~the W (n) of position are satisfied by formula (2) and (4).
In step S03, after weight W (1) building whole n data bit~W (n), calculate system gray level
In step S04, the gradation data y by after the substitution gamma correction formula calculating correction of gray level result of calculation:
Wherein x represents that 8 video data DATA, y of input are the gradation data after correcting, and γ is gamma value, shows at LED
Show that in device application, codomain is usually 1 to 4.
In step S05, according to the gradation data y after correction, select suitable n data bit so thatWherein D(i) it is the gray scale digital value of i-th data bit, this digital value can be 1 or 0.
In step S06, when display by data bit and the data bit combination of minimal weight W (1) of highest weighting W (n)
Being a subframe, the set of data bits of the data bit of second highest weight W (n-1) and time little weight W (2) is combined into a subframe.Class successively
Push away, whole n data bit combinations are become m subframe.
In step S07, carry out to subframe the display of corresponding data position one by one.
Fig. 3 is the schematic of the gray scale display drive apparatus 100 for light-emitting diode display according to second embodiment of the invention
Block diagram.In this embodiment, each subframe includes two data bit.This gray scale display drive apparatus 100 is e.g. shown in Fig. 1
A part for LED display controller, for performing the gray scale display drive method shown in Fig. 2, provides to LED unit plate and divides by turn
Time display needed for data signal DATA and enable signal EN.
Gray scale display drive apparatus 100 includes that subframe presets weight computation module 101, position weight builds module 102, system
Gray level computing module 103, gamma correction gray count module 104, sub-frame data generation module 105 and sub-frame signals output mould
Block 106.
Subframe is preset weight computation module 101 and is obtained the refresh rate that display system is predetermined, then calculates son according to formula (5)
Frame presets weight.Subframe is preset weight computation module 101 and default weight C is supplied to a weight structure module 102.
According to above-mentioned formula (2) and (4), position weight build module 102 build whole n data bit position weight W (1)~
W(n).The data bit weight that position weight structure module 102 is built is supplied to system gray level computing module 103.
Set weight W (1)~the W (m) of 1 to than the m-th data position so that it is meet formula (2).Then, according to formula (4)
Relational expression W (the n+1-i)=C-W (i) obtained, calculates the m+1 data bit to weight W (m+1) of nth data position~W (n).
Further, it is judged that whether weight W (m+1)~the W (n) of the m+1 data bit to nth data position meet formula (2).If not
Meet formula (2), then adjust W (1)~the value of W (m), re-execute this step, until position weight W of whole n data bit
~W (n) is satisfied by formula (2) and (4) (1).
In system gray level computing module 103, to position weight W (1) of whole n data bit~W (n) summation, by terms of
Calculation system gray level G.Then, system gray level G is supplied to gamma correction gray count by system gray level computing module 103
Module 104.
In gamma correction gray count module 104, obtain the video data in video signal, according to above-mentioned formula (7)
Calculate the gradation data y after correction.Then, the gradation data y after correction is supplied to by gamma correction gray count module 104
Sub-frame data generation module 105.
In sub-frame data generation module 105, by data bit and the data bit of minimal weight W (1) of highest weighting W (n)
Being combined as a subframe, the set of data bits of the data bit of second highest weight W (n-1) and time little weight W (2) is combined into a subframe.Depend on
Secondary analogize, whole n data bit combinations are becomeIndividual subframe.Sub-frame data generation module 105 is also by video signal
Video data is converted into the numerical value one to one of the data bit with m subframe.Then, sub-frame data generation module 105 is by each
The data of subframe are supplied to sub-frame signals output module 106.
In sub-frame signals output module 106, subframe ground output gray level drives signal, to drive in LED unit one by one
LED.This gray scale drives signal such as include the subframe gradation data DATA of corresponding subframe and enable signal EN.For every units
According to, the corresponding high level lasting time enabling signal EN is proportional to the weight of this bit data.
Fig. 4 is the schematic of the gray scale display drive apparatus 200 for light-emitting diode display according to third embodiment of the invention
Block diagram.In this embodiment, each subframe includes two data bit.This gray scale display drive apparatus 200 is e.g. shown in Fig. 1
A part for LED display controller, for performing the gray scale display drive method shown in Fig. 2, provides to LED unit plate and divides by turn
Time display needed for data signal DATA and enable signal EN.
Gray scale display drive apparatus 200 includes that subframe presets weight computation module 201, position weight builds module 202, subframe
Data generation module 205 and sub-frame signals output module 206.
Subframe is preset weight computation module 201 and is obtained the predetermined gray level of display system (such as 4096 gray levels), so
Calculate subframe according to formula (6) afterwards and preset weight.Subframe is preset weight computation module 201 and default weight C is supplied to a weight
Build module 202.
According to above-mentioned formula (2) and (4), position weight build module 202 build whole n data bit position weight W (1)~
W(n).The data bit weight that position weight structure module 202 is built is supplied to sub-frame data generation module 205.
In sub-frame data generation module 205, by data bit and the data bit of minimal weight W (1) of highest weighting W (n)
Being combined as a subframe, the set of data bits of the data bit of second highest weight W (n-1) and time little weight W (2) is combined into a subframe.Depend on
Secondary analogize, whole n data bit combinations are becomeIndividual subframe.Sub-frame data generation module 205 also obtains in video signal
Video data, convert thereof into the numerical value one to one of the data bit with m subframe.Then, sub-frame data generation module 205
The data of each subframe are supplied to sub-frame signals output module 206.
In sub-frame signals output module 206, subframe ground output gray level drives signal, to drive in LED unit one by one
LED.This gray scale drives signal such as include the subframe gradation data DATA of corresponding subframe and enable signal EN.For every units
According to, the corresponding high level lasting time enabling signal EN is proportional to the weight of this bit data.
Fig. 5 is the schematic of the gray scale display drive apparatus 300 for light-emitting diode display according to fourth embodiment of the invention
Block diagram.In this embodiment, each subframe includes two data bit.This gray scale display drive apparatus 300 is e.g. shown in Fig. 1
A part for LED display controller, for performing the gray scale display drive method shown in Fig. 2, provides to LED unit plate and divides by turn
Time display needed for data signal DATA and enable signal EN.
Gray scale display drive apparatus 300 includes a weights memory 307, sub-frame data generation module 305 and sub-frame signals
Output module 306.
In weights memory 307 in place, position weight W (1) of whole n data bit that storage builds in advance~the number of W (n)
According to.For example, it is possible to obtain the refresh rate that display system is predetermined, calculate subframe according to formula (5) and preset weight.Or, alternatively,
The predetermined gray level of display system (such as 4096 gray levels) can be obtained, calculate subframe according to formula (6) and preset weight.So
After, position weight W (1)~the W (n) of whole n data bit is built according to formula (2) and (4).Building whole n data bit
After position weight W (1)~W (n), store it in the position weights memory 307 of gray scale display drive apparatus 300.Can be
In the calculating device of outside display, perform the data of position weight W (1) of whole n data bit~the W (n) built in advance
Then these data are stored in weights memory 307 in place by operation.Therefore, only position weights memory 307 is shown as gray scale
Show a part for driving means 300.
In sub-frame data generation module 305, by data bit and the data bit of minimal weight W (1) of highest weighting W (n)
Being combined as a subframe, the set of data bits of the data bit of second highest weight W (n-1) and time little weight W (2) is combined into a subframe.Depend on
Secondary analogize, whole n data bit combinations are becomeIndividual subframe.Sub-frame data generation module 305 also obtains in video signal
Video data, convert thereof into the numerical value one to one of the data bit with m subframe.Then, sub-frame data generation module 305
The data of each subframe are supplied to sub-frame signals output module 306.
In sub-frame signals output module 306, subframe ground output gray level drives signal, to drive in LED unit one by one
LED.This gray scale drives signal such as include the subframe gradation data DATA of corresponding subframe and enable signal EN.For every units
According to, the corresponding high level lasting time enabling signal EN is proportional to the weight of this bit data.
Although describing gray scale display drive apparatus by a gradation data in the above-mentioned second to the 4th embodiment
All n data bit is dispersed into m subframe, and includes two data bit in a subframe.But, the invention is not restricted to
This, the number of the data bit of each subframe can be identical or different, and may be greater than the arbitrary integer equal to 1.Even if
When the number of the data bit of each subframe is different, it is also possible to build whole n data according to above-mentioned formula (2) and (3)
Position weight W (1) of position~W (n).
The gray scale display drive method of above-described embodiment and driving means, be both well positioned to meet LED display system day by day
The performance indications such as the refresh rate of raising, gray level, ensure that again the time span of each subframe is basically identical, and the system of improving shows
Performance and display effect.
According to embodiments of the invention as described above, these embodiments do not have all of details of detailed descriptionthe, the most not
Limit the specific embodiment that this invention is only described.Obviously, as described above, can make many modifications and variations, such as, change
Become the weight number in each subframe.These embodiments are chosen and specifically described to this specification, is to preferably explain this
Bright principle and actual application, so that skilled artisan can utilize the present invention and well at base of the present invention
Amendment on plinth uses.Protection scope of the present invention should be defined in the range of standard with the claims in the present invention.