WO2022022290A1 - Led 驱动方法、显示装置及可读存储介质 - Google Patents

Led 驱动方法、显示装置及可读存储介质 Download PDF

Info

Publication number
WO2022022290A1
WO2022022290A1 PCT/CN2021/106387 CN2021106387W WO2022022290A1 WO 2022022290 A1 WO2022022290 A1 WO 2022022290A1 CN 2021106387 W CN2021106387 W CN 2021106387W WO 2022022290 A1 WO2022022290 A1 WO 2022022290A1
Authority
WO
WIPO (PCT)
Prior art keywords
led
peak current
brightness value
target
played
Prior art date
Application number
PCT/CN2021/106387
Other languages
English (en)
French (fr)
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 惠州视维新技术有限公司
Publication of WO2022022290A1 publication Critical patent/WO2022022290A1/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/34Control 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 by control of light from an independent source
    • G09G3/3406Control of illumination source

Definitions

  • the present application relates to the field of display technology, and in particular, to an LED driving method, a display device and a readable storage medium.
  • the peak current of the LED is generally limited to the current corresponding to the maximum brightness of the LED, but the images received by the display devices often have different brightness due to different sources or scenes. , some images require less brightness, and all images use the current corresponding to the maximum brightness as the peak current of the LED to drive the power supply, which will result in a greater impact on the power supply when displaying images with low brightness requirements, making the power supply reliability is low.
  • the main purpose of the present application is to provide an LED driving method, a display device and a readable storage medium, so as to achieve the effect of improving the reliability of the power supply.
  • an embodiment of the present application provides an LED driving method, and the LED driving method includes the following steps:
  • the step of obtaining the target peak current of the LED according to the maximum brightness value of the video frame to be played includes:
  • the target peak current of the LED is obtained according to the maximum brightness value of the video frame to be played, the maximum brightness value of the LED, and the maximum peak current of the LED.
  • the step of obtaining the target peak current of the LED according to the maximum brightness value of the video frame to be played, the maximum brightness value of the LED and the maximum peak current of the LED includes:
  • the target peak current of the LED is determined according to the drive current.
  • the step of determining the target peak current of the LED according to the driving current includes:
  • the target peak current of the LED is determined according to the minimum drive current.
  • the to-be-played frame includes at least two video partitions
  • the step of acquiring the maximum brightness value of the to-be-played video frame includes:
  • the maximum brightness value among the acquired brightness values is taken as the maximum brightness value of the video frame to be played.
  • the step of obtaining the target duty cycle of the LED according to the target peak current and the brightness value of the video frame to be played includes:
  • the target peak current, the video partition, and the target duty cycle of the LED corresponding to the video partition are sent to the driver chip, so that when the driver chip drives the LED, according to each The target duty cycle of the LED associated with the video partition and the target peak current drive the LED partition corresponding to the video partition.
  • the step of obtaining the target duty cycle of the LED corresponding to each of the video partitions according to the brightness value of each of the video partitions and the target peak current of the LEDs includes:
  • the target duty cycle of the LED corresponding to each video partition is obtained according to the corrected luminance value of each video partition and the target peak current of the LED.
  • the step of obtaining the target duty cycle of the LED corresponding to each of the video partitions according to the corrected luminance value of each of the video partitions and the target peak current of the LEDs includes:
  • the target duty cycle of the LED corresponding to each video partition is obtained according to the maximum brightness value corresponding to the target peak current of the LED and the corrected brightness value of each video partition.
  • an embodiment of the present application further provides a display device, the display device includes: a driver chip, an LED, a memory, a processor, and an LED driver stored in the memory and running on the processor program, the LED driver implements the following steps when executed by the processor:
  • the step includes:
  • the target peak current of the LED is obtained according to the maximum brightness value of the video frame to be played, the maximum brightness value of the LED, and the maximum peak current of the LED.
  • the LED driver is executed by the processor to obtain the target of the LED according to the maximum brightness value of the video frame to be played, the maximum brightness value of the LED, and the maximum peak current of the LED.
  • Peak current steps include:
  • the target peak current of the LED is determined according to the drive current.
  • the step of determining the target peak current of the LED according to the driving current includes:
  • the target peak current of the LED is determined according to the minimum drive current.
  • the to-be-played frame includes at least two video partitions
  • the step of acquiring the maximum brightness value of the to-be-played video frame includes:
  • the maximum brightness value among the acquired brightness values is taken as the maximum brightness value of the video frame to be played.
  • the step includes:
  • the step of sending the target peak current and the target duty cycle to the driver chip includes:
  • the target peak current, the video partition, and the target duty cycle of the LED corresponding to the video partition are sent to the driver chip, so that when the driver chip drives the LED, according to each The target duty cycle of the LED associated with the video partition and the target peak current drive the LED partition corresponding to the video partition.
  • the LED driver program is executed by the processor to obtain the LED corresponding to each video partition according to the brightness value of each video partition and the target peak current of the LED.
  • Steps to target duty cycle include:
  • the target duty cycle of the LED corresponding to each video partition is obtained according to the corrected luminance value of each video partition and the target peak current of the LED.
  • the LED driver program is executed by the processor to obtain the LED corresponding to each of the video partitions according to the corrected brightness value of each of the video partitions and the target peak current of the LEDs.
  • the target duty cycle steps include:
  • the target duty cycle of the LED corresponding to each video partition is obtained according to the maximum brightness value corresponding to the target peak current of the LED and the corrected brightness value of each video partition.
  • an embodiment of the present application further provides a readable storage medium, wherein an LED driver program is stored on the readable storage medium, and when the LED driver program is executed by a processor, the following steps are implemented:
  • the step of obtaining the target peak current of the LED according to the maximum brightness value of the video frame to be played includes:
  • the target peak current of the LED is obtained according to the maximum brightness value of the video frame to be played, the maximum brightness value of the LED, and the maximum peak current of the LED.
  • the step of obtaining the target peak current of the LED according to the maximum brightness value of the video frame to be played, the maximum brightness value of the LED and the maximum peak current of the LED includes:
  • the target peak current of the LED is determined according to the drive current.
  • the step of determining the target peak current of the LED according to the driving current includes:
  • the target peak current of the LED is determined according to the minimum drive current.
  • the target peak current of the LED is determined according to the maximum brightness value of the video frame to be played, and then the target peak current value and the brightness of the video frame to be played are determined according to the target peak current value.
  • the value determines the target duty cycle of the LED, and then sends the target peak current and target duty cycle to the driver chip, so that the driver chip drives the LED according to the target peak current and target duty cycle.
  • This scheme dynamically sets the peak current and duty cycle of the LED according to the maximum brightness value of the video frame to be played.
  • FIG. 1 is a schematic diagram of a hardware architecture of a display device according to an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of the first embodiment of the LED driving method of the present application.
  • the peak current of the LED is generally limited to the current corresponding to the maximum brightness of the LED, but the images received by the display devices often have different brightness due to different sources or scenes. , some images require less brightness, and all images use the current corresponding to the maximum brightness as the peak current of the LED to drive the power supply, which will result in a greater impact on the power supply when displaying images with low brightness requirements, making the power supply reliability is low.
  • the embodiments of the present application provide an LED driving method, a display device and a readable storage medium, wherein the LED driving method mainly includes the following steps:
  • This scheme dynamically sets the peak current and duty cycle of the LED according to the maximum brightness value of the video frame to be played.
  • the peak current of the LED can be correspondingly reduced, and the impact on the power supply is small. It has the effect of improving the reliability of the power supply.
  • FIG. 1 is a schematic diagram of a hardware architecture of a display device according to an embodiment of the present application.
  • the display device may include: a processor 1001 , such as a CPU, a user interface 1003 , a network interface 1004 , a memory 1005 , a communication bus 1002 , a driver chip 1006 , and an LED 1007 .
  • the communication bus 1002 is used to realize the connection and communication between these components.
  • the user interface 1003 may include a display screen (Display), an input unit such as a keyboard, etc.
  • the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may include a standard wired interface and a wireless interface (eg, a WI-FI interface).
  • the memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory). memory), such as disk storage.
  • the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
  • the driver chip 1006 is used to drive the LED 1007 .
  • LED1007 is used to emit backlight.
  • the hardware architecture of the display device shown in FIG. 1 does not constitute a limitation on the display device, and may include more or less components than the one shown, or combine some components, or different components layout.
  • the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module and an LED driver.
  • the network interface 1004 is mainly used to connect to the background server, and perform data communication with the background server;
  • the processor 1001 can be used to call the LED driver stored in the memory 1005, and perform the following operations:
  • the processor 1001 can be used to invoke the LED driver stored in the memory 1005 and perform the following operations:
  • the target peak current of the LED is obtained according to the maximum brightness value of the video frame to be played, the maximum brightness value of the LED, and the maximum peak current of the LED.
  • processor 1001 can be used to call the LED driver stored in the memory 1005, and also perform the following operations:
  • the target peak current of the LED is determined according to the drive current.
  • processor 1001 can be used to call the LED driver stored in the memory 1005, and also perform the following operations:
  • the target peak current of the LED is determined according to the minimum drive current.
  • processor 1001 can be used to call the LED driver stored in the memory 1005, and also perform the following operations:
  • the maximum brightness value among the acquired brightness values is taken as the maximum brightness value of the video frame to be played.
  • processor 1001 can be used to call the LED driver stored in the memory 1005, and also perform the following operations:
  • the target peak current, the video partition, and the target duty cycle of the LED corresponding to the video partition are sent to the driver chip, so that when the driver chip drives the LED, according to each The target duty cycle of the LED associated with the video partition and the target peak current drive the LED partition corresponding to the video partition.
  • processor 1001 can be used to call the LED driver stored in the memory 1005, and also perform the following operations:
  • the target duty cycle of the LED corresponding to each video partition is obtained according to the corrected luminance value of each video partition and the target peak current of the LED.
  • processor 1001 can be used to call the LED driver stored in the memory 1005, and also perform the following operations:
  • the target duty cycle of the LED corresponding to each video partition is obtained according to the maximum brightness value corresponding to the target peak current of the LED and the corrected brightness value of each video partition.
  • FIG. 2 is the first embodiment of the LED driving method of the present application, and the LED driving method includes the following steps:
  • Step S10 obtaining the target peak current of the LED according to the maximum brightness value of the video frame to be played;
  • Step S20 obtaining the target duty cycle of the LED according to the target peak current and the brightness value of the video frame to be played;
  • Step S30 Send the target peak current and the target duty cycle to the driver chip, so that the driver chip drives the LED according to the target peak current and the target duty cycle to display the target value. Describe the video frame to be played.
  • the video frame is the smallest unit that constitutes a video stream; the video frame currently required to be played by the display device of the to-be-played video frame; the target peak current is when the LED normally plays the to-be-played video frame, The peak current required by the LED; the brightness value is the brightness of the picture, which can be represented by specific brightness data/brightness level; due to a video frame (ie picture) to be played, different areas may have different brightness levels (ie brightness), the maximum brightness value of the video frame to be played specifically refers to the brightness value corresponding to the area with the highest brightness in the video frame to be played.
  • the peak current is the current value at the maximum load of the LED; a mapping relationship between the peak current and the brightness value is pre-stored in the memory.
  • the brightness value of the brightness that can be achieved; the duty cycle refers to the ratio of the power-on time to the total time in a pulse cycle. In this scheme, it specifically means that the time the LED circuit is turned on accounts for the entire circuit.
  • the peak current of the LED is set to the maximum peak current, the maximum brightness value that the LED can produce
  • the peak current of the LED can be adjusted by the processor, and the maximum peak current of the LED is the maximum value that the LED can carry Peak current, if you set the peak current of the LED to a peak current greater than the maximum peak current, there will be safety risks such as LED burnout
  • the target duty cycle is the LED peak current set to the target peak current (corresponding brightness value), and when the LED normally plays the video frame to be played (actual brightness value), the duty cycle required by the LED, specifically, in this scheme, the target duty cycle refers to the time occupied by the LED through the current per unit time
  • the ratio of the unit time which can be expressed as a percentage; for example, when the unit time is 60s and the target duty cycle
  • the processor When playing the video, the processor obtains the maximum brightness value of the current video frame to be played, and also obtains the ratio of the brightness value to the peak current of the LED in the memory, and then generates a playback according to the ratio of the maximum brightness value and the brightness value to the peak current.
  • the target peak current required by the LED when the video frame is to be played Specifically, when the peak current of the LED is set to the target peak current and the duty cycle is set to 100%, the brightness value of the LED can reach the maximum brightness value required for playing the current video frame to be played.
  • the processor obtains the preset brightness value corresponding to the target peak current in the memory, then obtains the ratio of the brightness value of the video frame to be played to the preset brightness value, and uses the ratio as the target duty cycle of the LED; then the target duty cycle And the target peak current is sent to the driver chip.
  • the driver chip When the driver chip receives the target duty cycle and the target peak current sent by the processor, the driver chip sets the peak current of the driver chip to the target peak current, and then drives the LEDs in the display device according to the target duty cycle, so that the display device is in the display pending state. Displays correct brightness values when playing video frames.
  • the driving voltage of the LED driving power supply can be determined according to the target peak current and the relevant parameters of the LED, and the time period during which the driving power supply outputs the driving voltage to the LED circuit can be determined according to the target duty cycle. , and then control the driving power supply to output the driving voltage to the LED circuit within the corresponding time period according to the driving voltage.
  • the peak current and duty ratio of the LED are dynamically set according to the maximum brightness value of the video frame to be played.
  • the impact on the power supply is small, and the effect of improving the reliability of the power supply is achieved.
  • the step S10 further includes:
  • Step S11 obtaining the maximum brightness value of the to-be-played video frame
  • Step S12 obtaining the maximum brightness value of the LED and the maximum peak current of the LED
  • Step S13 Obtain the target peak current of the LED according to the maximum brightness value of the to-be-played video frame, the maximum brightness value of the LED, and the maximum peak current of the LED.
  • the maximum brightness value of the LED refers to the maximum brightness level that the LED can achieve; since the peak current of the driving chip driving the LED is adjustable, the maximum peak current of the LED refers to the LED circuit.
  • the maximum peak current that is, the maximum current value that the LED circuit can withstand, has a mapping relationship with the maximum brightness value of the LED.
  • step S13 further includes the following steps:
  • Step S131 Obtain the peak current of the video frame to be played according to the maximum brightness value of the video frame to be played, the maximum brightness value of the LED, and the maximum peak current of the LED;
  • Step S132 obtaining a drive current that is greater than or equal to the peak current of the video frame to be played in the pre-stored drive current;
  • Step S133 Determine the target peak current of the LED according to the driving current.
  • the processor obtains the pre-stored drive current in the memory, wherein, the drive current of the drive chip of the pre-stored drive current of different specifications; then compares the peak current of the video frame to be played and the pre-stored drive current, and obtains the pre-stored drive current greater than or equal to The driving current of the peak current of the video frame to be played, and the obtained driving current is used as the target peak current of the LED, so that the processor can obtain the driving current that meets the maximum brightness value of the video frame to be played.
  • step S133 further includes the following steps:
  • Step S1331 when there are multiple drive currents, obtain the minimum drive current among the multiple drive currents;
  • Step S1332 Determine the target peak current of the LED according to the minimum driving current.
  • the processor When the processor obtains multiple drive currents greater than or equal to the peak current of the video frame to be played, the processor obtains the minimum drive current among the multiple drive currents, and then uses the minimum drive current as the target peak current of the LED, so that the drive chip can
  • the drive current is set to the drive current closest to the peak current of the video frame to be played, which reduces the peak current of the LED while ensuring the brightness of the LED.
  • the maximum peak current of the video frame to be played is obtained through the maximum brightness value of the video frame to be played, and then the target peak current of the LED is determined according to the pre-stored driving current of the driver chip, thereby reducing the peak value of the LED. effect of current.
  • the step S11 further includes:
  • Step S111 obtaining the luminance value of the video partition
  • Step S112 taking the maximum brightness value among the acquired brightness values as the maximum brightness value of the video frame to be played.
  • the LEDs can be divided into at least two LED partitions, and the corresponding video frames to be played can be divided into at least two video partitions, that is, the partitions of the video frames to be played can be based on the number of LED partitions and specifications, each LED partition has a corresponding video partition, and there is a one-to-one correspondence between the LED partition and the video partition; that is to say, when the processor receives the video frame to be played, according to the obtained LED partition
  • the division is based on partitioning the received video frame to be played, then generates the video partition identification of each video partition, and then associates the video partition identification of each video partition with the corresponding LED partition identification; the brightness value of the video partition It refers to the brightness value of the pixel with the highest brightness in the video partition.
  • the processor divides the current video frame to be played into a preset number of video partitions, then obtains the brightness value of each video partition, then compares the brightness value of each video partition, and calculates the brightness value of the video partition with the largest brightness value. as the maximum brightness value of the video frame to be played.
  • step S20 further includes the following steps:
  • Step S21 obtaining the target duty cycle of the LED corresponding to each of the video partitions according to the brightness value of each of the video partitions and the target peak current of the LED;
  • the step S30 further includes:
  • Step S31 Send the target peak current, the video partition, and the target duty cycle of the LED corresponding to the video partition to the driver chip, so that when the driver chip drives the LED, according to the The target duty cycle of the LEDs associated with each of the video partitions and the target peak current drive the LED partitions corresponding to the video partitions.
  • the driver chip can only set one target peak current, and the brightness values of different video partitions are different, the actual brightness value is the brightness value of the video partition corresponding to the LED partition; the maximum brightness value is the peak current of the LED when the peak current of the LED is set to the target peak current of the LED The maximum brightness value that can be generated; the target duty cycle of the LED partition is the brightness value of the video partition corresponding to the LED partition divided by the peak current of the LED and the maximum brightness value that the LED can generate when the target peak current is set.
  • the processor obtains the preset brightness value corresponding to the target peak current in the memory, then obtains the ratio of the brightness value of each video partition to the preset brightness value, and uses the ratio as the target duty cycle of the LED partition corresponding to the video partition, Then, the video partition and the target duty cycle of the LEDs of the LED partition corresponding to the video partition are associated, and then the target duty cycle and the target peak current associated with each video partition are sent to the driver chip.
  • the driver chip When the driver chip receives the target duty cycle and target peak current associated with each video partition sent by the processor, the driver chip sets the peak current of the driver chip as the target peak current, and then drives according to the target duty cycle corresponding to each video partition.
  • the LED sub-regions corresponding to the video sub-regions enable the display device to display appropriate brightness values in sub-regions when displaying the video frames to be played.
  • the LEDs are activated by sub-regions, so that each LED sub-region can display different brightness values, thereby optimizing the display effect of the display device.
  • the step S20 further includes:
  • Step S22 obtaining the corrected brightness value of each of the video partitions according to the ratio of the brightness value of each of the video partitions, the target peak current of the LED, and the peak current of the video frame to be played;
  • Step S23 obtaining the target duty cycle of the LED corresponding to each of the video partitions according to the corrected luminance value of each of the video partitions and the target peak current of the LEDs.
  • the driving current of the LED is determined by the driving chip, and the preset driving current of the driving chip is relatively small, the precision of the brightness value of the LED during display is low; at the same time, the brightness of the video frame to be played is low.
  • the precision of the value is high, almost ten times that of the brightness value of the LED, resulting in the disadvantage of poor display effect of the LED.
  • step S23 further includes:
  • Step S231 obtaining the maximum brightness value corresponding to the target peak current of the LED
  • Step S232 obtaining the target duty cycle of the LED corresponding to each video partition according to the maximum brightness value corresponding to the target peak current of the LED and the corrected brightness value of each video partition.
  • the processor obtains the preset brightness value corresponding to the target peak current in the memory, then obtains the ratio of the corrected brightness value of each video partition to the preset brightness value, and uses the ratio as the target duty cycle of the LED partition corresponding to the video partition , and then associate the video partition with the target duty cycle of the LEDs of the LED partition corresponding to the video partition, and then send the target duty cycle and target peak current associated with each video partition to the driver chip.
  • the driver chip When the driver chip receives the target duty cycle and target peak current associated with each video partition sent by the processor, the driver chip sets the peak current of the driver chip as the target peak current, and then drives according to the target duty cycle corresponding to each video partition.
  • the LED sub-regions corresponding to the video sub-regions enable the display device to display the most appropriate brightness value in sub-regions when displaying the video frames to be played.
  • the brightness value of each video partition is corrected, and the target duty cycle of the LED is generated according to the corrected brightness value of each video partition, and then the LEDs are activated in different regions, so that each LED partition can be The corrected brightness value is displayed, thereby improving the precision of the brightness value when the LED is displayed, and optimizing the display effect of the display device.
  • an embodiment of the present application also provides a display device, the display device includes a driver chip, an LED, a memory, a processor, and an LED driver program stored in the memory and running on the processor, the When the LED driver is executed by the processor, the steps of the LED driving method described in the above embodiments are implemented.
  • an embodiment of the present application also provides a readable storage medium, where an LED driver program is stored on the readable storage medium, and when the LED driver program is executed by a processor, the LED driving method described in the above embodiments can be realized. step.

Abstract

公开了一种LED驱动方法,包括以下步骤:根据待播放视频帧的最大亮度值获取LED的目标峰值电流;根据目标峰值电流以及待播放视频帧的亮度值获取LED的目标占空比;将目标峰值电流以及目标占空比发送至驱动芯片,以使驱动芯片根据目标峰值电流以及目标占空比驱动LED,以显示待播放视频帧。

Description

LED驱动方法、显示装置及可读存储介质
本申请要求于2020年07月30日提交中国专利局、申请号为202010754515.6,发明名称为“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时,根据每个所述视频分区关联的所述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的最大亮度值以及所述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的目标占空比;
将所述目标峰值电流以及所述目标占空比发送至所述驱动芯片,以使所述驱动芯片根据所述目标峰值电流以及所述目标占空比驱动所述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驱动方法第一实施例的流程示意图。
本发明的实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
为保证所有显示装置中显示的图像的亮度,一般会统一将LED的峰值电流限定为LED的最大亮度对应的电流,但是显示装置接收到的图像由于来源或者场景不同往往会出现不同图像的亮度不同,有些图像的亮度需求会较小,而所有图像均采用最大亮度对应的电流作为LED的峰值电流来驱动电源,则会导致在显示亮度需求较小的图像时对电源的冲击较大,使得电源的可靠性较低。
为解决上述缺陷,本申请实施例提出一种LED驱动方法、显示装置及可读存储介质,其中,所述LED驱动方法主要包括以下步骤:
根据待播放视频帧的最大亮度值获取LED的目标峰值电流;
根据所述目标峰值电流以及所述待播放视频帧的亮度值获取所述LED的目标占空比;
将所述目标峰值电流以及所述目标占空比发送至所述驱动芯片,以使所述驱动芯片根据所述目标峰值电流以及所述目标占空比驱动所述LED,以显示所述待播放视频帧。
本方案根据待播放视频帧的最大亮度值动态设置LED的峰值电流以及占空比,在LED显示亮度需求较小的图像时,可以LED峰值电流会相应降低,则对电源的冲击较小,达成了提高电源的可靠性的效果。
如图1所示,图1是本申请实施例方案涉及的显示装置的硬件架构示意图。
如图1所示,该显示装置可以包括:处理器1001,例如CPU,用户接口1003,网络接口1004,存储器1005,通信总线1002,驱动芯片1006,LED1007。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘等,可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。驱动芯片1006用于驱动LED1007。LED1007用于发射背光。
本领域技术人员可以理解,图1中示出的显示装置的硬件架构并不构成对显示装置的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及LED驱动程序。
在图1所示的显示装置中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;处理器1001可以用于调用存储器1005中存储的LED驱动程序,并执行以下操作:
根据待播放视频帧的最大亮度值获取LED的目标峰值电流;
根据所述目标峰值电流以及所述待播放视频帧的亮度值获取所述LED的目标占空比;
将所述目标峰值电流以及所述目标占空比发送至所述驱动芯片,以使所述驱动芯片根据所述目标峰值电流以及所述目标占空比驱动所述LED,以显示所述待播放视频帧。
处理器1001可以用于调用存储器1005中存储的LED驱动程序,并执行以下操作:
获取所述待播放视频帧的最大亮度值;
获取所述LED的最大亮度值以及所述LED的最大峰值电流;
根据所述待播放视频帧的最大亮度值、所述LED的最大亮度值以及所述LED的最大峰值电流获取所述LED的目标峰值电流。
进一步地,处理器1001可以用于调用存储器1005中存储的LED驱动程序,还执行以下操作:
根据所述待播放视频帧的最大亮度值、所述LED的最大亮度值以及所述LED的最大峰值电流获取所述待播放视频帧的峰值电流;
获取预存驱动电流中大于或等于所述待播放视频帧的峰值电流的驱动电流;
根据所述驱动电流确定所述LED的目标峰值电流。
进一步地,处理器1001可以用于调用存储器1005中存储的LED驱动程序,还执行以下操作:
在所述驱动电流为多个时,获取多个所述的驱动电流中的最小驱动电流;
根据所述最小驱动电流确定所述LED的目标峰值电流。
进一步地,处理器1001可以用于调用存储器1005中存储的LED驱动程序,还执行以下操作:
获取每一所述视频分区的亮度值;
将所获取的亮度值中最大的亮度值作为所述待播放视频帧的最大亮度值。
进一步地,处理器1001可以用于调用存储器1005中存储的LED驱动程序,还执行以下操作:
根据每一所述视频分区的所述亮度值以及所述LED的目标峰值电流获取每一所述视频分区对应的所述LED的目标占空比;
将所述目标峰值电流、所述视频分区以及所述视频分区对应的所述LED的目标占空比发送至所述驱动芯片,以使所述驱动芯片在驱动所述LED时,根据每个所述视频分区关联的所述LED的目标占空比以及所述目标峰值电流驱动所述视频分区对应的LED分区。
进一步地,处理器1001可以用于调用存储器1005中存储的LED驱动程序,还执行以下操作:
根据每一所述视频分区的所述亮度值、所述LED的目标峰值电流以及所述待播放视频帧的峰值电流的比值获取每一所述视频分区的校正亮度值;
根据每一所述视频分区的所述校正亮度值以及所述LED的目标峰值电流获取每一所述视频分区对应的所述LED的目标占空比。
进一步地,处理器1001可以用于调用存储器1005中存储的LED驱动程序,还执行以下操作:
获取所述LED的目标峰值电流对应的最大亮度值;
根据所述LED的目标峰值电流对应的最大亮度值以及每一所述视频分区的所述校正亮度值获取每一所述视频分区对应的所述LED的目标占空比。
参照图2,图2是本申请LED驱动方法的第一实施例,所述LED驱动方法包括以下步骤:
步骤S10、根据待播放视频帧的最大亮度值获取LED的目标峰值电流;
步骤S20、根据所述目标峰值电流以及所述待播放视频帧的亮度值获取所述LED的目标占空比;
步骤S30、将所述目标峰值电流以及所述目标占空比发送至所述驱动芯片,以使所述驱动芯片根据所述目标峰值电流以及所述目标占空比驱动所述LED,以显示所述待播放视频帧。
在本实施例中,所述视频帧是组成视频流的最小单位;所述待播放视频帧的显示装置当前所需播放的视频帧;所述目标峰值电流是LED正常播放待播放视频帧时,LED所需的峰值电流;所述亮度值是画面的明亮程度,可以通过具体的亮度数据/亮度等级表示;由于一个待播放视频帧(即画面)中,不同的区域可能会有不同的明亮程度(即亮度),则所述待播放视频帧的最大亮度值具体是指待播放视频帧中亮度最高的区域对应的亮度值。
所述峰值电流是LED最大荷载时的电流值;所述存储器中预存有峰值电流与亮度值的映射关系,具体地,每一LED的峰值电流对应有所述LED在所述峰值电流时,LED所能达到的明亮程度的亮度值;所述占空比是指一个脉冲循环内,通电时间相对于总时间所占的比例,在本方案中具体是指LED电路被接通的时间占整个电路周期的比例;由于LED的占空比可以通过实际亮度值除以最大亮度值得到,所述实际亮度值为正常播放待播放视频帧时,LED需要的产生的亮度值,所述最大亮度值为LED的峰值电流设置为最大峰值电流时,LED能产生的最大亮度值;所述LED的峰值电流是可以通过处理器的调节的,而所述LED的最大峰值电流是LED所能承载的最大的峰值电流,如果设置LED的峰值电流时,设置为大于最大的峰值电流的峰值电流,会存在LED烧坏等安全风险;所述目标占空比是LED峰值电流设置为目标峰值电流(对应的亮度值),且LED正常播放待播放视频帧(实际亮度值)时,LED所需的占空比,具体地,在本方案中目标占空比是指LED在单位时间内,通过电流的时间占单位时间的比值,可以用百分比表示;示例性地,在单位时间为60s且目标占空比为80%时,LED在该时间段(60s)内的通电时间为48s,在下一时间段(下一个60s)内的通电时间也为48s。
处理器在播放视频时,获取当前的待播放视频帧的最大亮度值,还可以获取存储器中的LED的亮度值与峰值电流的比例,然后根据最大亮度值以及亮度值与峰值电流的比例生成播放待播放视频帧时LED所需的目标峰值电流。具体地,所述LED在峰值电流设置为目标峰值电流且占空比设置为百分百时,LED的亮度值可以达到播放当前的待播放视频帧时所需的最大亮度值。
处理器获取存储器中目标峰值电流对应的预设亮度值,然后获取待播放视频帧的亮度值与预设亮度值的比例,并将该比例作为LED的目标占空比;然后将目标占空比以及目标峰值电流发送至驱动芯片。
驱动芯片在接收到处理器发送的目标占空比以及目标峰值电流时,将驱动芯片的峰值电流设置为目标峰值电流,然后根据目标占空比驱动显示装置中的LED,使得显示装置在显示待播放视频帧时能显示正确的亮度值。
具体地,驱动芯片在驱动显示装置中的LED时,可以根据目标峰值电流以及LED的相关参数确定LED驱动电源的驱动电压,并根据目标占空比确定驱动电源向LED电路输出驱动电压的时间段,然后控制驱动电源按照驱动电压在对应的时间段内向LED电路输出驱动电压。
在本实施例公开的技术方案中,根据待播放视频帧的最大亮度值动态设置LED的峰值电流以及占空比,在LED显示亮度需求较小的图像时,可以LED峰值电流会相应降低,则对电源的冲击较小,达成了提高电源的可靠性的效果。
可选地,基于第一实施例,在本申请LED驱动方法的第二实施例中,所述步骤S10进一步包括:
步骤S11、获取所述待播放视频帧的最大亮度值;
步骤S12、获取所述LED的最大亮度值以及所述LED的最大峰值电流;
步骤S13、根据所述待播放视频帧的最大亮度值、所述LED的最大亮度值以及所述LED的最大峰值电流获取所述LED的目标峰值电流。
在本实施例中,所述LED的最大亮度值是指LED所能达到的最大亮度等级;由于驱动芯片驱动LED的峰值电流是可调节的,则所述LED的最大峰值电流是指LED电路的最大峰值电流,即LED电路所能承受的最大电流值,与LED的最大亮度值存在映射关系。
处理器获取当前的待播放视频帧的最大亮度值,然后获取存储器中的LED的最大亮度值以及LED的最大峰值电流,然后获取LED的最大亮度值与LED的最大峰值电流之间的比值,并将该比值作为第一比值(即,第一比值=LED的最大亮度值/LED的最大峰值电流),然后根据待播放视频帧的最大亮度值与第一比值获取LED的目标峰值电流。
具体地,所述步骤S13进一步包括以下步骤:
步骤S131、根据所述待播放视频帧的最大亮度值、所述LED的最大亮度值以及所述LED的最大峰值电流获取所述待播放视频帧的峰值电流;
步骤S132、获取预存驱动电流中大于或等于所述待播放视频帧的峰值电流的驱动电流;
步骤S133、根据所述驱动电流确定所述LED的目标峰值电流。
处理器获取待播放视频帧的最大亮度值与第一比值之前的比值,并将该比值作为待播放视频帧的峰值电流(即,待播放视频帧的峰值电流=待播放视频帧的最大亮度值/第一比值),其中,所述待播放视频帧的峰值电流是指LED的峰值电流设置为待播放视频帧的峰值电流时,LED发射的光能达到的亮度值已达到待播放视频帧的最大亮度值。
处理器获取存储器中的预存驱动电流,其中,所述预存驱动电流的驱动芯片的不同规格的驱动电流;然后比对待播放视频帧的峰值电流与预存驱动电流,并获取预存驱动电流中大于或等于待播放视频帧的峰值电流的驱动电流,并将获取的驱动电流作为LED的目标峰值电流,使得处理器可以获取满足待播放视频帧的最大亮度值的驱动电流。
示例性地,所述步骤S133进一步包括以下步骤:
步骤S1331、在所述驱动电流为多个时,获取多个所述的驱动电流中的最小驱动电流;
步骤S1332、根据所述最小驱动电流确定所述LED的目标峰值电流。
处理器在获取到多个大于或等于待播放视频帧的峰值电流的驱动电流时,获取多个驱动电流中最小驱动电流,然后将该最小驱动电流作为LED的目标峰值电流,使得驱动芯片可以将驱动电流设置为最接近待播放视频帧的峰值电流的驱动电流,在保证LED亮度的同时降低LED的峰值电流。
在本实施例公开的技术方案中,通过待播放视频帧的最大亮度值获取待播放视频帧的最大峰值电流,然后根据驱动芯片的预存驱动电流确定LED的目标峰值电流,达成了降低LED的峰值电流的效果。
可选地,基于第二实施例,在本申请LED驱动方法的第三实施例中,所述步骤S11进一步包括:
步骤S111、获取所述视频分区的亮度值;
步骤S112、将所获取的亮度值中最大的亮度值作为所述待播放视频帧的最大亮度值。
在本实施例中,所述LED可以分为至少两个LED分区,对应的所述待播放视频帧可以分为至少两个视频分区,也即待播放视频帧的分区可以根据LED分区的个数以及规格进行划分,则每一LED分区均有与之对应的视频分区,LED分区与视频分区有一一对应的关系;也就是说处理器在接收到待播放视频帧时,根据获取的LED分区的划分依据对接收到的待播放视频帧进行分区,然后生成每一视频分区的视频分区标识,然后将每一视频分区的视频分区标识与对应的LED分区标识关联;所述视频分区的亮度值是指该视频分区中亮度最大的像素的亮度值。
处理器将当前的待播放视频帧划分为预设数量的视频分区,然后获取每一视频分区的亮度值,然后比对每一视频分区的亮度值,并将亮度值最大的视频分区的亮度值作为该待播放视频帧的最大亮度值。
因此,所述步骤S20进一步包括以下步骤:
步骤S21、根据每一所述视频分区的所述亮度值以及所述LED的目标峰值电流获取每一所述视频分区对应的所述LED的目标占空比;
所述步骤S30进一步包括:
步骤S31、将所述目标峰值电流、所述视频分区以及所述视频分区对应的所述LED的目标占空比发送至所述驱动芯片,以使所述驱动芯片在驱动所述LED时,根据每个所述视频分区关联的所述LED的目标占空比以及所述目标峰值电流驱动所述视频分区对应的LED分区。
由于驱动芯片仅能设置一个目标峰值电流,且不同视频分区的亮度值不同,则实际亮度值为LED分区对应的视频分区的亮度值;最大亮度值为LED的峰值电流设置为目标峰值电流时LED能产生的最大亮度值;LED分区的目标占空比为LED分区对应的视频分区的亮度值除以LED的峰值电流设置为目标峰值电流时LED能产生的最大亮度值。
处理器获取存储器中目标峰值电流对应的预设亮度值,然后获取每一视频分区的亮度值与预设亮度值的比例,并将该比例作为该视频分区对应的LED分区的目标占空比,然后将视频分区以及视频分区对应的LED分区的LED的目标占空比关联,然后将每一视频分区关联的目标占空比以及目标峰值电流发送至驱动芯片。
驱动芯片在接收到处理器发送的每一视频分区关联的目标占空比以及目标峰值电流时,将驱动芯片的峰值电流设置为目标峰值电流,然后根据每一视频分区对应的目标占空比驱动视频分区对应的LED分区,使得显示装置在显示待播放视频帧时能分区域显示适当的亮度值。
在本实施例公开的技术方案中,通过分区域启动LED,使得每一LED分区可以显示不同的亮度值,从而优化了显示装置的显示效果。
可选地,基于第三实施例,在本申请LED驱动方法的第四实施例中,所述步骤S20进一步包括:
步骤S22、根据每一所述视频分区的所述亮度值、所述LED的目标峰值电流以及所述待播放视频帧的峰值电流的比值获取每一所述视频分区的校正亮度值;
步骤S23、根据每一所述视频分区的所述校正亮度值以及所述LED的目标峰值电流获取每一所述视频分区对应的所述LED的目标占空比。
在本实施例中,由于LED的驱动电流由驱动芯片决定,而且驱动芯片的预设驱动电流较少,从而导致LED在显示时亮度值的精度较低;与此同时,待播放视频帧的亮度值的精度较高,几乎是LED的亮度值精度的十几倍,导致存在LED的显示效果较差的缺点。
处理器在获取每一视频分区的亮度值之后,获取LED的目标峰值电流以及待播放视频帧的峰值电流的比值,并将该比值作为第二比值(即,第二比值=LED的目标峰值电流/待播放视频帧的峰值电流),然后获取每一视频分区的亮度值与第二比值的比值,并将该比值作为对应的视频分区的校正角度值(即,视频分区校正亮度值=视频分区的原始亮度值/第二比值);然后根据每一校正亮度值以及LED的目标峰值电流获取每一视频分区对应的LED的目标占空比。
具体地,所述步骤S23进一步包括:
步骤S231、获取所述LED的目标峰值电流对应的最大亮度值;
步骤S232、根据所述LED的目标峰值电流对应的最大亮度值以及每一所述视频分区的所述校正亮度值获取每一所述视频分区对应的所述LED的目标占空比。
处理器获取存储器中目标峰值电流对应的预设亮度值,然后获取每一视频分区的校正亮度值与预设亮度值的比例,并将该比例作为该视频分区对应的LED分区的目标占空比,然后将视频分区以及视频分区对应的LED分区的LED的目标占空比关联,然后将每一视频分区关联的目标占空比以及目标峰值电流发送至驱动芯片。
驱动芯片在接收到处理器发送的每一视频分区关联的目标占空比以及目标峰值电流时,将驱动芯片的峰值电流设置为目标峰值电流,然后根据每一视频分区对应的目标占空比驱动视频分区对应的LED分区,使得显示装置在显示待播放视频帧时能分区域显示最适当的亮度值。
在本实施例公开的技术方案中,通过校正每一视频分区的亮度值,并根据每一视频分区的校正亮度值生成LED的目标占空比,然后分区域启动LED,使得每一LED分区可以显示校正后的亮度值,从而提高了LED在显示时亮度值的精度,优化了显示装置的显示效果。
此外,本申请实施例还提出一种显示装置,所述显示装置包括驱动芯片、LED、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的LED驱动程序,所述LED驱动程序被所述处理器执行时实现如上各个实施例所述的LED驱动方法的步骤。
此外,本申请实施例还提出一种可读存储介质,所述可读存储介质上存储有LED驱动程序,所述LED驱动程序被处理器执行时实现如上各个实施例所述的LED驱动方法的步骤。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台显示装置执行本申请各个实施例所述的方法。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种LED驱动方法,其中,所述LED驱动方法包括以下步骤:
    根据待播放视频帧的最大亮度值获取LED的目标峰值电流;
    根据所述目标峰值电流以及所述待播放视频帧的亮度值获取所述LED的目标占空比;
    将所述目标峰值电流以及所述目标占空比发送至所述驱动芯片,以使所述驱动芯片根据所述目标峰值电流以及所述目标占空比驱动所述LED,以显示所述待播放视频帧。
  2. 如权利要求1所述的LED驱动方法,其中,所述根据待播放视频帧的最大亮度值获取LED的目标峰值电流的步骤包括:
    获取所述待播放视频帧的最大亮度值;
    获取所述LED的最大亮度值以及所述LED的最大峰值电流;
    根据所述待播放视频帧的最大亮度值、所述LED的最大亮度值以及所述LED的最大峰值电流获取所述LED的目标峰值电流。
  3. 如权利要求2所述的LED驱动方法,其中,所述根据所述待播放视频帧的最大亮度值、所述LED的最大亮度值以及所述LED的最大峰值电流获取所述LED的目标峰值电流的步骤包括:
    根据所述待播放视频帧的最大亮度值、所述LED的最大亮度值以及所述LED的最大峰值电流获取所述待播放视频帧的峰值电流;
    获取预存驱动电流中大于或等于所述待播放视频帧的峰值电流的驱动电流;
    根据所述驱动电流确定所述LED的目标峰值电流。
  4. 如权利要求3所述的LED驱动方法,其中,所述根据所述驱动电流确定所述LED的目标峰值电流的步骤包括:
    在所述驱动电流为多个时,获取多个所述的驱动电流中的最小驱动电流;
    根据所述最小驱动电流确定所述LED的目标峰值电流。
  5. 如权利要求3所述的LED驱动方法,其中,所述待播放帧包括至少两个视频分区,所述获取所述待播放视频帧的最大亮度值的步骤包括:
    获取每一所述视频分区的亮度值;
    将所获取的亮度值中最大的亮度值作为所述待播放视频帧的最大亮度值。
  6. 如权利要求5所述的LED驱动方法,其中,所述根据所述目标峰值电流以及所述待播放视频帧的亮度值获取所述LED的目标占空比的步骤包括:
    根据每一所述视频分区的所述亮度值以及所述LED的目标峰值电流获取每一所述视频分区对应的所述LED的目标占空比;
    将所述目标峰值电流以及所述目标占空比发送至所述驱动芯片的步骤包括:
    将所述目标峰值电流、所述视频分区以及所述视频分区对应的所述LED的目标占空比发送至所述驱动芯片,以使所述驱动芯片在驱动所述LED时,根据每个所述视频分区关联的所述LED的目标占空比以及所述目标峰值电流驱动所述视频分区对应的LED分区。
  7. 如权利要求6所述的LED驱动方法,其中,所述根据每一所述视频分区的所述亮度值以及所述LED的目标峰值电流获取每一所述视频分区对应的所述LED的目标占空比的步骤包括:
    根据每一所述视频分区的所述亮度值、所述LED的目标峰值电流以及所述待播放视频帧的峰值电流的比值获取每一所述视频分区的校正亮度值;
    根据每一所述视频分区的所述校正亮度值以及所述LED的目标峰值电流获取每一所述视频分区对应的所述LED的目标占空比。
  8. 如权利要求7所述的LED驱动方法,其中,所述根据每一所述视频分区的所述校正亮度值以及所述LED的目标峰值电流获取每一所述视频分区对应的所述LED的目标占空比的步骤包括:
    获取所述LED的目标峰值电流对应的最大亮度值;
    根据所述LED的目标峰值电流对应的最大亮度值以及每一所述视频分区的所述校正亮度值获取每一所述视频分区对应的所述LED的目标占空比。
  9. 一种显示装置,其中,所述显示装置包括:驱动芯片、LED、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的LED驱动程序,所述LED驱动程序被所述处理器执行时实现如下步骤:
    根据待播放视频帧的最大亮度值获取LED的目标峰值电流;
    根据所述目标峰值电流以及所述待播放视频帧的亮度值获取所述LED的目标占空比;
    将所述目标峰值电流以及所述目标占空比发送至所述驱动芯片,以使所述驱动芯片根据所述目标峰值电流以及所述目标占空比驱动所述LED,以显示所述待播放视频帧。
  10. 根据权利要求9所述的显示装置,其中,所述LED驱动程序被所述处理器执行所述根据待播放视频帧的最大亮度值获取LED的目标峰值电步骤时,包括:
    获取所述待播放视频帧的最大亮度值;
    获取所述LED的最大亮度值以及所述LED的最大峰值电流;
    根据所述待播放视频帧的最大亮度值、所述LED的最大亮度值以及所述LED的最大峰值电流获取所述LED的目标峰值电流。
  11. 根据权利要求10所述的显示装置,其中,所述LED驱动程序被所述处理器执行所述根据所述待播放视频帧的最大亮度值、所述LED的最大亮度值以及所述LED的最大峰值电流获取所述LED的目标峰值电流的步骤时,包括:
    根据所述待播放视频帧的最大亮度值、所述LED的最大亮度值以及所述LED的最大峰值电流获取所述待播放视频帧的峰值电流;
    获取预存驱动电流中大于或等于所述待播放视频帧的峰值电流的驱动电流;
    根据所述驱动电流确定所述LED的目标峰值电流。
  12. 根据权利要求11所述的显示装置,其中,所述LED驱动程序被所述处理器执行所述根据所述驱动电流确定所述LED的目标峰值电流的步骤时,包括:
    在所述驱动电流为多个时,获取多个所述的驱动电流中的最小驱动电流;
    根据所述最小驱动电流确定所述LED的目标峰值电流。
  13. 根据权利要求11所述的显示装置,其中,所述LED驱动程序被所述处理器执行所述待播放帧包括至少两个视频分区,所述获取所述待播放视频帧的最大亮度值的步骤时,包括:
    获取每一所述视频分区的亮度值;
    将所获取的亮度值中最大的亮度值作为所述待播放视频帧的最大亮度值。
  14. 根据权利要求13所述的显示装置,其中,所述LED驱动程序被所述处理器执行所述根据所述目标峰值电流以及所述待播放视频帧的亮度值获取所述LED的目标占空比的步骤时,包括:
    根据每一所述视频分区的所述亮度值以及所述LED的目标峰值电流获取每一所述视频分区对应的所述LED的目标占空比;
    将所述目标峰值电流以及所述目标占空比发送至所述驱动芯片的步骤包括:
    将所述目标峰值电流、所述视频分区以及所述视频分区对应的所述LED的目标占空比发送至所述驱动芯片,以使所述驱动芯片在驱动所述LED时,根据每个所述视频分区关联的所述LED的目标占空比以及所述目标峰值电流驱动所述视频分区对应的LED分区。
  15. 根据权利要求14所述的显示装置,其中,所述LED驱动程序被所述处理器执行所述根据每一所述视频分区的所述亮度值以及所述LED的目标峰值电流获取每一所述视频分区对应的所述LED的目标占空比的步骤时,包括:
    根据每一所述视频分区的所述亮度值、所述LED的目标峰值电流以及所述待播放视频帧的峰值电流的比值获取每一所述视频分区的校正亮度值;
    根据每一所述视频分区的所述校正亮度值以及所述LED的目标峰值电流获取每一所述视频分区对应的所述LED的目标占空比。
  16. 根据权利要求15所述的显示装置,其中,所述LED驱动程序被所述处理器执行所述根据每一所述视频分区的所述校正亮度值以及所述LED的目标峰值电流获取每一所述视频分区对应的所述LED的目标占空比的步骤时,包括:
    获取所述LED的目标峰值电流对应的最大亮度值;
    根据所述LED的目标峰值电流对应的最大亮度值以及每一所述视频分区的所述校正亮度值获取每一所述视频分区对应的所述LED的目标占空比。
  17. 一种可读存储介质,其中,所述可读存储介质上存储有LED驱动程序,所述LED驱动程序被处理器执行时实现如下步骤:
    根据待播放视频帧的最大亮度值获取LED的目标峰值电流;
    根据所述目标峰值电流以及所述待播放视频帧的亮度值获取所述LED的目标占空比;
    将所述目标峰值电流以及所述目标占空比发送至所述驱动芯片,以使所述驱动芯片根据所述目标峰值电流以及所述目标占空比驱动所述LED,以显示所述待播放视频帧。
  18. 根据权利要求17所述的可读存储介质,其中,所述根据待播放视频帧的最大亮度值获取LED的目标峰值电流的步骤包括:
    获取所述待播放视频帧的最大亮度值;
    获取所述LED的最大亮度值以及所述LED的最大峰值电流;
    根据所述待播放视频帧的最大亮度值、所述LED的最大亮度值以及所述LED的最大峰值电流获取所述LED的目标峰值电流。
  19. 根据权利要求18所述的可读存储介质,其中,所述根据所述待播放视频帧的最大亮度值、所述LED的最大亮度值以及所述LED的最大峰值电流获取所述LED的目标峰值电流的步骤包括:
    根据所述待播放视频帧的最大亮度值、所述LED的最大亮度值以及所述LED的最大峰值电流获取所述待播放视频帧的峰值电流;
    获取预存驱动电流中大于或等于所述待播放视频帧的峰值电流的驱动电流;
    根据所述驱动电流确定所述LED的目标峰值电流。
  20. 根据权利要求19所述的可读存储介质,其中,所述根据所述驱动电流确定所述LED的目标峰值电流的步骤包括:
    在所述驱动电流为多个时,获取多个所述的驱动电流中的最小驱动电流;
    根据所述最小驱动电流确定所述LED的目标峰值电流。
PCT/CN2021/106387 2020-07-30 2021-07-15 Led 驱动方法、显示装置及可读存储介质 WO2022022290A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010754515.6A CN111785219B (zh) 2020-07-30 2020-07-30 Led驱动方法、显示装置及可读存储介质
CN202010754515.6 2020-07-30

Publications (1)

Publication Number Publication Date
WO2022022290A1 true WO2022022290A1 (zh) 2022-02-03

Family

ID=72766318

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/106387 WO2022022290A1 (zh) 2020-07-30 2021-07-15 Led 驱动方法、显示装置及可读存储介质

Country Status (2)

Country Link
CN (1) CN111785219B (zh)
WO (1) WO2022022290A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111785219B (zh) * 2020-07-30 2022-06-10 惠州视维新技术有限公司 Led驱动方法、显示装置及可读存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6987787B1 (en) * 2004-06-28 2006-01-17 Rockwell Collins LED brightness control system for a wide-range of luminance control
CN1779772A (zh) * 2004-11-25 2006-05-31 Lg.菲利浦Lcd株式会社 液晶显示器件的亮度控制装置和方法
CN105632421A (zh) * 2016-03-18 2016-06-01 青岛海信电器股份有限公司 背光源亮度控制方法、装置及液晶显示设备
CN107591131A (zh) * 2017-09-20 2018-01-16 青岛海信电器股份有限公司 背光源驱动方法和装置
CN109448643A (zh) * 2018-12-28 2019-03-08 青岛海信电器股份有限公司 液晶显示装置及背光亮度调整方法
CN109983527A (zh) * 2016-11-23 2019-07-05 三星电子株式会社 显示装置和显示面板的驱动方法
CN111785219A (zh) * 2020-07-30 2020-10-16 惠州视维新技术有限公司 Led驱动方法、显示装置及可读存储介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6131579B2 (ja) * 2012-11-28 2017-05-24 セイコーエプソン株式会社 表示装置及び表示装置の制御方法
US10535289B2 (en) * 2016-01-18 2020-01-14 Sharp Kabushiki Kaisha Display device, display method, recording medium, and television receiver
CN105913810A (zh) * 2016-06-08 2016-08-31 维沃移动通信有限公司 一种控制方法、控制电路、背光集成电路及终端设备
CN105913811A (zh) * 2016-06-29 2016-08-31 乐视控股(北京)有限公司 一种背光源、显示面板、电视机以及区域调光方法
CN107845368B (zh) * 2017-11-15 2020-02-18 深圳市华星光电技术有限公司 基于led驱动的背光控制方法及系统
CN108039152B (zh) * 2017-12-14 2020-11-13 深圳Tcl新技术有限公司 背光驱动控制方法、设备及计算机可读存储介质
CN108053804B (zh) * 2017-12-29 2020-07-31 深圳Tcl新技术有限公司 显示终端供电电流的配置方法、装置及可读存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6987787B1 (en) * 2004-06-28 2006-01-17 Rockwell Collins LED brightness control system for a wide-range of luminance control
CN1779772A (zh) * 2004-11-25 2006-05-31 Lg.菲利浦Lcd株式会社 液晶显示器件的亮度控制装置和方法
CN105632421A (zh) * 2016-03-18 2016-06-01 青岛海信电器股份有限公司 背光源亮度控制方法、装置及液晶显示设备
CN109983527A (zh) * 2016-11-23 2019-07-05 三星电子株式会社 显示装置和显示面板的驱动方法
CN107591131A (zh) * 2017-09-20 2018-01-16 青岛海信电器股份有限公司 背光源驱动方法和装置
CN109448643A (zh) * 2018-12-28 2019-03-08 青岛海信电器股份有限公司 液晶显示装置及背光亮度调整方法
CN111785219A (zh) * 2020-07-30 2020-10-16 惠州视维新技术有限公司 Led驱动方法、显示装置及可读存储介质

Also Published As

Publication number Publication date
CN111785219A (zh) 2020-10-16
CN111785219B (zh) 2022-06-10

Similar Documents

Publication Publication Date Title
US10670914B2 (en) Backlight control method and device and liquid crystal display device
US11521564B2 (en) Image display processing method and device, display device and non-volatile storage medium
US7602370B2 (en) Liquid crystal display device
US9368071B2 (en) Method and apparatus for driving light emitting elements for projection of images
US11069307B2 (en) Spliced display device and backlight control method therefor
US20100328336A1 (en) Liquid Crystal Display Wall and Method for Controlling the Same
US11676549B2 (en) Method of controlling display of display device, apparatus thereof, and display apparatus
US9064443B2 (en) Projection apparatus, projection method, and storage medium storing program, for reducing energy consumption by shortening color mixing period
US8339354B2 (en) System, method, and computer-readable medium for displaying light radiation
WO2021208483A1 (zh) Led显示屏的驱动方法、装置、系统、设备和存储介质
TW200838304A (en) Ambient light system and method thereof
WO2022021529A1 (zh) 背光处理系统、设备、方法、背光驱动器及存储介质
US10685596B2 (en) Display apparatus and operating method thereof
US20070052633A1 (en) Display device
WO2022022290A1 (zh) Led 驱动方法、显示装置及可读存储介质
WO2021196791A1 (zh) 白点坐标补偿方法、装置、计算机设备和存储介质
CN108039152B (zh) 背光驱动控制方法、设备及计算机可读存储介质
CN104284118A (zh) 图像投射装置以及图像投射装置的控制方法
CN116453477A (zh) 基于局部调光的背光处理方法、装置、背光设备和投影仪
WO2022002208A1 (zh) 动态背光控制方法、动态背光模组及存储介质
CN101329459B (zh) 液晶显示装置和信号处理装置
JP2018045068A (ja) 制御装置
WO2020125049A1 (zh) 一种基于背光调整的图像处理方法、智能电视及存储介质
JP2013057717A (ja) 投影装置、投影方法及びプログラム
KR20130043675A (ko) 디스플레이 백라이트 정규화

Legal Events

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

Ref document number: 21850697

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21850697

Country of ref document: EP

Kind code of ref document: A1