The disclosure relates to a display device, and particularly relates to a driving device and a display driving method for a light-emitting diode (LED) array.
Today's light-emitting diode (LED) displays mainly use pulse-width modulation (PWM) signals to control driving currents of the LED for achieving grayscale changes. In terms of reducing the flicker of the LED display panel and improving the image stability, the higher the refresh rate of the LED, the better. In order to increase the refresh rate of the LED, each display frame period is divided into a plurality of subframe periods, and a duty width of a PWM signal in the display frame period is segmented into a plurality of subframes. Therefore, the LED pixels can be lit up a plurality of times in different subframe periods (a plurality of time intervals) of a display frame period. Based on this, the refresh rate of the LED can be increased without changing the frequency of the display frame (the refresh rate is the picture update rate multiplied by the number of subframes).
At a low grayscale, the duty width of the PWM signal in a display frame period is too narrow such that the duty width indicating the low grayscale is not sufficient to be segmented in all subframes. In extreme cases, the duty width indicating the lowest grayscale can only be placed in a first subframe period of a display frame period. Assuming that all LED pixels are at the lowest grayscale, each LED pixel will only be lit up in the first subframe period of each display frame period (the time length corresponds to the lowest grayscale), and will not be lit up in other subframe periods in each display frame. Therefore, at the low grayscale, the refresh rate of the LED will be reduced. In addition, since the starting positions of all LED pixels in each display frame period is the same, and the starting position of any LED pixel remains the same in different display frames, each LED (the lowest grayscale) will light up in the same subframe period such that the picture will have flicker and horizontal and vertical lines. Therefore, how to improve the visual effect of the low grayscale has become an important issue.
It should be noted that the content of the “Related Art” section is used to help understand the disclosure. Some of the content (or all of the content) disclosed in the “Related Art” section may not be known by those of ordinary skill in the art. The content disclosed in the “Related Art” section does not mean that the content has been known to those with ordinary knowledge in the technical field before the application of the disclosure.
The disclosure provides a driving device and a display driving method to drive a light-emitting diode (LED) array.
In an embodiment of the disclosure, a driving device includes a starting-position adjustment circuit and a pulse-width modulation (PWM) circuit. The starting-position adjustment circuit receives a pulse-width modulation counting value. The starting-position adjustment circuit is configured to shift the pulse-width modulation counting value according to a first starting-position setting to generate a first adjusted counting value of a first channel. Each display frame period is divided into a plurality of subframe periods. Each subframe period includes a plurality of scan line times corresponding to a plurality of scan lines of a light-emitting diode array, and the first starting-position setting is configured to indicate which subframe period in a same display frame period a starting value of the first adjusted counting value is located in. The pulse-width modulation circuit is coupled to the starting-position adjustment circuit to receive the first adjusted counting value. The pulse-width modulation circuit compares grayscale data of the first channel with the first adjusted counting value. The pulse-width modulation circuit generates a first pulse-width modulation signal of the first channel according to a comparison result.
In an embodiment of the disclosure, a display driving method includes the following steps. A first adjusted counting value of a first channel is generated by a starting-position adjustment circuit to shift a pulse-width modulation counting value according to a first starting-position setting. Grayscale data of the first channel is compared with the first adjusted counting value by the pulse-width modulation circuit to obtain a comparison result. A first pulse-width modulation signal of the first channel is generated by the pulse-width modulation circuit according to the comparison result.
Based on the above, the starting-position adjustment circuit described in an embodiment of the disclosure can disperse the starting positions of different LED pixels in the same display frame period, and/or disperse the starting position of a same LED pixel in different display frame periods. Therefore, at a low grayscale, LED pixels at different positions can be lit up in different subframe periods of the same display frame period, and/or the same LED pixel can be lit up in different subframe periods of different display frame periods, so as to reduce the flicker and the horizontal and vertical lines.
In order to make the above-mentioned features and advantages of the disclosure clearer and easier to understand, the following embodiments are given and described in details with accompanying drawings as follows.
The term “coupling (or connecting)” used in this specification (including the claims) may refer to any direct or indirect connection means. For example, “a first device is coupled (or connected) to a second device” should be interpreted as “the first device is directly connected to the second device” or “the first device is indirectly connected to the second device through other devices or some connection means. The terms “first” and “second” mentioned throughout the specification (including the claims) serve to name elements or to distinguish different embodiments or ranges, and not to limit the upper or lower bound of the number of elements nor to limit the sequence of elements. In addition, wherever possible, elements/components/steps using same reference numerals in the drawings and embodiments refer to the same or similar parts. Cross-reference may be made to related descriptions for elements/components/steps using the same reference numerals or using the same terms in different embodiments.
In the embodiment shown in
In terms of hardware, the control circuit 120, the starting-position adjustment circuit 130 and/or the PWM circuit 140 can be implemented as logic circuits on an integrated circuit. For example, the related functions of the control circuit 120, the starting-position adjustment circuit 130 and/or the PWM circuit 140 can be implemented in one or more hardware controllers, microcontrollers, hardware processors, microprocessors, application-specific integrated circuits (ASICs), digital signal processors (DSPs), field programmable gate arrays (FPGAs), central processing units (CPUs) and/or various logic blocks, modules, and circuits in other processing units. The related functions of the control circuit 120, the starting-position adjustment circuit 130 and/or the PWM circuit 140 can be implemented as hardware circuits using hardware description languages (such as Verilog HDL or VHDL) or other suitable programming languages, such as various logic blocks, modules, and circuits in integrated circuits.
In terms of software and/or firmware, the related functions of the control circuit 120, the starting-position adjustment circuit 130 and/or the PWM circuit 140 can be implemented as programming codes. For example, the control circuit 120, the starting-position adjustment circuit 130 and/or the PWM circuit 140 may be implemented using general programming languages (such as C, C++, or assembly language) or other suitable programming languages. The programming code can be recorded/stored in a “non-transitory machine-readable storage medium”. In some embodiments, the non-transitory machine-readable storage medium includes, for example, a semiconductor memory and/or a storage device. The semiconductor memory includes a memory card, a read only memory (ROM), a flash memory, a programmable logic circuit, or other semiconductor memory. The storage device includes a hard disk drive (HDD), a solid-state drive (SSD), or other storage devices. The electronic device (such as a CPU, a hardware controller, a microcontroller, a hardware processor, or a microprocessor) can read and execute the programming code from the non-transitory machine-readable storage medium, thereby achieving the related functions of the control circuit 120, the starting-position adjustment circuit 130 and/or the PWM circuit 140.
The control circuit 120 determines the starting-position settings of different channels according to a frame counting value Frame_cnt and a scan line counting value Scan_cnt, such as the starting-position settings S2_1, S2_2, . . . , S2_m shown in
The starting-position adjustment circuit 130 may receive a pulse-width modulation (PWM) counting value PWM_cnt from a counter (not shown in
The control circuit 120 is coupled to the starting-position adjustment circuit 130 to provide the starting-position settings S2_1 to S2_m adapted for different channels. The starting-position settings S2_1 to S2_m may indicate which subframe period of the same display frame period the starting values of adjusted counting values S3_1, S3_2, . . . , S3_m for pulse-width modulation (PWM) are located. The starting-position setting S2_1 is adapted for the first current channel of the LED array 10, the starting-position setting S2_2 is adapted for the second current channel of the LED array 10, and the starting-position setting S2_m is adapted for the m-th current channel of the LED array 10. Taking the starting-position setting S2_1 as an example, assuming that the starting-position setting S2_1 is “SF_1”, it means that the starting value “x1” (e.g., 0) of the adjusted counting value S3_1 is located in in a first subframe period SF_1 of the display frame period. That is, the starting-position setting S2_1 can control the starting-position adjustment circuit 130 to change the starting position of the adjusted counting value S3_1.
For example, assuming that the value range of the PWM counting value PWM_cnt counts from 0 to 65535 (that is, x1=0 and x2=65535), and that each display frame period is divided into 4 subframe periods (that is, n=4), the value range of the counting value is also divided into four sub value ranges “0 to 16383”, “16384 to 32767”, “32768 to 49151”, and “49152 to 65535”. When the starting-position setting S2_1 is “SF_1” (that is, i=1), the starting-position adjustment circuit 130 shifts the PWM counting value PWM_cnt to generate the adjusted counting value S3_1=PWM_cnt+(65535−0+1)*[(1−1)/4)]=PWM_cnt of a first channel CH_1. When the starting-position setting S2_1 is “SF_2” (that is, i=2), the starting-position adjustment circuit 130 shifts the PWM counting value PWM_cnt to generate the adjusted counting value S3_1=PWM_cnt+(65535−0+1)*[(2−1)/4)]=PWM_cnt+16384 of the first channel CH_1. When the adjusted counting value S3_1 counts to the maximum value “x2” and an overflow occurs, the adjusted counting value S3_1 will return to the starting value “x1” and continue counting. Other starting-position settings S2_2 to S2_m, other adjusted counting values S3_2 to S3_m, and other channels CH_2, . . . , CH_m may be deduced by referring to the relevant descriptions of the starting-position setting S2_1, the adjusted counting value S3_1, and the channel CH_1, and thus will not be repeated herein.
The PWM circuit 140 is coupled to the starting-position adjustment circuit 130 to receive the adjusted counting values S3_1 to S3_m. In step S220, the PWM circuit 140 respectively compares grayscale data D_1, D_2, . . . , D_m of different channels CH_1 to CH_m with the adjusted counting values S3_1 to S3_m to obtain the comparison result. In step S230, the PWM circuit 140 generates PWM signals PWM_1, PWM_2, . . . , PWM_m of the channels CH_1 to CH_m according to the comparison result. For example, the PWM circuit 140 compares the grayscale data D_1 of the channel CH_1 with the adjusted counting value S3_1, and then generates the PWM signal PWM_1 of the channel CH_1 according to the comparison result. For a certain target scan line of the LED array 10, assuming that the value range of the adjusted counting value S3_1 counts from 0 to 65535, and that the grayscale data D_1 is 1 (a low grayscale), during the period when the value of the adjusted counting value S3_1 is 0, the PWM signal PWM_1 is a first logic level (e.g., a high level), and during the period when the value of the adjusted counting value S3_1 is 1 to 65535, the PWM signal PWM_1 is a second logic level (e.g., a low level). Therefore, the pulse width of the PWM signal PWM_1 can correspond to the grayscale data D_1. Other grayscale data D_2 to D_m, other adjusted counting values S3_2 to S3_m, and other PWM signals PWM_2 to PWM_m may be deduced by referring to the relevant descriptions of the grayscale data D_1, the adjusted counting value S3_1, and the PWM signal PWM_1, and thus will not be repeated herein.
To sum up, based on the dynamic changes of the starting-position settings S2_1 to S2_m, the starting-position adjustment circuit 130 can disperse the starting positions of different LED pixels in the same display frame period, and/or disperse the starting position of a same LED pixel in different display frame periods. Therefore, during the low-grayscale display, the LED pixels at different positions can be lit up in different subframe periods of the same display frame period to increase the spatial refresh rate. In addition, the same LED pixel can be lit up in different subframe periods of different display frame periods. Therefore, the driving device 100 can reduce the flicker of the LED array 10 and reduce the phenomenon of horizontal and vertical lines.
The multiplexer 122_1 is coupled to the selection controller 121 to receive the selection signal Sel_1. In the embodiment shown in
The starting-position adjustment circuit 130 shown in
For example, assume that the value range of the PWM counting value PWM_cnt counts from 0 to 65535 (that is, x1=0 and x2=65535), and that each display frame period is divided into 4 subframe periods (that is, n=4). When the starting-position setting S2_1 is “SF_1” (that is, i=1), the lookup table 131_1 shifts the PWM counting value PWM_cnt according to the first shift amount “(65535-0+1)*[(1-1)/4)]=0” to generate the adjusted counting value S3_1=PWM_cnt+0=PWM_cnt of channel CH_1. When the starting-position setting S2_1 is “SF_2” (that is, i=2), the lookup table 131_1 shifts the PWM counting value PWM_cnt according to the first shift amount “(65535-0+1)*[(2-1)/4)]=16384” to generate an adjusted counting value S3_1=PWM_cnt+16384 of channel CH_1.
The lookup table 131_2 receives the PWM counting value PWM_cnt. By means of a table lookup, the lookup table 131_2 can determine the shift amount (a second shift amount) according to the starting-position setting S2_2. The relationship between the starting-position setting S2_2 and the second shift amount can be predefined in the lookup table 131_2 according to the actual design. The lookup table 131_2 may shift the PWM counting value PWM_cnt according to the second shift amount to generate the adjusted counting value S3_2 of the channel CH_2 to the PWM circuit 140. The lookup table 131_2 may be deduced by referring to the relevant description of the lookup table 131_1, and thus will not be repeated herein.
The PWM circuit 140 shown in
The PWM generator 141_2 is coupled to the starting-position adjustment circuit 130 to receive the adjusted counting value S3_2. The PWM generator 141_2 compares the grayscale data D_2 of the channel CH_2 with the adjusted counting value S3_2 and generates the PWM signal PWM_2 of the channel CH_2 according to the comparison result. The PWM generator 141_2 may be deduced by referring to the relevant description of the PWM generator 141_1, and thus will not be repeated herein.
In the embodiment shown in
For example, assume that the starting-position setting S2_1 in the display frame period Frame4_1 indicates that the starting position of a certain scan line (the scan line time SP_1) of the LED array 10 is in the subframe period SF_1, and that the starting position of another scan line (the scan line time SP_2) of the LED array 10 is in the subframe period SF_3. In the embodiment shown in
In the same way, assume that the starting-position setting S2_1 in the display frame period Frame4_2 indicates that the starting position of a certain scan line (the scan line time SP_1) of the LED array 10 is in the subframe period SF_3, and that the starting position of another scan line (the scan line time SP_2) of the LED array 10 is in the subframe period SF_1. When the starting-position setting S2_1 of the scan line time SP_1 is “SF_3”, the lookup table 131_1 shifts the PWM counting value PWM_cnt to generate the adjusted counting value S3_1=PWM_cnt+32768 of the channel CH_1. Therefore, in the display frame period Frame4_2, the starting position of the scan line time SP_1 is moved to the subframe period SF_3. When the starting-position setting S2_1 of the scan line time SP_2 is “SF_1”, the lookup table 131_1 shifts the PWM counting value PWM_cnt to generate the adjusted counting value S3_1=PWM_cnt+0=PWM_cnt of the channel CH_1. Therefore, in the display frame period Frame4_2, the starting position of the scan line time SP_2 is maintained in the subframe period SF_1.
During the low grayscale display, the duty width of the PWM signal is too narrow such that the duty width indicating the low grayscale is not sufficient to be segmented in all subframes SF_1 to SF_n. In an extreme case, the duty width indicating the lowest grayscale can only be placed in the first subframe period SF_1 of the display frame period. Assuming that all LED pixels of the LED array 10 are at the lowest grayscale, each LED pixel will only be lit up in the first subframe period SF_1 of each display frame period (the time length of lighting corresponds to the lowest grayscale), and will not be lit up in other subframe periods SF_2 to SF_n of each display frame period. Therefore, the refresh rate of the LED will be reduced during the low grayscale display. In addition, since the starting positions of all LED pixels are the same in each display frame period, and the starting position of any LED pixel remains the same in different display frames, all LED pixels (the lowest grayscale) of the LED array 10 are all lit up in the same subframe period SF_1. Such a picture is prone to incur undesirable visual effects such as flicker and horizontal and vertical lines.
For channel CH_1, in the same display frame period Frame6_1, the starting-position adjustment circuit 130 can make the starting-position (a first starting position) corresponding to the first scan line time (the scan time corresponding to the first scan line of the LED array 10) different from the starting-position (a second starting position) corresponding to the second scan line time (the scan time corresponding to the first scan line of the LED array 10). The first starting position indicates which subframe period of the same display frame period Frame6_1 the starting value of the adjusted counting value S3_1 of the first scan line is located in (in the example of
For the first scan line of the LED array 10, in the first scan line time, the starting-position adjustment circuit 130 can make the first starting position of the channel CH_1 in the display frame period Frame6_1 different from the second starting position of the channel CH_2 in the display frame period Frame6_1. The first starting position indicates which subframe period of the display frame period Frame6_1 the starting value of the adjusted counting value S3_1 of the same scan line is located in (in the example of
For the same scan line (the target scan line) among the plurality of scan lines of the LED array 10, the starting-position adjustment circuit 130 can make the first starting position of the channel CH_a in the display frame period Frame7_1 different from the second starting position of the channel CH_a in the display frame period Frame7_2. The first starting position indicates which subframe period of the display frame period Frame7_1 the starting value of an adjusted counting value S3_a(S3_a can be any one of S3_1 to S3_m) of the same target scan line is located in (in the example of
Although the disclosure has been described with reference to the embodiments above, the embodiments are not intended to limit the disclosure. Any person skilled in the art can make some changes and modifications without departing from the spirit and scope of the disclosure. Therefore, the scope of the disclosure will be defined in the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
11398177 | Tseng et al. | Jul 2022 | B2 |
20020017962 | Takagi | Feb 2002 | A1 |
20050073516 | Kang | Apr 2005 | A1 |
20060238943 | Awakura | Oct 2006 | A1 |
20180047346 | Xing et al. | Feb 2018 | A1 |
20210118358 | Lee | Apr 2021 | A1 |
20210366345 | Tseng et al. | Nov 2021 | A1 |
20220375388 | Kim et al. | Nov 2022 | A1 |
Number | Date | Country |
---|---|---|
102779480 | Nov 2012 | CN |
116129794 | May 2023 | CN |
112992054 | Aug 2023 | CN |
202145191 | Dec 2021 | TW |
Entry |
---|
“Office Action of Taiwan Counterpart Application”, issued on Feb. 17, 2025, p. 1-p. 3. |