CN117894270A - LED display driving method and device, chip and electronic equipment - Google Patents

LED display driving method and device, chip and electronic equipment Download PDF

Info

Publication number
CN117894270A
CN117894270A CN202410294973.4A CN202410294973A CN117894270A CN 117894270 A CN117894270 A CN 117894270A CN 202410294973 A CN202410294973 A CN 202410294973A CN 117894270 A CN117894270 A CN 117894270A
Authority
CN
China
Prior art keywords
subframes
gray
subframe
gray scale
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410294973.4A
Other languages
Chinese (zh)
Inventor
张海川
李士达
雍尚刚
叶新雅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jichuang North Zhuhai Technology Co ltd
Original Assignee
Jichuang North Zhuhai Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jichuang North Zhuhai Technology Co ltd filed Critical Jichuang North Zhuhai Technology Co ltd
Priority to CN202410294973.4A priority Critical patent/CN117894270A/en
Publication of CN117894270A publication Critical patent/CN117894270A/en
Pending legal-status Critical Current

Links

Abstract

The application relates to the technical field of display, in particular to an LED display driving method, an LED display driving device, an LED display driving chip and electronic equipment, wherein the method comprises the following steps: determining the total number of subframes, N+1 gray scale intervals and the number of subframes corresponding to each gray scale interval in the N+1 gray scale intervals; determining a first gray scale interval and a first subframe number L corresponding to the total gray scale value of the target frame; distributing the total gray value into L subframes of the target frame; according to the LED display driving method, the plurality of gray intervals and the sub-frames corresponding to the gray intervals are set, the total gray value is distributed to the sub-frames with the corresponding number according to the gray interval where the total gray value of the target frame is located and the sub-frames corresponding to the gray interval, so that the gray value distributed to each sub-frame can be prevented from being too small, the sub-frames distributed to the gray value can be prevented from being too small, the problems of color cast and pocking marks of low gray display can be solved, the refresh rate of the low gray display can be improved, and the display effect can be improved.

Description

LED display driving method and device, chip and electronic equipment
Technical Field
The application relates to the technical field of display, in particular to an LED display driving method, an LED display driving device, a chip and electronic equipment.
Background
The light-emitting diode (Light Emitting Diode, LED) display screen has the advantages of good display effect, customization, high maintainability and the like, and is widely used as an indoor and outdoor display large screen. At present, an LED display driving chip generally adopts a pulse width modulation algorithm (Pulse Width Modulation, PWM) to drive an LED display screen to display, and controls LED driving current by adjusting the pulse width of a digital signal, so as to control the brightness of LED lamp beads. A break-up pulse width modulation algorithm (Scrambled Pulse Width Modulation, SPWM) was developed on the basis of the PWM algorithm. The SPWM algorithm equally divides the time of a frame into a plurality of groups, then evenly distributes the gray value of each LED lamp bead on the frame in the LED display screen into each group, and in each group, the opening time of the PWM pulse is the time corresponding to the gray value distributed to the group, so that the on time of the frame is broken into a plurality of sections and evenly distributed to each group for display. The original PWM pulses are distributed into a plurality of groups which are scattered in a grouping display mode, so that the channel opening times are increased, and the refresh rate can be greatly improved.
However, the analog circuit itself is not able to respond perfectly to the PWM pulse due to the rise time that occurs when the signal changes due to various parasitic capacitances present on the drive output wiring. Fig. 1 shows a schematic diagram of the effect of the rise time on the PWM pulse width, as shown in fig. 1, the presence of the rise time TR causes the PWM pulse to lose a certain pulse width, resulting in a shorter actual on-time of the PWM pulse (i.e. the on-time of the PWM pulse). For low gray data, the PWM pulse width itself is short, and the presence of the rise time is likely to result in channels of the channel columns not being fully open. Therefore, at low gray, the phenomenon of showing color cast and pitting is very serious. Also, at low ash, the refresh rate is lower in the case of low ash, since the PWM pulse width is shorter, and it cannot be guaranteed that each group is assigned to a partial pulse. How to solve the problems of color cast and pocking of low-gray display and ensure high refresh rate of low-gray display is a problem to be solved in the current LED display driving algorithm.
Disclosure of Invention
In view of this, the application provides an LED display driving method, an apparatus, a chip, an electronic device, and a storage medium, which can solve the problems of color cast and pocking of the display under low gray, and improve the refresh rate under low gray, so as to improve the picture display effect of the LED display screen.
According to an aspect of the present application, there is provided an LED display driving method including: determining the total number of subframes, N+1 gray scale intervals and the number of subframes corresponding to each gray scale interval in the N+1 gray scale intervals; the total number of subframes represents the number of subframes contained in the target frame; n is a positive integer; the number of subframes corresponding to each gray scale interval is not greater than the total number of subframes; determining a first gray scale interval and a first subframe number L; the first gray scale interval is a gray scale interval in which the total gray scale value of the target frame is located in the n+1 gray scale intervals; the first subframe number L is the subframe number corresponding to the first gray scale interval; and distributing the total gray value into L subframes of the target frame.
In one possible implementation, determining the n+1 gray scale intervals includes: determining N low ash setpoints G 1 、……、G N The method comprises the steps of carrying out a first treatment on the surface of the The N low ash setting values G 1 、……、G N Are all unequal and are all greater than 0; when N is greater than 1, the N low ash setting values G 1 、……、G N Sequentially increasing; according to the N low ash setting values G 1 、……、G N Dividing to obtain the n+1 gray scale intervals; the n+1 gray scale intervals are
In one possible implementation manner, determining the number of subframes corresponding to each gray scale interval of the n+1 gray scale intervals includes: determining N subframes number K 1 、……、K N The method comprises the steps of carrying out a first treatment on the surface of the The N number of subframes K 1 、……、K N And the first N gray scale intervals of the n+1 gray scale intervalsOne-to-one correspondence; determining the total number of subframes as a gray scale intervalCorresponding sub-frame numbers.
In one possible implementation manner, the assigning the total gray value to L subframes of the target frame includes: determining the L subframes according to the gray scale allocation sequence number of each subframe in the target frame; the gray scale allocation sequence number of each subframe is used for expressing the gray scale value allocation priority of each subframe; and distributing the total gray value into the L subframes.
In one possible implementation manner, the assigning the total gray value to L subframes of the target frame includes: dividing the total gray value by L to obtain a first quotient D1 and a first remainder R1; if R1 is equal to 0, the total gray value is evenly distributed into the L subframes; if R1 is not equal to 0, determining R1 sub-frames in the L sub-frames according to the gray scale allocation sequence number of each sub-frame in the L sub-frames; for the R1 sub-frames, a gray value D1+1 is allocated for each sub-frame; and for other subframes except the R1 subframes in the L subframes, assigning a gray value D1 to each subframe.
In one possible implementation, when N is greater than 1, the N subframes number K 1 、……、K N Satisfy from K 1 To K N Which increases in turn.
In one possible implementation, if the total gray value is greater than G 1 The assigning the total gray value to the L subframes of the target frame includes: determining K in the L subframes according to the gray scale allocation sequence number of each subframe in the L subframes 1 A sub-frame; assigning a first gray value to the K 1 Within a sub-frame; the first gray value is equal to G 1 The method comprises the steps of carrying out a first treatment on the surface of the Assigning a second gray level value into the L subframes; the second gray value is equal to the total gray value minus the first gray value.
In a possible implementation, the assigning of the first gray value to the K 1 Within a subframeComprising: dividing the first gray value by K 1 Obtaining a second quotient value D2 and a second remainder R2; if R2 is equal to 0, the first gray value is evenly distributed to the K 1 Within a sub-frame; if R2 is not equal to 0, according to the K 1 A gray scale allocation sequence number of each subframe in the subframes, wherein the gray scale allocation sequence number is defined as K 1 Determining R2 subframes in the subframes; for the R2 subframes, a gray value D2+1 is allocated for each subframe; for the K 1 And allocating a gray value D2 to each subframe in other subframes except the R2 subframes in the subframes.
In one possible implementation, if the first gray scale interval is the i-th gray scale interval of the n+1 gray scale intervals,the assigning the total gray value to the L subframes of the target frame includes: determining a first tone optimization threshold; the first tone optimization threshold is not less than G i-1 /K i-1 The method comprises the steps of carrying out a first treatment on the surface of the Determining K in the L subframes according to the gray scale allocation sequence number of each subframe in the L subframes 1 A sub-frame; if the first tone optimizing threshold value is equal to K 1 Is not greater than the total gray value for the K 1 Sub-frames, and distributing gray values which are not smaller than the first color level optimization threshold value for each sub-frame; if the first tone optimizing threshold value is equal to K 1 The product of the (2) is larger than the total gray value, and the total gray value is divided by the first tone optimizing threshold to obtain a third quotient D3 and a third remainder R3; according to the K 1 A gray scale allocation sequence number of each subframe in the subframes, wherein the gray scale allocation sequence number is defined as K 1 Determining D3 subframes in the subframes; for the D3 subframes, assigning a gray value equal to the first tone optimization threshold to each subframe; assigning a third gray value to the K 1 The gray value of the subframes except the D3 subframes is allocated to the subframe with the highest priority; the third gray value is equal to R3.
In one possible implementation, G N And K N The method meets the following conditions:the method comprises the steps of carrying out a first treatment on the surface of the Wherein W is a second tone-scale optimization threshold; w is a positive integer.
In one possible implementation manner, before the assigning the total gray value into the L subframes of the target frame, the method further includes: determining the subframe sequence number of each subframe in the target frame according to the total number of subframes; and determining the gray scale allocation sequence number of each subframe according to the subframe sequence number of each subframe.
In one possible implementation manner, the assigning the total gray value to L subframes of the target frame includes: determining a third level optimization threshold; and in the case that the total gray level value is not greater than the third gray level optimization threshold, assigning the total gray level value to any subframe of the target frame.
According to another aspect of the present application, there is provided an LED display driving apparatus including: the first determining module is used for determining the total number of subframes, N+1 gray scale intervals and the number of subframes corresponding to each gray scale interval in the N+1 gray scale intervals; the total number of subframes represents the number of subframes contained in the target frame; n is a positive integer; the number of subframes corresponding to each gray scale interval is not greater than the total number of subframes; the second determining module is used for determining a first gray scale interval and a first subframe number L; the first gray scale interval is a gray scale interval in which the total gray scale value of the target frame is located in the n+1 gray scale intervals; the first subframe number L is the subframe number corresponding to the first gray scale interval; and the distribution module is used for distributing the total gray value into L subframes of the target frame.
In one possible implementation manner, the first determining module is further configured to: determining N low ash setpoints G 1 、……、G N The method comprises the steps of carrying out a first treatment on the surface of the The N low ash setting values G 1 、……、G N Are all unequal and are all greater than 0; when N is greater than 1, the N low ash setting values G 1 、……、G N Sequentially increasing; according to the N low ash setting values G 1 、……、G N Dividing to obtain the n+1 gray scale intervals; the n+1 gray scale intervals are
In one possible implementation manner, the first determining module is further configured to: determining N subframes number K 1 、……、K N The method comprises the steps of carrying out a first treatment on the surface of the The N number of subframes K 1 、……、K N And the first N gray scale intervals of the n+1 gray scale intervalsOne-to-one correspondence; determining the total number of subframes as a gray scale intervalCorresponding sub-frame numbers.
In one possible implementation, the allocation module is further configured to: determining the L subframes according to the gray scale allocation sequence number of each subframe in the target frame; the gray scale allocation sequence number of each subframe is used for expressing the gray scale value allocation priority of each subframe; and distributing the total gray value into the L subframes.
In one possible implementation, the allocation module is further configured to: dividing the total gray value by L to obtain a first quotient D1 and a first remainder R1; if R1 is equal to 0, the total gray value is evenly distributed into the L subframes; if R1 is not equal to 0, determining R1 sub-frames in the L sub-frames according to the gray scale allocation sequence number of each sub-frame in the L sub-frames; for the R1 sub-frames, a gray value D1+1 is allocated for each sub-frame; and for other subframes except the R1 subframes in the L subframes, assigning a gray value D1 to each subframe.
In one possible implementation, when N is greater than 1, the N subframes number K 1 、……、K N Satisfy from K 1 To K N Which increases in turn.
In one possible implementation, the allocation module is further configured to: if the total gray value is greater than G 1 Determining K in the L subframes according to the gray scale allocation sequence number of each subframe in the L subframes 1 A sub-frame; assigning a first gray value to the K 1 Within a sub-frame; the first gray value is equal to G 1 The method comprises the steps of carrying out a first treatment on the surface of the Will beA second gray value is distributed into the L subframes; the second gray value is equal to the total gray value minus the first gray value.
In one possible implementation, the allocation module is further configured to: dividing the first gray value by K 1 Obtaining a second quotient value D2 and a second remainder R2; if R2 is equal to 0, the first gray value is evenly distributed to the K 1 Within a sub-frame; if R2 is not equal to 0, according to the K 1 A gray scale allocation sequence number of each subframe in the subframes, wherein the gray scale allocation sequence number is defined as K 1 Determining R2 subframes in the subframes; for the R2 subframes, a gray value D2+1 is allocated for each subframe; for the K 1 And allocating a gray value D2 to each subframe in other subframes except the R2 subframes in the subframes.
In one possible implementation, the allocation module is further configured to: if the first gray scale interval is the i-th gray scale interval of the N +1 gray scale intervals, Determining a first tone optimization threshold; the first tone optimization threshold is not less than G i-1 /K i-1 The method comprises the steps of carrying out a first treatment on the surface of the Determining K in the L subframes according to the gray scale allocation sequence number of each subframe in the L subframes 1 A sub-frame; if the first tone optimizing threshold value is equal to K 1 Is not greater than the total gray value for the K 1 Sub-frames, and distributing gray values which are not smaller than the first color level optimization threshold value for each sub-frame; if the first tone optimizing threshold value is equal to K 1 The product of the (2) is larger than the total gray value, and the total gray value is divided by the first tone optimizing threshold to obtain a third quotient D3 and a third remainder R3; according to the K 1 A gray scale allocation sequence number of each subframe in the subframes, wherein the gray scale allocation sequence number is defined as K 1 Determining D3 subframes in the subframes; for the D3 subframes, assigning a gray value equal to the first tone optimization threshold to each subframe; assigning a third gray value to the K 1 The gray value of the subframes except the D3 subframes is allocated to the subframe with the highest priority; the third gray value is equal to R3.
In a kind ofIn a possible implementation, G N And K N The method meets the following conditions:the method comprises the steps of carrying out a first treatment on the surface of the Wherein W is a second tone-scale optimization threshold; w is a positive integer.
In one possible implementation, the apparatus further includes: a third determining module, configured to determine a subframe number of each subframe in the target frame according to the total number of subframes before the total gray value is allocated to L subframes of the target frame; and determining the gray scale allocation sequence number of each subframe according to the subframe sequence number of each subframe.
In one possible implementation, the allocation module is further configured to: determining a third level optimization threshold; and in the case that the total gray level value is not greater than the third gray level optimization threshold, assigning the total gray level value to any subframe of the target frame.
According to another aspect of the present application, an LED display driving chip is provided for implementing the above-mentioned LED display driving method.
According to another aspect of the present application, there is provided an LED display driving device including the above LED display driving chip.
According to another aspect of the present application, there is provided an electronic device including: a processor; a memory for storing processor-executable instructions; the processor is configured to implement the LED display driving method when executing the instructions stored in the memory.
According to another aspect of the present application, there is provided a non-transitory computer readable storage medium having stored thereon computer program instructions, wherein the computer program instructions, when executed by a processor, implement the above-described LED display driving method.
According to another aspect of the present application, there is provided a computer program product comprising a computer readable code, or a non-volatile computer readable storage medium carrying computer readable code, which when run in a processor of an electronic device, performs the above-described LED display driving method.
According to the LED display driving method, the plurality of gray intervals and the sub-frames corresponding to the gray intervals are set, the total gray values are distributed to the sub-frames with the corresponding number according to the gray interval where the total gray value of the target frame is located and the sub-frames corresponding to the gray interval, so that the excessively small gray values distributed to the sub-frames can be avoided, the excessively small sub-frames distributed to the gray values can be avoided, the problems of color cast and pocking of low gray display can be solved, the refreshing rate of the low gray display can be improved, and the picture display effect of the LED display screen can be improved.
Other features and aspects of the present application will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features and aspects of the present application and together with the description, serve to explain the principles of the present application.
Fig. 1 shows a schematic diagram of the effect of rise time on PWM pulse width.
FIG. 2 shows a schematic diagram of the SPWM algorithm driving an LED display screen for display.
Fig. 3 shows a schematic diagram of the assignment of gray values by a conventional SPWM algorithm.
Fig. 4 shows a schematic diagram of the assignment of gray values by a conventional SPWM algorithm and a low gray-scale optimized SPWM algorithm.
Fig. 5 shows a flowchart of an LED display driving method according to an embodiment of the present application.
Fig. 6 shows a schematic structural diagram of an LED display driving device according to an embodiment of the present application.
Fig. 7 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers indicate identical or functionally similar elements. Although various aspects of the embodiments are illustrated in the accompanying drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, numerous specific details are set forth in the following detailed description in order to provide a better understanding of the present application. It will be understood by those skilled in the art that the present application may be practiced without some of these specific details. In some instances, methods, means, elements, and circuits have not been described in detail as not to unnecessarily obscure the present application.
The PWM algorithm controls the brightness by controlling the PWM pulse width, and in a period of time, the wider the PWM pulse width is, the longer the LED lamp bead conduction time is, and the higher the lamp bead brightness is. The SPWM algorithm equally divides the time of a frame into a plurality of subframes, then breaks the on time of a frame into a plurality of sections, and evenly distributes the sections to each subframe for display. If the LED display screen is driven to display by adopting a PWM algorithm, the refresh rate is equal to the original frame rate of the picture; if the SPWM algorithm is adopted to drive the LED display screen to display, the refresh rate is equal to the product of the original frame rate and the number of subframes with gray values. For example, the original frame rate is 60Hz, and if a PWM algorithm is used, the refresh rate is 60Hz; if the SPWM algorithm is adopted, if the number of subframes of one frame is 2, the total gray value (namely the original gray value of one frame of picture) is scattered, and then 2 subframes are distributed to the gray value, and the refresh rate is 120Hz; if the number of subframes of one frame is 32, 20 subframes are allocated to the gray value after the total gray value is scattered, and the rest subframes are not allocated to the gray value, the refresh rate is 1200Hz.
After a frame is divided into a plurality of subframes by adopting the SPWM algorithm, each light bead in each row of the LED display screen needs to display the respective gray scale once in each subframe. Therefore, all lines are scanned once in each subframe, and the lamp beads of all channels in each line are displayed according to the respective gray values. Fig. 2 shows a schematic diagram of the SPWM algorithm driving an LED display screen to display, and as shown in fig. 2, assuming that the LED array is S rows, each frame includes G subframes, and the process of displaying by using the SPWM algorithm is as follows: firstly, scanning the 1 st row of the 1 st subframe according to the sequence, and scanning the 2 nd row of the 1 st subframe until all S rows of the first subframe are scanned; then scan line 1 of the 2 nd subframe, line 2 of the 2 nd subframe, … …, and so on, until all G subframes are scanned, and then display the picture of the next frame.
The traditional SPWM algorithm distributes the total gray value of a frame of picture in each subframe as uniformly as possible, divides the total gray value of a frame by the number of subframes of a frame to obtain a quotient value and a remainder, firstly distributes the gray value equal to the quotient value for each subframe, and then distributes the remainder to each subframe. FIG. 3 is a schematic diagram showing the gray scale value assignment of the conventional SPWM algorithm, as shown in FIG. 3, wherein a frame is divided into 64 subframes, and if the total gray scale value of a frame is 2048, the gray scale value assigned to each subframe is 32; if the total gray value of one frame is 64, the gray value allocated to each subframe is 1. The 1 gray scale value corresponds to 1 gray scale clock period GCLK, the total gray scale value of one frame is 2048, namely the on time of one frame is 2048 GCLK, 32 gray scale values are distributed in each subframe, which is equivalent to scattering the on time of one frame into 64 segments, and each segment of on time is 32 GCLK, namely, which is equivalent to scattering one PWM pulse with the width of 2048 GCLK into 64 PWM pulses with the width of 32 GCLK; the total gray value of one frame is 64, that is, the on time of one frame is 64 GCLK, and 1 gray value is allocated to each subframe, which is equivalent to breaking up the on time of one frame into 64 segments, and each segment of on time is 1 GCLK, that is, is equivalent to breaking up one PWM pulse with the width of 64 GCLK into 64 PWM pulses with the width of 1 GCLK. Due to the effect of the rise time, using the conventional SPWM algorithm to assign the total gray value to 64 subframes when the total gray value of one frame is 64 results in smaller gray values assigned in each subframe, i.e., smaller PWM pulse width within the subframe, which may result in the channel not being fully opened. Such gradation data that does not allow the channel to be correctly opened after being allocated to each sub-frame may be referred to as low gradation data. For low gray data, the conventional SPWM algorithm is applied to display, so that serious problems of color cast and pitting of the display are generated.
In order to solve the problems of color cast and pocking of the display under low gray, a low gray-level optimized SPWM algorithm is developed on the traditional SPWM algorithm. The low gray level optimization SPWM algorithm sets a color level optimization threshold, and when the total gray level value of a frame is not larger than the color level optimization threshold, the color level optimization threshold is not scattered and displayed, but is concentrated and placed in a certain subframe for display; when the total gray value of a frame is larger than the tone optimizing threshold, the gray value is allocated to the next subframe after the gray value allocated to one subframe reaches the tone optimizing threshold. FIG. 4 is a schematic diagram showing the assignment of gray values by the conventional SPWM algorithm and the low gray scale optimized SPWM algorithm, and as shown in FIG. 4, assuming that the total gray value of one frame is 7, the number of subframes is 4, the threshold of the low gray scale optimized SPWM algorithm is 3, if the conventional SPWM algorithm is adopted, the 1 st subframe, the 2 nd subframe, and the 3 rd subframe are assigned with gray values 2, and the 4 th subframe is assigned with gray values 1; if the SPWM algorithm is optimized by adopting low gray scale, the gray scale value 3 is allocated to the 1 st sub-frame and the 3 rd sub-frame, the gray scale value 2 is allocated to the 2 nd sub-frame, and the gray scale value is not allocated to the 4 th sub-frame.
The low gray level optimized SPWM algorithm can solve the problems of color cast and pocking of the display under low gray level, but because the low gray level optimized SPWM algorithm needs to allocate gray level to one subframe after the gray level allocated to the next subframe reaches the threshold for optimizing the gray level, some subframes may not be allocated to gray level during low gray level (for example, the 4 th subframe is not allocated to gray level when the low gray level optimized SPWM algorithm is adopted in fig. 4), which results in low refresh rate under low gray level.
In view of this, the embodiment of the application provides an LED display driving method, which can solve the problems of color cast and pocking marks of the display under low gray, and improve the refresh rate under low gray, so as to improve the picture display effect of the LED display screen. The LED display driving method can be applied to an LED display driving chip, for example, an LED direct display driving chip and an LED backlight driving chip. The LED display driving chip can be a general driving chip suitable for any one of a light-emitting diode display screen, a micro light-emitting diode display screen, a mini light-emitting diode display screen, a quantum dot light-emitting diode display screen and an organic light-emitting diode display screen.
Fig. 5 shows a flowchart of an LED display driving method according to an embodiment of the present application, which may be applied to an LED display driving chip, as shown in fig. 5, and may include:
s501, determining the total number of subframes, N+1 gray scale intervals and the number of subframes corresponding to each gray scale interval in the N+1 gray scale intervals; the total number of subframes represents the number of subframes contained in the target frame; n is a positive integer; and the number of subframes corresponding to each gray scale interval is not greater than the total number of subframes.
Illustratively, the target frame may be any frame in a frame to be displayed on the LED display screen, and the frame to be displayed may be a video frame, an advertisement frame, a monitoring frame, a broadcast frame, and the like.
For example, a person skilled in the art may determine the total number of subframes and the value of N according to the application scenario and the actual requirement.
As an example, the total number of subframes may be a power of 2, e.g., may be 8, i.e., the target frame may be divided into 8 subframes.
In one possible implementation, determining the n+1 gray scale intervals may include:
(1) Determining N low ash setpoints G 1 、……、G N The method comprises the steps of carrying out a first treatment on the surface of the The N low ash setting values G 1 、……、G N Are all unequal and are all greater than 0; when N is greater than 1, the N low ash setting values G 1 、……、G N Which increases in turn.
For example, a person skilled in the art may determine N low ash setting values according to the application scenario and actual requirements.
(2) According to the N low ash setting values G 1 、……、G N Dividing to obtain the n+1 gray scale intervals; the n+1 gray scale intervals are
Illustratively, the gray scale interval may be set according to N low gray scale settingsDivided into n+1 gray scale intervals
In one possible implementation manner, determining the number of subframes corresponding to each gray scale interval of the n+1 gray scale intervals may include:
(1) Determining N subframes number K 1 、……、K N The method comprises the steps of carrying out a first treatment on the surface of the The N number of subframes K 1 、……、K N And the first N gray scale intervals of the n+1 gray scale intervalsOne-to-one correspondence.
Wherein the first N gray scale intervalsThe number of subframes corresponding to the ith gray scale interval in (a) is K i I.e. gray scale interval [0,G ] 1 ]The corresponding subframe number is K 1 Gray scale interval (G 1 ,G 2 ]The corresponding subframe number is K 2 … …, and so on, gray scale intervalThe corresponding subframe number is K N
Illustratively, the person skilled in the art can determine the first N gray scale intervals according to the application scene and the actual requirementsCorresponding N number of subframes K 1 、……、K N N number of subframes K 1 、……、K N Are all positive integers.
Illustratively, with the first N gray scale intervalsCorresponding N number of subframes K 1 、……、K N Are smaller than the total number of subframes.
(2) Determining the total number of subframes as a gray scale intervalCorresponding sub-frame numbers.
S502, determining a first gray scale interval and a first subframe number L; the first gray scale interval is a gray scale interval in which the total gray scale value of the target frame is located in the n+1 gray scale intervals; the first subframe number L is a subframe number corresponding to the first gray scale interval.
S503, distributing the total gray value into L subframes of the target frame.
In one possible implementation manner, before the assigning the total gray value to the L subframes of the target frame, the method may further include: determining the subframe sequence number of each subframe in the target frame according to the total number of subframes; and determining the gray scale allocation sequence number of each subframe according to the subframe sequence number of each subframe.
The gray scale allocation sequence number of each subframe is used for indicating the gray scale value allocation priority of each subframe.
For example, in order to uniformly scatter the total gray values in the target frame as much as possible to secure the display effect, the priority of assigning the gray values to each subframe may be determined according to the gray assignment number of each subframe. For example, the smaller the gradation assignment number is, the higher the gradation value assignment priority is, i.e., the smaller the gradation assignment number is, the higher the gradation value is assigned to the subframe.
Illustratively, the subframe number of the subframe in the target frame may be sequentially increased by 1 from 0. For example, if the total number of subframes of the target frame is 8, the subframe number of the 1 st subframe is 0, the subframe number of the 2 nd subframe is 1, and so on, the subframe number of the 8 th subframe is 7.
Illustratively, determining the gray scale allocation sequence number of each subframe according to the subframe sequence number of each subframe may include:
(1) And for each subframe in the target frame, converting the subframe sequence number of the subframe from a decimal value to a binary value to obtain a binary subframe sequence number of the subframe.
As an example, the number of binary bits after converting the subframe number into a binary value can be determined based on the total number of subframes, thereby determining each subframe Two-way subframe sequence number. Let the total number of subframes be T, canThe binary digit number of the corresponding binary number value is determined as the binary digit number after the subframe number is converted into the binary number value, namely the binary digit number of the binary subframe number. For example, if the total number of subframes is 8, the binary number of the binary subframe number is a binary number corresponding to the decimal value 7, the decimal value 7 is converted into a binary number and then is 111, and if the binary number is 3, the binary number of the binary subframe number is 3, that is, the subframe number of each subframe can be converted from the decimal value into a binary number of 3 bits.
(2) And performing high-low level overturning operation on the binary subframe sequence number of the subframe to obtain a binary mirror subframe sequence number of the subframe.
As an example, the total number of subframes is 8, the subframe number of the 5 th subframe is 4, the subframe number 4 may be converted into a 3-bit binary subframe number 001, and the high-low bit flipping operation is performed on 001, i.e., the high bit and the low bit of the binary value 001 are converted to obtain the binary mirror subframe number 100.
(3) And converting the binary mirror sub-frame number of the sub-frame from a binary value to a decimal value to obtain the decimal mirror sub-frame number of the sub-frame.
(4) Judging whether the decimal mirror image subframe sequence number of the subframe is smaller than the total number of subframes or not; if the decimal mirror sub-frame number of the sub-frame is smaller than the total number of sub-frames, determining the decimal mirror sub-frame number of the sub-frame as the gray scale allocation number of the sub-frame; if the decimal mirror sub-frame number of the sub-frame is not less than the total number of sub-frames, performing a number increment operation on the sub-frame number iteration of the sub-frame to obtain an intermediate sub-frame number of the sub-frame, and determining the decimal mirror sub-frame number of the intermediate sub-frame number obtained by performing the number increment operation last time as the gray scale allocation number of the sub-frame until the decimal mirror sub-frame number of the intermediate sub-frame number obtained by performing the number increment operation is determined to be less than the total number of sub-frames; wherein the sequence number increment operation includes incrementing a first value.
As an example, the total number of subframes is 8, the subframe number of the 5 th subframe is 4, the corresponding binary subframe number is 001, the binary mirror subframe number is 100 after the high-low bit inversion, the decimal mirror subframe number is 1 obtained by converting 100 into a decimal value, and if 1 is smaller than the total number of subframes by 8, the decimal mirror subframe number can be determined as the gray scale allocation number, that is, the gray scale allocation number of the 5 th subframe is 1.
As another example, if the decimal mirror sub-frame number is not less than the total number of sub-frames, the sequence number increment operation may be performed on the sub-frame number to obtain an intermediate sub-frame number, and then the above steps are performed until the decimal mirror sub-frame number of the intermediate sub-frame number obtained by the last sequence number increment operation is less than the total number of sub-frames, where the decimal mirror sub-frame number of the intermediate sub-frame number obtained by the last sequence number increment operation may be determined as the gray scale allocation sequence number. The sequence number increment operation may be to increment the subframe sequence number by a first value each time, for example, an intermediate subframe sequence number may be obtained each time the subframe sequence number is incremented by 1.
In one embodiment, the total number of subframes is 8, and table 1 shows the subframe number, binary image subframe number, decimal image subframe number, and gradation assignment number of each subframe according to an embodiment of the present application. The order in which the gray values are assigned to each subframe can be determined according to table 1: the 1 st subframe is preferentially allocated with gray values, and then the gray values are allocated in the order of the 5 th subframe, the 3 rd subframe, the 7 th subframe, the 2 nd subframe, the 6 th subframe, the 4 th subframe, and the 8 th subframe.
TABLE 1
In one possible implementation manner, the assigning the total gray value to the L subframes of the target frame may include: determining the L subframes according to the gray scale allocation sequence number of each subframe in the target frame; and distributing the total gray value into the L subframes.
For example, the gray scale allocation sequence of each subframe in the target frame may be sorted from small to large, so as to obtain a first subframe sequence, and the order of the gray scale values allocated to each subframe may be determined according to the first subframe sequence. The total gray value of the target frame may be assigned to the first L subframes in the first sequence of subframes.
As an example, the total number of subframes is 8, the gray scale allocation sequence of each subframe may be sorted from small to large according to table 1, so as to obtain a first subframe sequence { 1st subframe, 5th subframe, 3rd subframe, 7th subframe, 2nd subframe, 6th subframe, 4th subframe, 8th subframe }, and if l=4, the total gray scale value of the target frame may be allocated to 1st subframe, 5th subframe, 3rd subframe, and 7th subframe.
According to the LED display driving method, the plurality of gray intervals and the sub-frames corresponding to the gray intervals are set, the total gray value is distributed to the sub-frames with the corresponding number according to the gray interval where the total gray value of the target frame is located and the sub-frames corresponding to the gray interval, so that the excessively small gray value distributed to the sub-frames can be avoided, the excessively small sub-frames distributed to the gray value can be avoided, the problems of color cast and pocking of low gray display can be solved, the refreshing rate of the low gray display can be improved, and the picture display effect of the LED display screen can be improved.
In one possible implementation, when N is greater than 1, the first N gray scale intervalsCorresponding N number of subframes K 1 、……、K N Can satisfy the requirement of K 1 To K N Which increases in turn. As an example of this, in one embodiment,an incremental sequence of sequentially increasing 1's may be used. Therefore, the display brightness can be ensured to be uniform, and the flicker phenomenon is avoided.
In one possible implementation manner, the total gray value of the target frame may be fully scattered in L subframes, i.e. the total gray value of the target frame is distributed into the L subframes as uniformly as possible; the assigning the total gray value to the L subframes of the target frame may include: dividing the total gray value by L to obtain a first quotient D1 and a first remainder R1; if R1 is equal to 0, the total gray value is evenly distributed into the L subframes; if R1 is not equal to 0, determining R1 sub-frames in the L sub-frames according to the gray scale allocation sequence number of each sub-frame in the L sub-frames; for the R1 sub-frames, a gray value D1+1 is allocated for each sub-frame; and for other subframes except the R1 subframes in the L subframes, assigning a gray value D1 to each subframe.
In one embodiment, the total number of subframes t=4 may be set, and 1 low ash setting G may be set 1 =8, can be according to G 1 Dividing into 2 gray scale intervals of [0,8 ]](8), ++ infinity a) of the above-mentioned components, can set 1 subframe number K 1 =2. Thus, the gray scale interval [0,8]The corresponding number of subframes is 2, which corresponds to the gray scale interval (8, + -infinity) corresponds to the number of subframes is 4, i.e. the total gray value in the target frame lies in the gray interval 0,8]When the method is used, the total gray value can be fully scattered in 2 subframes; the total gray value in the target frame lies in the gray interval (8, ++ infinity in the time-course of which the first and second contact surfaces, the total gray value may be fully broken up in 4 subframes. Table 2 shows the gray values allocated to each subframe when the total gray value of the target frame according to an embodiment of the present application is 0 to 20.
TABLE 2
As can be seen from table 2, if the total gray value of the target frame is 6, the total gray value 6 can be fully scattered within 2 subframes, dividing 6 by 2 to obtain a first quotient value d1=3, and the first remainder r1=0, and the total gray value 6 can be evenly distributed into two subframes with gray distribution sequence numbers 0 and 1, namely, the subframe with gray distribution sequence number 0 and the subframe with gray distribution sequence number 1 can be respectively distributed with gray value 3; if the total gray value of the target frame is 9, the total gray value 9 may be fully scattered within 4 subframes, and dividing 9 by 4 to obtain a first quotient d1=2, where the first remainder r1=1, the gray value 2+1=3 may be allocated to the subframe with the gray allocation sequence number 0, and the gray value 2 may be allocated to each of the subframe with the gray allocation sequence number 1, the subframe with the gray allocation sequence number 2, and the subframe with the gray allocation sequence number 3.
In this way, the LED display driving method according to the embodiment of the present application may break up the total gray value into L subframes as uniformly as possible according to the gray interval in which the total gray value of the target frame is located and the subframe number L corresponding to the gray interval, so that the gray value allocated in each subframe is avoided to be too small, and meanwhile, each subframe in the L subframes is ensured to be allocated to the gray value as much as possible, so that the subframe number allocated to the gray value is avoided to be too small, thereby improving the refresh rate under low gray while solving the problems of color cast and pocking under low gray, and further improving the picture display effect of the LED display screen.
In one possible implementation, if the total gray value of the target frame is greater than G 1 The gray value G can be 1 Front K in L subframes 1 The method comprises the steps of performing full scattering in subframes, and scattering the residual gray values in L subframes on the basis of the full scattering; the assigning the total gray value to the L subframes of the target frame may include:
(1) Determining K in the L subframes according to the gray scale allocation sequence number of each subframe in the L subframes 1 A sub-frame.
Illustratively, with the first N gray scale intervalsCorresponding N number of subframes K 1 、……、K N Satisfy from K 1 To K N Sequentially increasing, the total gray value of the target frame is larger than G 1 When the total gray value corresponds to the first subframe number L greater than the gray intervalCorresponding subframe number K 1 . The subframes can be ordered from small to large according to the gray distribution sequence number to obtain a first subframe sequence, and the first L subframes and the first K subframes in the first subframe sequence are determined 1 Sub-frame, the front K 1 The sub-frames are K in L sub-frames 1 Sub-frames。
(2) Assigning a first gray value to the K 1 Within a sub-frame; the first gray value is equal to G 1
Illustratively, a first gray value (i.e., gray value G 1 ) K before the first subframe sequence 1 Full scattering in sub-frames, the first gray scale value is allocated to the K 1 Within a subframe, may include: dividing the first gray value by K 1 Obtaining a second quotient value D2 and a second remainder R2; if R2 is equal to 0, the first gray value is evenly distributed to the K 1 Within a sub-frame; if R2 is not equal to 0, according to the K 1 A gray scale allocation sequence number of each subframe in the subframes, wherein the gray scale allocation sequence number is defined as K 1 Determining R2 subframes in the subframes; for the R2 subframes, a gray value D2+1 is allocated for each subframe; for the K 1 And allocating a gray value D2 to each subframe in other subframes except the R2 subframes in the subframes.
(3) Assigning a second gray level value into the L subframes; the second gray value is equal to the total gray value minus the first gray value.
Illustratively, the gray value G may be 1 Front K 1 G is removed from the total gray value on the basis of full scattering in the sub-frame 1 The remaining gray values are allocated within L subframes. The total gray value can be distributed in the L subframes as uniformly as possible on the basis of ensuring that each subframe in the L subframes is distributed to the gray value as much as possible.
In one embodiment, the total number of subframes t=4 may be set, and 1 low ash setting G may be set 1 =8, can be according to G 1 Dividing into 2 gray scale intervals of [0,8 ]](8), ++ infinity a) of the above-mentioned components, can set 1 subframe number K 1 =3. Thus, the gray scale interval [0,8]The corresponding subframe number is 3, which corresponds to the gray scale interval (8, + -infinity) corresponds to the number of subframes is 4, i.e. the total gray value in the target frame lies in the gray interval 0,8]When the method is used, the total gray value can be fully scattered in 3 subframes; the total gray value in the target frame lies in the gray interval (8, ++ infinity in the time-course of which the first and second contact surfaces, on the basis of full scattering of the grey value 8 in 3 subframes,the remaining gray values are allocated within 4 subframes. Table 3 shows the gray values allocated to each subframe when the total gray value of the target frame according to an embodiment of the present application is 0 to 20.
TABLE 3 Table 3
As can be seen from table 3, if the total gray value of the target frame is 8, the total gray value 8 can be fully broken up in 3 subframes, and dividing 8 by 3 to obtain a second quotient d2=2, where the second remainder r2=2, the gray value 2+1=3 can be allocated to the subframe with the gray allocation sequence number 0 and the subframe with the gray allocation sequence number 1, and the gray value 2 can be allocated to the subframe with the gray allocation sequence number 2; if the total gray value of the target frame is 9, the remaining gray value can be allocated to 4 subframes on the basis that the total gray value 8 is fully scattered in the first 3 subframes, namely, the remaining gray value 1 can be allocated to 4 subframes on the basis that the subframes with the gray allocation sequence number of 0 and the subframes with the gray allocation sequence number of 1 are allocated to the gray value of 3 and the subframes with the gray allocation sequence number of 2 are allocated to the gray value of 2, so that the gray value can be allocated to each subframe as much as possible, and the remaining gray value 1 can be allocated to the subframes with the gray allocation sequence number of 3; if the total gray value of the target frame is 11, the remaining gray values may be allocated to 4 subframes on the basis of performing total scattering of the total gray value 8 in the first 3 subframes, that is, on the basis of allocating the subframes with the gray allocation sequence number of 0 and the subframes with the gray allocation sequence number of 1 to the gray value of 3 and the subframes with the gray allocation sequence number of 2 to the gray value of 2, the remaining gray values 3 may be allocated to 4 subframes, and in order to ensure that each subframe can be allocated to a gray value and that the total gray value is allocated to 4 subframes as uniformly as possible, 1 gray value in the remaining gray values 3 may be allocated to the subframe with the gray allocation sequence number of 2, and 2 gray values in the remaining gray values 3 may be allocated to the subframe with the gray allocation sequence number of 3.
Thus, the total gray value of the LED display driving method in the embodiment of the application in the target frame is larger than G 1 In the case of (a), the gray value G can be obtained 1 Front K 1 The residual gray values are scattered in L subframes on the basis of the total scattering in the subframes, so that the distribution to the front K can be avoided 1 The gray value in the subframe is too small, so that the problems of color cast and pitting of the display under low gray can be solved; on the basis of ensuring that each subframe in the L subframes is allocated to the gray value as much as possible, the total gray value is allocated to the L subframes as much as possible, so that too few subframes allocated to the gray value can be avoided, the refresh rate under low gray can be improved, and the picture display effect of the LED display screen can be improved.
In one possible implementation, if the first gray scale interval is the i-th gray scale interval of n+1 gray scale intervals,the total gray value of the target frame may be broken up into L subframes, where the previous K 1 The threshold value of tone level optimization for scattering in the sub-frame is not less than G i-1 /K i-1 The method comprises the steps of carrying out a first treatment on the surface of the The assigning the total gray value to the L subframes of the target frame may include:
(1) Determining a first tone optimization threshold; the first tone optimization threshold is not less than G i-1 /K i-1
(2) Determining K in the L subframes according to the gray scale allocation sequence number of each subframe in the L subframes 1 A sub-frame.
Illustratively, with the first N gray scale intervalsCorresponding N number of subframes K 1 、……、K N Satisfy from K 1 To K N Sequentially increasing, in an ith gray scale interval in which the total gray scale value of the target frame is in N +1 gray scale intervals,when the total gray value corresponds to the first subframe number L greater than the gray intervalCorresponding subframe number K 1 . Can be used forSequencing all subframes from small to large according to the gray scale allocation sequence number to obtain a first subframe sequence, and determining the first L subframes and the first K in the first subframe sequence 1 Sub-frame, the front K 1 The sub-frames are K in L sub-frames 1 A sub-frame.
(3) If the first tone optimizing threshold value is equal to K 1 Is not greater than the total gray value, for theAnd sub-frames, and a gray value which is not smaller than the first color level optimization threshold value is allocated to each sub-frame.
Illustratively, let the first level optimization threshold be W 1 If W 1 And K is equal to 1 The product of (2) is not greater than the total gray value of the target frame, then for the first K in the first subframe sequence 1 Subframes, each subframe may be allocated with W or more 1 Gray values of (2); on the basis, the residual gray values can be distributed into L subframes, and on the basis of ensuring that each subframe in the L subframes is distributed with the gray values as much as possible, the total gray values are distributed into the L subframes as uniformly as possible. Thus can ensure the front K 1 The sub-gray value allocated to the sub-frame is not lower than the first color level optimizing threshold, so that the gray value allocated to each sub-frame is prevented from being too small, each sub-frame in the L sub-frames can be ensured to be allocated to the gray value as much as possible, the number of sub-frames allocated to the gray value is prevented from being too small, and therefore the problems of color cast and pitting of display under low gray are solved, and the refresh rate under low gray is improved.
(4) If the first tone optimizing threshold value is equal to K 1 The product of the (2) is larger than the total gray value, and the total gray value is divided by the first tone optimizing threshold to obtain a third quotient D3 and a third remainder R3; according to the K 1 A gray scale allocation sequence number of each subframe in the subframes, wherein the gray scale allocation sequence number is defined as K 1 Determining D3 subframes in the subframes; for the D3 subframes, assigning a gray value equal to the first tone optimization threshold to each subframe; assigning a third gray value to the K 1 The gray value of the subframes except the D3 subframes is allocated to the subframe with the highest priority; the saidThe third gray value is equal to R3.
Illustratively, let the first level optimization threshold be W 1 If W 1 And K is equal to 1 The product of (2) is larger than the total gray value of the target frame, the K is the front K from small to large according to the gray distribution sequence number 1 The sub-frame is allocated with gray values, only when the sub-gray value obtained by allocating one sub-frame reaches W 1 The gray value will be assigned to the next subframe. Therefore, the gray value distributed by each subframe is prevented from being too small, and the number of subframes distributed to the gray value is prevented from being too small, so that the problems of color cast and pitting of display under low gray can be solved, and the refresh rate under low gray can be improved.
As an example, the total number of subframes T and three sequentially increasing low ash setting values G may be set 1 、G 2 、G 3 Dividing the gray scale interval into [0,G ] 1 ],(G 1 ,G 2 ],(G 2 ,G 3 ],(G 3 ,). Can set 1 st gray scale interval [0,G ] 1 ]The corresponding subframe number is K 1 The 2 nd gray scale interval (G 1 ,G 2 ]The corresponding subframe number is K 2 The 3 rd gray scale interval (G 2 ,G 3 ]The corresponding subframe number is K 3 The 4 th gray scale interval (G 3 ,) The corresponding subframe number is T, wherein K 1 < K 2 < K 3 <T. If the total gray value of the target frame is within the 1 st gray interval [0,G ] 1 ]In which the total gray value can be set at K 1 Carrying out full scattering in the sub-frames; if the total gray level of the target frame is within the 2 nd gray level interval (G 1 ,G 2 ]In which the total gray value can be set at K 2 Scattering is performed within a subframe, wherein the previous K 1 The threshold value of tone level optimization for scattering in the sub-frame is not lower than G 1 /K 1 The method comprises the steps of carrying out a first treatment on the surface of the If the total gray level of the target frame is within the 3 rd gray level interval (G 2 ,G 3 ]In which the total gray value can be set at K 3 Scattering is performed within a subframe, wherein the previous K 1 The threshold value of tone level optimization for scattering in the sub-frame is not lower than G 2 /K 2 The method comprises the steps of carrying out a first treatment on the surface of the If the total gray level of the target frame is within the 4 th gray level interval (G 3 ,) In which the total gray values can be broken up in T subframes, where K is the first 1 The threshold value of tone level optimization for scattering in the sub-frame is not lower than G 3 /K 3
In one embodiment, the total number of subframes t=4 may be set, and 1 low ash setting G may be set 1 =8, can be according to G 1 Dividing into 2 gray scale intervals of [0,8 ]](8), ++ infinity a) of the above-mentioned components, can set 1 subframe number K 1 =2. Thus, the gray scale interval [0,8]The corresponding number of subframes is 2, which corresponds to the gray scale interval (8, + -infinity) corresponds to the number of subframes is 4, i.e. the total gray value in the target frame lies in the gray interval 0,8]When the method is used, the total gray value can be fully scattered in 2 subframes; the total gray value in the target frame lies in the gray interval (8, in +++) the time of the process, the total gray value may be scattered over 4 subframes, wherein the threshold value of tone level optimization for scattering in the first 2 subframes is not lower than G 1 /K 1 =4. Table 4 shows the gray values allocated to each subframe when the total gray value of the target frame according to an embodiment of the present application is 0 to 20.
TABLE 4 Table 4
As can be seen from table 4, if the total gray value of the target frame is 9, the remaining gray value can be allocated to 4 subframes on the basis of ensuring that the sub-gray value obtained by allocating the first 2 subframes is not lower than 4, the gray value 4 can be allocated to each of the subframes with the gray allocation sequence number of 0 and the subframes with the gray allocation sequence number of 1, the remaining gray value 1 can be allocated to 4 subframes on the basis of ensuring that each subframe can be allocated to the gray value as much as possible, and the remaining gray value 1 can be allocated to the subframe with the gray allocation sequence number of 3; if the total gray value of the target frame is 11, the remaining gray values can be allocated to 4 subframes on the basis of ensuring that the gray value obtained by allocating the previous 2 subframes is not lower than 4, the gray value 4 can be allocated to each of the subframes with the gray allocation sequence number of 0 and the subframes with the gray allocation sequence number of 1, the remaining gray value 3 can be allocated to 4 subframes on the basis of ensuring that each subframe can be allocated to the gray value as much as possible and ensuring that the total gray value is allocated to 4 subframes as uniformly as possible, 2 gray values in the remaining gray values 3 can be allocated to the subframes with the gray allocation sequence number of 2, and 1 gray value in the remaining gray values 3 can be allocated to the subframes with the gray allocation sequence number of 3.
Thus, when the total gray value of the target frame is in the ith gray interval, the LED display driving method according to the embodiment of the present application breaks up the total gray value into L subframes, where K is the previous gray value 1 The threshold value of tone level optimization for scattering in the sub-frame is not less than G i-1 /K i-1 Thereby can ensure the front K 1 The gray value allocated to each subframe can be quickly grown to a certain value, so that the problem that the PWM pulse width in each subframe is small to cause that a channel cannot be completely opened can be avoided, the influence of rising time on low-gray data can be reduced, and the problems of color cast and pitting of display under low gray can be solved; meanwhile, too few subframes allocated to the gray value can be avoided, so that the refresh rate under low gray can be ensured, and further the picture display effect of the LED display screen can be improved.
In one possible implementation, G N And K N The method meets the following conditions:the method comprises the steps of carrying out a first treatment on the surface of the Wherein W is a second tone-scale optimization threshold.
For example, a person skilled in the art may set the second level optimization threshold W according to the application scenario and the actual requirement, where W is a positive integer. Preferably, the value of W may be between 8 and 32, for example, W may be 16.
For example, in determining the number of subframes corresponding to each of n+1 gray scale intervals and n+1 gray scale intervals, G may be made N And K N Satisfy the following requirements
In one embodiment, the total number of subframes t=16, and the second level optimization threshold w=8 may be set. Can set 2 low ash setting values G 1 And G 2 ,G 1 =8,G 2 =24, which can be based on G 1 And G 2 Dividing into 3 gray scale intervals of [0,8 ]],(8,24],(24,). Can set 2 subframes K 1 And K 2 ,K 1 =2,K 2 =3; wherein K is 1 Is the sum gray scale interval [0,8]Corresponding subframe number, K 2 Is of the same gray scale interval (8, 24]The number of corresponding subframes, T, is the number of bits corresponding to the gray scale interval (24,) Corresponding subframe number G 2 And K 2 Satisfy the following requirements
Illustratively, ifThe total number of subframes is T, and the total gray value of the target frame is greater than G N In the above case, the low gray-level optimized SPWM algorithm with a threshold of tone-level optimization W may be used to assign the total gray-level value to T subframes.
In one embodiment, the total number of subframes t=8, the second tone-optimized threshold w=8, and 1 low gray setting G may be set 1 =16, can be according to G 1 Dividing into 2 gray scale intervals of [0,16 ]](16, ++ infinity a) of the above-mentioned components, can set 1 subframe number K 1 =2,G 1 And K 1 Satisfy the following requirements. Thus, the gray scale interval [0,16 ]]The corresponding number of subframes is 2, which corresponds to the gray scale interval (16, + -infinity) corresponds to the number of subframes is 8; the total gray value of the target frame is located in the gray interval[0,16]When the method is used, the total gray value can be fully scattered in 2 subframes; the total gray value in the target frame lies in the gray interval (16, ++ infinity in the time-course of which the first and second contact surfaces, the total gray value can be broken up in 8 subframes using a low gray-level optimized SPWM algorithm with a threshold of 8. Table 5 shows the gray values allocated to each subframe in the case where the total gray value of the target frame according to an embodiment of the present application is 0 to 40. Since the subframes with gradation assignment numbers 5, 6, and 7 are not assigned with gradation values, table 5 only lists the case of gradation values assigned with subframes with gradation assignment numbers 0,1, 2, 3, and 4 for convenience of presentation.
TABLE 5
In another embodiment, the total number of subframes t=8, the second tone level optimization threshold w=8, and 2 low gray settings G can be set 1 =8,G 2 =24, which can be based on G 1 And G 2 Dividing into 3 gray scale intervals of [0,8 ]],(8,24](24, ++ infinity a) of the above-mentioned components, can be set to 2 subframes, respectively K 1 =2,K 2 =3,G 2 And K 2 Satisfy the following requirements. Thus, the gray scale interval [0,8]The number of corresponding subframes is 2, and the number of subframes is equal to the number of gray intervals (8, 24]The corresponding subframe number is 3, which corresponds to the gray scale interval (24, + -infinity) corresponds to the number of subframes is 8; the total gray value of the target frame is within the gray interval [0,8 ]]When the method is used, the total gray value can be fully scattered in 2 subframes; the total gray value in the target frame lies in the gray interval (8, 24]When the gray value 8 is scattered in 2 subframes, the rest gray value can be scattered in 3 subframes; when the total gray level of the target frame is in the gray level interval (24, ++ infinity), the total gray level can be scattered in 8 subframes by adopting a low gray level optimization SPWM algorithm with a color level optimization threshold value of 8. Table 6 shows the gray values allocated to each subframe when the total gray value of the target frame according to an embodiment of the present application is 0 to 40. Due to the gray scale distribution sequence For convenience of illustration, table 6 only lists the gray values allocated to the subframes with gray allocation numbers of 0, 1, 2, 3, and 4.
TABLE 6
In another embodiment, the total number of subframes t=8, the second tone level optimization threshold w=8, and 3 low gray settings G can be set 1 =8,G 2 =15,G 3 =32, can be according to G 1 、G 2 And G 3 Dividing into 4 gray scale intervals of [0,8 ]],(8,15],(15,32](32, ++ infinity a) of the above-mentioned components, can set 3 subframes, respectively K 1 =2,K 2 =3,K 3 =4,G 3 And K 3 Satisfy the following requirements. Thus, the gray scale interval [0,8]The number of corresponding subframes is 2, and the number of subframes is equal to the number of gray intervals (8, 15]The number of subframes corresponding to the gray scale interval (15,32)]The number of corresponding subframes is 4, which corresponds to the gray scale interval (32, + -infinity) corresponds to the number of subframes is 8; the total gray value of the target frame is within the gray interval [0,8 ]]When the method is used, the total gray value can be fully scattered in 2 subframes; the total gray value in the target frame lies in the gray interval (8, 15]When the gray value 8 is scattered in 2 subframes, the rest gray value can be scattered in 3 subframes; the total gray value of the target frame is within the gray scale interval (15,32]When the gray value 8 is scattered in 2 subframes, the rest gray value is scattered in 4 subframes; the total gray value at the target frame lies in the gray interval (32, ++ infinity in the time-course of which the first and second contact surfaces, the total gray value can be broken up in 8 subframes using a low gray-level optimized SPWM algorithm with a threshold of 8. Table 7 shows the gray values allocated to each subframe in the case where the total gray value of the target frame according to an embodiment of the present application is 0 to 40. Since the subframes with gray scale allocation numbers 5, 6, and 7 are not allocated to gray scale values, for convenience of illustration, only gray scale division is listed in table 7 And the number of sub-frames with the sequence numbers of 0, 1, 2, 3 and 4 are allocated with the obtained gray values.
TABLE 7
/>
In another embodiment, the total number of subframes t=8, the second tone-level optimization threshold w=8, and 1 low gray setting G can be set 1 =24, which can be based on G 1 Dividing into 2 gray scale intervals of [0,24](24, ++ infinity a) of the above-mentioned components, can set 1 subframe number K 1 =3,G 1 And K 1 Satisfy the following requirements. Thus, the gray scale interval [0,24]The corresponding subframe number is 3, which corresponds to the gray scale interval (24, + -infinity) corresponds to the number of subframes is 8; the total gray value in the target frame lies in the gray interval [0,24]When the method is used, the total gray value can be fully scattered in 3 subframes; when the total gray level of the target frame is in the gray level interval (24, ++ infinity), the total gray level can be scattered in 8 subframes by adopting a low gray level optimization SPWM algorithm with a color level optimization threshold value of 8. Table 8 shows the gray values allocated to each subframe in the case where the total gray value of the target frame according to an embodiment of the present application is 0 to 40. Since the subframes with gradation assignment numbers 5, 6, and 7 are not assigned with gradation values, table 8 only lists the case of gradation values assigned with subframes with gradation assignment numbers 0, 1, 2, 3, and 4 for convenience of presentation.
TABLE 8
In one possible implementation, a third level optimization threshold may be determined; in the case where the total gray value of the target frame is not greater than the third gray level optimization threshold, the total gray value may be allocated into any one of subframes of the target frame.
For example, a person skilled in the art may set the third level optimization threshold according to the application scenario and the actual requirements. As an example, the third level optimization threshold may be set to 3, and when the total gray value of the target frame is not greater than 3, the scattering may not be performed, but the total gray value may be allocated to any one of the subframes of the target frame. This can avoid too small a gray value allocated in the sub-frame.
According to the LED display driving method, the plurality of gray intervals and the sub-frames corresponding to the gray intervals are set, the total gray value is distributed to the sub-frames with the corresponding number according to the gray interval where the total gray value of the target frame is located and the sub-frames corresponding to the gray interval, so that the excessively small gray value distributed to the sub-frames can be avoided, the excessively small sub-frames distributed to the gray value can be avoided, the problems of color cast and pocking of low gray display can be solved, the refreshing rate of the low gray display can be guaranteed, and the picture display effect of the LED display screen can be improved.
Based on the same conception of the LED display driving method, the embodiment of the application also provides an LED display driving device.
Fig. 6 is a schematic structural view of an LED display driving device according to an embodiment of the present application, and as shown in fig. 6, the device may include: a first determining module 601, configured to determine a total number of subframes, n+1 gray intervals, and subframes corresponding to each of the n+1 gray intervals; the total number of subframes represents the number of subframes contained in the target frame; n is a positive integer; the number of subframes corresponding to each gray scale interval is not greater than the total number of subframes; a second determining module 602, configured to determine a first gray scale interval and a first subframe number L; the first gray scale interval is a gray scale interval in which the total gray scale value of the target frame is located in the n+1 gray scale intervals; the first subframe number L is the subframe number corresponding to the first gray scale interval; an allocation module 603, configured to allocate the total gray value to L subframes of the target frame.
In a possible implementation manner, the first determining module 601 is further configured to: determining N low ash setpoints G 1 、……、G N The method comprises the steps of carrying out a first treatment on the surface of the The N low ash setting values G 1 、……、G N Are all unequal and are all greater than 0; when N is greater than 1, the N low ash Setting value G 1 、……、G N Sequentially increasing; according to the N low ash setting values G 1 、……、G N Dividing to obtain the n+1 gray scale intervals; the n+1 gray scale intervals are
In a possible implementation manner, the first determining module 601 is further configured to: determining N subframes number K 1 、……、K N The method comprises the steps of carrying out a first treatment on the surface of the The N number of subframes K 1 、……、K N And the first N gray scale intervals of the n+1 gray scale intervalsOne-to-one correspondence; determining the total number of subframes as a gray scale intervalCorresponding sub-frame numbers.
In a possible implementation manner, the allocation module 603 is further configured to: determining the L subframes according to the gray scale allocation sequence number of each subframe in the target frame; the gray scale allocation sequence number of each subframe is used for expressing the gray scale value allocation priority of each subframe; and distributing the total gray value into the L subframes.
In a possible implementation manner, the allocation module 603 is further configured to: dividing the total gray value by L to obtain a first quotient D1 and a first remainder R1; if R1 is equal to 0, the total gray value is evenly distributed into the L subframes; if R1 is not equal to 0, determining R1 sub-frames in the L sub-frames according to the gray scale allocation sequence number of each sub-frame in the L sub-frames; for the R1 sub-frames, a gray value D1+1 is allocated for each sub-frame; and for other subframes except the R1 subframes in the L subframes, assigning a gray value D1 to each subframe.
In one possible implementation, when N is greater than 1, the N subframes number K 1 、……、K N Satisfy from K 1 To K N Which increases in turn.
In one possible implementation, what isThe allocation module 603 is further configured to: if the total gray value is greater than G 1 Determining K in the L subframes according to the gray scale allocation sequence number of each subframe in the L subframes 1 A sub-frame; assigning a first gray value to the K 1 Within a sub-frame; the first gray value is equal to G 1 The method comprises the steps of carrying out a first treatment on the surface of the Assigning a second gray level value into the L subframes; the second gray value is equal to the total gray value minus the first gray value.
In a possible implementation manner, the allocation module 603 is further configured to: dividing the first gray value by K 1 Obtaining a second quotient value D2 and a second remainder R2; if R2 is equal to 0, the first gray value is evenly distributed to the K 1 Within a sub-frame; if R2 is not equal to 0, according to the K 1 A gray scale allocation sequence number of each subframe in the subframes, wherein the gray scale allocation sequence number is defined as K 1 Determining R2 subframes in the subframes; for the R2 subframes, a gray value D2+1 is allocated for each subframe; for the K 1 And allocating a gray value D2 to each subframe in other subframes except the R2 subframes in the subframes.
In a possible implementation manner, the allocation module 603 is further configured to: if the first gray scale interval is the i-th gray scale interval of the N +1 gray scale intervals,determining a first tone optimization threshold; the first tone optimization threshold is not less than G i-1 /K i-1 The method comprises the steps of carrying out a first treatment on the surface of the Determining K in the L subframes according to the gray scale allocation sequence number of each subframe in the L subframes 1 A sub-frame; if the first tone optimizing threshold value is equal to K 1 Is not greater than the total gray value for the K 1 Sub-frames, and distributing gray values which are not smaller than the first color level optimization threshold value for each sub-frame; if the first tone optimizing threshold value is equal to K 1 The product of the (2) is larger than the total gray value, and the total gray value is divided by the first tone optimizing threshold to obtain a third quotient D3 and a third remainder R3; according to the K 1 A gray scale allocation sequence number of each subframe in the subframes, wherein the gray scale allocation sequence number is defined as K 1 Determining D3 subframes in the subframes; for the followingThe D3 subframes are distributed with gray values equal to the first color level optimization threshold value for each subframe; assigning a third gray value to the K 1 The gray value of the subframes except the D3 subframes is allocated to the subframe with the highest priority; the third gray value is equal to R3.
In one possible implementation, G N And K N Satisfy the following requirementsThe method comprises the steps of carrying out a first treatment on the surface of the Wherein W is a second tone-scale optimization threshold; w is a positive integer.
In one possible implementation, the apparatus further includes: a third determining module, configured to determine a subframe number of each subframe in the target frame according to the total number of subframes before the total gray value is allocated to L subframes of the target frame; and determining the gray scale allocation sequence number of each subframe according to the subframe sequence number of each subframe.
In a possible implementation manner, the allocation module 603 is further configured to: determining a third level optimization threshold; and in the case that the total gray level value is not greater than the third gray level optimization threshold, assigning the total gray level value to any subframe of the target frame.
According to the LED display driving device, the plurality of gray intervals and the sub-frames corresponding to the gray intervals are set, the total gray values are distributed to the sub-frames with the corresponding number according to the gray interval where the total gray value of the target frame is located and the sub-frames corresponding to the gray interval, so that the excessively small gray values distributed to the sub-frames can be avoided, the excessively small sub-frames distributed to the gray values can be avoided, the problems of color cast and pocking of low gray can be solved, the refreshing rate of the low gray can be guaranteed, and the picture display effect of the LED display screen can be improved.
In some embodiments, functions or modules included in the apparatus provided in the embodiments of the present application may be used to perform the methods described in the foregoing method embodiments, and specific implementations thereof may refer to descriptions of the foregoing method embodiments, which are not repeated herein for brevity.
The embodiment of the application also provides an LED display driving chip, which can be used for realizing the LED display driving method, for example, the steps of the LED display driving method shown in fig. 5 can be realized.
The LED display driving chip may include an LED direct display driving chip and an LED backlight driving chip, for example.
The LED display driving chip may be a general driving chip suitable for any one of a light emitting diode display screen, a micro light emitting diode display screen, a mini light emitting diode display screen, a quantum dot light emitting diode display screen, and an organic light emitting diode display screen, and the general driving chip may be suitable for LED display screens with different LED bead arrangements, so that design cost and manufacturing cost may be reduced.
The embodiment of the application also provides an LED display driving device, which can comprise the LED display driving chip.
The LED display driving device may include the above-described LED display driving chip and a display screen connected to a driving output terminal of the LED display driving chip, and the LED display driving chip may drive the display screen according to the above-described LED display driving method. The display screen can be any one of a light emitting diode display screen, a micro light emitting diode display screen, a mini light emitting diode display screen, a quantum dot light emitting diode display screen and an organic light emitting diode display screen.
The embodiments of the present application also provide a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the above-described method. Illustratively, the steps of the LED display driving method shown in fig. 5 described above may be performed. The computer readable storage medium may be a volatile or nonvolatile computer readable storage medium.
The embodiment of the application also provides electronic equipment, which comprises: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the above-described method when executing the instructions stored by the memory. Illustratively, the steps of the LED display driving method shown in fig. 5 described above may be performed.
Embodiments of the present application also provide a computer program product comprising computer readable code, or a non-transitory computer readable storage medium carrying computer readable code, which when run in a processor of an electronic device, performs the above method. Illustratively, the steps of the LED display driving method shown in fig. 5 described above may be performed.
Fig. 7 shows a schematic structural diagram of an electronic device according to an embodiment of the present application. For example, electronic device 1900 may be provided as a server or terminal device. Referring to FIG. 7, electronic device 1900 includes a processing component 1922 that further includes one or more processors and memory resources represented by memory 1932 for storing instructions, such as application programs, that can be executed by processing component 1922. The application programs stored in memory 1932 may include one or more modules each corresponding to a set of instructions. Further, processing component 1922 is configured to execute instructions to perform the methods described above. Illustratively, the steps of the LED display driving method shown in fig. 5 described above may be performed.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output interface 1958 (I/O interface). The electronic device 1900 may operate an operating system based on a memory 1932, such as Windows Server TM ,Mac OS X TM ,Unix TM , Linux TM ,FreeBSD TM Or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 1932, including computer program instructions executable by processing component 1922 of electronic device 1900 to perform the methods described above. Illustratively, the steps of the LED display driving method shown in fig. 5 described above may be performed.
The present application may be a system, method, and/or computer program product. The computer program product may include a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement aspects of the present application.
The computer readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: portable computer disks, hard disks, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static Random Access Memory (SRAM), portable compact disk read-only memory (CD-ROM), digital Versatile Disks (DVD), memory sticks, floppy disks, mechanical coding devices, punch cards or in-groove structures such as punch cards or grooves having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, are not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., optical pulses through fiber optic cables), or electrical signals transmitted through wires.
The computer readable program instructions described herein may be downloaded from a computer readable storage medium to a respective computing/processing device or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing/processing device.
Computer program instructions for performing the operations of the present application may be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, c++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present application are implemented by personalizing electronic circuitry, such as programmable logic circuitry, field Programmable Gate Arrays (FPGAs), or Programmable Logic Arrays (PLAs), with state information for computer readable program instructions, which may execute the computer readable program instructions.
Various aspects of the present application are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The embodiments of the present application have been described above, the foregoing description is exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the technical improvements in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (17)

1. An LED display driving method, comprising:
determining the total number of subframes, N+1 gray scale intervals and the number of subframes corresponding to each gray scale interval in the N+1 gray scale intervals; the total number of subframes represents the number of subframes contained in the target frame; n is a positive integer; the number of subframes corresponding to each gray scale interval is not greater than the total number of subframes;
determining a first gray scale interval and a first subframe number L; the first gray scale interval is a gray scale interval in which the total gray scale value of the target frame is located in the n+1 gray scale intervals; the first subframe number L is the subframe number corresponding to the first gray scale interval;
And distributing the total gray value into L subframes of the target frame.
2. The method of claim 1, wherein determining the n+1 gray scale intervals comprises:
determining N low ash setpoints G 1 、……、G N The method comprises the steps of carrying out a first treatment on the surface of the The N low ash setting values G 1 、……、G N Are all unequal and are all greater than 0; when N is greater than 1, the N low ash setting values G 1 、……、G N Sequentially increasing;
according to the N low ash setting values G 1 、……、G N Dividing to obtain the n+1 gray scale intervals; the n+1 gray scale intervals are
3. The method of claim 2, wherein determining the number of subframes corresponding to each of the n+1 gray scale intervals comprises:
determining N subframes number K 1 、……、K N The method comprises the steps of carrying out a first treatment on the surface of the The N number of subframes K 1 、……、K N And the first N gray scale intervals of the n+1 gray scale intervalsOne-to-one correspondence;
determining the total number of subframes as a gray scale intervalCorresponding sub-frame numbers.
4. A method according to claim 3, wherein said assigning the total gray value into L subframes of the target frame comprises:
determining the L subframes according to the gray scale allocation sequence number of each subframe in the target frame; the gray scale allocation sequence number of each subframe is used for expressing the gray scale value allocation priority of each subframe;
And distributing the total gray value into the L subframes.
5. The method of claim 4, wherein said assigning the total gray value into L subframes of the target frame comprises:
dividing the total gray value by L to obtain a first quotient D1 and a first remainder R1;
if R1 is equal to 0, the total gray value is evenly distributed into the L subframes;
if R1 is not equal to 0, determining R1 sub-frames in the L sub-frames according to the gray scale allocation sequence number of each sub-frame in the L sub-frames; for the R1 sub-frames, a gray value D1+1 is allocated for each sub-frame; and for other subframes except the R1 subframes in the L subframes, assigning a gray value D1 to each subframe.
6. The method of claim 4, wherein when N is greater than 1, the N subframes number K 1 、……、K N Satisfy from K 1 To K N Which increases in turn.
7. The method of claim 6, wherein if the total gray value is greater than G 1 The assigning the total gray value to the L subframes of the target frame includes:
determining K in the L subframes according to the gray scale allocation sequence number of each subframe in the L subframes 1 A sub-frame;
assigning a first gray value to the K 1 Within a sub-frame; the first gray value is equal to G 1
Assigning a second gray level value into the L subframes; the second gray value is equal to the total gray value minus the first gray value.
8. The method of claim 7, wherein the assigning a first gray value to the K 1 Within a subframe, comprising:
dividing the first gray value by K 1 Obtaining a second quotient value D2 and a second remainder R2;
if R2 is equal to 0, the first gray value is evenly distributed to the K 1 Within a sub-frame;
if R2 is not equal to 0, according to the K 1 A gray scale allocation sequence number of each subframe in the subframes, wherein the gray scale allocation sequence number is defined as K 1 Determining R2 subframes in the subframes; for the R2 subframes, a gray value D2+1 is allocated for each subframe; for the K 1 And allocating a gray value D2 to each subframe in other subframes except the R2 subframes in the subframes.
9. The method of claim 6, wherein if the first gray scale interval is an ith gray scale interval of the n+1 gray scale intervals,the assigning the total gray value to the L subframes of the target frame includes:
determining a first tone optimization threshold; the first tone optimization thresholdNot less than G i-1 /K i-1
Determining K in the L subframes according to the gray scale allocation sequence number of each subframe in the L subframes 1 A sub-frame;
if the first tone optimizing threshold value is equal to K 1 Is not greater than the total gray value for the K 1 Sub-frames, and distributing gray values which are not smaller than the first color level optimization threshold value for each sub-frame;
if the first tone optimizing threshold value is equal to K 1 The product of the (2) is larger than the total gray value, and the total gray value is divided by the first tone optimizing threshold to obtain a third quotient D3 and a third remainder R3; according to the K 1 A gray scale allocation sequence number of each subframe in the subframes, wherein the gray scale allocation sequence number is defined as K 1 Determining D3 subframes in the subframes; for the D3 subframes, assigning a gray value equal to the first tone optimization threshold to each subframe; assigning a third gray value to the K 1 The gray value of the subframes except the D3 subframes is allocated to the subframe with the highest priority; the third gray value is equal to R3.
10. The method according to any one of claims 3-9, wherein G N And K N The method meets the following conditions:the method comprises the steps of carrying out a first treatment on the surface of the Wherein W is a second tone-scale optimization threshold; w is a positive integer.
11. The method of claim 4, wherein prior to said assigning said total gray values into L subframes of said target frame, said method further comprises:
Determining the subframe sequence number of each subframe in the target frame according to the total number of subframes;
and determining the gray scale allocation sequence number of each subframe according to the subframe sequence number of each subframe.
12. The method of claim 1, wherein said assigning the total gray value into L subframes of the target frame comprises:
determining a third level optimization threshold;
and in the case that the total gray level value is not greater than the third gray level optimization threshold, assigning the total gray level value to any subframe of the target frame.
13. An LED display driving apparatus, comprising:
the first determining module is used for determining the total number of subframes, N+1 gray scale intervals and the number of subframes corresponding to each gray scale interval in the N+1 gray scale intervals; the total number of subframes represents the number of subframes contained in the target frame; n is a positive integer; the number of subframes corresponding to each gray scale interval is not greater than the total number of subframes;
the second determining module is used for determining a first gray scale interval and a first subframe number L; the first gray scale interval is a gray scale interval in which the total gray scale value of the target frame is located in the n+1 gray scale intervals; the first subframe number L is the subframe number corresponding to the first gray scale interval;
And the distribution module is used for distributing the total gray value into L subframes of the target frame.
14. An LED display driver chip for implementing the method of any of claims 1-12.
15. An LED display driving device comprising the LED display driving chip according to claim 14.
16. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of any of claims 1-12 when executing the instructions stored by the memory.
17. A non-transitory computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of claims 1-12.
CN202410294973.4A 2024-03-14 2024-03-14 LED display driving method and device, chip and electronic equipment Pending CN117894270A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410294973.4A CN117894270A (en) 2024-03-14 2024-03-14 LED display driving method and device, chip and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410294973.4A CN117894270A (en) 2024-03-14 2024-03-14 LED display driving method and device, chip and electronic equipment

Publications (1)

Publication Number Publication Date
CN117894270A true CN117894270A (en) 2024-04-16

Family

ID=90639794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410294973.4A Pending CN117894270A (en) 2024-03-14 2024-03-14 LED display driving method and device, chip and electronic equipment

Country Status (1)

Country Link
CN (1) CN117894270A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070021977A (en) * 2003-11-17 2007-02-23 샤프 가부시키가이샤 Image display apparatus, electronic apparatus, liquid crystal tv, liquid crystal monitoring apparatus, image display method, and computer-readable recording medium
WO2022142732A1 (en) * 2020-12-30 2022-07-07 深圳市万普拉斯科技有限公司 Frame rate switching control method and apparatus, terminal device, and readable storage medium
CN114974088A (en) * 2022-05-27 2022-08-30 北京集创北方科技股份有限公司 LED display control method and device and LED display screen
CN115866838A (en) * 2021-09-27 2023-03-28 北京集创北方科技股份有限公司 LED driving pulse modulation method and circuit
TWI804331B (en) * 2022-05-27 2023-06-01 大陸商北京集創北方科技股份有限公司 Gray scale distribution control circuit, LED display driver chip and LED display device
CN116524851A (en) * 2023-07-04 2023-08-01 集创北方(成都)科技有限公司 LED display driving method, LED display driving chip and device and display panel
CN117456903A (en) * 2023-10-25 2024-01-26 北京集创北方科技股份有限公司 Driving method, driving chip and display device of display panel

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070021977A (en) * 2003-11-17 2007-02-23 샤프 가부시키가이샤 Image display apparatus, electronic apparatus, liquid crystal tv, liquid crystal monitoring apparatus, image display method, and computer-readable recording medium
WO2022142732A1 (en) * 2020-12-30 2022-07-07 深圳市万普拉斯科技有限公司 Frame rate switching control method and apparatus, terminal device, and readable storage medium
CN115866838A (en) * 2021-09-27 2023-03-28 北京集创北方科技股份有限公司 LED driving pulse modulation method and circuit
CN114974088A (en) * 2022-05-27 2022-08-30 北京集创北方科技股份有限公司 LED display control method and device and LED display screen
TWI804331B (en) * 2022-05-27 2023-06-01 大陸商北京集創北方科技股份有限公司 Gray scale distribution control circuit, LED display driver chip and LED display device
CN116524851A (en) * 2023-07-04 2023-08-01 集创北方(成都)科技有限公司 LED display driving method, LED display driving chip and device and display panel
CN117456903A (en) * 2023-10-25 2024-01-26 北京集创北方科技股份有限公司 Driving method, driving chip and display device of display panel

Similar Documents

Publication Publication Date Title
US10410570B2 (en) Light emitting diode display device and method for improving image quality using scheme of dividing frames into subframes
CN101231824B (en) Pulse width modulation dimming control method and display apparatus having pulse width modulation dimming control function
WO2018036085A1 (en) Oled pwm digital driving method and circuit
US20080055229A1 (en) Method for Enhancing Response Speed of Hold-Typed Display Device
EP0947977A2 (en) Motion induced pixel distortion reduction for digital display devices using apparent error minimisation
CN1514426A (en) Image display device
JP2005173387A (en) Image processing method, driving method of display device and display device
US11735097B2 (en) Light-emitting diode display device and method of operating the same
US10019951B2 (en) Display apparatus and method for driving display apparatus
CN1306464C (en) Planel display
CN110992900A (en) Liquid crystal display screen, backlight circuit and backlight driving method thereof
CN104978925B (en) Show equipment and its control method
CN116524851B (en) LED display driving method, LED display driving chip and device and display panel
CN115631720B (en) LED display screen driving chip and LED display screen
WO2016138678A1 (en) Method for driving active matrix organic light-emitting diode panel
CN115101007A (en) LED display screen, driving chip, driving assembly and data refreshing method thereof
US11070776B2 (en) Light source drive device, light source drive method, and display apparatus
KR101025800B1 (en) Display device capable of using both of global dimming and local dimming
US9311897B2 (en) Convergent matrix factorization based entire frame image processing
EP3101649A1 (en) Display panel driving apparatus, method of driving display panel using the same, and display apparatus having the same
CN115866838A (en) LED driving pulse modulation method and circuit
CN117894270A (en) LED display driving method and device, chip and electronic equipment
US20220270558A1 (en) Display device
TW201942893A (en) Digital driving of active matrix displays capable of increasing PWM depth
US9940868B2 (en) Convergent monotonic matrix factorization based entire frame image processing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination