WO2023246828A1 - 一种led显示屏驱动方法、系统、装置、设备及介质 - Google Patents

一种led显示屏驱动方法、系统、装置、设备及介质 Download PDF

Info

Publication number
WO2023246828A1
WO2023246828A1 PCT/CN2023/101556 CN2023101556W WO2023246828A1 WO 2023246828 A1 WO2023246828 A1 WO 2023246828A1 CN 2023101556 W CN2023101556 W CN 2023101556W WO 2023246828 A1 WO2023246828 A1 WO 2023246828A1
Authority
WO
WIPO (PCT)
Prior art keywords
sub
frame
grayscale
subframe
led lamp
Prior art date
Application number
PCT/CN2023/101556
Other languages
English (en)
French (fr)
Other versions
WO2023246828A9 (zh
Inventor
张�浩
Original Assignee
北京集创北方科技股份有限公司
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 北京集创北方科技股份有限公司 filed Critical 北京集创北方科技股份有限公司
Priority to KR1020247001000A priority Critical patent/KR20240021249A/ko
Publication of WO2023246828A1 publication Critical patent/WO2023246828A1/zh
Publication of WO2023246828A9 publication Critical patent/WO2023246828A9/zh

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping

Definitions

  • low gray non-dispersion is also enabled based on SPWM technology, that is, a non-dispersion threshold is first preset.
  • a non-dispersion threshold is first preset.
  • the gray value is lower than or equal to the non-dispersion threshold, this The gray value is only displayed in a certain sub-frame, and the other sub-frames are not displayed.
  • the gray value is greater than the non-dispersion threshold, the gray value is first assigned to one or several sub-frames, so that these sub-frames The gray values in the frame are all equal to the non-dispersed threshold. If there are remaining gray values after being assigned to one or several sub-frames, the remaining gray values will be assigned to another sub-frame.
  • Embodiments of the present application provide an LED display screen driving method, system, device, equipment and medium, which are used to solve the problem of the grayscale of each LED lamp bead in the LED display screen in the prior art while being compatible with low gray and non-dispersed. Uneven value dispersion leads to the problem of abnormal screen display and poor screen display effect on the LED display screen.
  • embodiments of the present application provide a method for driving an LED display screen, including:
  • an LED display screen driving system including:
  • Memory used to store the gray scale non-dispersion threshold, the total number of sub-frames in the target frame, and the total gray value of each LED lamp bead in the LED display screen in the target frame;
  • Subframe counter used to generate the subframe sequence number of each subframe of the target frame
  • the growth counter is used to generate a gray scale growth sequence number corresponding to each sub frame of the target frame based on the sub frame number of each sub frame of the target frame that represents the priority of gray scale allocation;
  • a comparator used to compare the total grayscale value of each LED lamp bead stored in the memory with the grayscale threshold value in the target frame, and output the comparison result of each LED lamp bead
  • the selector is used 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 each LED lamp bead output by the comparator, and output the selection result of each LED lamp bead;
  • the processor is configured to use 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 each LED lamp bead in the target frame stored in the memory.
  • the total gray value in the frame determines the sub-gray value of each LED lamp in each sub-frame of the target frame;
  • the SPWM generator is used to generate SPWM pulses of each LED lamp in each sub-frame of the target frame based on the sub-gray value of each LED lamp in each sub-frame of the target frame to drive
  • the LED display screen displays each sub-frame of the target frame in sequence.
  • the processing unit is used 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 is greater than the grayscale threshold, based on the total grayscale value of the LED lamp bead in the target frame.
  • the total grayscale value of the LED lamp bead in the target frame is not greater than the grayscale threshold, it is based on the total grayscale value of the LED lamp bead in the target frame, the grayscale non-dispersion threshold and the grayscale value of each sub-frame of the target frame.
  • the driving unit is used to drive the LED display screen to sequentially display each sub-frame of the target frame based on the sub-gray value of each LED lamp bead in the LED display screen in each sub-frame of the target frame.
  • embodiments of the present application provide an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the processor executes the computer program, it implements the methods provided by the embodiments of the present application.
  • LED display driving method LED display driving method.
  • embodiments of the present application also provide a readable storage medium.
  • the readable storage medium stores program instructions.
  • the program instructions are executed by a processor, the LED display screen driving method provided by the embodiments of the present application is implemented.
  • the total number of subframes or grayscale is selected based on the relationship between the total grayscale value of the LED lamp bead in the target frame and the grayscale threshold. Without breaking up the threshold, and combining the total gray value of the LED lamp in the target frame and the gray scale growth number of each sub-frame of the target frame, the LED lamp in each sub-frame of the target frame is By calculating the sub-grayscale values in the frame, not only can the total grayscale value of each LED lamp bead in the LED display be evenly dispersed, improving the screen display effect of the LED display, but also based on any sub- The total number of frames is driven by the LED display screen.
  • Figure 2 is a schematic flow chart of an LED display screen driving method in an embodiment of the present application
  • Figure 2b is a schematic diagram of the driving method of each sub-frame of the target frame in the embodiment of the present application.
  • Figure 4 is a schematic diagram of the composition framework of the LED display screen driving system in the embodiment of the present application.
  • Figure 5 is a schematic functional structural diagram of the LED display screen driving device in the embodiment of the present application.
  • the grayscale growth sequence number is a parameter that represents the grayscale allocation priority of a subframe picture determined based on the subframe sequence number of the subframe picture.
  • 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 sub-frame picture is not 0.
  • the first value is a parameter used when iteratively performing a sequence number increment operation on the subframe sequence number.
  • the first numerical value may be, but is not limited to, 1.
  • the second value is to determine the sub-gray value of the LED lamp in each sub-frame of the target frame based on the total gray value of the LED lamp in the target frame and the total number of sub-frames in the target frame. Parameters used when measuring values.
  • the second numerical value may be, but is not limited to, 1.
  • the human eye has a certain visual persistence threshold.
  • the time interval between two frames displayed on the LED display exceeds the visual persistence threshold, the human eye will feel the picture flickering to a certain extent.
  • the time interval between each adjacent LED lamp bead turn-on period should be as equal as possible.
  • Figure 1 Assume that the total number of sub-frames in the target frame is 8. In the LED display The total gray value of a certain LED lamp in the target frame is 8.
  • the sub-gray value of the LED lamp in the first sub-frame and the fifth sub-frame is The grayscale values are all 4, and the sub-grayscale values in other sub-frames are is 0; when low gray and non-dispersion is not enabled, the sub-gray value of the LED lamp in each sub-frame is 1.
  • a difficulty is how to disperse the total gray value of each LED lamp bead in the target frame as evenly as possible on each sub-frame of the target frame. Based on this, within the industry Propose a SPWM technology based on the total number of subframes raised to the power of 2. The value range of the total number of subframes is limited to the power of 2, which has the following two shortcomings:
  • the frame rate is fixed, if the visual refresh rate needs to be increased to improve the display effect, the total number of subframes can only be doubled, which will lead to the grayscale clock frequency to be doubled, eventually leading to serious coupling phenomena and low performance.
  • the gray display effect becomes worse and the power consumption of the LED driver chip will also increase.
  • the current frame rate of the LED display is 60Hz, and the total number of subframes is 64, so the current visual refresh rate is 3840Hz. If you need to increase the visual refresh rate to improve the display effect of the LED display, you can only adjust the total number of subframes. is 128, thus increasing the visual refresh rate to 7680Hz.
  • the grayscale clock frequency also needs to be doubled, which will cause the coupling phenomenon to worsen, the low-gray display effect to become worse, and the power consumption of the LED driver chip will also increase.
  • the embodiment of the present application proposes a SPWM technology based on the total number of sub-frames being an arbitrary value. Specifically, first, for each LED lamp bead in the LED display screen, if it is determined that the LED lamp bead is in the target frame The total gray value is greater than the gray threshold, then based on the total gray value of the LED lamp in the target frame, the total number of sub-frames in the target frame and the gray growth sequence number of each sub-frame in the target frame, Determine the sub-gray value of the LED lamp in each sub-frame of the target frame; if it is determined that the total gray value of the LED lamp in the target frame is not greater than the gray threshold, then based on the LED lamp The total gray value in the target frame, the gray non-dispersion threshold and the gray growth sequence number of each sub-frame of the target frame are used to determine the LED lamp bead in each sub-frame of the target frame.
  • Sub-grayscale value then, 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, the LED display screen is driven to display each sub-frame picture of the target frame picture in sequence.
  • a small increase in the visual refresh rate can be achieved by slightly increasing the total number of sub-frames.
  • Increase that is, the visual refresh rate can be changed with a finer amplitude, so that the grayscale clock frequency can be increased with a finer amplitude, minimizing the deterioration of the coupling phenomenon and reducing the change of the low-gray display effect.
  • reduce the increase in power consumption of the LED driver chip which can effectively alleviate the grayscale clock frequency that can only be improved by doubling the visual refresh rate to improve the screen display effect, which in turn causes serious coupling phenomena and degrades the low-gray display effect. Poor, LED driver chip power consumption increases exponentially.
  • 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 it is necessary to increase the visual refresh rate to further improve the picture display effect, the total number of subframes can be adjusted to 65, thereby increasing the visual refresh rate to 3900Hz, while the grayscale clock frequency only needs to be increased by 1/64 times.
  • the frame rate of the LED display can be adjusted by adjusting the total number of sub-frames, without the need for Reduce the grayscale clock frequency to reduce the frame rate of the LED display, which can effectively avoid the problem that various display parameters of the LED display need to be reconfigured and adjusted due to the decline of the grayscale clock, and reduce the complexity of maintenance of the LED display. degree and debugging difficulty.
  • 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 is greater than the grayscale threshold, then based on the total grayscale value of the LED lamp bead in the target frame picture value, the total number of sub-frames in the target frame and the grayscale growth sequence number of each sub-frame in the target frame, determine the sub-grayscale value of the LED lamp bead in each sub-frame in the target frame; if the If the total grayscale value of the LED lamp bead in the target frame is not greater than the grayscale threshold, then based on the total grayscale value of the LED lamp bead in the target frame, the grayscale non-dispersion threshold and each sub-section of the target frame The grayscale growth number of the frame determines the sub-grayscale value of the LED lamp in each sub-frame of the target frame.
  • the LED driver chip can combine the grayscale non-dispersion threshold and sub-frame
  • the product of the total number is determined as the grayscale threshold; among them, the value of the total number of subframes can be any natural number from 1 to 512, and the value of the grayscale non-dispersion threshold can be a natural number greater than 1 when low gray non-dispersion is turned on. , the value can be 1 when low gray and non-dispersion are not enabled.
  • Step 202 Based on the sub-grayscale value of each LED lamp bead in the LED display screen in each sub-frame of the target frame, drive the LED display screen to sequentially display each sub-frame of the target frame.
  • the LED driver chip can generate the SPWM pulse of each LED lamp bead in each sub-frame of the target frame based on the sub-gray value of each LED lamp bead in each sub-frame of the target frame. , based on the SPWM pulse of each LED lamp bead in each sub-frame of the target frame, the LED display screen is driven to display each sub-frame of the target frame in sequence, thereby completing the driving of the LED display screen to display the target frame. operate.
  • the first row of LED lamp beads is scanned first, thereby achieving the first Drive the LED lamp beads in each row and column based on the sub-gray value, and then scan the LED lamp beads in the second row, thereby realizing the driving of the LED lamp beads in the second row and column based on the sub-gray value, and so on, until the second row of LED lamp beads is scanned.
  • 7 rows of LED lamp beads thereby realizing the driving of the LED lamp beads in the 7th row and each column based on sub-grayscale values. Then, scan the 1st row of LED lamp beads in the second subframe image, and the 2nd row of LED lamp beads in the second subframe image.
  • the LED driver chip determines that each LED lamp bead in the LED display screen is in the target frame. Before the sub-grayscale value in each sub-frame of the target frame is determined, the grayscale growth sequence number of each sub-frame of the target frame may also be determined based on the sub-frame number of each sub-frame of the target frame.
  • the LED driver chip can first perform a high-low bit flip operation on the binary number of the subframe number of the target frame for each subframe of the target frame, and then obtain the mirrored subframe number of the subframe.
  • the mirrored subframe number of the subframe picture is determined as the grayscale growth number of the subframe picture; if it is determined that the mirrored subframe number of the subframe picture is If the subframe sequence number is not less than the total number of subframes, then the sequence number increment operation is iteratively performed on the subframe sequence number of the subframe picture until it is determined that the mirrored 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.
  • the mirrored subframe sequence number of the intermediate subframe sequence number obtained by performing the last sequence number increment operation is determined as the grayscale growth sequence number of the subframe picture, wherein the sequence number increment operation includes increasing the first numerical value.
  • the LED driver chip determines each subframe of the target frame based on the subframe number of each subframe in the target frame.
  • P is an integer greater than 1
  • the subframe number CNT[N-1:0] 6 of the subframe picture
  • the binary number is 110
  • the high and low bits are flipped to 011
  • the mirrored subframe number of the subframe is determined as the grayscale growth number of the subframe; if it is determined that the mirrored subframe number of the subframe is greater than or equal to the total number of subframes P, then the subframe number of the subframe (That is, the count value of the CNT) iteratively performs the sequence number increment operation (such as the iterative addition of 1 operation) until the mirror subframe of the intermediate subframe sequence number obtained by performing the sequence number increment operation (that is, the count value of the CNT iteratively performs the addition of 1 operation) is determined When the sequence number is less than the total number of subframes P, the mirrored subframe sequence number of the intermediate subframe sequence number obtained by performing the last sequence number increment operation is determined as the grayscale growth sequence number of the sub
  • the LED driver chip determines the grayscale growth sequence number of each sub-frame of the target frame based on the sub-frame number of each sub-frame of the target frame, it can calculate each LED lamp bead in the LED display.
  • the sub-total gray value in each sub-frame of the target frame is the sub-total gray value in each sub-frame of the target frame.
  • 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 the first quotient J and the first remainder L.
  • Step 3A For each sub-frame of the target frame, determine the relationship between the first remainder L and the grayscale growth sequence number CNT[0:N-1] of the sub-frame; if L>CNT[0:N -1], then the sub-gray value of the LED lamp in the sub-frame is determined as the first quotient value J+1 (i.e. the second value); if K ⁇ CNT[0:N-1], then The sub-gray value of the LED lamp bead in the sub-frame is determined as the first quotient value J.
  • Step 2B Divide the total grayscale value K of the LED lamp bead in the target frame by the grayscale non-dispersion threshold Q to obtain the second quotient S and the second remainder T.
  • the LED display screen driving method provided by the embodiment of the present application will be further described in detail. Referring to Figure 3a, the specific process of the LED display screen driving method provided by the embodiment of the present application is as follows:
  • Step 301 Generate a 4-bit growth counter CNT.
  • the grayscale growth number CNT[0:3] is 3.
  • the processor 406 is configured to be 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 location of each LED lamp bead in the target frame stored in the memory 401.
  • the total gray value in the frame determines the sub-gray value of each LED lamp in each sub-frame of the target frame;
  • the processor 406 is also configured to determine the product of the grayscale non-dispersion threshold and the total number of subframes as the grayscale threshold; wherein the value of the total number of subframes is any one from 1 to 512. A natural number.
  • the grayscale non-dispersion threshold takes a value greater than 1 when low gray non-dispersion is enabled, and takes a value of 1 when low gray non-dispersion is not enabled.
  • the growth counter 403 is specifically used to perform a high-low bit flip operation on the binary number of the subframe serial number of the subframe picture for each subframe picture of the target frame picture to obtain a mirror image of the subframe picture.
  • the subframe sequence number and based on the mirror subframe sequence number of the subframe image, determines the grayscale growth sequence number of the subframe image.
  • the growth counter 403 is specifically used to determine the mirror subframe number of the subframe picture as the subframe if the second comparator 408 determines that the mirrored subframe number of the subframe picture is less than the total number of subframes.
  • the grayscale growth sequence number of the frame picture If it is determined through the second comparator 408 that the mirror subframe sequence number of the subframe picture is not less than the total number of subframes, then the sequence number increment operation is iteratively performed on the subframe sequence number of the subframe picture until the second comparison is passed.
  • the processor 408 determines that the mirrored subframe number of the intermediate subframe number obtained after executing the sequence number increment operation is less than the total number of subframes, it determines the mirrored subframe number of the intermediate subframe sequence number obtained by performing the last sequence number increment operation as the gray of the subframe picture. degree growing sequence number, wherein the sequence number incrementing operation includes increasing the first numerical value.
  • the LED display screen driving system 400 provided by the embodiment of the present application further includes:
  • the divider 409 is used for each LED lamp bead in the LED display screen to divide the LED lamp bead into the target
  • the total grayscale value in the frame picture is divided by the total number of sub-frames in the target frame picture, and the first quotient value and the first remainder are obtained and output; or, for each LED lamp bead in the LED display screen, the LED lamp
  • the total grayscale value in the target frame is divided by the grayscale non-dispersion threshold, and the second quotient value and the second remainder are obtained and output.
  • the processor 406 is also configured to, for each sub-frame of the target frame, if it is determined through the third comparator 410 that the first remainder is greater than the grayscale growth number of the sub-frame, then The sub-gray 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 through the third comparator 410 that the first remainder is not greater than the gray-scale growth number of the sub-frame picture , then the sub-gray value of the LED lamp bead in the sub-frame is determined as the first quotient; or, for each sub-frame of the target frame, if it is determined through the third comparator 410 that the second quotient is greater than the sub- If the grayscale growth sequence number of the frame picture is determined, the sub-grayscale value of the LED lamp bead in the sub-frame picture is determined as the grayscale non-dispersion threshold; if it is determined through the third comparator 410 that the second quotient
  • the sub-gray value of the LED lamp bead in the sub-frame picture is determined to be 0.
  • the embodiment of the present application also provides an LED display screen driving device.
  • the LED display screen driving device 500 provided by the embodiment of the present application at least includes:
  • the processing unit 501 is used 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 is greater than the grayscale threshold, based on the total grayscale value of the LED lamp bead in the target frame.
  • the grayscale value, the total number of subframes in the target frame and the grayscale growth number of each subframe in the target frame determine the subgrayscale value of the LED lamp in each subframe of the target frame; if the LED The total gray value of the LED lamp in the target frame is not greater than the gray threshold, based on the total gray value of the LED lamp in the target frame, the gray non-dispersion threshold and each sub-frame of the target frame.
  • the grayscale growth serial number determines the sub-grayscale value of the LED lamp bead in each sub-frame of the target frame; where the gray-scale growth serial number is determined based on the sub-frame serial number of the sub-frame and represents the gray value of the sub-frame. Parameters for assigning priorities;
  • the driving unit 502 is configured to drive the LED display screen to sequentially display each sub-frame of the target frame based on the sub-gray value of each LED lamp bead in the LED display screen in each sub-frame of the target frame.
  • the LED display screen driving device 500 provided by the embodiment of the present application further includes:
  • the 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; , the value of the total number of subframes is any natural number between 1 and 512.
  • the grayscale non-dispersion threshold is a natural number greater than 1 when low gray non-dispersion is turned on. When low gray non-dispersion is not turned on, the value is a natural number. The value is 1.
  • the LED display screen driving device 500 provided by the embodiment of the present application further includes:
  • the generation unit 504 is configured to perform a high-low bit flip operation on the binary number of the subframe number of the subframe picture for each subframe picture of the target frame picture, to obtain the mirrored subframe number of the subframe picture, and based on the subframe picture
  • the mirror subframe number determines the grayscale growth number of the subframe picture.
  • the generation unit 504 when determining the gray scale growth sequence number of the sub-frame picture based on the mirror sub-frame number of the sub-frame picture, the generation unit 504 is specifically used to:
  • the LED lamp is determined based on the total gray value of the LED lamp in the target frame, the total number of sub-frames in the target frame, and the gray growth number of each sub-frame in the target frame.
  • the processing unit 501 is specifically used to:
  • the sub-gray value of the LED lamp bead in the sub-frame is determined as the first quotient and the third The sum of two values; if it is determined that the first remainder is not greater than the grayscale growth number of the sub-frame picture, then the sub-grayscale value of the LED lamp bead in the sub-frame picture is determined as the first quotient value.
  • the LED lamp bead is determined based on the total grayscale value of the LED lamp bead in the target frame, the grayscale non-dispersion threshold and the grayscale growth number of each sub-frame of the target frame.
  • the processing unit 501 is specifically used to:
  • the sub-gray value of the LED lamp bead in the sub-frame is determined as the gray scale non-dispersion threshold ; If it is determined that the second quotient value is equal to the grayscale growth number of the sub-frame picture, then 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 sub-frame picture
  • the grayscale growth sequence number determines the sub-grayscale value of the LED lamp bead in the sub-frame picture as 0.
  • the electronic device 600 provided by the embodiment of the present application at least includes: a processor 601, a memory 602, and a computer program stored on the memory 602 and executable on the processor 601.
  • the processor 601 executes the computer program, the The LED display screen driving method provided by the embodiment of the present application.
  • the electronic device 600 provided by the embodiment of the present application may also include a bus 603 connecting different components (including the processor 601 and the memory 602).
  • bus 603 represents one or more of several types of bus structures, including memory bus, peripheral bus, local area bus, etc.
  • Memory 602 may also include program tools 6025 having a set of (at least one) program modules 6024 including, but not limited to: an operating subsystem, one or more application programs, other program modules, and program data, in these examples. Each or some combination may include the implementation of a network environment.
  • the processor 601 may be a processor, or may be a collective name for multiple processing elements.
  • the processor 601 may be a central processing unit (Central Processing Unit, CPU), or may be configured to implement the above LED display driving method.
  • CPU Central Processing Unit
  • the processor 601 may be a general-purpose processor, including but not limited to a CPU, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, Discrete gate or transistor logic devices, discrete hardware components, etc.
  • ASIC Application Specific Integrated Circuit
  • FPGA Field Programmable Gate Array
  • Electronic device 600 may also communicate with one or more external devices 604 (e.g., keyboard, remote control, etc.), and may also communicate with one or more devices that enable a user to interact with electronic device 600 (e.g., mobile phone, computer, etc.), and or, communicate with any device that enables electronic device 600 to communicate with one or more other electronic devices 600 (eg, router, modem, etc.). This communication may occur through an input/output (I/O) interface 605.
  • the electronic device 600 can also communicate with one or more networks (such as a local area network (Local Area Network, LAN), a wide area network (Wide Area Network, WAN), and/or a public network, such as the Internet) through the network adapter 606. As shown in FIG.
  • the electronic device may also be a user equipment (User Equipment, UE), a mobile device, a user terminal, a terminal, a handheld device, a computing device or a vehicle-mounted device, etc.
  • UE User Equipment
  • Some terminals are: monitors, smartphones or portable devices, Mobile phones, tablets, laptops, PDAs, mobile Internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, industry Wireless terminals in Industrial Control, wireless terminals in Self-driving, wireless terminals in Remote Medical Surgery, wireless terminals in Smart Grid, Transportation Safety Wireless terminals in smart cities, wireless terminals in smart homes, wireless terminals in the Internet of Vehicles, etc.
  • MID mobile Internet devices
  • VR virtual reality
  • AR augmented reality
  • embodiments of the present application also provide a readable storage medium.
  • the readable storage medium provided by the embodiments of the present application
  • the storage medium 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.
  • 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 embodiments of the present application by executing the built-in or installed program instructions.
  • the readable storage medium may be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above.
  • the readable storage medium may be more Specific examples (non-exhaustive list) include: electrical connections with one or more wires, portable disks, hard drives, RAM, ROM, Erasable Programmable Read Only Memory (EPROM), fiber optics , portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Control Of El Displays (AREA)

Abstract

本申请公开了一种LED显示屏驱动方法、系统、装置、设备及介质,应用于LED显示技术领域,用以解决现有技术中由于灰度值打散不均匀导致画面显示效果较差的问题。具体为:针对LED显示屏中的各LED灯珠,确定该LED灯珠的总灰度值大于灰度阈值时,基于该LED灯珠的总灰度值、子帧总数和每一子帧画面的灰度生长序号,确定该LED灯珠在每一子帧画面中的子灰度值,否则,基于该LED灯珠的总灰度值、灰度不打散阈值和每一子帧画面的灰度生长序号,确定该LED灯珠在每一子帧画面中的子灰度值;基于各LED灯珠在每一子帧画面中的子灰度值驱动LED显示屏显示每一子帧画面,从而可以实现灰度值均匀打散,提高画面显示效果。

Description

一种LED显示屏驱动方法、系统、装置、设备及介质
本申请要求了申请日为2022年06月24日、申请号为202210730351.2、名称为“一种LED显示屏驱动方法、系统、装置、设备及介质”的中国发明申请的优先权,并且通过参照上述中国发明申请的全部说明书、权利要求、附图和摘要的方式,将其引用于本申请。
技术领域
本申请涉及LED显示技术领域,尤其涉及一种LED显示屏驱动方法、系统、装置、设备及介质。
背景技术
目前,发光二极管(Light Emitting Diode,LED)显示屏驱动系统普遍采用扰乱脉冲宽度调制(Scrambled Pulse Wide Modulation,SPWM)技术来控制LED显示屏中的各LED灯珠以使LED显示屏显示相应的帧画面,其技术原理为,将一帧画面的导通时间分散成数个较短的导通时间均匀分布在数个子帧画面中,以增加LED显示屏的视觉刷新率,其实现过程为,首先将一帧画面的时间平均分配给N个子帧画面,然后将LED显示屏中各LED灯珠在这一帧画面上的灰度值尽量均匀地分成N份并分别分散到N个子帧画面上,最后在每个子帧画面内,LED显示屏中各LED灯珠的点亮时间是分散到该子帧画面的灰度值所对应的时间。
通常,在LED显示屏驱动系统中,在SPWM技术的基础上还会启用低灰不打散,即首先预设一个不打散阈值,当灰度值低于或等于不打散阈值时,此灰度值只在某一子帧画面中显示,其余子帧画面都不显示,当灰度值大于不打散阈值时,首先将灰度值分配给某一个或几个子帧画面,使这些子帧画面中的灰度值都等于不打散阈值,如果分配给某一个或几个子帧画面后还有剩余的灰度值,则将剩余的灰值度分配给另外一个子帧画面。然而,在基于低灰不打散的SPWM技术中,如果各子帧画面的灰度值打散不均匀,则低灰时的实际视觉刷新率会降低,从而使人眼会感觉到一定程度地画面闪烁,使LED显示屏的显示效果有所降低。
发明内容
本申请实施例提供了一种LED显示屏驱动方法、系统、装置、设备及介质,用以在兼容低灰不打散的同时解决现有技术中由于LED显示屏中各LED灯珠的灰度值打散不均匀导致LED显示屏的画面显示异常、画面显示效果较差的问题。
本申请实施例提供的技术方案如下:
一方面,本申请实施例提供了一种LED显示屏驱动方法,包括:
针对LED显示屏中的各个LED灯珠,若确定LED灯珠在目标帧画面中的总灰度值大于灰度阈值,则基于LED灯珠在目标帧画面中的总灰度值、目标帧画面的子帧总数和目标帧画面的每一子帧画面的灰度生长序号,确定LED灯珠在目标帧画面的每一子帧画面中的子灰度值;若确定LED灯珠在目标帧画面中的总灰度值不大于灰度阈值,则基于LED灯珠在目标帧画面中的总灰度值、灰度不打散阈值和目标帧画面的每一子帧画面的灰度生长序号,确定LED灯珠在目标帧画面的每一子帧画面中的子灰度值;其中,灰度生长序号是基于子帧画面的子帧序号确定的表征子帧画面的灰度分配优先级的参数;
基于LED显示屏中的各个LED灯珠在目标帧画面的每一子帧画面中的子灰度值,驱动LED显示屏依次显示目标帧画面的每一子帧画面。
另一方面,本申请实施例提供了一种LED显示屏驱动系统,包括:
存储器,用于存储灰度不打散阈值、目标帧画面的子帧总数和LED显示屏中的各个LED灯珠在目标帧画面中的总灰度值;
子帧计数器,用于产生目标帧画面的每一子帧画面的子帧序号;
生长计数器,用于基于目标帧画面的每一子帧画面的子帧序号,产生目标帧画面的每一子帧画面所对应的表征灰度分配优先级的灰度生长序号;
比较器,用于分别将存储器存储的各个LED灯珠在目标帧画面中的总灰度值与灰度阈值进行比较,并输出各个LED灯珠的比较结果;
选择器,用于分别基于比较器输出的各个LED灯珠的比较结果,从存储器存储的灰度不打散阈值和子帧总数中选择其中一个,并输出各个LED灯珠的选择结果;
处理器,用于基于选择器输出的各个LED灯珠的选择结果、生长计数器产生的目标帧画面的每一子帧画面的灰度生长序号和存储器存储的各个LED灯珠在目标 帧画面中的总灰度值,确定各个LED灯珠在目标帧画面的每一子帧画面中的子灰度值;
SPWM发生器,用于基于各个LED灯珠在目标帧画面的每一子帧画面中的子灰度值,产生各个LED灯珠在目标帧画面的每一子帧画面中的SPWM脉冲,以驱动LED显示屏依次显示目标帧画面的每一子帧画面。
另一方面,本申请实施例提供了一种LED显示屏驱动装置,包括:
处理单元,用于针对LED显示屏中的各个LED灯珠,若确定LED灯珠在目标帧画面中的总灰度值大于灰度阈值,则基于LED灯珠在目标帧画面中的总灰度值、目标帧画面的子帧总数和目标帧画面的每一子帧画面的灰度生长序号,确定LED灯珠在目标帧画面的每一子帧画面中的子灰度值;若确定LED灯珠在目标帧画面中的总灰度值不大于灰度阈值,则基于LED灯珠在目标帧画面中的总灰度值、灰度不打散阈值和目标帧画面的每一子帧画面的灰度生长序号,确定LED灯珠在目标帧画面的每一子帧画面中的子灰度值;其中,灰度生长序号是基于子帧画面的子帧序号确定的表征子帧画面的灰度分配优先级的参数;
驱动单元,用于基于LED显示屏中的各个LED灯珠在目标帧画面的每一子帧画面中的子灰度值,驱动LED显示屏依次显示目标帧画面的每一子帧画面。
另一方面,本申请实施例提供了一种电子设备,包括:存储器、处理器和存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现本申请实施例提供的LED显示屏驱动方法。
另一方面,本申请实施例还提供了一种可读存储介质,可读存储介质存储有程序指令,程序指令被处理器执行时实现本申请实施例提供的LED显示屏驱动方法。
本申请实施例的有益效果如下:
本申请实施例中,针对LED显示屏中的各个LED灯珠,通过根据该LED灯珠在目标帧画面中的总灰度值与灰度阈值之间的大小关系来选择子帧总数或者灰度不打散阈值,并结合该LED灯珠在目标帧画面中的总灰度值和目标帧画面的每一子帧画面的灰度生长序号,对该LED灯珠在目标帧画面的每一子帧画面中的子灰度值进行计算,不仅可以实现LED显示屏中各LED灯珠的总灰度值的均匀打散,提高LED显示屏的画面显示效果,而且,还可以实现基于任一子帧总数的LED显示屏驱动,这样,一方面,在通过增加视觉刷新率来改善画面显示效果时,可以通过小幅 度增加子帧总数实现视觉刷新率的小幅度增加,即可以使视觉刷新率能够以更加精细的幅度来变化,从而可以使灰度时钟频率能够以更加精小的幅度来增加,最大限度地减少耦合现象的恶化,减轻低灰显示效果的变差以及减少LED驱动芯片功耗的增加,进而可以有效缓解由于只能通过成倍增加视觉刷新率来改善画面显示效果导致灰度时钟频率成倍增加,进而造成耦合现象严重、低灰显示效果变差、LED驱动芯片功耗的成倍增加的问题,另一方面,通过调整子帧总数即可实现对LED显示屏的帧率的调整,无需通过降低灰度时钟频率来实现LED显示屏的帧率的下降,从而可以有效避免由于灰度时钟下降导致LED显示屏的各种显示参数均需重新配置和调整的问题,降低LED显示屏的维护复杂度和调试难度。
本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地可以从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中特别指出的结构来实现和获得。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1为本申请实施例中低灰不打散的传统实现方式示意图;
图2为本申请实施例中LED显示屏驱动方法的一种流程示意图;
图2b为本申请实施例中目标帧画面的每一子帧画面的驱动方式示意图;
图3a为本申请实施例中LED显示屏驱动方法的另一种流程示意图;
图3b为本申请实施例中CNT产生灰度生长序号时的变化规律示意图;
图4为本申请实施例中LED显示屏驱动系统的组成框架示意图;
图5为本申请实施例中LED显示屏驱动装置的功能结构示意图;
图6为本申请实施例中电子设备的硬件结构示意图。
具体实施方式
为了使本申请的目的、技术方案及有益效果更加清楚明白,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所 描述的实施例仅仅是本申请一部分实施例,并不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
为便于本领域技术人员更好地理解本申请,下面先对本申请涉及的技术用语进行简单介绍。
---目标帧画面,为LED显示屏的待显示画面。例如,视频画面、广告画面、监控画面、播报画面等。
---灰度阈值,为基于灰度不打散阈值和子帧总数确定的用于与LED灯珠在目标帧画面中的总灰度值作比较以确定采用子帧总数或者灰度不打散阈值来计算LED灯珠在目标帧画面的每一子帧画面中的子灰度值的参数。
---灰度生长序号,为基于子帧画面的子帧序号确定的表征子帧画面的灰度分配优先级的参数。本申请实施例中,灰度生长序号越小,灰度分配优先级越高,子帧画面的子灰度值不为0的概率越大。
---第一数值,为在对子帧序号迭代执行序号递增操作时使用的参数。本申请实施例中,第一数值可以是但不限于是1。
---第二数值,为在基于LED灯珠在目标帧画面中的总灰度值与目标帧画面的子帧总数,确定LED灯珠在目标帧画面的每一子帧画面中的子灰度值时使用的参数。本申请实施例中,第二数值可以是但不限于是1。
需要说明的是,本申请中提及的“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样的用语在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。
在介绍了本申请涉及的技术用语后,接下来,对本申请实施例的应用场景和设计思想进行简单介绍。
通常,人眼有一定的视觉暂留阈值,当LED显示屏显示的两帧画面之间的时间间隔超过该视觉暂留阈值时,人眼会感觉到一定程度地画面闪烁,为了尽可能地避免该问题,每个相邻的LED灯珠开启时间段之间的时间间隔应尽可能相同,一种简单的例子如图1所示,假设目标帧画面的子帧总数为8,LED显示屏中某一LED灯珠在目标帧画面中的总灰度值为8,当灰度不打散阈值为4时,该LED灯珠在第一个子帧画面和第五个子帧画面中的子灰度值都为4,在其他子帧画面中的子灰度值 为0;当不启用低灰不打散时,该LED灯珠在每个子帧画面中的子灰度值均为1。然而,在SPWM技术中,一个难点是如何将LED显示屏中各LED灯珠在目标帧画面中的总灰度值尽量均匀地分散在目标帧画面的各子帧画面上,基于此,行业内提出一种基于2的幂次方的子帧总数的SPWM技术,子帧总数的取值范围限制在2的幂次方有如下两点不足:
1.在帧率固定不变的情况下,若需要提高视觉刷新率以改善显示效果,则只能成倍增加子帧总数,进而导致灰度时钟频率成倍增加,最终导致耦合现象严重,低灰显示效果变差,LED驱动芯片的功耗也会增加。例如,LED显示屏的当前帧率为60Hz,子帧总数为64,则当前视觉刷新率为3840Hz,若需要提高视觉刷新率以改善LED显示屏的画面显示效果,则只能将子帧总数调整为128,从而使视觉刷新率提高到7680Hz,而此时,灰度时钟频率也需要增加一倍,从而导致耦合现象恶化,低灰显示效果变差,LED驱动芯片的功耗也会增加。
2.若需要调整LED显示屏的帧率,当调整前后的帧率不是2的幂次方倍的关系时,则只能通过调整灰度时钟频率来调整LED显示屏的帧率。例如,若需要将LED显示屏的当前帧率60Hz调整为50Hz,由于50Hz和60Hz不是2的幂次方倍的关系,因此无法通过调整子帧总数来调整帧率,只能通过降低灰度时钟频率来实现帧率的下降,而灰度时钟频率下降会导致LED显示屏的各种显示参数需要重新配置和调整,不利于LED显示屏的维护和调试。
针对以上问题,本申请实施例提出了一种基于子帧总数为任意值的SPWM技术,具体的,首先,针对LED显示屏中的各个LED灯珠,若确定该LED灯珠在目标帧画面中的总灰度值大于灰度阈值,则基于该LED灯珠在目标帧画面中的总灰度值、目标帧画面的子帧总数和目标帧画面的每一子帧画面的灰度生长序号,确定该LED灯珠在目标帧画面的每一子帧画面中的子灰度值;若确定该LED灯珠在目标帧画面中的总灰度值不大于灰度阈值,则基于该LED灯珠在目标帧画面中的总灰度值、灰度不打散阈值和目标帧画面的每一子帧画面的灰度生长序号,确定该LED灯珠在目标帧画面的每一子帧画面中的子灰度值;之后,基于LED显示屏中的各个LED灯珠在目标帧画面的每一子帧画面中的子灰度值,驱动LED显示屏依次显示目标帧画面的每一子帧画面。
这样,针对LED显示屏中的各个LED灯珠,通过根据该LED灯珠在目标帧画 面中的总灰度值与灰度阈值之间的大小关系来选择子帧总数或者灰度不打散阈值,并结合该LED灯珠在目标帧画面中的总灰度值和目标帧画面的每一子帧画面的灰度生长序号,对该LED灯珠在目标帧画面的每一子帧画面中的子灰度值进行计算,可以实现LED显示屏中各LED灯珠的总灰度值的均匀打散,提高LED显示屏的画面显示效果。而且,还可以实现基于任一子帧总数的LED显示屏驱动,进而,一方面,在通过增加视觉刷新率来改善画面显示效果时,可以通过小幅度增加子帧总数实现视觉刷新率的小幅度增加,即可以使视觉刷新率能够以更加精细的幅度来变化,从而可以使灰度时钟频率能够以更加精小的幅度来增加,最大限度地减少耦合现象的恶化,减轻低灰显示效果的变差以及减少LED驱动芯片功耗的增加,进而可以有效缓解由于只能通过成倍增加视觉刷新率来改善画面显示效果导致灰度时钟频率成倍增加,进而造成耦合现象严重、低灰显示效果变差、LED驱动芯片功耗的成倍增加的问题,例如,LED显示屏的当前帧率为60Hz,子帧总数为64,则当前视觉刷新率为3840Hz,若需要提高视觉刷新率以进一步改善画面显示效果,则可以将子帧总数调整为65,从而使视觉刷新率提高到3900Hz,而灰度时钟频率只需要增加1/64倍,相比成2的幂次方倍增加子帧总数能够最大限度地减少耦合现象的恶化,减轻低灰显示效果的变差以及减少LED驱动芯片的功耗增加;另一方面,通过调整子帧总数即可实现对LED显示屏的帧率的调整,无需通过降低灰度时钟频率来实现LED显示屏的帧率的下降,从而可以有效避免由于灰度时钟下降导致LED显示屏的各种显示参数均需重新配置和调整的问题,降低LED显示屏的维护复杂度和调试难度,例如,若需要将LED显示屏的当前帧率60Hz调整为50Hz,则只需要将子帧总数调整为原来的1.2倍并舍弃小数部分取整即为作为新的子帧总数,无需通过调整灰度时钟频率来调节LED显示屏的帧率,从而可以有效避免由于灰度时钟频率下降导致LED显示屏的各种显示参数需要重新配置和调整的问题,进而可以降低LED显示屏的维护复杂度和调试难度。
在介绍了本申请实施例的应用场景和设计思想之后,下面对本申请实施例提供的技术方案进行详细说明。
本申请实施例提供了一种LED显示屏驱动方法,该LED显示屏驱动方法可以应用于发光二极管显示屏、微发光二极管显示屏、迷你发光二极管显示屏、量子点发光二极管显示屏和有机发光二极管显示屏中任一显示屏的LED驱动芯片,其中, LED驱动芯片可以为适用于上述各种显示屏的通用驱动芯片,该通用驱动芯片适用于不同LED灯珠排列的LED显示面板,从而可以降低设计成本和制造成本。参阅图2a所示,本申请实施例提供的LED显示屏驱动方法的概况流程如下:
步骤201:针对LED显示屏中的各个LED灯珠,若确定该LED灯珠在目标帧画面中的总灰度值大于灰度阈值,则基于该LED灯珠在目标帧画面中的总灰度值、目标帧画面的子帧总数和目标帧画面的每一子帧画面的灰度生长序号,确定该LED灯珠在目标帧画面的每一子帧画面中的子灰度值;若确定该LED灯珠在目标帧画面中的总灰度值不大于灰度阈值,则基于该LED灯珠在目标帧画面中的总灰度值、灰度不打散阈值和目标帧画面的每一子帧画面的灰度生长序号,确定该LED灯珠在目标帧画面的每一子帧画面中的子灰度值。
在具体实施时,为了能够提高LED显示屏中的各个LED灯珠在目标帧画面的每一子帧画面中的子灰度值的精准度,LED驱动芯片可以将灰度不打散阈值和子帧总数的乘积确定为灰度阈值;其中,子帧总数的取值可以为1-512中的任一自然数,灰度不打散阈值在开启低灰不打散时取值可以为大于1的自然数,在不开启低灰不打散时取值可以为1。这样,针对LED显示屏中的各个LED灯珠,即可通过将该LED灯珠在目标帧画面的每一子帧画面中的子灰度值与灰度阈值进行比较,并根据比较结果选择灰度不打散阈值或者子帧总数与目标帧画面的每一子帧画面的灰度生长序号和该LED灯珠在目标帧画面中的总灰度值相结合,来确定该LED灯珠在目标帧画面的每一子帧画面中的子灰度值。
步骤202:基于LED显示屏中的各个LED灯珠在目标帧画面的每一子帧画面中的子灰度值,驱动LED显示屏依次显示目标帧画面的每一子帧画面。
在具体实施时,LED驱动芯片可以基于各个LED灯珠在目标帧画面的每一子帧画面中的子灰度值,产生各个LED灯珠在目标帧画面的每一子帧画面中的SPWM脉冲,以基于各个LED灯珠在目标帧画面的每一子帧画面中的SPWM脉冲,驱动LED显示屏依次显示目标帧画面的每一子帧画面,从而完成对LED显示屏显示目标帧画面的驱动操作。
实际应用中,LED驱动芯片在驱动目标帧画面的每一子帧画面时,每一子帧画面依次驱动,且在每一子帧图像内,每一行LED灯珠轮流显示一次各自的子灰度值,例如先显示第一子帧图像的所有行,再显示第二子帧图像的所有行,以此类推,直 到所有的子帧图像显示完成后,再驱动下一目标帧图像。例如图2b所示,LED显示屏包括7行LED灯珠,每一目标帧图像对应8个子帧图像,在第一个子帧图像的开始,首先扫描第1行LED灯珠,从而实现第1行各列LED灯珠的基于子灰度值的驱动,然后扫描第二行LED灯珠,从而实现第2行各列LED灯珠的基于子灰度值的驱动,依此类推,直到扫描第7行LED灯珠,从而实现第7行各列LED灯珠的基于子灰度值的驱动,然后,是扫描第二个子帧图像的第1行LED灯珠,第二个子帧图像的第2行LED灯珠,……,第二个子帧图像的第7行LED灯珠,第三个子帧图像的第1行LED灯珠,……,第八个子帧图像的第7行LED灯珠,一个目标帧图像显示结束,然后下一个目标帧图像继续如此循环。
本申请实施例中,为了尽可能地使LED显示屏中的各个LED灯珠在目标帧画面中的总灰度值均匀打散,LED驱动芯片在确定LED显示屏中的各个LED灯珠在目标帧画面的每一子帧画面中的子灰度值之前,还可以基于目标帧画面的每一子帧画面的子帧序号,确定目标帧画面的每一子帧画面的灰度生长序号。在具体实施时,LED驱动芯片针对目标帧画面的每一子帧画面,可以先对该子帧画面的子帧序号的二进制数执行高低位翻转操作,得到该子帧画面的镜像子帧序号后,基于该子帧画面的镜像子帧序号,确定该子帧画面的灰度生长序号。具体的,若确定该子帧画面的镜像子帧序号小于子帧总数,则将该子帧画面的镜像子帧序号确定为该子帧画面的灰度生长序号;若确定该子帧画面的镜像子帧序号不小于子帧总数,则对该子帧画面的子帧序号迭代执行序号递增操作,直至确定通过执行序号递增操作得到的中间子帧序号的镜像子帧序号小于子帧总数时,将最后一次执行序号递增操作得到的中间子帧序号的镜像子帧序号确定为该子帧画面的灰度生长序号,其中,序号递增操作包括增加第一数值。
例如,假设每个目标帧画面的子帧总数为P(P为大于1的整数),则LED驱动芯片在基于目标帧画面的每一子帧画面的子帧序号,确定目标帧画面的每一子帧画面的灰度生长序号时,可以采用但不限于以下方式:
首先,生成一个N位的生长计数器CNT;其中,当目标帧画面的各子帧画面的子帧序号从0开始计算时,N为M(M=P-1)的二进制位数;比如P=5,则M=P-1=4,M用二进制数表示为100,则“1”、“0”、“0”各算1位,共3位,即N=3,再比如P=12,则M=P-1=11,M用二进制数表示为1011,则“1”、“0”、“1”、“1”各算1 位,共4位,即N=4,再比如P=16,则M=P-1=15,M用二进制数表示为1111,则4个“1”分别算1位,共4位,即N=4。
然后,在开始计算目标帧画面的第一子帧画面的灰度生长序号时,将CNT的计数值设置为0作为子帧序号,在开始计算目标帧画面的其他每一子帧画面的灰度生长序号时,将CNT的计数值加1后作为子帧序号。
其次,针对目标帧画面的每一子帧画面,对该子帧画面的子帧序号(即CNT的计数值)的二进制数执行高低位翻转操作,得到该子帧画面的镜像子帧序号。比如,该子帧画面的子帧序号CNT[N-1:0]=6,二进制数是110,高低位翻转后是011,其十进制数是3,即该子帧画面的镜像子帧序号CNT[0:N-1]=3。再比如,该子帧画面的子帧序号CNT[N-1:0]=14,二进制数是1110,高低位翻转后是0111,其十进制数是7,即该子帧画面的镜像子帧序号CNT[0:N-1]=7。
最后,针对目标帧画面的每一子帧画面,将该子帧画面的镜像子帧序号与子帧总数P作比较;若确定该子帧画面的镜像子帧序号小于子帧总数P,则将该子帧画面的镜像子帧序号确定为该子帧画面的灰度生长序号;若确定该子帧画面的镜像子帧序号大于等于子帧总数P,则对该子帧画面的子帧序号(即CNT的计数值)迭代执行序号递增操作(比如迭代执行加1操作),直至确定通过执行序号递增操作得到的中间子帧序号(即CNT迭代执行加1操作后的计数值)的镜像子帧序号小于子帧总数P时,将最后一次执行序号递增操作得到的中间子帧序号的镜像子帧序号确定为该子帧画面的灰度生长序号。
进一步的,LED驱动芯片基于目标帧画面的每一子帧画面的子帧序号,确定目标帧画面的每一子帧画面的灰度生长序号之后,即可计算LED显示屏中的各个LED灯珠在目标帧画面的每一子帧画面中的子总灰度值。在具体实施时,LED驱动芯片针对LED显示屏中的各个LED灯珠,可以先将该LED灯珠在目标帧画面中的总灰度值与灰度阈值进行比较;若确定该LED灯珠在目标帧画面中的总灰度值大于灰度阈值,则可以将该LED灯珠在目标帧画面中的总灰度值与目标帧画面的子帧总数执行除法操作,得到第一商值和第一余数,针对目标帧画面的每一子帧画面,若确定第一余数大于子帧画面的灰度生长序号,则将该LED灯珠在该子帧画面中的子灰度值确定为第一商值与第二数值的和值,若确定第一余数不大于该子帧画面的灰度生长序号,则将该LED灯珠在该子帧画面中的子灰度值确定为第一商值;若确定该 LED灯珠在目标帧画面中的总灰度值不大于灰度阈值,则可以将该LED灯珠在目标帧画面中的总灰度值与灰度不打散阈值执行除法操作,得到第二商值和第二余数,针对目标帧画面的每一子帧画面,若确定第二商值大于子帧画面的灰度生长序号,则将该LED灯珠在该子帧画面中的子灰度值确定为灰度不打散阈值;若确定第二商值等于该子帧画面的灰度生长序号,则将该LED灯珠在该子帧画面中的子灰度值确定为第二余数;若确定第二商值小于该子帧画面的灰度生长序号,则将该LED灯珠在该子帧画面中的子灰度值确定为0。
例如:假设每个目标帧画面的子帧总数为P(P为大于1的整数),灰度不打散阈值为Q,其中,当不开启低灰不打散时,设置Q=1,当开启低灰不打散时,设置Q为大于1的值,则LED驱动芯片在计算LED显示屏中的各个LED灯珠在目标帧画面的每一子帧画面中的子总灰度值时,可以采用但不限于以下方式:
步骤1:针对LED显示屏中的各个LED灯珠,判断该LED灯珠在目标帧画面中的总灰度值K是否大于子帧总数P与灰度不打散阈值Q的乘积;如果K>P*Q,则进入步骤2A-3A;如果K<=P*Q,则进入步骤2B-3B。
步骤2A:将该LED灯珠在目标帧画面中的总灰度值K除以子帧总数P得到第一商值J和第一余数L。
步骤3A:针对目标帧画面的每一子帧画面,判断第一余数L与该子帧画面的灰度生长序号CNT[0:N-1]的大小关系;若L>CNT[0:N-1],则将该LED灯珠在该子帧画面中的子灰度值确定为第一商值J+1(即第二数值);若K≤CNT[0:N-1],则将该LED灯珠在该子帧画面中的子灰度值确定为第一商值J。
步骤2B:将该LED灯珠在目标帧画面中的总灰度值K除以灰度不打散阈值Q,得到第二商值S和第二余数T。
步骤3B:针对目标帧画面的每一子帧画面,判断第二商值S与该子帧画面的灰度生长序号CNT[0:N-1]的大小关系;若S>CNT[0:N-1],则将该LED灯珠在该子帧画面中的子灰度值确定为灰度不打散阈值Q;若S=CNT[0:N-1],则将该LED灯珠在该子帧画面中的子灰度值确定为第二余数T;若S<CNT[0:N-1],则将该LED灯珠在该子帧画面中的子灰度值确定为0,即不显示。
下面以“灰度不打散阈值Q=4,每个目标帧图像的子帧总数P=12,M=P-1=11的二进制数1100的二进制位数N=4,子帧计数器和生长计数器为N=4位计数器” 为例,对本申请实施例提供的LED显示屏驱动方法作进一步详细说明,参阅图3a所示,本申请实施例提供的LED显示屏驱动方法的具体流程如下:
步骤301:生成4位生长计数器CNT。
步骤302:通过CNT生成目标帧图像的每一子帧图像的灰度生长序号。
其中,如图3b所示,在目标帧图像的每一子帧图像内,CNT的计数值CNT[3:0]按如下规律变化:
在第1子帧图像的开始,第1子帧图像的子帧序号CNT[3:0]=0=0000,则第1子帧图像的镜像子帧序号CNT[0:3]=000=0;因为0<P,所以在第1子帧图像中,CNT变为0后在当前子帧图像内不再改变,即第1子帧图像的灰度生长序号CNT[0:3]为0;
在第2子帧图像的开始,第2子帧图像的子帧序号CNT[3:0]=0+1=1=0001,则第2子帧图像的镜像子帧序号CNT[0:3]=1000=8;因为8<P,所以在第2子帧图像中,CNT变为1后在当前子帧图像内不再改变,即第2子帧图像的灰度生长序号CNT[0:3]为8;
在第3子帧图像的开始,第3子帧图像的子帧序号CNT[3:0]=1+1=2=0010,则第3子帧图像的镜像子帧序号CNT[0:3]=0100=4;因为4<P,所以在第3子帧图像中,CNT变为2后在当前子帧图像内不再改变,即第3子帧图像的灰度生长序号CNT[0:3]为4;
在第4子帧图像的开始,第4子帧图像的子帧序号CNT[3:0]=2+1=3=0011,则第4子帧图像的镜像子帧序号CNT[0:3]=1100=12;因为12≥P,所以CNT还需要再次加1,则CNT=3+1=4,即第4子帧图像的中间子帧序号CNT[3:0]=4=0100,其镜像子帧序号CNT[0:3]=0010=2,因为2<P,所以CNT变为4后在当前子帧图像内不再改变,即第4子帧图像的灰度生长序号CNT[0:3]为2。
在第5子帧图像的开始,第5子帧图像的子帧序号CNT[3:0]=4+1=5=0101,则第5子帧图像的镜像子帧序号CNT[0:3]=1010=10;因为10<P,所以在第5子帧图像中,CNT变为5后在当前子帧内不再改变,即第5子帧图像的灰度生长序号CNT[0:3]为10。
在第6子帧图像的开始,第6子帧图像的子帧序号CNT[3:0]=5+1=6=0110,则第6子帧图像的镜像子帧序号CNT[0:3]=0110=6;因为6<P,所以在第6子帧图像 中,CNT变为6后在当前子帧图像内不再改变,即第6子帧图像的灰度生长序号CNT[0:3]为6。
在第7子帧图像的开始,第7子帧图像的子帧序号CNT[3:0]=6+1=7=0111,则第7子帧图像的镜像子帧序号CNT[0:3]=1110=14;因为14≥P,所以在第7子帧图像中,CNT还需要再次加1,则CNT=7+1=8,即第7子帧图像的中间子帧序号CNT[3:0]=8=1000,其镜像子帧序号CNT[0:3]=0001=1,因为1<P,所以CNT在当前子帧图像内不再改变,即第7子帧图像的灰度生长序号CNT[0:3]为1。
在第8子帧图像的开始,第8子帧图像的子帧序号CNT[3:0]=8+1=9=1001,则第8子帧图像的镜像子帧序号CNT[0:3]=1001=9;因为9<P,所以在第8子帧图像中,CNT变为9后在当前子帧图像内不再改变,即第8子帧图像的灰度生长序号CNT[0:3]为9。
在第9子帧图像的开始,第9子帧图像的子帧序号CNT[3:0]=9+1=10=1010,则第9子帧图像的镜像子帧序号CNT[0:3]=0101=5;因为5<P,所以在第9子帧图像中,CNT变为10后在当前子帧图像内不再改变,即第9子帧图像的灰度生长序号CNT[0:3]为5。
在第10子帧图像的开始,第10子帧图像的子帧序号CNT[3:0]=10+1=11=1011,则第10子帧图像的镜像子帧序号CNT[0:3]=1101=13;因为13≥P,所以在第10子帧图像中,CNT还需要再次加1,则CNT=11+1=12,即第10子帧图像的中间子帧序号CNT[3:0]=12=1100,其镜像子帧序号CNT[0:3]=0011=3,因为3<P,所以CNT变为12后在当前子帧图像内不再改变,即第10子帧图像的灰度生长序号CNT[0:3]为3。
在第11子帧图像的开始,第11子帧图像的子帧序号CNT[3:0]=12+1=13=1101,则第11子帧图像的镜像子帧序号CNT[0:3]=1011=11;因为11<P,所以在第11子帧图像中,CNT变为13后在当前子帧图像内不再改变,即第11子帧图像的灰度生长序号CNT[0:3]为11。
在第12子帧图像的开始,第12子帧图像的子帧序号CNT[3:0]=13+1=14=1110,则第12子帧图像的镜像子帧序号CNT[0:3]=0111=7;因为7<P,所以在第12子帧图像中,CNT变为14后在当前子帧图像内不再改变,即第12子帧图像的灰度生长序号CNT[0:3]为7。
步骤303:针对LED显示屏中的各个LED灯珠,基于该LED灯珠在目标帧画面中的总灰度值K与灰度阈值P*Q之间的大小关系选择子帧总数P或者灰度不打散阈值Q,并结合该LED灯珠在目标帧画面中的总灰度值K和目标帧画面的每一子帧画面的灰度生长序号CNT[0:3],确定该LED灯珠在目标帧画面的每一子帧画面中的子灰度值。
例如,当LED显示屏中的某个LED灯珠在目标帧画面中的总灰度值K=68时,由于K>P*Q,则计算K/P=68/12,得到第一商值J=5,第一余数L=8,将第一余数L分别与目标帧画面的每一子帧图像的灰度生长序号CNT[0:3]作比较后,如表1所示,可得第2帧图像、第5帧图像、第8帧图像、第11子帧图像的子灰度值为5,其他子帧图像的子灰度值为6,即每3个子帧图像的子灰度值分别为“6,5,6”,实现了总灰度值的均匀打散,有效避免了因帧内灰度打散不均匀导致画面显示异常的问题。
表1.
又如,当LED显示屏中的某个LED灯珠在目标帧画面中的总灰度值K=19时,由于K<=P*Q,则计算K/Q=19/4,得到第二商值S=4,第二余数T=3,将第二商值S分别与目标帧画面的每一子帧图像的灰度生长序号CNT[0:3]作比较后,如表2所示,可得第1子帧图像、第4子帧图像、第7子帧图像、第10子帧图像的子灰度值均为4,第3子帧图像的子灰度值为3,其他子帧图像的子灰度值为0。
表2.
可见,此例中,假如子灰度值为4的四个子帧图像都集中在第1~4子帧图像中,则在第5~12子帧图像的时间内,LED灯珠是关闭的,即不亮的,这段黑暗的时间如果超过了人眼的视觉暂留阈值,则人眼就能察觉到亮暗交替闪烁的画面,而本申请实施例提供的LED显示屏驱动方法中,观察表1得知,子灰度值为4的四个子帧图像在12个子帧图像内的时间间隔是相等的,都为2个子帧图像的时间,即实现了总灰度值的均匀打散,有效避免了因帧内灰度打散不均匀导致画面显示异常的问题。而且,本申请实施例提供的LED显示屏驱动方法非常易于使用芯片或FPGA等硬件或软件实现,且具有普适性(即适用于任意灰度值和1~512中任意子帧数),从而降低了研发成本和实现成本,从工程角度来看,具有很高的工业价值,且硬件开销很小。
基于上述实施例,本申请实施例还提供了一种LED显示屏驱动系统,参阅图4所示,本申请实施例提供的LED显示屏驱动系统400至少包括:
存储器401,用于存储灰度不打散阈值、目标帧画面的子帧总数和LED显示屏中的各个LED灯珠在目标帧画面中的总灰度值;
子帧计数器402,用于产生目标帧画面的每一子帧画面的子帧序号;
生长计数器403,用于基于目标帧画面的每一子帧画面的子帧序号,产生目标帧画面的每一子帧画面所对应的表征灰度分配优先级的灰度生长序号;
第一比较器404,用于分别将存储器401存储的各个LED灯珠在目标帧画面中的总灰度值与灰度阈值进行比较,并输出各个LED灯珠的比较结果;
选择器405,用于分别基于比较器404输出的各个LED灯珠的比较结果,从存储器401存储的灰度不打散阈值和子帧总数中选择其中一个,并输出各个LED灯珠的选择结果;
处理器406,用于基于选择器405输出的各个LED灯珠的选择结果、生长计数器403产生的目标帧画面的每一子帧画面的灰度生长序号和存储器401存储的各个LED灯珠在目标帧画面中的总灰度值,确定各个LED灯珠在目标帧画面的每一子帧画面中的子灰度值;
SPWM发生器407,用于基于各个LED灯珠在目标帧画面的每一子帧画面中的子灰度值,产生各个LED灯珠在目标帧画面的每一子帧画面中的SPWM脉冲,以驱动LED显示屏依次显示目标帧画面的每一子帧画面。
在一种可能的实施方式中,处理器406,还用于将灰度不打散阈值和子帧总数的乘积确定为灰度阈值;其中,子帧总数的取值为1-512中的任一自然数,灰度不打散阈值在开启低灰不打散时取值为大于1的自然数,在不开启低灰不打散时取值为1。
在一种可能的实施方式中,生长计数器403,具体用于针对目标帧画面的每一子帧画面,对子帧画面的子帧序号的二进制数执行高低位翻转操作,得到子帧画面的镜像子帧序号,并基于子帧画面的镜像子帧序号,确定子帧画面的灰度生长序号。
在一种可能的实施方式中,生长计数器403,具体用于若通过第二比较器408确定子帧画面的镜像子帧序号小于子帧总数,则将子帧画面的镜像子帧序号确定为子帧画面的灰度生长序号,若通过第二比较器408确定子帧画面的镜像子帧序号不小于子帧总数,则对子帧画面的子帧序号迭代执行序号递增操作,直至通过第二比较器408确定执行序号递增操作后得到的中间子帧序号的镜像子帧序号小于子帧总数时,将最后一次执行序号递增操作得到的中间子帧序号的镜像子帧序号确定为子帧画面的灰度生长序号,其中,序号递增操作包括增加第一数值。
在一种可能的实施方式中,本申请实施例提供的LED显示屏驱动系统400还包括:
除法器409,用于针对LED显示屏中的各个LED灯珠,将该LED灯珠在目标 帧画面中的总灰度值与目标帧画面的子帧总数执行除法操作,得到第一商值和第一余数并输出;或者,针对LED显示屏中的各个LED灯珠,将该LED灯珠在目标帧画面中的总灰度值与灰度不打散阈值执行除法操作,得到第二商值和第二余数并输出。
在一种可能的实施方式中,处理器406,还用于针对目标帧画面的每一子帧画面,若通过第三比较器410确定第一余数大于子帧画面的灰度生长序号,则将LED灯珠在子帧画面中的子灰度值确定为第一商值与第二数值的和值;若通过第三比较器410确定第一余数不大于子帧画面的灰度生长序号,则将LED灯珠在子帧画面中的子灰度值确定为第一商值;或者,针对目标帧画面的每一子帧画面,若通过第三比较器410确定第二商值大于子帧画面的灰度生长序号,则将LED灯珠在子帧画面中的子灰度值确定为灰度不打散阈值;若通过第三比较器410确定第二商值等于子帧画面的灰度生长序号,则将LED灯珠在子帧画面中的子灰度值确定为第二余数;若通过第三比较器410确定第二商值小于子帧画面的灰度生长序号,则将LED灯珠在子帧画面中的子灰度值确定为0。
基于上述实施例,本申请实施例还提供了一种LED显示屏驱动装置,参阅图5所示,本申请实施例提供的LED显示屏驱动装置500至少包括:
处理单元501,用于针对LED显示屏中的各个LED灯珠,若确定LED灯珠在目标帧画面中的总灰度值大于灰度阈值,则基于LED灯珠在目标帧画面中的总灰度值、目标帧画面的子帧总数和目标帧画面的每一子帧画面的灰度生长序号,确定LED灯珠在目标帧画面的每一子帧画面中的子灰度值;若确定LED灯珠在目标帧画面中的总灰度值不大于灰度阈值,则基于LED灯珠在目标帧画面中的总灰度值、灰度不打散阈值和目标帧画面的每一子帧画面的灰度生长序号,确定LED灯珠在目标帧画面的每一子帧画面中的子灰度值;其中,灰度生长序号是基于子帧画面的子帧序号确定的表征子帧画面的灰度分配优先级的参数;
驱动单元502,用于基于LED显示屏中的各个LED灯珠在目标帧画面的每一子帧画面中的子灰度值,驱动LED显示屏依次显示目标帧画面的每一子帧画面。
在一种可能的实施方式中,本申请实施例提供的LED显示屏驱动装置500还包括:
设置单元503,用于将灰度不打散阈值和子帧总数的乘积确定为灰度阈值;其 中,子帧总数的取值为1-512中的任一自然数,灰度不打散阈值在开启低灰不打散时取值为大于1的自然数,在不开启低灰不打散时取值为1。
在一种可能的实施方式中,本申请实施例提供的LED显示屏驱动装置500还包括:
生成单元504,用于针对目标帧画面的每一子帧画面,对子帧画面的子帧序号的二进制数执行高低位翻转操作,得到子帧画面的镜像子帧序号,并基于子帧画面的镜像子帧序号,确定子帧画面的灰度生长序号。
在一种可能的实施方式中,基于子帧画面的镜像子帧序号,确定子帧画面的灰度生长序号时,生成单元504具体用于:
若确定子帧画面的镜像子帧序号小于子帧总数,则将子帧画面的镜像子帧序号确定为子帧画面的灰度生长序号;若确定子帧画面的镜像子帧序号不小于子帧总数,则对子帧画面的子帧序号迭代执行序号递增操作,直至确定通过执行序号递增操作得到的中间子帧序号的镜像子帧序号小于子帧总数时,将最后一次执行序号递增操作得到的中间子帧序号的镜像子帧序号确定为子帧画面的灰度生长序号;其中,序号递增操作包括增加第一数值。
在一种可能的实施方式中,基于LED灯珠在目标帧画面中的总灰度值、目标帧画面的子帧总数和目标帧画面的每一子帧画面的灰度生长序号,确定LED灯珠在目标帧画面的每一子帧画面中的子灰度值时,处理单元501具体用于:
将LED灯珠在目标帧画面中的总灰度值与目标帧画面的子帧总数执行除法操作,得到第一商值和第一余数;
针对目标帧画面的每一子帧画面,若确定第一余数大于子帧画面的灰度生长序号,则将LED灯珠在子帧画面中的子灰度值确定为第一商值与第二数值的和值;若确定第一余数不大于子帧画面的灰度生长序号,则将LED灯珠在子帧画面中的子灰度值确定为第一商值。
在一种可能的实施方式中,基于LED灯珠在目标帧画面中的总灰度值、灰度不打散阈值和目标帧画面的每一子帧画面的灰度生长序号,确定LED灯珠在目标帧画面的每一子帧画面中的子灰度值时,处理单元501具体用于:
将LED灯珠在目标帧画面中的总灰度值与灰度不打散阈值执行除法操作,得到第二商值和第二余数;
针对目标帧画面的每一子帧画面,若确定第二商值大于子帧画面的灰度生长序号,则将LED灯珠在子帧画面中的子灰度值确定为灰度不打散阈值;若确定第二商值等于子帧画面的灰度生长序号,则将LED灯珠在子帧画面中的子灰度值确定为第二余数;若确定第二商值小于子帧画面的灰度生长序号,则将LED灯珠在子帧画面中的子灰度值确定为0。
需要说明的是,本申请实施例提供的LED显示屏驱动装置500解决技术问题的原理与本申请实施例提供的LED显示屏驱动方法相似,因此,本申请实施例提供的LED显示屏驱动装置500的实施可以参见本申请实施例提供的LED显示屏驱动方法的实施,重复之处不再赘述。
在介绍了本申请实施例提供的LED显示屏驱动方法、系统和装置之后,接下来,对本申请实施例提供的电子设备进行简单介绍。
参阅图6所示,本申请实施例提供的电子设备600至少包括:处理器601、存储器602和存储在存储器602上并可在处理器601上运行的计算机程序,处理器601执行计算机程序时实现本申请实施例提供的LED显示屏驱动方法。
本申请实施例提供的电子设备600还可以包括连接不同组件(包括处理器601和存储器602)的总线603。其中,总线603表示几类总线结构中的一种或多种,包括存储器总线、外围总线、局域总线等。
存储器602可以包括易失性存储器形式的可读介质,例如随机存储器(Random Access Memory,RAM)6021和/或高速缓存存储器6022,还可以进一步包括只读存储器(Read Only Memory,ROM)6023。
存储器602还可以包括具有一组(至少一个)程序模块6024的程序工具6025,程序模块6024包括但不限于:操作子系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。
处理器601可以是一个处理器,也可以是多个处理元件的统称,例如,处理器601可以是中央处理器(Central Processing Unit,CPU),或者是被配置成实施以上LED显示屏驱动方法的一个或多个集成电路。具体的,处理器601可以是通用处理器,包括但不限于CPU、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。
电子设备600也可以与一个或多个外部设备604(例如键盘、遥控器等)通信,还可以与一个或者多个使得用户能与电子设备600交互的设备通信(例如手机、电脑等),和/或,与使得电子设备600与一个或多个其它电子设备600进行通信的任何设备(例如路由器、调制解调器等)通信。这种通信可以通过输入/输出(Input/Output,I/O)接口605进行。并且,电子设备600还可以通过网络适配器606与一个或者多个网络(例如局域网(Local Area Network,LAN),广域网(Wide Area Network,WAN)和/或公共网络,例如因特网)通信。如图6所示,网络适配器606通过总线603与电子设备600的其它模块通信。应当理解,尽管图6中未示出,可以结合电子设备600使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理器、外部磁盘驱动阵列、磁盘阵列(Redundant Arrays of Independent Disks,RAID)子系统、磁带驱动器以及数据备份存储子系统等。
示例性地,本申请实施例中的电子设备包括但不限于台式电脑、电视机、具有大尺寸屏幕的移动设备,如手机、平板电脑等其他常见的需要多个芯片级联连接来实现驱动的电子设备。
电子设备还可以是用户设备(User Equipment,UE)、移动设备、用户终端、终端、手持设备、计算设备或者车载设备等,示例性的,一些终端的举例为:显示器、智能手机或便携设备、手机(Mobile Phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(Mobile Internetdevice,MID)、可穿戴设备,虚拟现实(Virtual Reality,VR)设备、增强现实(Augmented Reality,AR)设备、工业控制(Industrial Control)中的无线终端、无人驾驶(Selfdriving)中的无线终端、远程手术(Remote medical Surgery)中的无线终端、智能电网(Smart Grid)中的无线终端、运输安全(Transportation Safety)中的无线终端、智慧城市(Smart City)中的无线终端、智慧家庭(Smart Home)中的无线终端、车联网中的无线终端等。
需要说明的是,图6所示的电子设备600仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。
接下来,对本申请实施例提供的显示驱动装置进行介绍,本申请实施例提供的显示驱动装置可以包括本申请实施例中的上述LED驱动芯片,该显示驱动装置可以用于通过LED驱动芯片执行本申请实施例提供的LED显示屏驱动方法。
此外,本申请实施例还提供了一种可读存储介质,本申请实施例提供的可读存 储介质存储有程序指令,该程序指令被处理器执行时实现本申请实施例提供的LED显示屏驱动方法。具体地,该程序指令可以内置或者安装在处理器中,这样,处理器就可以通过执行内置或者安装的程序指令实现本申请实施例提供的LED显示屏驱动方法。
本申请实施例提供的可读存储介质可以是但不限于是电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合,具体地,可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、RAM、ROM、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、光纤、便携式紧凑盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。
应当注意,尽管在上文详细描述中提及了装置的若干单元或子单元,但是这种划分仅仅是示例性的并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多单元的特征和功能可以在一个单元中具体化。反之,上文描述的一个单元的特征和功能可以进一步划分为由多个单元来具体化。
此外,尽管在附图中以特定顺序描述了本申请方法的操作,但是,这并非要求或者暗示必须按照该特定顺序来执行这些操作,或是必须执行全部所示的操作才能实现期望的结果。附加地或备选地,可以省略某些步骤,将多个步骤合并为一个步骤执行,和/或将一个步骤分解为多个步骤执行。
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。
显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请实施例的精神和范围。这样,倘若本申请实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (12)

  1. 一种LED显示屏驱动方法,其特征在于,包括:
    针对LED显示屏中的各个LED灯珠,若确定所述LED灯珠在所述目标帧画面中的总灰度值大于灰度阈值,则基于所述LED灯珠在所述目标帧画面中的总灰度值、所述目标帧画面的子帧总数和所述目标帧画面的每一子帧画面的灰度生长序号,确定所述LED灯珠在所述目标帧画面的每一子帧画面中的子灰度值;若确定所述LED灯珠在所述目标帧画面中的总灰度值不大于所述灰度阈值,则基于所述LED灯珠在所述目标帧画面中的总灰度值、灰度不打散阈值和所述目标帧画面的每一子帧画面的灰度生长序号,确定所述LED灯珠在所述目标帧画面的每一子帧画面中的子灰度值;其中,所述灰度生长序号是基于子帧画面的子帧序号确定的表征所述子帧画面的灰度分配优先级的参数;
    基于所述LED显示屏中的各个LED灯珠在所述目标帧画面的每一子帧画面中的子灰度值,驱动所述LED显示屏依次显示所述目标帧画面的每一子帧画面。
  2. 如权利要求1所述的LED显示屏驱动方法,其特征在于,还包括:
    将所述灰度不打散阈值和所述子帧总数的乘积确定为所述灰度阈值。
  3. 如权利要求1所述的LED显示屏驱动方法,其特征在于,所述子帧总数的取值为1-512中的任一自然数;所述灰度不打散阈值在开启低灰不打散时取值为大于1的自然数,在不开启所述低灰不打散时取值为1。
  4. 如权利要求1所述的LED显示屏驱动方法,其特征在于,还包括:
    针对所述目标帧画面的每一子帧画面,对所述子帧画面的子帧序号的二进制数执行高低位翻转操作,得到所述子帧画面的镜像子帧序号,并基于所述子帧画面的镜像子帧序号,确定所述子帧画面的灰度生长序号。
  5. 如权利要求4所述的LED显示屏驱动方法,其特征在于,基于所述子帧画面的镜像子帧序号,确定所述子帧画面的灰度生长序号,包括:
    若确定所述子帧画面的镜像子帧序号小于所述子帧总数,则将所述子帧画面的镜像子帧序号确定为所述子帧画面的灰度生长序号;若确定所述子帧画面的镜像子帧序号不小于所述子帧总数,则对所述子帧画面的子帧序号迭代执行序号递增操作,直至确定通过执行所述序号递增操作得到的中间子帧序号的镜像子帧序号小于所述 子帧总数时,将最后一次执行所述序号递增操作得到的中间子帧序号的镜像子帧序号确定为所述子帧画面的灰度生长序号;其中,所述序号递增操作包括增加第一数值。
  6. 如权利要求1所述的LED显示屏驱动方法,其特征在于,基于所述LED灯珠在所述目标帧画面中的总灰度值、所述目标帧画面的子帧总数和所述目标帧画面的每一子帧画面的灰度生长序号,确定所述LED灯珠在所述目标帧画面的每一子帧画面中的子灰度值,包括:
    将所述LED灯珠在所述目标帧画面中的总灰度值与所述目标帧画面的子帧总数执行除法操作,得到第一商值和第一余数;
    针对所述目标帧画面的每一子帧画面,若确定所述第一余数大于所述子帧画面的灰度生长序号,则将所述LED灯珠在所述子帧画面中的子灰度值确定为所述第一商值与第二数值的和值;若确定所述第一余数不大于所述子帧画面的灰度生长序号,则将所述LED灯珠在所述子帧画面中的子灰度值确定为所述第一商值。
  7. 如权利要求1所述的LED显示屏驱动方法,其特征在于,基于所述LED灯珠在所述目标帧画面中的总灰度值、灰度不打散阈值和所述目标帧画面的每一子帧画面的灰度生长序号,确定所述LED灯珠在所述目标帧画面的每一子帧画面中的子灰度值,包括:
    将所述LED灯珠在所述目标帧画面中的总灰度值与所述灰度不打散阈值执行除法操作,得到第二商值和第二余数;
    针对所述目标帧画面的每一子帧画面,若确定所述第二商值大于所述子帧画面的灰度生长序号,则将所述LED灯珠在所述子帧画面中的子灰度值确定为所述灰度不打散阈值;若确定所述第二商值等于所述子帧画面的灰度生长序号,则将所述LED灯珠在所述子帧画面中的子灰度值确定为所述第二余数;若确定所述第二商值小于所述子帧画面的灰度生长序号,则将所述LED灯珠在所述子帧画面中的子灰度值确定为0。
  8. 如权利要求1-7任一项所述的LED显示屏驱动方法,其特征在于,应用于发光二极管显示屏、微发光二极管显示屏、迷你发光二极管显示屏、量子点发光二极管显示屏和有机发光二极管显示屏中的任意一种。
  9. 一种LED显示屏驱动系统,其特征在于,包括:
    存储器,用于存储灰度不打散阈值、目标帧画面的子帧总数和LED显示屏中的各个LED灯珠在所述目标帧画面中的总灰度值;
    子帧计数器,用于产生所述目标帧画面的每一子帧画面的子帧序号;
    生长计数器,用于基于所述目标帧画面的每一子帧画面的子帧序号,产生所述目标帧画面的每一子帧画面所对应的表征灰度分配优先级的灰度生长序号;
    比较器,用于分别将所述存储器存储的各个LED灯珠在所述目标帧画面中的总灰度值与灰度阈值进行比较,并输出各个LED灯珠的比较结果;
    选择器,用于分别基于所述比较器输出的各个LED灯珠的比较结果,从所述存储器存储的所述灰度不打散阈值和所述子帧总数中选择其中一个,并输出各个LED灯珠的选择结果;
    处理器,用于基于所述选择器输出的各个LED灯珠的选择结果、所述生长计数器产生的所述目标帧画面的每一子帧画面的灰度生长序号和所述存储器存储的各个LED灯珠在所述目标帧画面中的总灰度值,确定各个LED灯珠在所述目标帧画面的每一子帧画面中的子灰度值;
    SPWM发生器,用于基于各个LED灯珠在所述目标帧画面的每一子帧画面中的子灰度值,产生各个LED灯珠在所述目标帧画面的每一子帧画面中的SPWM脉冲,以驱动所述LED显示屏依次显示所述目标帧画面的每一子帧画面。
  10. 一种LED显示屏驱动装置,其特征在于,包括:
    处理单元,用于针对LED显示屏中的各个LED灯珠,若确定所述LED灯珠在所述目标帧画面中的总灰度值大于灰度阈值,则基于所述LED灯珠在所述目标帧画面中的总灰度值、所述目标帧画面的子帧总数和所述目标帧画面的每一子帧画面的灰度生长序号,确定所述LED灯珠在所述目标帧画面的每一子帧画面中的子灰度值;若确定所述LED灯珠在所述目标帧画面中的总灰度值不大于所述灰度阈值,则基于所述LED灯珠在所述目标帧画面中的总灰度值、灰度不打散阈值和所述目标帧画面的每一子帧画面的灰度生长序号,确定所述LED灯珠在所述目标帧画面的每一子帧画面中的子灰度值;其中,所述灰度生长序号是基于子帧画面的子帧序号确定的表征所述子帧画面的灰度分配优先级的参数;
    驱动单元,用于基于所述LED显示屏中的各个LED灯珠在所述目标帧画面的每一子帧画面中的子灰度值,驱动所述LED显示屏依次显示所述目标帧画面的每一 子帧画面。
  11. 一种电子设备,其特征在于,包括:存储器、处理器和存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1-8任一项所述的LED显示屏驱动方法。
  12. 一种可读存储介质,其特征在于,所述可读存储介质存储有程序指令,所述程序指令被处理器执行时实现如权利要求1-8任一项所述的LED显示屏驱动方法。
PCT/CN2023/101556 2022-06-24 2023-06-21 一种led显示屏驱动方法、系统、装置、设备及介质 WO2023246828A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020247001000A KR20240021249A (ko) 2022-06-24 2023-06-21 Led 디스플레이 스크린 구동 방법, 시스템, 장치, 기기 및 매체

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210730351.2 2022-06-24
CN202210730351.2A CN115050314A (zh) 2022-06-24 2022-06-24 一种led显示屏驱动方法、系统、装置、设备及介质

Publications (2)

Publication Number Publication Date
WO2023246828A1 true WO2023246828A1 (zh) 2023-12-28
WO2023246828A9 WO2023246828A9 (zh) 2024-02-15

Family

ID=83164063

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/101556 WO2023246828A1 (zh) 2022-06-24 2023-06-21 一种led显示屏驱动方法、系统、装置、设备及介质

Country Status (3)

Country Link
KR (1) KR20240021249A (zh)
CN (1) CN115050314A (zh)
WO (1) WO2023246828A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115050314A (zh) * 2022-06-24 2022-09-13 北京集创北方科技股份有限公司 一种led显示屏驱动方法、系统、装置、设备及介质
CN115631720B (zh) * 2022-12-22 2023-03-14 成都利普芯微电子有限公司 一种led显示屏驱动芯片及led显示屏
CN116524851B (zh) * 2023-07-04 2023-10-24 集创北方(成都)科技有限公司 Led显示驱动方法、led显示驱动芯片及装置、显示面板
CN117894270A (zh) * 2024-03-14 2024-04-16 集创北方(珠海)科技有限公司 一种led显示驱动方法、装置、芯片和电子设备

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1152912A (ja) * 1997-08-08 1999-02-26 Fujitsu Ltd 階調表示方法
KR20030076030A (ko) * 2002-03-22 2003-09-26 주식회사 케이이씨 셀프 스캔 생성회로
CN101004886A (zh) * 2006-01-20 2007-07-25 株式会社半导体能源研究所 显示装置的驱动方法
JP2007265055A (ja) * 2006-03-29 2007-10-11 Nec Engineering Ltd 2値画像の解像度変換処理方法
CN102714005A (zh) * 2010-03-05 2012-10-03 松下电器产业株式会社 等离子显示装置的驱动方法、等离子显示装置及等离子显示系统
CN104637449A (zh) * 2015-03-03 2015-05-20 深圳市华星光电技术有限公司 驱动有源矩阵有机发光二极管面板的方法
CN105590588A (zh) * 2015-12-21 2016-05-18 武汉华星光电技术有限公司 背光调节方法、液晶显示装置及电子设备
US20190114971A1 (en) * 2017-10-17 2019-04-18 Microsoft Technology Licensing, Llc Pulse-width modulation based on image gray portion
CN111161164A (zh) * 2019-12-09 2020-05-15 吉迪思电子科技(上海)有限公司 图像处理装置、方法及显示装置
CN112037710A (zh) * 2020-09-09 2020-12-04 中科芯集成电路有限公司 一种多通道led驱动芯片通道分时打开pwm算法
CN112614473A (zh) * 2020-12-08 2021-04-06 北京集创北方科技股份有限公司 一种数据处理方法及系统、存储介质及终端
CN112835830A (zh) * 2020-04-15 2021-05-25 成都利普芯微电子有限公司 一种灰度数据显示驱动模块及灰度数据传输方法
CN115050314A (zh) * 2022-06-24 2022-09-13 北京集创北方科技股份有限公司 一种led显示屏驱动方法、系统、装置、设备及介质

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1152912A (ja) * 1997-08-08 1999-02-26 Fujitsu Ltd 階調表示方法
KR20030076030A (ko) * 2002-03-22 2003-09-26 주식회사 케이이씨 셀프 스캔 생성회로
CN101004886A (zh) * 2006-01-20 2007-07-25 株式会社半导体能源研究所 显示装置的驱动方法
JP2007265055A (ja) * 2006-03-29 2007-10-11 Nec Engineering Ltd 2値画像の解像度変換処理方法
CN102714005A (zh) * 2010-03-05 2012-10-03 松下电器产业株式会社 等离子显示装置的驱动方法、等离子显示装置及等离子显示系统
CN104637449A (zh) * 2015-03-03 2015-05-20 深圳市华星光电技术有限公司 驱动有源矩阵有机发光二极管面板的方法
CN105590588A (zh) * 2015-12-21 2016-05-18 武汉华星光电技术有限公司 背光调节方法、液晶显示装置及电子设备
US20190114971A1 (en) * 2017-10-17 2019-04-18 Microsoft Technology Licensing, Llc Pulse-width modulation based on image gray portion
CN111161164A (zh) * 2019-12-09 2020-05-15 吉迪思电子科技(上海)有限公司 图像处理装置、方法及显示装置
CN112835830A (zh) * 2020-04-15 2021-05-25 成都利普芯微电子有限公司 一种灰度数据显示驱动模块及灰度数据传输方法
CN112037710A (zh) * 2020-09-09 2020-12-04 中科芯集成电路有限公司 一种多通道led驱动芯片通道分时打开pwm算法
CN112614473A (zh) * 2020-12-08 2021-04-06 北京集创北方科技股份有限公司 一种数据处理方法及系统、存储介质及终端
CN115050314A (zh) * 2022-06-24 2022-09-13 北京集创北方科技股份有限公司 一种led显示屏驱动方法、系统、装置、设备及介质

Also Published As

Publication number Publication date
CN115050314A (zh) 2022-09-13
KR20240021249A (ko) 2024-02-16
WO2023246828A9 (zh) 2024-02-15

Similar Documents

Publication Publication Date Title
WO2023246828A1 (zh) 一种led显示屏驱动方法、系统、装置、设备及介质
CN100483500C (zh) 通过亮度控制对液晶显示器面板功率管理的实时动态设计
CN109036295B (zh) 图像显示处理方法及装置、显示装置及存储介质
CN105976774B (zh) 栅极驱动器、显示驱动器电路及驱动栅极线的方法
CN105096797A (zh) 用于可变刷新率显示器的依赖刷新率的自适应抖动
KR101982296B1 (ko) 백라이트 유닛의 광원 구동장치 및 방법
WO2018126861A1 (zh) 显示屏的驱动电路、显示方法及显示器件
WO2019071784A1 (zh) 显示驱动方法、装置及设备
TW201419244A (zh) 液晶顯示器及其源極驅動器與控制方法
US20170213501A1 (en) Display apparatus and driving method thereof
TW202403716A (zh) Led顯示驅動方法、led顯示驅動晶片及裝置、顯示面板
CN104795032A (zh) 显示面板的显示设备、显示面板驱动器以及驱动方法
CN113851074B (zh) 一种led驱动脉冲调制方法及装置
CN1828698A (zh) 平面显示器及其驱动方法
CN109949752B (zh) 一种区域显示亮度调节方法、播放终端及存储介质
CN109196575A (zh) Oled感知内容创建和内容编制
CN110534054A (zh) 显示驱动方法及装置、显示装置、存储介质、芯片
CN114582292B (zh) 液晶显示器以及控制液晶面板和背光面板的设备和方法
WO2019076121A1 (zh) 显示装置、像素电路及其驱动方法和驱动装置
CN112951150B (zh) Led显示屏节能方法、装置、设备及存储介质
KR20130043675A (ko) 디스플레이 백라이트 정규화
WO2019061655A1 (zh) 液晶显示器驱动方法、系统及计算机可读取介质
TW202331673A (zh) 顯示數據之儲存和顯示方法及利用其之顯示裝置和資訊處理裝置
JP2023515659A (ja) 電子ディスプレイの二重メモリ駆動
JP2012226178A (ja) 表示制御装置、表示システム、画像データ出力方法、プログラム、及び記録媒体

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 20247001000

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 1020247001000

Country of ref document: KR

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23826474

Country of ref document: EP

Kind code of ref document: A1