Summary of the invention
Technical matters to be solved by this invention is by improving display frequency to promote display quality.
Technical scheme of the present invention is as follows:
A kind of dynamic self-adapting improves the method for display frequency, it may further comprise the steps: with most significant digit is not that one the data to be displayed C position that moves to left shows as revising the back video data, making the most significant digit of revising the back video data is one, and 2 C power/one that its output enable signal time is the corresponding output enable signal integrity time of former video data is set.
Be applied to technique scheme, in the described method, pre-set the numerical value of C.
Be applied to technique scheme, in the described method,, pre-set the numerical value of C according to the figure place N of described data to be displayed.
Be applied to above-mentioned each technical scheme, in the described method, the figure place N of described data to be displayed be made as N-C, as the figure place of revising the back video data.
Be applied to above-mentioned each related art scheme, in the described method, keep the figure place N of described data to be displayed, as the figure place of revising the back video data; Wherein, the figure place N of the described data to be displayed of described maintenance is included in described data to be displayed and moves to left behind the C position, and the C position of vacating on described data to be displayed right side fills, all is filled to 1 or all be filled to 0 at random.
Be applied to technique scheme, described method specifically may further comprise the steps: A1, obtain data to be displayed, judge its highest nonzero digit M; The figure place N of A2, employing data to be displayed deducts the highest described nonzero digit M, obtains difference C; A3, with the data to be displayed C position that moves to left, show as revising the back video data, and be 2 C power/one of output enable signal integrity time the effective time that its output enable signal is set.Perhaps, in the steps A 3,, obtain the data of N-C position, show, and be 2 C power/one of output enable signal integrity time the effective time that its output enable signal is set as revising the back video data with the data to be displayed C position that moves to left.Perhaps, in the steps A 3,, obtain the data of N position, show, and be 2 C power/one of output enable signal integrity time the effective time that its output enable signal is set as revising the back video data with the data to be displayed C position that moves to left.
Be applied to technique scheme, described method specifically may further comprise the steps: the initialization system data, obtain data to be displayed in turn from serial video data chain, to arbitrary data to be displayed X, judge its highest nonzero digit M, C=16-M is set, with the data to be displayed X C position that moves to left, obtain revising back video data Y, be sent to 16 demonstrations, and the effective time that the output enable signal is set be 2 C power/one of output enable signal integrity time, thereby revise and show the data to be displayed of described serial video data chain successively.
Be applied to above-mentioned each related art scheme, in the described method, before the steps A 3, go back execution in step A310: the figure place N according to described data to be displayed is provided with number of significant digit L; And, in the steps A 3,,, show as revising the back video data from most significant digit intercepting L bit data with the data to be displayed C position that moves to left.
Be applied to above-mentioned each related art scheme, in the described method, before the steps A 3, also carry out following steps: A321, pre-set the figure place N of described data to be displayed and the mapping table of number of significant digit L; A322, according to the figure place N of described data to be displayed, from described mapping table, select number of significant digit L; And, in the steps A 3,,, show as revising the back video data from most significant digit intercepting L bit data with the data to be displayed C position that moves to left.
Be applied to above-mentioned each technical scheme, in the described method, after the steps A 3, execution in step A4 also: adopt described amended video data, according to showing effective time of its output enable signal.
Be applied to technique scheme, in the described method, in the steps A 4, adopt the output enable signal of non-complete time cycle, as effective output signal, C power of increase by 2 divides the demonstration output number of times of multiple.
Adopt such scheme, the present invention is by utilizing OE (Output Enable, output enable) signal, because the imperfect time effect of OE enable signal makes that effective output signal is interrupted, increased the demonstration output number of times that N power of 2 divides multiple, thereby increased refreshing frequency, promoted display quality, and avoided the excessive loss of brightness.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
In the LED control system, display frequency perhaps is called the display frequency of complete GTG, corresponding the complete GTG display cycle, be the pairing frequency of demonstration time of complete GTG, its highest switching response frequency, LED luma data numerical digit with The whole control system is relevant.Wherein, the complete GTG display cycle is that each numerical value of luma data all experiences the required full-time total length of clear and definite corresponding output procedure.For the ignition frequency of some significance bits, be that the LED per second of certain correspondence of luma data is lighted number of times.
One embodiment of the present of invention are, a kind of dynamic self-adapting improves the method for display frequency, it may further comprise the steps: with most significant digit is not that one the data to be displayed C position that moves to left shows as revising the back video data, making the most significant digit of revising the back video data is one, and 2 C power/one that its output enable signal time is the corresponding output enable signal integrity time of former video data is set.For example, pre-set the numerical value of C.For example, C be made as 1,2,3 ... 32768.Preferably, according to the figure place N of described data to be displayed, pre-set the numerical value of C.For example, N=256, C=128; And for example, N=256, C=3; And for example, N=128, C=15; And for example, N=65536, C=3000; And for example, N=16, C=2; And for example, N=8, C=3 or the like; The present invention and each embodiment thereof do not limit this.
Wherein, the switching frequency of LED lamp, i.e. physics refreshing frequency comprises: the high gray physics refreshing frequency of high bit in the video data, in the video data than the low GTG physics refreshing frequency of low level.Complete GTG refreshing frequency is meant that the LED per second of complete GTG correspondence is lighted number of times.That is to say, improve the physics refreshing frequency,, therefore only need increase the number of times of effective demonstration output, can reach good display effect because the number of times of unit interval is exactly a frequency.
In the various embodiments described above, revise the output enable signal time of back video data corresponding respectively shorten to originally 1/2,1/4,1/8 or the like.Because the factor of unit interval is equal to display frequency, i.e. pairing frequency of unit interval.And for example, the demonstration time that the unit interval is following, unique difference is that enable signal shortens in various degree.Specifically, realize that following GTG realizing method of unit interval is:, realize following brightness output of unit interval by use to enable signal, promptly, show that effectively output is in the valid data serial transfer and after successfully loading, and under the effective condition of OE signal, can produce; Therefore have and realize that following output of unit interval may.Thereby, make be shorter than a demonstration output time effective time of output enable signal, when needs promote the physics refreshing frequency, promptly strengthen shooting effect, just can increase unit interval quantity, promptly increase the number of switches in the unit interval.
Be applied to the various embodiments described above, an example is to keep the figure place N of described data to be displayed, as the figure place of revising the back video data; Wherein, the figure place N of the described data to be displayed of described maintenance is included in described data to be displayed and moves to left behind the C position, and the C position of vacating on described data to be displayed right side fills, all is filled to 1 or all be filled to 0 at random.For example, after data to be displayed moved to left the C position, the C position of vacating on the right side can be provided with arbitrarily, fill, all be filled to 1 or all be filled to 0 at random, made amended video data remain the N position, i.e. the figure place of original data to be displayed.
Be applied to above-mentioned each related embodiment, another example is, the figure place N of described data to be displayed is made as N-C, as the figure place of revising the back video data.For example, when the figure place of described data to be displayed be 16, when C is 4, the figure place of revising the back video data is 12.For spectators, effective greyscale resolution of its naked eyes is no more than 10, for example 8, therefore, in theory, naked eyes can't be differentiated the luminance difference below 2%, when there was significant digit in a high position, display frequency was higher, and video recording apparatus or human eye are difficult to catch the low-frequency effect of its low level brightness.Therefore, preferred, the figure place of revising the back video data is 10 or 8.
Be applied to the various embodiments described above, another example is that described method specifically may further comprise the steps:
A1, obtain data to be displayed, judge its highest nonzero digit M; Suppose that a certain video data is 16, as shown in the table:
Figure place |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
Data |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
1 |
0 |
1 |
1 |
1 |
0 |
0 |
0 |
1 |
Then its highest nonzero digit M is 11.
The figure place N of A2, employing data to be displayed deducts the highest described nonzero digit M, obtains difference C; Be C=N-M=16-11=5.
A3, with the data to be displayed C position that moves to left, obtain the data of N-C position, show as revising the back video data, and be 2 C power/one of output enable signal integrity time the effective time that its output enable signal is set.
It is as shown in the table to revise the back video data:
Figure place |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
Data |
1 |
1 |
1 |
0 |
1 |
1 |
1 |
0 |
0 |
0 |
1 |
OE S1 effective time of video data after the above-mentioned modification be set be 25 powers/one of the complete time S0 of OE, i.e. S1=S0/32.
And for example, suppose that C is at 3 o'clock, OE S1 effective time that revises the back video data is 23 powers/one of the complete time S0 of OE, and promptly S1 is 1/8 of S0.
And for example, with the data to be displayed C position that moves to left, keep the figure place N of described data to be displayed, the C position of vacating on described data to be displayed right side fills, all is filled to 1 or all be filled to 0 at random; Obtain the data of N position, show, and be 2 C power/one of output enable signal integrity time the effective time that its output enable signal is set as revising the back video data.If promptly do not change the figure place of video data, it is as shown in the table then to revise the back video data:
Figure place |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
Data |
1 |
1 |
1 |
0 |
1 |
1 |
1 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
Another example is, as shown in Figure 1, carry out following steps: obtain data to be displayed, judge its highest nonzero digit M, get the figure place N of data to be displayed, deduct the highest described nonzero digit M, obtain difference C,, obtain video data after the modification of N-C position the data to be displayed C position that moves to left, its OE signal is set is effective time 2 C power/one of OE signal integrity time, output shows.
Another example is to carry out following steps: obtain data to be displayed, judge its highest nonzero digit M, get the figure place N of data to be displayed, deduct the highest described nonzero digit M, obtain difference C, with the data to be displayed C position that moves to left, in the C position that described data to be displayed right side is vacated, fill 0 or 1 at random, obtain video data after the modification of N position, its OE signal is set is effective time 2 C power/one of OE signal integrity time, output shows.
Another example is, the initialization system data, obtain data to be displayed in turn from serial video data chain,, judge its highest nonzero digit M arbitrary data to be displayed X, C=16-M is set, with the data to be displayed X C position that moves to left, obtain revising back video data Y, be sent to 16 demonstrations, and the effective time that the output enable signal is set be 2 C power/one of output enable signal integrity time, thereby revise and show the data to be displayed of described serial video data chain successively.
For example, suppose that data to be displayed X is as shown in the table:
Figure place |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
Data |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
Its highest nonzero digit M=14, C=16-M=2.With the data to be displayed X C position that moves to left, it is as shown in the table to obtain revising back video data Y:
Figure place |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
Data |
1 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
0 |
0 |
Video data Y after the above-mentioned modification is sent to 16 demonstrations, and the effective time that the output enable signal is set be 1/4 of the output enable signal integrity time, thereby revise and show the data to be displayed of described serial video data chain successively.
Perhaps, as mentioned above, can also shorten its data chain length, it is as shown in the table to obtain revising back video data Y:
Figure place |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
Data |
1 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
Video data Y after the above-mentioned modification is sent to demonstration, and the effective time that the output enable signal is set be 1/4 of the output enable signal integrity time, thereby revise and show the data to be displayed of described serial video data chain successively.
Be applied to above-mentioned each example, preferred, before steps A 3, go back execution in step A310: the figure place N according to described data to be displayed is provided with number of significant digit L; And, in the steps A 3,,, show as revising the back video data from most significant digit intercepting L bit data with the data to be displayed C position that moves to left.For example, N is 16 o'clock, and L is the natural number between 4 to 16, perhaps is the natural number between 5 to 15, as 9 or 10.For example L is 8, when C is 3, in the steps A 3, data to be displayed is moved to left 3, intercepts 8 bit data from most significant digit, shows as revising the back video data.
For example, suppose that data to be displayed is as shown in the table:
Figure place |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
Data |
?0 |
0 |
0 |
1 |
0 |
0 |
1 |
?0 |
1 |
1 |
?0 |
1 |
?0 |
1 |
?0 |
1 |
Its highest nonzero digit M=13, C=16-M=3.Data to be displayed is moved to left 3, intercept 8 bit data from most significant digit, it is as shown in the table to obtain revising the back video data:
Figure place |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
Data |
1 |
0 |
0 |
1 |
0 |
1 |
1 |
0 |
At this moment, thrown aside for the highest 3 and minimum 5 of original data to be displayed, adopt modification back video data to show.
And for example, a certain video data is 24, and is as shown in the table:
Figure place |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
Data |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
1 |
1 |
1 |
0 |
1 |
0 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
0 |
Its highest nonzero digit M is the 19th, C=24-M=5.When L is 16, data to be displayed is moved to left 5, intercept 16 bit data from most significant digit, it is as shown in the table to obtain revising the back video data:
Figure place |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
Data |
1 |
0 |
0 |
0 |
0 |
1 |
1 |
1 |
0 |
1 |
0 |
0 |
1 |
0 |
1 |
0 |
At this moment, thrown aside for the highest 5 and minimum 4 of original data to be displayed, adopt modification back video data to show.
Be applied to above-mentioned each related embodiment, in the described method, before the steps A 3, also carry out following steps: A321, pre-set the figure place N of described data to be displayed and the mapping table of number of significant digit L; Can set up the relation table of a N value and L value, N is set usually greater than L, preferred, L is 1/2 of N; Select described number of significant digit L according to the N value.Perhaps, can also set up the relation table of a maximum brightness loss percentage and L value, select described number of significant digit L according to the maximum brightness loss percentage.A322, according to the figure place N of described data to be displayed, from described mapping table, select number of significant digit L; And, in the steps A 3,,, show as revising the back video data from most significant digit intercepting L bit data with the data to be displayed C position that moves to left.
Be applied to above-mentioned arbitrary example, another example is, after the steps A 3, and execution in step A4 also: adopt described amended video data, according to showing effective time of its output enable signal.For example, in the steps A 4, adopt the output enable signal of non-complete time cycle, as effective output signal, C power of increase by 2 divides the demonstration output number of times of multiple.
Specifically, another embodiment is, a kind of dynamic self-adapting algorithm, or be called dynamic data chain length display algorithm.Promptly only keep the data that begin from highest significant position M, be used for showing, thereby on the basis of shortening whole display cycle time, promote the demonstration refreshing frequency.In above-mentioned each example, the dynamic self-adapting algorithm has increased the demonstration number of times, must increase the demonstration time of response, need correspondingly be reduced in each shows the time period.For example, the specific implementation method is: the OE time is original 2 C power/one, perhaps C/one or the like.And for example, be applied to above-mentioned each example, in the described method, to low data,, keep the L bit data only from the highest nonzero digit M for height.
Another embodiment is, is not that one video data is moved to the left the N position with most significant digit, and making most significant digit is one, and data are sent demonstration then, and makes with 2 N power/one of cycle OE reduction to the former corresponding time.For example, get 4 16 corresponding on the serial data chain to be shown bit data, show with binary code, be respectively data 1, data 2 0110101010101011, data 3 0001111010101100, data 4 0000001110101101; With all most significant digits is not that 1 video data is moved to the left, and makes that most significant digit is 1, and last room is provided with, all is filled to 1 or all be filled to 0 arbitrarily, makes amended data keep 16; For example, all be filled to 0 and obtain 4 16 bit data, be respectively data 1, data 2 1101010101010110, data 3 1111010101100000, data 4 1110101101000000; Send demonstration with data then; And, corresponding show output cycle at each, make that its OE enable signal time is 2 C power/one of the complete time S0 of normal OE enable signal; The OE enable signal time S1=S0/4 of data one, the OE enable signal time S2=S0/2 of data two, the OE enable signal time S3=S0/8 of data three, the OE enable signal time S4=S0/64 of data four; Like this, because the imperfect time effect of OE enable signal makes that effective output signal is interrupted, number of times is exported in the demonstration that has increased by 2 C power multiple, thereby has increased refreshing frequency.
Another embodiment is, is not that one video data is moved to the left the N position with most significant digit, and making most significant digit is one, and data are sent demonstration then, and makes with 2 N power/one of cycle OE reduction to the former corresponding time.For example, get 4 16 corresponding on the serial data chain to be shown bit data, show with binary code, be respectively data 1, data 2 0110101010101011, data 3 0001111010101100, data 4 0000001110101101; With all most significant digits is not that 1 video data is moved to the left, and makes that most significant digit is 1; Obtain the data that 4 unitss do not wait, be respectively the data 4 1110101101 of 3 1111010101100,10 of data of 2 110101010101011,13 of data of 14 one 10111010101010,15 of data; Send demonstration with data then; And, corresponding show output cycle at each, make that its OE enable signal time is 2 C power/one of the complete time S0 of normal OE enable signal; The OE enable signal time S1=S0/4 of data one, the OE enable signal time S2=S0/2 of data two, the OE enable signal time S3=S0/8 of data three, the OE enable signal time S4=S0/64 of data four; Like this, because the imperfect time effect of OE enable signal makes that effective output signal is interrupted, number of times is exported in the demonstration that has increased by 2 C power multiple, thereby has increased refreshing frequency.
Need to prove that the mutual combination of above-mentioned each technical characterictic forms each embodiment, should be considered as the scope of instructions record of the present invention.
Should be understood that, for those of ordinary skills, can be improved according to the above description or conversion, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.