LED display screen driving method, system, device, equipment and medium

Based on the ash gray value of the ascent screen according to the gray threshold and gray growth serial number in the LED display driver system, the ash value value of the ash screen is solved, and the screen flashing problem caused by unevenness of the grayscale value has achieved a better screen display effect. And more flexible frame rate adjustment.

CN115050314BActive Publication Date: 2025-01-28CHIPONE TECHNOLOGY (BEIJING) CO LTD

Patent Information

Application Number
CN202210730351.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-24
Publication Date
2025-01-28
Estimated Expiration
2042-06-24

AI Technical Summary

Technical Problem

In the existing LED display driver system, the uneven gray value dispersion leads to a decrease in the actual visual refresh rate when low gray, resulting in the problem of flickering and reduced display effect.

Method used

By based on the total gray value of LED lamp beads in the target frame screen and the amount of gray threshold, the total number of sub -frames or grayscale does not disperse the threshold, and combined with gray growth serial number, calculate the sub -gray of each subframe screen screen screen screen The degree value is to achieve the uniformity of the grayscale value.

Benefits of technology

The total gray value of the LED lamp beads in the LED display screen is uniformly dispersed, which improves the display effect of the screen, and adjusts the frame rate by adjusting the total number of frames, which reduces the maintenance complexity and the difficulty of debugging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115050314B_ABST
    Figure CN115050314B_ABST
Patent Text Reader

Abstract

The present application discloses a method, system, device, equipment and medium for driving an LED display screen, which is applied to the field of LED display technology to solve the problem of poor picture display effect caused by uneven grayscale value dispersion in the prior art. Specifically, for each LED lamp bead in the LED display screen, when it is determined that the total grayscale value of the LED lamp bead is greater than the grayscale threshold, the sub-grayscale value of the LED lamp bead in each sub-frame picture is determined based on the total grayscale value of the LED lamp bead, the total number of sub-frames and the grayscale growth sequence number of each sub-frame picture; otherwise, the sub-grayscale value of the LED lamp bead in each sub-frame picture is determined based on the total grayscale value of the LED lamp bead, the grayscale non-dispersion threshold and the grayscale growth sequence number of each sub-frame picture; based on the sub-grayscale value of each LED lamp bead in each sub-frame picture, the LED display screen is driven to display each sub-frame picture, so that the grayscale value can be evenly dispersed and the picture display effect can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of LED display technology, and in particular to a method, system, device, equipment and medium for driving an LED display screen. Background Art

[0002] At present, the driving system of the light emitting diode (LED) display screen generally adopts the scrambled pulse width modulation (SPWM) technology to control each LED lamp bead in the LED display screen so that the LED display screen displays the corresponding frame picture. The technical principle is to disperse the conduction time of a frame picture into several shorter conduction times and evenly distribute them in several sub-frame pictures to increase the visual refresh rate of the LED display screen. The implementation process is to first evenly distribute the time of a frame picture to N sub-frame pictures, and then divide the grayscale value of each LED lamp bead in the LED display screen on this frame picture into N parts as evenly as possible and distribute them to N sub-frame pictures respectively. Finally, in each sub-frame picture, the lighting time of each LED lamp bead in the LED display screen is the time corresponding to the grayscale value dispersed to the sub-frame picture.

[0003] Usually, in the LED display screen driving system, low gray non-dispersion is enabled on the basis of SPWM technology, that is, firstly, a non-dispersion threshold is preset. When the gray value is lower than or equal to the non-dispersion threshold, this gray value is only displayed in a certain sub-frame screen, and the other sub-frame screens are not displayed. When the gray value is greater than the non-dispersion threshold, the gray value is first assigned to one or several sub-frame screens, so that the gray values ​​in these sub-frame screens are equal to the non-dispersion threshold. If there are remaining gray values ​​after being assigned to one or several sub-frame screens, the remaining gray values ​​are assigned to another sub-frame screen. However, in the SPWM technology based on low gray non-dispersion, if the gray values ​​of each sub-frame screen are unevenly dispersed, the actual visual refresh rate at low gray will be reduced, so that the human eye will feel a certain degree of screen flickering, which reduces the display effect of the LED display screen. Summary of the invention

[0004] The embodiments of the present application provide an LED display screen driving method, system, device, equipment and medium, which are used to solve the problem in the prior art that the picture display of the LED display screen is abnormal and the picture display effect is poor due to the uneven dispersion of the grayscale values ​​of each LED lamp bead in the LED display screen, while being compatible with low gray and not scattered.

[0005] The technical solutions provided by the embodiments of this application are as follows:

[0006] On the one hand, an embodiment of the present application provides a method for driving an LED display screen, comprising:

[0007] For each LED lamp bead in the LED display screen, if it is determined that the total grayscale value of the LED lamp bead in the target frame picture is greater than the grayscale threshold, then based on the total grayscale value of the LED lamp bead in the target frame picture, the total number of subframes of the target frame picture and the grayscale growth sequence number of each subframe picture of the target frame picture, the sub-grayscale value of the LED lamp bead in each subframe picture of the target frame picture is determined; if it is determined that the total grayscale value of the LED lamp bead in the target frame picture is not greater than the grayscale threshold, then based on the total grayscale value of the LED lamp bead in the target frame picture, the grayscale non-dispersion threshold and the grayscale growth sequence number of each subframe picture of the target frame picture, the sub-grayscale value of the LED lamp bead in each subframe picture of the target frame picture is determined; wherein the grayscale growth sequence number is a parameter representing the grayscale allocation priority of the subframe picture determined based on the subframe sequence number of the subframe picture;

[0008] Based on the sub-grayscale values ​​of each LED lamp bead in the LED display screen in each sub-frame picture of the target frame picture, the LED display screen is driven to display each sub-frame picture of the target frame picture in sequence.

[0009] On the other hand, an embodiment of the present application provides an LED display screen driving system, comprising:

[0010] A memory, used to store the grayscale non-dispersion threshold, the total number of subframes of the target frame image, and the total grayscale value of each LED lamp bead in the LED display screen in the target frame image;

[0011] A sub-frame counter, used for generating a sub-frame sequence number of each sub-frame picture of the target frame picture;

[0012] A growth counter, used for generating a grayscale growth sequence number representing a grayscale allocation priority corresponding to each subframe picture of the target frame picture based on a subframe sequence number of each subframe picture of the target frame picture;

[0013] A comparator, used to compare the total grayscale value of each LED lamp bead in the target frame image stored in the memory with the grayscale threshold, and output the comparison result of each LED lamp bead;

[0014] A selector, for selecting one of the grayscale non-dispersion threshold and the total number of subframes stored in the memory based on the comparison results of each LED lamp bead output by the comparator, and outputting the selection results of each LED lamp bead;

[0015] A processor, configured to determine a sub-grayscale value of each LED lamp bead in each sub-frame picture of the target frame picture based on the selection result of each LED lamp bead output by the selector, the grayscale growth sequence number of each sub-frame picture of the target frame picture generated by the growth counter, and the total grayscale value of each LED lamp bead in the target frame picture stored in the memory;

[0016] The SPWM generator is used to generate SPWM pulses of each LED lamp bead in each sub-frame picture of the target frame picture based on the sub-grayscale value of each LED lamp bead in each sub-frame picture of the target frame picture, so as to drive the LED display screen to display each sub-frame picture of the target frame picture in sequence.

[0017] On the other hand, an embodiment of the present application provides an LED display screen driving device, comprising:

[0018] A processing unit is used for determining, for each LED lamp bead in the LED display screen, a sub-grayscale value of the LED lamp bead in each sub-frame picture of the target frame picture based on the total grayscale value of the LED lamp bead in the target frame picture, the total number of sub-frames of the target frame picture, and the grayscale growth sequence number of each sub-frame picture of the target frame picture if it is determined that the total grayscale value of the LED lamp bead in the target frame picture is greater than the grayscale threshold; if it is determined that the total grayscale value of the LED lamp bead in the target frame picture is not greater than the grayscale threshold, determining the sub-grayscale value of the LED lamp bead in each sub-frame picture of the target frame picture based on the total grayscale value of the LED lamp bead in the target frame picture, the grayscale non-dispersion threshold, and the grayscale growth sequence number of each sub-frame picture of the target frame picture; wherein the grayscale growth sequence number is a parameter representing the grayscale allocation priority of the sub-frame picture determined based on the sub-frame sequence number of the sub-frame picture;

[0019] The driving unit is used to drive the LED display screen to sequentially display each sub-frame picture of the target frame picture based on the sub-grayscale value of each LED lamp bead in the LED display screen in each sub-frame picture of the target frame picture.

[0020] On the other hand, an embodiment of the present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the LED display driving method provided in the embodiment of the present application is implemented.

[0021] On the other hand, an embodiment of the present application further provides a readable storage medium, which stores program instructions. When the program instructions are executed by a processor, the LED display screen driving method provided by the embodiment of the present application is implemented.

[0022] The beneficial effects of the embodiments of the present application are as follows:

[0023] In the embodiment of the present application, for each LED lamp bead in the LED display screen, the total number of subframes or the grayscale non-dispersion threshold is selected according to the size relationship between the total grayscale value of the LED lamp bead in the target frame picture and the grayscale threshold, and the sub-grayscale value of the LED lamp bead in each subframe picture of the target frame picture is calculated in combination with the total grayscale value of the LED lamp bead in the target frame picture and the grayscale growth sequence number of each subframe picture of the target frame picture. This can not only achieve uniform dispersion of the total grayscale values ​​of each LED lamp bead in the LED display screen and improve the picture display effect of the LED display screen, but also realize LED display screen driving based on any total number of subframes. In this way, on the one hand, when improving the picture display effect by increasing the visual refresh rate, the visual refresh rate can be slightly increased by slightly increasing the total number of subframes, that is, the visual refresh rate can be increased. It can change with a finer amplitude, so that the grayscale clock frequency can be increased with a finer amplitude, which minimizes the deterioration of the coupling phenomenon, reduces the deterioration of the low-gray display effect and reduces the increase in the power consumption of the LED driver chip, and can effectively alleviate the problem that the grayscale clock frequency increases exponentially, which causes serious coupling phenomenon, deterioration of the low-gray display effect, and exponential increase in the power consumption of the LED driver chip because the picture display effect can only be improved by doubling the visual refresh rate. On the other hand, the frame rate of the LED display can be adjusted by adjusting the total number of subframes, and there is no need to reduce the frame rate of the LED display by reducing the grayscale clock frequency, which can effectively avoid the problem that various display parameters of the LED display need to be reconfigured and adjusted due to the decrease of the grayscale clock, thereby reducing the maintenance complexity and debugging difficulty of the LED display.

[0024] Other features and advantages of the present application will be described in the following description, and in part, will become apparent from the description, or will be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0026] Figure 1 This is a schematic diagram of a traditional implementation method of low ash without dispersion in an embodiment of the present application;

[0027] Figure 2a A schematic diagram of a process of driving a LED display screen in an embodiment of the present application;

[0028] Figure 2bSchematic diagram of a driving method for each sub-frame of a target frame in an embodiment of the present application;

[0029] Figure 3a Another schematic diagram of the process of driving a LED display screen in an embodiment of the present application;

[0030] Figure 3b This is a schematic diagram of the change rule of the grayscale growth number generated by CNT in the embodiment of the present application;

[0031] Figure 4 This is a schematic diagram of the composition framework of the LED display screen driving system in the embodiment of the present application;

[0032] Figure 5 This is a functional structure diagram of the LED display screen driving device in the embodiment of the present application;

[0033] Figure 6 Schematic diagram of the hardware structure of the electronic device in the embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and beneficial effects of this application clearer, the technical solution in the embodiment of this application will be clearly and completely described below in conjunction with the drawings in the embodiment of this application. Obviously, the described embodiment is only a part of the embodiment of this application, not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0035] In order to facilitate those skilled in the art to better understand the present application, the technical terms involved in the present application are briefly introduced below.

[0036] ---The target frame is the picture to be displayed on the LED display screen, for example, video picture, advertising picture, monitoring picture, broadcast picture, etc.

[0037] ---Grayscale threshold, which is a parameter determined based on the grayscale non-dispersed threshold and the total number of subframes and is used to compare with the total grayscale value of the LED lamp bead in the target frame to determine whether to use the total number of subframes or the grayscale non-dispersed threshold to calculate the sub-grayscale value of the LED lamp bead in each subframe of the target frame.

[0038] ---Grayscale growth sequence number, which is a parameter representing the grayscale allocation priority of the subframe picture determined based on the subframe sequence number of the subframe picture. In the embodiment of the present application, the smaller the grayscale growth sequence number, the higher the grayscale allocation priority, and the greater the probability that the sub-grayscale value of the subframe picture is not 0.

[0039] ---The first value is a parameter used when performing a sequence number increment operation on the subframe sequence number iteration. In the embodiment of the present application, the first value may be, but is not limited to, 1.

[0040] ---The second value is a parameter used when determining the sub-grayscale value of the LED lamp bead in each sub-frame of the target frame based on the total grayscale value of the LED lamp bead in the target frame and the total number of sub-frames of the target frame. In the embodiment of the present application, the second value can be, but is not limited to, 1.

[0041] It should be noted that the terms "first", "second", etc. mentioned in this application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that such terms can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein.

[0042] After introducing the technical terms involved in this application, the application scenarios and design concepts of the embodiments of this application are briefly introduced.

[0043] Usually, the human eye has a certain visual retention threshold. When the time interval between two frames displayed on the LED display exceeds the visual retention threshold, the human eye will feel a certain degree of image flicker. In order to avoid this problem as much as possible, the time interval between the opening time periods of each adjacent LED lamp bead should be as similar as possible. A simple example is Figure 1 As shown in the figure, assuming that the total number of subframes in the target frame is 8, the total grayscale value of a certain LED lamp bead in the LED display screen in the target frame is 8, when the grayscale non-dispersion threshold is 4, the sub-grayscale value of the LED lamp bead in the first subframe and the fifth subframe is 4, and the sub-grayscale value in other subframes is 0; when low gray non-dispersion is not enabled, the sub-grayscale value of the LED lamp bead in each subframe is 1. However, in SPWM technology, one difficulty is how to distribute the total grayscale value of each LED lamp bead in the LED display screen in the target frame as evenly as possible on each subframe of the target frame. Based on this, the industry has proposed an SPWM technology based on the total number of subframes of powers of 2. The value range of the total number of subframes is limited to powers of 2, which has the following two shortcomings:

[0044] 1. If the visual refresh rate needs to be increased to improve the display effect when the frame rate remains unchanged, the total number of subframes can only be doubled, which will cause the grayscale clock frequency to double, and eventually lead to serious coupling, poor low-gray display effect, and increased power consumption of the LED driver chip. For example, if the current frame rate of the LED display is 60Hz and the total number of subframes is 64, the current visual refresh rate is 3840Hz. If the visual refresh rate needs to be increased to improve the display effect of the LED display, the total number of subframes can only be adjusted to 128, so that the visual refresh rate is increased to 7680Hz. At this time, the grayscale clock frequency also needs to be doubled, which will lead to worse coupling, poor low-gray display effect, and increased power consumption of the LED driver chip.

[0045] 2. If the frame rate of the LED display needs to be adjusted, when the frame rates before and after the adjustment are not in a power-of-2 relationship, the frame rate of the LED display can only be adjusted by adjusting the grayscale clock frequency. For example, if the current frame rate of the LED display needs to be adjusted from 60Hz to 50Hz, since 50Hz and 60Hz are not in a power-of-2 relationship, the frame rate cannot be adjusted by adjusting the total number of subframes. The frame rate can only be reduced by reducing the grayscale clock frequency. However, the reduction in the grayscale clock frequency will cause the various display parameters of the LED display to need to be reconfigured and adjusted, which is not conducive to the maintenance and debugging of the LED display.

[0046] In response to the above problems, an embodiment of the present application proposes an SPWM technology based on the total number of subframes being an arbitrary value. Specifically, first, for each LED lamp bead in the LED display screen, if it is determined that the total grayscale value of the LED lamp bead in the target frame image is greater than the grayscale threshold, then based on the total grayscale value of the LED lamp bead in the target frame image, the total number of subframes of the target frame image and the grayscale growth sequence number of each subframe image of the target frame image, the sub-grayscale value of the LED lamp bead in each subframe image of the target frame image is determined; if it is determined that the total grayscale value of the LED lamp bead in the target frame image is not greater than the grayscale threshold, then based on the total grayscale value of the LED lamp bead in the target frame image, the grayscale non-dispersion threshold and the grayscale growth sequence number of each subframe image of the target frame image, the sub-grayscale value of the LED lamp bead in each subframe image of the target frame image is determined; thereafter, based on the sub-grayscale values ​​of each LED lamp bead in each subframe image of the target frame image, the LED display screen is driven to display each subframe image of the target frame image in sequence.

[0047] In this way, for each LED lamp bead in the LED display screen, the total number of sub-frames or the grayscale non-dispersion threshold is selected according to the size relationship between the total grayscale value of the LED lamp bead in the target frame picture and the grayscale threshold, and the sub-grayscale value of the LED lamp bead in each sub-frame picture of the target frame picture is calculated in combination with the total grayscale value of the LED lamp bead in the target frame picture and the grayscale growth sequence number of each sub-frame picture of the target frame picture, so as to achieve uniform dispersion of the total grayscale value of each LED lamp bead in the LED display screen and improve the picture display effect of the LED display screen. Moreover, it is also possible to realize driving of an LED display screen based on any total number of subframes. Furthermore, on the one hand, when improving the display effect of the picture by increasing the visual refresh rate, a small increase in the visual refresh rate can be achieved by slightly increasing the total number of subframes, that is, the visual refresh rate can be changed in a finer range, so that the grayscale clock frequency can be increased in a finer range, thereby minimizing the deterioration of the coupling phenomenon, reducing the deterioration of the low-gray display effect, and reducing the increase in the power consumption of the LED driver chip. Therefore, it can effectively alleviate the problem that the grayscale clock frequency is doubled, which causes serious coupling phenomenon, deterioration of the low-gray display effect, and doubling of the power consumption of the LED driver chip because the picture display effect can only be improved by doubling the visual refresh rate. For example, the current frame rate of the LED display screen is 60Hz, the total number of subframes is 64, and the current visual refresh rate is 3840Hz. If the visual refresh rate needs to be increased to further improve the picture display effect, the total number of subframes can be adjusted to 65, so that the visual refresh rate is increased to 3900Hz, and the grayscale clock The frequency only needs to be increased by 1 / 64 times. Compared with increasing the total number of subframes by a power of 2, it can minimize the deterioration of the coupling phenomenon, reduce the deterioration of the low-gray display effect, and reduce the increase in power consumption of the LED driver chip. On the other hand, the frame rate of the LED display can be adjusted by adjusting the total number of subframes, and there is no need to reduce the frame rate of the LED display by reducing the grayscale clock frequency, thereby effectively avoiding the problem that various display parameters of the LED display need to be reconfigured and adjusted due to the reduction of the grayscale clock, thereby reducing the maintenance complexity and debugging difficulty of the LED display. For example, if the current frame rate of the LED display needs to be adjusted from 60Hz to 50Hz, it is only necessary to adjust the total number of subframes to 1.2 times the original number and discard the decimal part to round it up as the new total number of subframes. There is no need to adjust the frame rate of the LED display by adjusting the grayscale clock frequency, thereby effectively avoiding the problem that various display parameters of the LED display need to be reconfigured and adjusted due to the reduction of the grayscale clock frequency, thereby reducing the maintenance complexity and debugging difficulty of the LED display.

[0048] After introducing the application scenarios and design concepts of the embodiments of the present application, the technical solutions provided by the embodiments of the present application are described in detail below.

[0049] The embodiment of the present application provides a method for driving an LED display screen, which can be applied to an LED driver chip of any display screen among 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, wherein the LED driver chip can be a universal driver chip applicable to the above-mentioned various display screens, and the universal driver chip is applicable to LED display panels with different LED lamp bead arrangements, thereby reducing design costs and manufacturing costs. Figure 2a As shown, the general process of the LED display screen driving method provided in the embodiment of the present application is as follows:

[0050] Step 201: For each LED lamp bead in the LED display screen, if it is determined that the total grayscale value of the LED lamp bead in the target frame image is greater than the grayscale threshold, then based on the total grayscale value of the LED lamp bead in the target frame image, the total number of subframes of the target frame image and the grayscale growth sequence number of each subframe image of the target frame image, the sub-grayscale value of the LED lamp bead in each subframe image of the target frame image is determined; if it is determined that the total grayscale value of the LED lamp bead in the target frame image is not greater than the grayscale threshold, then based on the total grayscale value of the LED lamp bead in the target frame image, the grayscale non-dispersion threshold value and the grayscale growth sequence number of each subframe image of the target frame image, the sub-grayscale value of the LED lamp bead in each subframe image of the target frame image is determined.

[0051] In specific implementation, in order to improve the accuracy of the sub-grayscale value of each LED lamp bead in each sub-frame of the target frame, the LED driver chip can determine the grayscale threshold by multiplying the grayscale non-dispersion threshold and the total number of sub-frames; wherein, the total number of sub-frames can be any natural number from 1 to 512, and the grayscale non-dispersion threshold can be a natural number greater than 1 when the low-gray non-dispersion is turned on, and can be 1 when the low-gray non-dispersion is not turned on. In this way, for each LED lamp bead in the LED display, the sub-grayscale value of the LED lamp bead in each sub-frame of the target frame can be compared with the grayscale threshold, and the grayscale non-dispersion threshold or the total number of sub-frames is selected according to the comparison result, combined with the grayscale growth sequence number of each sub-frame of the target frame and the total grayscale value of the LED lamp bead in the target frame, to determine the sub-grayscale value of the LED lamp bead in each sub-frame of the target frame.

[0052] Step 202: Based on the sub-grayscale values ​​of each LED lamp bead in the LED display screen in each sub-frame picture of the target frame picture, drive the LED display screen to sequentially display each sub-frame picture of the target frame picture.

[0053] In a specific implementation, the LED driver chip can generate SPWM pulses for each LED lamp bead in each sub-frame of the target frame based on the sub-grayscale values ​​of each LED lamp bead in each sub-frame of the target frame, and drive the LED display screen to display each sub-frame of the target frame in sequence based on the SPWM pulses of each LED lamp bead in each sub-frame of the target frame, thereby completing the driving operation of the LED display screen to display the target frame.

[0054] In actual applications, when the LED driver chip drives each sub-frame of the target frame, each sub-frame is driven in sequence, and in each sub-frame image, each row of LED lamp beads displays its own sub-grayscale value in turn, for example, all rows of the first sub-frame image are displayed first, then all rows of the second sub-frame image are displayed, and so on, until all sub-frame images are displayed, and then the next target frame image is driven. Figure 2b As shown, the LED display screen includes 7 rows of LED lamp beads, and each target frame image corresponds to 8 sub-frame images. At the beginning of the first sub-frame image, the LED lamp beads in the first row are scanned first, so as to realize the driving of the LED lamp beads in each column of the first row based on the sub-grayscale value, and then the LED lamp beads in the second row are scanned, so as to realize the driving of the LED lamp beads in each column of the second row based on the sub-grayscale value, and so on, until the LED lamp beads in the seventh row are scanned, so as to realize the driving of the LED lamp beads in each column of the seventh row based on the sub-grayscale value, and then, the LED lamp beads in the first row of the second sub-frame image, the LED lamp beads in the second row of the second sub-frame image, ..., the LED lamp beads in the seventh row of the second sub-frame image, the LED lamp beads in the first row of the third sub-frame image, ..., the LED lamp beads in the seventh row of the eighth sub-frame image are scanned, and the display of one target frame image ends, and then the next target frame image continues the cycle.

[0055] In the embodiment of the present application, in order to evenly disperse the total grayscale values ​​of each LED lamp bead in the LED display screen in the target frame picture as much as possible, the LED driver chip can also determine the grayscale growth sequence number of each subframe picture of the target frame picture based on the subframe sequence number of each subframe picture of the target frame picture before determining the sub-grayscale value of each LED lamp bead in the LED display screen in each subframe picture of the target frame picture. In the specific implementation, the LED driver chip can first perform a high-low bit flip operation on the binary number of the subframe sequence number of each subframe picture of the target frame picture, and after obtaining the mirror subframe sequence number of the subframe picture, determine the grayscale growth sequence number of the subframe picture based on the mirror subframe sequence number of the subframe picture. Specifically, if it is determined that the mirror subframe sequence number of the subframe picture is less than the total number of subframes, the mirror subframe sequence number of the subframe picture is determined as the grayscale growth sequence number of the subframe picture; if it is determined that the mirror subframe sequence number of the subframe picture is not less than the total number of subframes, the sequence number increment operation is iteratively performed on the subframe sequence number of the subframe picture until it is determined that the mirror subframe sequence number of the intermediate subframe sequence number obtained by performing the sequence number increment operation is less than the total number of subframes, and the mirror subframe sequence number of the intermediate subframe sequence number obtained by performing the sequence number increment operation for the last time is determined as the grayscale growth sequence number of the subframe picture, wherein the sequence number increment operation includes increasing the first numerical value.

[0056] For example, assuming that the total number of subframes of each target frame is P (P is an integer greater than 1), the LED driver chip can use but is not limited to the following methods when determining the grayscale growth sequence number of each subframe of the target frame based on the subframe sequence number of each subframe of the target frame:

[0057] First, generate an N-bit growth counter CNT; wherein, when the subframe sequence numbers of each subframe of the target frame are counted from 0, N is the binary digit number of M (M=P-1); for example, if P=5, then M=P-1=4, and M is represented by a binary number of 100, then "1", "0", and "0" are each counted as 1 bit, for a total of 3 bits, that is, N=3; for another example, if P=12, then M=P-1=11, and M is represented by a binary number of 1011, then "1", "0", "1", and "1" are each counted as 1 bit, for a total of 4 bits, that is, N=4; for another example, if P=16, then M=P-1=15, and M is represented by a binary number of 1111, then 4 "1"s are each counted as 1 bit, for a total of 4 bits, that is, N=4.

[0058] Then, when starting to calculate the grayscale growth number of the first subframe of the target frame, the count value of CNT is set to 0 as the subframe number, and when starting to calculate the grayscale growth number of each other subframe of the target frame, the count value of CNT is added by 1 as the subframe number.

[0059] Secondly, for each sub-frame of the target frame, the binary number of the sub-frame sequence number (i.e., the count value of CNT) of the sub-frame is flipped to obtain the mirror sub-frame sequence number of the sub-frame. For example, the sub-frame sequence number CNT[N-1:0] of the sub-frame is 6, the binary number is 110, and the high and low bits are flipped to 011, and the decimal number is 3, that is, the mirror sub-frame sequence number CNT[0:N-1] of the sub-frame is 3. For another example, the sub-frame sequence number CNT[N-1:0] of the sub-frame is 14, the binary number is 1110, and the high and low bits are flipped to 0111, and the decimal number is 7, that is, the mirror sub-frame sequence number CNT[0:N-1] of the sub-frame is 7.

[0060] Finally, for each sub-frame of the target frame, the mirror sub-frame sequence number of the sub-frame is compared with the total number of sub-frames P; if it is determined that the mirror sub-frame sequence number of the sub-frame is less than the total number of sub-frames P, the mirror sub-frame sequence number of the sub-frame is determined as the grayscale growth sequence number of the sub-frame; if it is determined that the mirror sub-frame sequence number of the sub-frame is greater than or equal to the total number of sub-frames P, the sub-frame sequence number of the sub-frame (i.e., the count value of CNT) is iteratively incremented (e.g., iteratively incremented by 1) until it is determined that the mirror sub-frame sequence number of the intermediate sub-frame sequence number obtained by executing the sequence increment operation (i.e., the count value after CNT is iteratively incremented by 1) is less than the total number of sub-frames P, and the mirror sub-frame sequence number of the intermediate sub-frame sequence number obtained by the last execution of the sequence increment operation is determined as the grayscale growth sequence number of the sub-frame.

[0061] Furthermore, the LED driver chip can calculate the sub-total grayscale value of each LED lamp bead in the LED display screen in each sub-frame screen of the target frame screen after determining the grayscale growth sequence number of each sub-frame screen of the target frame screen based on the sub-frame sequence number of each sub-frame screen of the target frame screen. In a specific implementation, the LED driver chip can first compare the total grayscale value of each LED lamp bead in the target frame screen with the grayscale threshold for each LED lamp bead in the LED display screen; if it is determined that the total grayscale value of the LED lamp bead in the target frame screen is greater than the grayscale threshold, then the total grayscale value of the LED lamp bead in the target frame screen can be divided by the total number of sub-frames of the target frame screen to obtain a first quotient and a first remainder. For each sub-frame screen of the target frame screen, if it is determined that the first remainder is greater than the grayscale growth sequence number of the sub-frame screen, then the sub-grayscale value of the LED lamp bead in the sub-frame screen is determined to be the sum of the first quotient and the second value; if it is determined that the first remainder is not greater than the grayscale growth sequence number of the sub-frame screen, then the LED lamp bead in the sub-frame screen is divided. The sub-grayscale value of the LED lamp bead is determined as the first quotient value; if it is determined that the total grayscale value of the LED lamp bead in the target frame picture is not greater than the grayscale threshold, the total grayscale value of the LED lamp bead in the target frame picture can be divided by the grayscale non-dispersed threshold to obtain a second quotient value and a second remainder. For each sub-frame picture of the target frame picture, if it is determined that the second quotient value is greater than the grayscale growth sequence number of the sub-frame picture, the sub-grayscale value of the LED lamp bead in the sub-frame picture is determined as the grayscale non-dispersed threshold; if it is determined that the second quotient value is equal to the grayscale growth sequence number of the sub-frame picture, the sub-grayscale value of the LED lamp bead in the sub-frame picture is determined as the second remainder; if it is determined that the second quotient value is less than the grayscale growth sequence number of the sub-frame picture, the sub-grayscale value of the LED lamp bead in the sub-frame picture is determined to be 0.

[0062] For example: Assume that the total number of subframes in each target frame is P (P is an integer greater than 1), and the grayscale non-dispersion threshold is Q. When the low grayscale non-dispersion is not turned on, Q=1 is set, and when the low grayscale non-dispersion is turned on, Q is set to a value greater than 1. Then, when the LED driver chip calculates the sub-total grayscale value of each LED lamp bead in the LED display screen in each subframe of the target frame, it can adopt but is not limited to the following methods:

[0063] Step 1: For each LED lamp bead in the LED display screen, determine whether the total grayscale value K of the LED lamp bead in the target frame is greater than the product of the total number of subframes P and the grayscale non-dispersion threshold Q; if K>P*Q, proceed to step 2A-3A; if K<=P*Q, proceed to step 2B-3B.

[0064] Step 2A: Divide the total grayscale value K of the LED lamp bead in the target frame by the total number of subframes P to obtain a first quotient J and a first remainder L.

[0065] Step 3A: For each sub-frame image of the target frame image, determine the magnitude relationship between the first remainder L and the gray-scale growth sequence numbers CNT[0:N-1] of this sub-frame image; if L>CNT[0:N-1], then determine the sub-gray value of this LED bead in this sub-frame image as the first quotient value J+1 (i.e., the second numerical value); if K≤CNT[0:N-1], then determine the sub-gray value of this LED bead in this sub-frame image as the first quotient value J.

[0066] Step 2B: Divide the total gray value K of this LED bead in the target frame image by the gray-scale non-scattering threshold Q to obtain a second quotient value S and a second remainder T.

[0067] Step 3B: For each sub-frame image of the target frame image, determine the magnitude relationship between the second quotient value S and the gray-scale growth sequence numbers CNT[0:N-1] of this sub-frame image; if S>CNT[0:N-1], then determine the sub-gray value of this LED bead in this sub-frame image as the gray-scale non-scattering threshold Q; if S=CNT[0:N-1], then determine the sub-gray value of this LED bead in this sub-frame image as the second remainder T; if S<CNT[0:N-1], then determine the sub-gray value of this LED bead in this sub-frame image as 0, that is, not displayed.

[0068] The following takes "gray-scale non-scattering threshold Q = 4, the total number of sub-frames P of each target frame image = 12, M = P - 1 = 11, the number of binary digits N of the binary number 1100 = 4, and the sub-frame counter and growth counter are 4-bit counters" as an example to further elaborate on the LED display driving method provided by the embodiments of the present application. Refer to Figure 3a As shown, the specific process of the LED display driving method provided by the embodiments of the present application is as follows:

[0069] Step 301: Generate a 4-bit growth counter CNT.

[0070] Step 302: Generate the gray-scale growth sequence numbers of each sub-frame image of the target frame image through CNT.

[0071] Among them, as Figure 3b shown, within each sub-frame image of the target frame image, the count value CNT[3:0] of CNT changes according to the following rules:

[0072] At the start of the first sub-frame image, the sub-frame sequence number CNT[3:0] of the first sub-frame image = 0 = 0000, then the mirror sub-frame sequence number CNT[0:3] of the first sub-frame image = 000 = 0; because 0<P, so in the first sub-frame image, after CNT becomes 0, it no longer changes within the current sub-frame image, that is, the gray-scale growth sequence number CNT[0:3] of the first sub-frame image is 0;

[0073] At the start of the second sub-frame image, the sub-frame sequence number CNT[3:0] of the second sub-frame image = 0 + 1 = 1 = 0001. Then, the mirror sub-frame sequence number CNT[0:3] of the second sub-frame image = 1000 = 8. Since 8 < P, in the second sub-frame image, after CNT becomes 1, it no longer changes within the current sub-frame image. That is, the gray-scale growth sequence number CNT[0:3] of the second sub-frame image is 8.

[0074] At the start of the third sub-frame image, the sub-frame sequence number CNT[3:0] of the third sub-frame image = 1 + 1 = 2 = 0010. Then, the mirror sub-frame sequence number CNT[0:3] of the third sub-frame image = 0100 = 4. Since 4 < P, in the third sub-frame image, after CNT becomes 2, it no longer changes within the current sub-frame image. That is, the gray-scale growth sequence number CNT[0:3] of the third sub-frame image is 4.

[0075] At the start of the fourth sub-frame image, the sub-frame sequence number CNT[3:0] of the fourth sub-frame image = 2 + 1 = 3 = 0011. Then, the mirror sub-frame sequence number CNT[0:3] of the fourth sub-frame image = 1100 = 12. Since 12 ≥ P, CNT needs to be incremented by 1 again. So, CNT = 3 + 1 = 4. That is, the middle sub-frame sequence number CNT[3:0] of the fourth sub-frame image = 4 = 0100, and its mirror sub-frame sequence number CNT[0:3] = 0010 = 2. Since 2 < P, after CNT becomes 4, it no longer changes within the current sub-frame image. That is, the gray-scale growth sequence number CNT[0:3] of the fourth sub-frame image is 2.

[0076] At the start of the fifth sub-frame image, the sub-frame sequence number CNT[3:0] of the fifth sub-frame image = 4 + 1 = 5 = 0101. Then, the mirror sub-frame sequence number CNT[0:3] of the fifth sub-frame image = 1010 = 10. Since 10 < P, in the fifth sub-frame image, after CNT becomes 5, it no longer changes within the current sub-frame. That is, the gray-scale growth sequence number CNT[0:3] of the fifth sub-frame image is 10.

[0077] At the start of the sixth sub-frame image, the sub-frame sequence number CNT[3:0] of the sixth sub-frame image = 5 + 1 = 6 = 0110. Then, the mirror sub-frame sequence number CNT[0:3] of the sixth sub-frame image = 0110 = 6. Since 6 < P, in the sixth sub-frame image, after CNT becomes 6, it no longer changes within the current sub-frame image. That is, the gray-scale growth sequence number CNT[0:3] of the sixth sub-frame image is 6.

[0078] At the start of the 7th sub-frame image, the sub-frame sequence number CNT[3:0] of the 7th sub-frame image is 6 + 1 = 7 = 0111. Then the mirror sub-frame sequence number CNT[0:3] of the 7th sub-frame image is 1110 = 14. Since 14 ≥ P, in the 7th sub-frame image, CNT needs to be incremented by 1 again. So CNT = 7 + 1 = 8, that is, the middle sub-frame sequence number CNT[3:0] of the 7th sub-frame image is 8 = 1000, and its mirror sub-frame sequence number CNT[0:3] is 0001 = 1. Since 1 < P, CNT does not change within the current sub-frame image, that is, the gray-scale growth sequence number CNT[0:3] of the 7th sub-frame image is 1.

[0079] At the start of the 8th sub-frame image, the sub-frame sequence number CNT[3:0] of the 8th sub-frame image is 8 + 1 = 9 = 1001. Then the mirror sub-frame sequence number CNT[0:3] of the 8th sub-frame image is 1001 = 9. Since 9 < P, in the 8th sub-frame image, CNT does not change within the current sub-frame image after becoming 9, that is, the gray-scale growth sequence number CNT[0:3] of the 8th sub-frame image is 9.

[0080] At the start of the 9th sub-frame image, the sub-frame sequence number CNT[3:0] of the 9th sub-frame image is 9 + 1 = 10 = 1010. Then the mirror sub-frame sequence number CNT[0:3] of the 9th sub-frame image is 0101 = 5. Since 5 < P, in the 9th sub-frame image, CNT does not change within the current sub-frame image after becoming 10, that is, the gray-scale growth sequence number CNT[0:3] of the 9th sub-frame image is 5.

[0081] At the start of the 10th sub-frame image, the sub-frame sequence number CNT[3:0] of the 10th sub-frame image is 10 + 1 = 11 = 1011. Then the mirror sub-frame sequence number CNT[0:3] of the 10th sub-frame image is 1101 = 13. Since 13 ≥ P, in the 10th sub-frame image, CNT needs to be incremented by 1 again. So CNT = 11 + 1 = 12, that is, the middle sub-frame sequence number CNT[3:0] of the 10th sub-frame image is 12 = 1100, and its mirror sub-frame sequence number CNT[0:3] is 0011 = 3. Since 3 < P, CNT does not change within the current sub-frame image after becoming 12, that is, the gray-scale growth sequence number CNT[0:3] of the 10th sub-frame image is 3.

[0082] At the start of the 11th sub-frame image, the sub-frame sequence number CNT[3:0] of the 11th sub-frame image is 12 + 1 = 13 = 1101. Then the mirror sub-frame sequence number CNT[0:3] of the 11th sub-frame image is 1011 = 11. Since 11 < P, in the 11th sub-frame image, CNT does not change within the current sub-frame image after becoming 13, that is, the gray-scale growth sequence number CNT[0:3] of the 11th sub-frame image is 11.

[0083] At the start of the 12th sub-frame image, the sub-frame sequence number CNT[3:0] of the 12th sub-frame image is 13 + 1 = 14 = 1110, so the mirror sub-frame sequence number CNT[0:3] of the 12th sub-frame image is 0111 = 7; since 7 < P, in the 12th sub-frame image, after CNT becomes 14, it will not change within the current sub-frame image, that is, the gray-scale growth sequence number CNT[0:3] of the 12th sub-frame image is 7.

[0084] Step 303: For each LED lamp bead in the LED display screen, based on the size relationship between the total gray value K of the LED lamp bead in the target frame image and the gray-scale threshold P*Q, select the total number of sub-frames P or the gray-scale non-scattering threshold Q, and combine the total gray value K of the LED lamp bead in the target frame image and the gray-scale growth sequence number CNT[0:3] of each sub-frame image of the target frame image to determine the sub-gray value of the LED lamp bead in each sub-frame image of the target frame image.

[0085] For example, when the total gray value K of a certain LED lamp bead in the LED display screen in the target frame image is 68, since K > P*Q, then calculate K / P = 68 / 12, and the first quotient value J = 5 and the first remainder L = 8 are obtained. After comparing the first remainder L with the gray-scale growth sequence number CNT[0:3] of each sub-frame image of the target frame image respectively, as shown in Table 1, the sub-gray values of the 2nd frame image, the 5th frame image, the 8th frame image, and the 11th sub-frame image are 5, and the sub-gray values of other sub-frame images are 6, that is, the sub-gray values of every 3 sub-frame images are respectively "6, 5, 6", realizing the uniform scattering of the total gray value and effectively avoiding the problem of abnormal display of the picture caused by uneven gray-scale scattering within the frame.

[0086] Table 1.

[0087]

[0088] Another example, when the total gray value K of a certain LED lamp bead in the LED display screen in the target frame image is 19, since K <= P*Q, then calculate K / Q = 19 / 4, and the second quotient value S = 4 and the second remainder T = 3 are obtained. After comparing the second quotient value S with the gray-scale growth sequence number CNT[0:3] of each sub-frame image of the target frame image respectively, as shown in Table 2, the sub-gray values of the 1st sub-frame image, the 4th sub-frame image, the 7th sub-frame image, and the 10th sub-frame image are all 4, the sub-gray value of the 3rd sub-frame image is 3, and the sub-gray values of other sub-frame images are 0.

[0089] Table 2.

[0090]

[0091] It can be seen that in this example, if the four sub-frame images with a sub-grayscale value of 4 are all concentrated in the 1st to 4th sub-frame images, then during the time of the 5th to 12th sub-frame images, the LED lamp beads are turned off, that is, not lit. If this period of darkness exceeds the visual retention threshold of the human eye, the human eye can perceive the picture of alternating light and dark flashes. In the LED display screen driving method provided by the embodiment of the present application, it is observed from Table 1 that the time intervals of the four sub-frame images with a sub-grayscale value of 4 in the 12 sub-frame images are equal, all of which are the time of 2 sub-frame images, that is, the uniform dispersion of the total grayscale value is achieved, and the problem of abnormal picture display caused by uneven dispersion of grayscale within the frame is effectively avoided. Moreover, the LED display screen driving method provided by the embodiment of the present application is very easy to implement using hardware or software such as chips or FPGAs, and is universal (that is, it is applicable to any grayscale value and any number of sub-frames from 1 to 512), thereby reducing the R&D cost and implementation cost. From an engineering perspective, it has high industrial value and very little hardware overhead.

[0092] Based on the above embodiments, the present application also provides a LED display screen driving system. Figure 4 As shown, the LED display screen driving system 400 provided in the embodiment of the present application at least includes:

[0093] The memory 401 is used to store the grayscale non-dispersion threshold, the total number of subframes of the target frame image, and the total grayscale value of each LED lamp bead in the LED display screen in the target frame image;

[0094] A sub-frame counter 402 is used to generate a sub-frame sequence number of each sub-frame of the target frame;

[0095] A growth counter 403, used for generating a grayscale growth sequence number representing a grayscale allocation priority corresponding to each subframe picture of the target frame picture based on the subframe sequence number of each subframe picture of the target frame picture;

[0096] The first comparator 404 is used to compare the total grayscale value of each LED lamp bead in the target frame image stored in the memory 401 with the grayscale threshold, and output the comparison result of each LED lamp bead;

[0097] The selector 405 is used to select one of the grayscale non-dispersion threshold and the total number of subframes stored in the memory 401 based on the comparison results of each LED lamp bead output by the comparator 404, and output the selection result of each LED lamp bead;

[0098] The processor 406 is used to determine the sub-grayscale value of each LED lamp bead in each sub-frame picture of the target frame picture based on the selection result of each LED lamp bead output by the selector 405, the grayscale growth sequence number of each sub-frame picture of the target frame picture generated by the growth counter 403, and the total grayscale value of each LED lamp bead in the target frame picture stored in the memory 401.

[0099] The SPWM generator 407 is used to generate SPWM pulses for each LED lamp bead in each sub-frame of the target frame based on the sub-grayscale value of each LED lamp bead in each sub-frame of the target frame, so as to drive the LED display screen to display each sub-frame of the target frame in sequence.

[0100] In one possible implementation, the processor 406 is also used to determine the grayscale threshold by multiplying the grayscale non-dispersion threshold and the total number of subframes; wherein the total number of subframes is any natural number from 1 to 512, and the grayscale non-dispersion threshold is a natural number greater than 1 when the low-gray non-dispersion is turned on, and is 1 when the low-gray non-dispersion is not turned on.

[0101] In a possible implementation, the growth counter 403 is specifically used to perform a high-low bit flip operation on the binary number of the subframe number of each subframe picture of the target frame picture to obtain a mirror subframe number of the subframe picture, and determine the grayscale growth number of the subframe picture based on the mirror subframe number of the subframe picture.

[0102] In a possible implementation, the growth counter 403 is specifically used to determine the mirror subframe number of the subframe picture as the grayscale growth number of the subframe picture if it is determined by the second comparator 408 that the mirror subframe number of the subframe picture is less than the total number of subframes; if it is determined by the second comparator 408 that the mirror subframe number of the subframe picture is not less than the total number of subframes, iteratively perform a sequence number increment operation on the subframe number of the subframe picture until it is determined by the second comparator 408 that the mirror subframe number of the intermediate subframe number obtained after performing the sequence number increment operation is less than the total number of subframes, and determine the mirror subframe number of the intermediate subframe number obtained by the last execution of the sequence number increment operation as the grayscale growth number of the subframe picture, wherein the sequence number increment operation includes increasing the first numerical value.

[0103] In a possible implementation manner, the LED display screen driving system 400 provided in the embodiment of the present application further includes:

[0104] The divider 409 is used to perform a division operation on the total grayscale value of each LED lamp bead in the target frame image by the total number of subframes in the target frame image, obtain a first quotient and a first remainder, and output them; or, for each LED lamp bead in the LED display screen, perform a division operation on the total grayscale value of the LED lamp bead in the target frame image by a grayscale non-dispersion threshold, obtain a second quotient and a second remainder, and output them.

[0105] In a possible implementation, the processor 406 is further configured to, for each sub-frame of the target frame, if the third comparator 410 determines that the first remainder is greater than the grayscale growth sequence number of the sub-frame, determine the sub-grayscale value of the LED lamp bead in the sub-frame as the sum of the first quotient value and the second value; if the third comparator 410 determines that the first remainder is not greater than the grayscale growth sequence number of the sub-frame, determine the sub-grayscale value of the LED lamp bead in the sub-frame as the first quotient value; or, for each sub-frame of the target frame, frame picture, if it is determined by the third comparator 410 that the second quotient is greater than the grayscale growth number of the sub-frame picture, the sub-grayscale value of the LED lamp bead in the sub-frame picture is determined as the grayscale non-dispersed threshold; if it is determined by the third comparator 410 that the second quotient is equal to the grayscale growth number of the sub-frame picture, the sub-grayscale value of the LED lamp bead in the sub-frame picture is determined as the second remainder; if it is determined by the third comparator 410 that the second quotient is less than the grayscale growth number of the sub-frame picture, the sub-grayscale value of the LED lamp bead in the sub-frame picture is determined to be 0.

[0106] Based on the above embodiments, the present application also provides a LED display screen driving device, see Figure 5 As shown, the LED display screen driving device 500 provided in the embodiment of the present application at least includes:

[0107] The processing unit 501 is used for determining, for each LED lamp bead in the LED display screen, the sub-grayscale value of the LED lamp bead in each sub-frame picture of the target frame picture based on the total grayscale value of the LED lamp bead in the target frame picture, the total number of sub-frames of the target frame picture and the grayscale growth sequence number of each sub-frame picture of the target frame picture if it is determined that the total grayscale value of the LED lamp bead in the target frame picture is greater than the grayscale threshold; if it is determined that the total grayscale value of the LED lamp bead in the target frame picture is not greater than the grayscale threshold, determining the sub-grayscale value of the LED lamp bead in each sub-frame picture of the target frame picture based on the total grayscale value of the LED lamp bead in the target frame picture, the grayscale non-dispersion threshold and the grayscale growth sequence number of each sub-frame picture of the target frame picture; wherein the grayscale growth sequence number is a parameter representing the grayscale allocation priority of the sub-frame picture determined based on the sub-frame sequence number of the sub-frame picture;

[0108] The driving unit 502 is used to drive the LED display screen to sequentially display each sub-frame picture of the target frame picture based on the sub-grayscale value of each LED lamp bead in the LED display screen in each sub-frame picture of the target frame picture.

[0109] In a possible implementation manner, the LED display screen driving device 500 provided in the embodiment of the present application further includes:

[0110] Setting unit 503 is used to determine the product of the grayscale non-dispersion threshold and the total number of subframes as the grayscale threshold; wherein the total number of subframes is any natural number between 1 and 512, and the grayscale non-dispersion threshold is a natural number greater than 1 when the low-gray non-dispersion is turned on, and is 1 when the low-gray non-dispersion is not turned on.

[0111] In a possible implementation manner, the LED display screen driving device 500 provided in the embodiment of the present application further includes:

[0112] The generating unit 504 is used to perform a high-low bit flip operation on the binary number of the sub-frame sequence number of each sub-frame picture of the target frame picture to obtain a mirror sub-frame sequence number of the sub-frame picture, and determine the grayscale growth sequence number of the sub-frame picture based on the mirror sub-frame sequence number of the sub-frame picture.

[0113] In a possible implementation manner, when determining the grayscale growth sequence number of the sub-frame picture based on the mirror sub-frame sequence number of the sub-frame picture, the generating unit 504 is specifically configured to:

[0114] If it is determined that the mirror subframe sequence number of the subframe picture is less than the total number of subframes, the mirror subframe sequence number of the subframe picture is determined as the grayscale growth sequence number of the subframe picture; if it is determined that the mirror subframe sequence number of the subframe picture is not less than the total number of subframes, the sequence number increment operation is iteratively performed on the subframe sequence number of the subframe picture until it is determined that the mirror subframe sequence number of the intermediate subframe sequence number obtained by performing the sequence number increment operation is less than the total number of subframes, and the mirror subframe sequence number of the intermediate subframe sequence number obtained by performing the sequence number increment operation for the last time is determined as the grayscale growth sequence number of the subframe picture; wherein the sequence number increment operation includes increasing the first numerical value.

[0115] In a possible implementation, when determining the sub-grayscale value of the LED lamp bead in each sub-frame picture of the target frame picture based on the total grayscale value of the LED lamp bead in the target frame picture, the total number of sub-frames of the target frame picture, and the grayscale growth sequence number of each sub-frame picture of the target frame picture, the processing unit 501 is specifically used to:

[0116] Perform a division operation on the total grayscale value of the LED lamp beads in the target frame image and the total number of subframes of the target frame image to obtain a first quotient and a first remainder;

[0117] For each sub-frame of the target frame, if it is determined that the first remainder is greater than the grayscale growth number of the sub-frame, the sub-grayscale value of the LED lamp bead in the sub-frame is determined as the sum of the first quotient value and the second value; if it is determined that the first remainder is not greater than the grayscale growth number of the sub-frame, the sub-grayscale value of the LED lamp bead in the sub-frame is determined as the first quotient value.

[0118] In a possible implementation, when determining the sub-grayscale value of the LED lamp bead in each sub-frame picture of the target frame picture based on the total grayscale value of the LED lamp bead in the target frame picture, the grayscale non-dispersion threshold and the grayscale growth sequence number of each sub-frame picture of the target frame picture, the processing unit 501 is specifically used to:

[0119] Perform a division operation on the total grayscale value of the LED lamp beads in the target frame image and the grayscale non-dispersion threshold to obtain a second quotient and a second remainder;

[0120] For each sub-frame of the target frame, if it is determined that the second quotient is greater than the grayscale growth number of the sub-frame, the sub-grayscale value of the LED lamp bead in the sub-frame is determined as the grayscale non-dispersed threshold; if it is determined that the second quotient is equal to the grayscale growth number of the sub-frame, the sub-grayscale value of the LED lamp bead in the sub-frame is determined as the second remainder; if it is determined that the second quotient is less than the grayscale growth number of the sub-frame, the sub-grayscale value of the LED lamp bead in the sub-frame is determined to be 0.

[0121] It should be noted that the principle of solving the technical problem by the LED display screen driving device 500 provided in the embodiment of the present application is similar to the LED display screen driving method provided in the embodiment of the present application. Therefore, the implementation of the LED display screen driving device 500 provided in the embodiment of the present application can refer to the implementation of the LED display screen driving method provided in the embodiment of the present application, and the repeated parts will not be repeated.

[0122] After introducing the LED display screen driving method, system and device provided in the embodiments of the present application, the electronic device provided in the embodiments of the present application is briefly introduced next.

[0123] See also Figure 6 As shown, the electronic device 600 provided in the embodiment of the present application includes at least: a processor 601, a memory 602, and a computer program stored in the memory 602 and executable on the processor 601. When the processor 601 executes the computer program, the LED display driving method provided in the embodiment of the present application is implemented.

[0124] The electronic device 600 provided in the embodiment of the present application may further include a bus 603 connecting different components (including the processor 601 and the memory 602). The bus 603 represents one or more of several types of bus structures, including a memory bus, a peripheral bus, a local bus, and the like.

[0125] The memory 602 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 6021 and / or a cache memory 6022 , and may further include a read-only memory (ROM) 6023 .

[0126] The memory 602 may also include a program tool 6025 having a set (at least one) of program modules 6024, including but not limited to: an operating subsystem, one or more application programs, other program modules, and program data, each of which or some combination may include the implementation of a network environment.

[0127] The processor 601 may be a processor or a collective term for multiple processing elements. For example, the processor 601 may be a central processing unit (CPU) or one or more integrated circuits configured to implement the above LED display screen driving method. Specifically, the processor 601 may be a general-purpose processor, including but not limited to a CPU, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0128] The electronic device 600 may also communicate with one or more external devices 604 (e.g., keyboards, remote controls, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 600 (e.g., mobile phones, computers, etc.), and / or communicate with any device that enables the electronic device 600 to communicate with one or more other electronic devices 600 (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 605. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 606. Figure 6 As shown, the network adapter 606 communicates with other modules of the electronic device 600 via the bus 603. It should be understood that although Figure 6Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) subsystems, tape drives, and data backup storage subsystems.

[0129] Exemplarily, the electronic devices in the embodiments of the present application include but are not limited to desktop computers, televisions, mobile devices with large screens, such as mobile phones, tablet computers, and other common electronic devices that require multiple chips to be cascaded to achieve driving.

[0130] The electronic device may also be a user equipment (UE), a mobile device, a user terminal, a terminal, a handheld device, a computing device or a vehicle-mounted device, etc. For example, some examples of terminals are: a display, a smart phone or a portable device, a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile Internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control (Industrial Control), a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid (Smart Grid), a wireless terminal in transportation safety (Transportation Safety), a wireless terminal in smart city (Smart City), a wireless terminal in smart home (Smart Home), a wireless terminal in Internet of Vehicles, etc.

[0131] It should be noted that Figure 6 The electronic device 600 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0132] Next, the display driving device provided in the embodiment of the present application is introduced. The display driving device provided in the embodiment of the present application may include the above-mentioned LED driving chip in the embodiment of the present application. The display driving device can be used to execute the LED display screen driving method provided in the embodiment of the present application through the LED driving chip.

[0133] In addition, the embodiment of the present application further provides a readable storage medium, and the readable storage medium provided by the embodiment of the present application stores program instructions, and when the program instructions are executed by the processor, the LED display screen driving method provided by the embodiment of the present application is implemented. Specifically, the program instructions can be built-in or installed in the processor, so that the processor can implement the LED display screen driving method provided by the embodiment of the present application by executing the built-in or installed program instructions.

[0134] The readable storage medium provided in the embodiments of the present application may be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. Specifically, more specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, RAM, ROM, Erasable Programmable Read Only Memory (EPROM), optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.

[0135] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.

[0136] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0137] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0138] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for driving an LED display screen, characterized in that: include: For each LED lamp bead in the LED display screen, if it is determined that the total grayscale value of the LED lamp bead in the target frame picture is greater than the grayscale threshold, then based on the total grayscale value of the LED lamp bead in the target frame picture, the total number of subframes of the target frame picture and the grayscale growth sequence number of each subframe picture of the target frame picture, the sub-grayscale value of the LED lamp bead in each subframe picture of the target frame picture is determined; if it is determined that the total grayscale value of the LED lamp bead in the target frame picture is not greater than the grayscale threshold, then based on the total grayscale value of the LED lamp bead in the target frame picture, the grayscale non-dispersion threshold and the grayscale growth sequence number of each subframe picture of the target frame picture, the sub-grayscale value of the LED lamp bead in each subframe picture of the target frame picture is determined; wherein the grayscale growth sequence number is a parameter that characterizes the grayscale allocation priority of the subframe picture and is determined based on the subframe sequence number of the subframe picture; Based on the sub-grayscale value of each LED lamp bead in the LED display screen in each sub-frame picture of the target frame picture, drive the LED display screen to sequentially display each sub-frame picture of the target frame picture; Wherein, the LED display screen driving method further includes: The product of the grayscale non-dispersion threshold and the total number of subframes is determined as the grayscale threshold; the total number of subframes is any natural number from 1 to 512; the grayscale non-dispersion threshold is a natural number greater than 1 when the low-gray non-dispersion is turned on, and is 1 when the low-gray non-dispersion is not turned on.

2. The LED display screen driving method according to claim 1, characterized in that: Also includes: For each sub-frame picture of the target frame picture, a high-low bit flip operation is performed on the binary number of the sub-frame sequence number of the sub-frame picture to obtain a mirror sub-frame sequence number of the sub-frame picture, and based on the mirror sub-frame sequence number of the sub-frame picture, a grayscale growth sequence number of the sub-frame picture is determined.

3. The LED display screen driving method according to claim 2, characterized in that: Determining the grayscale growth sequence number of the subframe picture based on the mirror subframe sequence number of the subframe picture includes: If it is determined that the mirror subframe sequence number of the subframe picture is less than the total number of subframes, the mirror subframe sequence number of the subframe picture is determined as the grayscale growth sequence number of the subframe picture; if it is determined that the mirror subframe sequence number of the subframe picture is not less than the total number of subframes, the sequence number increment operation is iteratively performed on the subframe sequence number of the subframe picture until it is determined that the mirror subframe sequence number of the intermediate subframe sequence number obtained by performing the sequence number increment operation is less than the total number of subframes, and the mirror subframe sequence number of the intermediate subframe sequence number obtained by performing the sequence number increment operation for the last time is determined as the grayscale growth sequence number of the subframe picture; wherein the sequence number increment operation includes increasing a first numerical value.

4. The LED display screen driving method according to claim 1, characterized in that: Determining a sub-grayscale value of the LED lamp bead in each sub-frame picture of the target frame picture based on the total grayscale value of the LED lamp bead in the target frame picture, the total number of sub-frames of the target frame picture, and the grayscale growth sequence number of each sub-frame picture of the target frame picture, includes: Perform a division operation on the total grayscale value of the LED lamp beads in the target frame image and the total number of subframes of the target frame image to obtain a first quotient and a first remainder; For each sub-frame picture of the target frame picture, if it is determined that the first remainder is greater than the grayscale growth sequence number of the sub-frame picture, the sub-grayscale value of the LED lamp bead in the sub-frame picture is determined as the sum of the first quotient value and the second value; if it is determined that the first remainder is not greater than the grayscale growth sequence number of the sub-frame picture, the sub-grayscale value of the LED lamp bead in the sub-frame picture is determined as the first quotient value.

5. The LED display screen driving method according to claim 1, characterized in that: Determining the sub-grayscale value of the LED lamp bead in each sub-frame picture of the target frame picture based on the total grayscale value of the LED lamp bead in the target frame picture, the grayscale non-dispersion threshold, and the grayscale growth sequence number of each sub-frame picture of the target frame picture, including: Perform a division operation on the total grayscale value of the LED lamp bead in the target frame image and the grayscale non-dispersion threshold to obtain a second quotient and a second remainder; For each sub-frame picture of the target frame picture, if it is determined that the second quotient value is greater than the grayscale growth sequence number of the sub-frame picture, the sub-grayscale value of the LED lamp bead in the sub-frame picture is determined as the grayscale non-dispersed threshold; if it is determined that the second quotient value is equal to the grayscale growth sequence number of the sub-frame picture, the sub-grayscale value of the LED lamp bead in the sub-frame picture is determined as the second remainder; if it is determined that the second quotient value is less than the grayscale growth sequence number of the sub-frame picture, the sub-grayscale value of the LED lamp bead in the sub-frame picture is determined to be 0.

6. The LED display screen driving method according to any one of claims 1 to 5, characterized in that: Applicable to any one of light emitting diode display screen, micro light emitting diode display screen, mini light emitting diode display screen, quantum dot light emitting diode display screen and organic light emitting diode display screen.

7. An LED display screen driving system, characterized in that: include: A memory, used to store the grayscale non-dispersion threshold, the total number of subframes of the target frame image, and the total grayscale value of each LED lamp bead in the LED display screen in the target frame image; A subframe counter, used to generate a subframe sequence number of each subframe picture of the target frame picture; A growth counter, used for generating a grayscale growth sequence number representing a grayscale allocation priority corresponding to each subframe picture of the target frame picture based on the subframe sequence number of each subframe picture of the target frame picture; A comparator, used to compare the total grayscale value of each LED lamp bead stored in the memory in the target frame with the grayscale threshold, and output the comparison result of each LED lamp bead; A selector, configured to select one of the grayscale non-dispersion threshold and the total number of subframes stored in the memory based on the comparison results of the respective LED lamp beads output by the comparator, and output the selection results of the respective LED lamp beads; A processor, configured to determine a sub-grayscale value of each LED lamp bead in each sub-frame picture of the target frame picture based on the selection result of each LED lamp bead output by the selector, the grayscale growth sequence number of each sub-frame picture of the target frame picture generated by the growth counter, and the total grayscale value of each LED lamp bead in the target frame picture stored in the memory; An SPWM generator is used to generate an SPWM pulse of each LED lamp bead in each sub-frame picture of the target frame picture based on the sub-grayscale value of each LED lamp bead in each sub-frame picture of the target frame picture, so as to drive the LED display screen to sequentially display each sub-frame picture of the target frame picture; Among them, the processor is also used to determine the product of the grayscale non-dispersion threshold and the total number of subframes as the grayscale threshold and output it to the comparator; the value of the total number of subframes is any natural number from 1 to 512; the grayscale non-dispersion threshold is a natural number greater than 1 when the low-gray non-dispersion is turned on, and is 1 when the low-gray non-dispersion is not turned on.

8. A LED display screen driving device, characterized in that: include: A processing unit is used for, for each LED lamp bead in the LED display screen, if it is determined that the total grayscale value of the LED lamp bead in the target frame picture is greater than the grayscale threshold, then based on the total grayscale value of the LED lamp bead in the target frame picture, the total number of subframes of the target frame picture and the grayscale growth sequence number of each subframe picture of the target frame picture, determining the sub-grayscale value of the LED lamp bead in each subframe picture of the target frame picture; if it is determined that the total grayscale value of the LED lamp bead in the target frame picture is not greater than the grayscale threshold, then based on the total grayscale value of the LED lamp bead in the target frame picture, the grayscale non-dispersion threshold and the grayscale growth sequence number of each subframe picture of the target frame picture, determining the sub-grayscale value of the LED lamp bead in each subframe picture of the target frame picture; wherein the grayscale growth sequence number is a parameter characterizing the grayscale allocation priority of the subframe picture determined based on the subframe sequence number of the subframe picture; A driving unit, configured to drive the LED display screen to sequentially display each sub-frame picture of the target frame picture based on the sub-grayscale value of each LED lamp bead in the LED display screen in each sub-frame picture of the target frame picture; Among them, the setting unit is used to determine the product of the grayscale non-dispersion threshold and the total number of subframes as the grayscale threshold; the value of the total number of subframes is any natural number from 1 to 512; the grayscale non-dispersion threshold is a natural number greater than 1 when the low-gray non-dispersion is turned on, and is 1 when the low-gray non-dispersion is not turned on.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the LED display screen driving method according to any one of claims 1 to 6 when executing the computer program.

10. A readable storage medium, characterized in that: The readable storage medium stores program instructions, and when the program instructions are executed by the processor, the LED display screen driving method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Gray level display driving method and device for LED display

    CN104050928A

  • Multi-line scanning LED gray scale switching display method and system

    CN111489685A

Cited By

  • LED display screen driving method, system and apparatus, and device and medium

    EP4546321A1

  • LED display screen driving method, system and apparatus, and device and medium

    WO2023246828A1