The invention will be described in greater detail with reference to the drawing, in which
In the figures, same or similar elements are referenced with the same reference designators.
During operation, the number of pixel clock periods per elementary step PPS is loaded into the first counter 201 upon the occurrence of the synchronisation signal VB at its load input. At the same time the number of elementary steps per sub-period SPP is loaded into the second counter 202 and the duty cycle DC is loaded into the third counter 203. The first, the second and the third counter 201, 202 and 203 count down with every trigger impulse at their respective clock input. The VB signal is used as a global and priority synchronisation signal for the three counters. The first counter 201 and the second counter 202 reload the values present at a data input when they have finished counting and restart counting immediately. The third counter 203 stops counting when it reaches zero. The third counter 203 preferably issues a high-level signal corresponding to a logical “1” at its output unless it has counted to zero. When the third counter 203 has counted down to zero the output assumes a low-level signal corresponding to a logical “0”. It is, however, also conceivable to invert the logic levels of the counters, depending on the actual choice. After it has counted to zero the third counter 203 waits until either a sub-period or a priority VB signal occurs at its load input for reloading the value at its data input and beginning counting down again.
In order to achieve identical sub-periods within a frame period in terms of duration and duty cycle the values supplied at the data inputs of the counters have to be scaled appropriately. Further, the added durations of the sub-periods have to fit as good as possible within one frame period. For obtaining the respective values the following equation has to be solved:
PPS*SPP*n=PPL*LPF, wherein
PPS denotes the number of pixel clock periods per elementary step, SPP denotes the number of elementary steps per sub-period, n is the number of sub-periods within one frame, PPL denotes the number of pixel clock periods per line and LPF denotes the number of lines in a frame, all of the afore-mentioned numbers being integer.
According to the method the values for pixel clock periods per line PPL and lines per frame LPF are decomposed into prime numbers. The prime numbers are then distributed and assigned as count values to the first and second counters 201, 202 counting pixel clock periods per elementary step PPS and elementary steps per sub-period SPP, as well as to the number of sub-periods in a frame n. It is now referred back to the exemplary values given further above, targeting a ratio of control for the backlight of 1:100 and a number of sub-periods within a frame between 1 and 27. In this case, only those combinations of prime numbers are used which allow for a value for elementary steps per sub-period SPP as close as possible to 100 and for which the number n of sub-periods within a frame lies between 1 and 27.
The following example is directed to a screen having WXGA format, in which a frame consists of a total of 795 horizontal lines, i.e. LPF=795, each line having 1798 pixels, i.e. PPL=1798. Hence, the total number of pixels per frame is 1429410. Further, a frame rate or repetition frequency of 75 Hz is assumed. The numbers given include the vertical and horizontal blanking interval.
The prime number decomposition of 1798 results in 2, 29 and 31. The prime number decomposition of 795 results in 3, 5 and 53. Hence, the list of prime numbers includes 2, 3, 5 29, 31, and 53.
A first step of the method includes identifying those combinations of the prime numbers in the list that allow for a value of n between 1 and 27. Table 1 shows the possible combinations.
Although the last three solutions in the table deliver a number n of sub-periods within a frame larger than the target number 27, they are not discarded. Choosing n=31 would require a switching frequency for the backlight of 31*100*75=232.5 kHz, which appears to be feasible for switch mode power converters.
The next step of the method includes identifying, for each number n of sub-periods within a frame identified above, those combinations of prime numbers the product of which is as close as possible to 100. The results for all numbers n identified in the first step are shown in table 2.
93 and 106 are the only solutions coming close to the desired value of 100. The value 100 cannot be achieved straight. The achievable ratio of control of the backlight is thus either 93 or 106. As both values can be realised using the present circuit and the present selected image resolution, the first choice would be 106, since this number is found more often than 96 in the list of possible solutions. The solutions for n having numbers 6 and 30 are discarded as the associated prime numbers result in values for SPP too far away from the desired value of 100.
The resulting count value for the number of pixel clock periods per step, PPS, can now be calculated using the remaining prime numbers, as shown in table 3.
The embodiment described above provides a simple solution for evenly distributing sub-periods within a frame period based on counting the pixel clock. However, it is not always possible to achieve a desired value for the ratio of control of the backlight. The number of possible solutions depends on the decomposition of the key figures describing the respective video mode into prime numbers. The smaller the resulting prime numbers the more solutions are possible. In the example above high prime numbers like 29, 31 and 53 are less suitable.
In a development of the inventive method and the inventive circuit, the general idea of counting the pixel clock for distributing sub-periods within a frame period and for providing a number of elementary steps within each sub-period is improved. Like before, a synchronisation signal, for example the frame or vertical synchronisation signal is used.
The development of the inventive method and the inventive circuit is based on the method described in the example above. To begin with, the desired ratio of control of the backlight is set to be fixed. For example, the ratio of control of the backlight is set to be 1:100, that is to say each sub-period is divided into 100 elementary steps or, in other words the value of SPP is set to 100. As a next step the total number of pixel clock periods per frame PPF is divided by the desired number n of sub-periods per frame multiplied by the number of elementary steps SPP. The result is the number of pixel clock periods per elementary step PPS. Written as an equation: PPS=PPF/n/SPP. For the exemplary numbers chosen above the equation would read as PPS=1429410/n/100. The result of the division may not be an integer number. Therefore, the next smaller integer number is chosen for the number of pixel clock periods per elementary step PPS. As a result n sub-periods can be accommodated within a frame period, wherein each of the n sub-periods may accommodate the same ratio or duty cycle of control of the backlight. In the example, the duty cycles, which determine the ratio of control of the backlight, can be set to any value within a range of 1:100. The sub-periods are synchronised with the frame or vertical synchronisation signal. As was stated above, the result of the equation may not always be an integer number. Therefore, an error may remain after the n-th sub-period, which may be in a range of 1 to n*SPP−1 pixel clock periods. It is to be noted that no error occurs obviously, if the result of equation is an integer number.
Generally, the inventive method presented in the example above allows for creating any number n of sub-periods within a frame period in a range from 1 to 27 while essentially achieving the desired duty cycle or ratio of control of the backlight of 1:100 for any selected number of sub-periods.
The results of the embodiment described above may be acceptable in view of the relatively small error introduced. However, in order to reduce the visibility of possible flicker having frame frequency, in a further development of the inventive method correction intervals COI are introduced. At the end of a correction interval COI the counters are disabled, or set into a hold state. In other words, at the end of a correction interval COI the counters are forced to miss a single clock pulse, i.e. a clock pulse is not applied to the respective clock inputs of the counters at the end of a correction interval COI. The number of clock pulses after which a correction interval COI is inserted can be calculated as the quotient of the total number of pixel clock periods per frame and the number of pixel clock periods in the error period PEP, or COI=PPF/PEP. In doing so the end of the last of the n sub-periods within a frame period substantially coincides with the end of the frame period. The flicker having frame frequency is thus substantially eliminated.
In this embodiment of the invention, the missed clock pulses appear at regular intervals within a frame regardless of the sub-period and regardless of the state of the output of the circuit. That is to say, the missed clock pulses occur regardless of whether the output of the circuit represents a logical “1” or a logical “0”, or regardless whether the light source is switched on or off. The value of the error in this embodiment of the invention depends on the value n indicating the number of sub-periods within a frame period as well as on the duty cycle. However, as a result of the introduction of the correction interval the mean error of the duty cycle is minimised when compared to the method without correction interval COI. In the method without correction interval COI the output can only assume either a logical “1” or a logical “0” during the complete error period PEP.
As the length of a correction interval can only assume integer multiples of the pixel clock period the result of the division PPF/PEP is truncated to the next smaller integer number. The final error remaining cannot be larger than one pixel clock period. This final error is truncated by the synchronisation signal and is negligible in view of the comparatively large number of pixel clock periods per frame. Table 5 shows the various values for SPP, PPS (calculated and truncated), PEP, COI (calculated and truncated), corrected number of pixel clock periods and remaining error for numbers n of sub-periods in a range of 1 to 27. For the calculation of the exemplary values in the table the same value of 1429410 pixels per frame as for the examples further above was used.
In another embodiment, the length number PEP of pixel clock periods in the error period is divided by the number n of sub-periods within a frame period. The integer part of the result of the division is used as a correction period COP. At the end or at the beginning of each sub-period the counters are set into a hold state for a number of clock cycles corresponding to the correction period COP. Doing so, the error period is distributed more evenly across the frame period. Only after the end of the correction period COP the hold state is released and the counters are enabled correspondingly, continuing normal operation. By distributing the error period across the frame period the end of the last sub-period of one frame matches the end of the frame period as good as possible. This embodiment of the invention, too, substantially eliminates the flicker having frame frequency. This embodiment, however, does not reduce the mean error of the duty cycle.
It is to be noted that although the method has been described above with reference to a frame period as the basis for calculation, it is also conceivable to apply the method based on the field frequency in the case of interlaced video, or on the line frequency. That is to say, the number of pixels that is used as a starting point may also be the number of pixels per field or per line.
It is further to be noted that, although the invention has been described above with reference to a certain video format in terms of pixels per frame and frames per second, the invention may be modified for other video formats without departing from the scope of the invention.
It is to be noted that the invention is particularly suitable for hold-type light valves, in which the value for transmission or reflection is maintained once it is set until it is replaced by a new value for the next frame or field.
Number | Date | Country | Kind |
---|---|---|---|
06290910.6 | Jun 2006 | EP | regional |